Lines Matching refs:s
32 int STD_ConvertAsciiToInt( const char* s ) in STD_ConvertAsciiToInt() argument
38 while( *s == ' ' ) in STD_ConvertAsciiToInt()
40 s ++; in STD_ConvertAsciiToInt()
44 if ( *s == '-' ) in STD_ConvertAsciiToInt()
47 s ++; in STD_ConvertAsciiToInt()
49 else if ( *s == '+' ) in STD_ConvertAsciiToInt()
51 s ++; in STD_ConvertAsciiToInt()
55 while( '0' <= *s && *s <= '9' ) in STD_ConvertAsciiToInt()
57 val = (val * 10) + (*s - '0'); in STD_ConvertAsciiToInt()
63 s++; in STD_ConvertAsciiToInt()
78 long int STD_ConvertAsciiToLong( const char* s ) in STD_ConvertAsciiToLong() argument
84 while( *s == ' ' ) in STD_ConvertAsciiToLong()
86 s ++; in STD_ConvertAsciiToLong()
90 if ( *s == '-' ) in STD_ConvertAsciiToLong()
93 s ++; in STD_ConvertAsciiToLong()
95 else if ( *s == '+' ) in STD_ConvertAsciiToLong()
97 s ++; in STD_ConvertAsciiToLong()
101 while( '0' <= *s && *s <= '9' ) in STD_ConvertAsciiToLong()
103 val = (val * 10) + (*s - '0'); in STD_ConvertAsciiToLong()
109 s++; in STD_ConvertAsciiToLong()