Lines Matching refs:z

204 static int totypeAtoF(const char *z, double *pResult, int length){  in totypeAtoF()  argument
205 const char *zEnd = z + length; in totypeAtoF()
220 while( z<zEnd && totypeIsspace(*z) ) z++; in totypeAtoF()
221 if( z>=zEnd ) return 0; in totypeAtoF()
224 if( *z=='-' ){ in totypeAtoF()
226 z++; in totypeAtoF()
227 }else if( *z=='+' ){ in totypeAtoF()
228 z++; in totypeAtoF()
232 while( z<zEnd && z[0]=='0' ) z++, nDigits++; in totypeAtoF()
235 while( z<zEnd && totypeIsdigit(*z) && s<((LARGEST_INT64-9)/10) ){ in totypeAtoF()
236 s = s*10 + (*z - '0'); in totypeAtoF()
237 z++, nDigits++; in totypeAtoF()
242 while( z<zEnd && totypeIsdigit(*z) ) z++, nDigits++, d++; in totypeAtoF()
243 if( z>=zEnd ) goto totype_atof_calc; in totypeAtoF()
246 if( *z=='.' ){ in totypeAtoF()
247 z++; in totypeAtoF()
250 while( z<zEnd && totypeIsdigit(*z) && s<((LARGEST_INT64-9)/10) ){ in totypeAtoF()
251 s = s*10 + (*z - '0'); in totypeAtoF()
252 z++, nDigits++, d--; in totypeAtoF()
255 while( z<zEnd && totypeIsdigit(*z) ) z++, nDigits++; in totypeAtoF()
257 if( z>=zEnd ) goto totype_atof_calc; in totypeAtoF()
260 if( *z=='e' || *z=='E' ){ in totypeAtoF()
261 z++; in totypeAtoF()
263 if( z>=zEnd ) goto totype_atof_calc; in totypeAtoF()
265 if( *z=='-' ){ in totypeAtoF()
267 z++; in totypeAtoF()
268 }else if( *z=='+' ){ in totypeAtoF()
269 z++; in totypeAtoF()
272 while( z<zEnd && totypeIsdigit(*z) ){ in totypeAtoF()
273 e = e<10000 ? (e*10 + (*z - '0')) : 10000; in totypeAtoF()
274 z++; in totypeAtoF()
281 while( z<zEnd && totypeIsspace(*z) ) z++; in totypeAtoF()
350 return z>=zEnd && nDigits>0 && eValid && nonNum==0; in totypeAtoF()