Lines Matching refs:strvalue
23 rt_bool_t msh_isint(char *strvalue) in msh_isint() argument
25 if ((RT_NULL == strvalue) || ('\0' == strvalue[0])) in msh_isint()
29 if (('+' == *strvalue) || ('-' == *strvalue)) in msh_isint()
31 strvalue++; in msh_isint()
33 forstrloop(strvalue) in msh_isint()
35 if (!isdigit((int)(*strvalue))) in msh_isint()
50 rt_bool_t msh_ishex(char *strvalue) in msh_ishex() argument
53 if ((RT_NULL == strvalue) || ('\0' == strvalue[0])) in msh_ishex()
57 if ('0' != *(strvalue++)) in msh_ishex()
61 if ('x' != *(strvalue++)) in msh_ishex()
66 forstrloop(strvalue) in msh_ishex()
68 c = tolower(*strvalue); in msh_ishex()
84 int msh_strtohex(char *strvalue) in msh_strtohex() argument
88 strvalue += 2; in msh_strtohex()
89 forstrloop(strvalue) in msh_strtohex()
92 c = tolower(*strvalue); in msh_strtohex()