Lines Matching refs:it

454             struct pair *it = symbols->s_pairs[ i ];  local
456 nw->p_name = it->p_name;
457 nw->p_value = it->p_value;
460 while ( it->p_next )
463 it = it->p_next;
465 nw->p_name = it->p_name;
466 nw->p_value = it->p_value;
484 struct pair *it = symbols->s_pairs[ i ]; local
486 while ( it )
488 next = it->p_next;
489 free( it );
490 it = next;
501 struct pair *it; local
520 it = (*symbols)->s_pairs[ hashval ];
523 if ( it == NULL )
525 it = (*symbols)->s_pairs[ hashval ] = (struct pair*) malloc( sizeof( struct pair ) );
526 it->p_name = copy( name );
527 it->p_value = copy( val );
528 it->p_next = NULL;
530 else if ( strcmp( it->p_name, name ) == 0 )
532 it->p_value = copy( val );
536 while ( it->p_next && ( strcmp( it->p_next->p_name, name ) != 0 ) )
538 it = it->p_next;
540 if ( it->p_next )
541 it->p_next->p_name = copy( name );
544 it->p_next = (struct pair*) malloc( sizeof( struct pair ) );
545 it->p_next->p_name = copy( name );
546 it->p_next->p_value = copy( val );
547 it->p_next->p_next = NULL;
556 struct pair *it; local
561 it = symbols->s_pairs[ hash( symbol ) ];
563 while ( it && ( strcmp( it->p_name, symbol ) != 0 ) )
565 it = it->p_next;
567 if ( it )
568 return it->p_value;
578 struct pair *it; local
584 it = symbols->s_pairs[ hashval ];
587 if ( it == NULL )
589 else if ( strcmp( it->p_name, symbol ) == 0 )
591 if ( it->p_next )
594 it->p_name = it->p_next->p_name;
595 it->p_value = it->p_next->p_value;
596 tmp = it->p_next->p_next;
597 free( it->p_next );
598 it->p_next = tmp;
602 free( it );
608 while ( it->p_next && ( strcmp( it->p_next->p_name, symbol ) != 0 ) )
610 it = it->p_next;
612 if ( it->p_next )
614 struct pair *tmp = it->p_next;
615 it->p_next = it->p_next->p_next;