Lines Matching refs:pStr
101 OFF_T my_strtofft(const char *pStr) in my_strtofft() argument
108 for (;; pStr++) { in my_strtofft()
109 switch (*pStr) { in my_strtofft()
123 pStr++; in my_strtofft()
128 while (*pStr >= '0' && *pStr <= '9') { in my_strtofft()
129 value = (value * 10) + (*pStr++ - '0'); in my_strtofft()
132 while ((*pStr >= '0' && *pStr <= '9') || in my_strtofft()
133 (*pStr >= 'A' && *pStr <= 'F') || in my_strtofft()
134 (*pStr >= 'a' && *pStr <= 'f')) { in my_strtofft()
135 if (*pStr >= '0' && *pStr <= '9') in my_strtofft()
136 value = (value << 4) + (*pStr++ - '0'); in my_strtofft()
137 else if (*pStr >= 'A' && *pStr <= 'F') in my_strtofft()
138 value = (value << 4) + 10 + (*pStr++ - 'A'); in my_strtofft()
139 else if (*pStr >= 'a' && *pStr <= 'f') in my_strtofft()
140 value = (value << 4) + 10 + (*pStr++ - 'a'); in my_strtofft()
143 while (*pStr >= '0' && *pStr <= '7') { in my_strtofft()
144 value = (value * 8) + (*pStr++ - '0'); in my_strtofft()