Lines Matching refs:str
99 int all_lower( str )
100 register char *str;
102 while ( *str )
104 if ( ! isascii( (Char) *str ) || ! islower( *str ) )
106 ++str;
115 int all_upper( str )
116 register char *str;
118 while ( *str )
120 if ( ! isascii( (Char) *str ) || ! isupper( *str ) )
122 ++str;
191 char *copy_string( str )
192 register const char *str;
200 for ( c1 = str; *c1; ++c1 )
203 size = (c1 - str + 1) * sizeof( char );
209 for ( c2 = copy; (*c2++ = *str++) != 0; )
220 Char *copy_unsigned_string( str )
221 register Char *str;
227 for ( c = str; *c; ++c )
230 copy = allocate_Character_array( c - str + 1 );
232 for ( c = copy; (*c++ = *str++) != 0; )
347 int htoi( str )
348 Char str[];
352 (void) sscanf( (char *) str, "%x", &result );
608 int otoi( str )
609 Char str[];
613 (void) sscanf( (char *) str, "%o", &result );
622 void out( str )
623 const char str[];
625 fputs( str, stdout );
626 out_line_count( str );
653 void out_line_count( str )
654 const char str[];
658 for ( i = 0; str[i]; ++i )
659 if ( str[i] == '\n' )
663 void out_str( fmt, str )
664 const char fmt[], str[];
666 printf( fmt, str );
668 out_line_count( str );
681 void out_str_dec( fmt, str, n )
682 const char fmt[], str[];
685 printf( fmt, str, n );
687 out_line_count( str );
699 void outn( str )
700 const char str[];
702 puts( str );
703 out_line_count( str );