Lines Matching refs:string
57 v = strtod(pd->string, &tail); in test_strtod()
58 if (tail - pd->string) { in test_strtod()
62 if (strncasecmp(pd->string, "0x", 2) == 0) in test_strtod()
73 test_iok(tail - pd->string, pd->endscan & ENDSCAN_MASK); in test_strtod()
83 v = strtof(pd->string, &tail); in test_strtof()
84 if (tail - pd->string) { in test_strtof()
94 test_iok(tail - pd->string, pd->endscan & ENDSCAN_MASK); in test_strtof()
115 v = strtold(pd->string, &tail); in test_strtold()
116 if (tail - pd->string) { in test_strtold()
129 test_iok(tail - pd->string, pd->endscan & ENDSCAN_MASK); in test_strtold()
136 test_mok(atof(pd->string), pd->value, CONVERT_BITS_DOUBLE); in test_atof()
143 float v = atoff(pd->string); in test_atoff()
155 if (!pd->string) in iterate()
159 while (pd->string) { in iterate()
177 if (!p->string) in int_iterate()
182 while (p->string) { in int_iterate()
193 char *string) in test_strtol_base() argument
198 r = strtol(string, &ptr, base); in test_strtol_base()
201 test_iok(ptr - string, pi->end); in test_strtol_base()
207 test_strtol_base(8,&(p->octal), p->string); in test_strtol()
208 test_strtol_base(10,&(p->decimal), p->string); in test_strtol()
209 test_strtol_base(16, &(p->hex), p->string); in test_strtol()
210 test_strtol_base(0, &(p->normal), p->string); in test_strtol()
211 test_strtol_base(26, &(p->alphabetical), p->string); in test_strtol()
218 test_iok(atoi(p->string), p->decimal.value); in test_atoi()
224 test_iok(atol(p->string), p->decimal.value); in test_atol()