Lines Matching refs:str
202 static int numin(char *str, double *rval)
213 while (*str == ' ') /* scan past white space */
214 str++;
216 if (*str == '-') { /* negitive value test */
218 str++;
222 c = *str;
227 str++;
236 if (*str == '.') {
237 str++;
239 c = *str;
244 str++;
252 if (*str == 'e') {
253 str++;
254 switch (*str) {
262 fprintf(temp, "\tbad char '%c' after 'e'\n", *str);
263 printf("bad char '%c' after 'e'\n", *str);
266 str++;
267 if (!isdigit(*str)) {
272 v3 = 10 * (int)(*str - '0');
273 str++;
274 if (!isdigit(*str)) {
279 v3 += (int)(*str - '0');
280 str++;
297 switch (*str) {
304 printf("unexpected char '%c'\n", *str);
312 static int checkbuf(char *str, int n1, int n2)
321 buf = str;
323 while (*str && *str != '.') {
325 str++;
327 if (*str == '.') {
329 str++;
330 if (*str) {
331 while (*str) {
333 str++;