Lines Matching refs:p_s
42 INT16 utl_str2int(const char *p_s) in utl_str2int() argument
46 for (;*p_s == ' ' && *p_s != 0; p_s++); in utl_str2int()
48 if (*p_s == 0) return -1; in utl_str2int()
52 if ((*p_s < '0') || (*p_s > '9')) return -1; in utl_str2int()
54 val += (INT32) (*p_s++ - '0'); in utl_str2int()
58 if (*p_s == 0) in utl_str2int()
82 int utl_strucmp(const char *p_s, const char *p_t) in utl_strucmp() argument
86 while (*p_s && *p_t) in utl_strucmp()
93 if (*p_s++ != c) in utl_strucmp()
99 if (*p_t == 0 && *p_s != 0) in utl_strucmp()
122 UINT8 utl_itoa(UINT16 i, char *p_s) in utl_itoa() argument
125 char *p = p_s; in utl_itoa()
147 return (UINT8) (p - p_s); in utl_itoa()
236 BOOLEAN utl_isintstr(const char *p_s) in utl_isintstr() argument
240 for(i=0; p_s[i] != 0; i++) in utl_isintstr()
242 if(((p_s[i] < '0') || (p_s[i] > '9')) && (p_s[i] != ';')) in utl_isintstr()
260 BOOLEAN utl_isdialstr(const char *p_s) in utl_isdialstr() argument
264 for(i=0; p_s[i] != 0; i++) in utl_isdialstr()
266 if(!(((p_s[i] >= '0') && (p_s[i] <= '9')) in utl_isdialstr()
267 || (p_s[i] == '*') || (p_s[i] == '+') || (p_s[i] == '#') || (p_s[i] == ';') in utl_isdialstr()
268 || ((p_s[i] >= 'A') && (p_s[i] <= 'C')) in utl_isdialstr()
269 || ((p_s[i] == 'p') || (p_s[i] == 'P') in utl_isdialstr()
270 || (p_s[i] == 'w') || (p_s[i] == 'W')))) in utl_isdialstr()