Home
last modified time | relevance | path

Searched refs:zNum (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dutil.c619 int sqliteFitsIn32Bits(const char *zNum){ in sqliteFitsIn32Bits() argument
621 if( *zNum=='-' || *zNum=='+' ) zNum++; in sqliteFitsIn32Bits()
622 for(i=0; (c=zNum[i])>='0' && c<='9'; i++){} in sqliteFitsIn32Bits()
623 return i<10 || (i==10 && memcmp(zNum,"2147483647",10)<=0); in sqliteFitsIn32Bits()
H A Dvdbe.c297 static int toInt(const char *zNum, int *pNum){ in toInt() argument
301 if( *zNum=='-' ){ in toInt()
303 zNum++; in toInt()
304 }else if( *zNum=='+' ){ in toInt()
306 zNum++; in toInt()
310 for(i=0; (c=zNum[i])>='0' && c<='9'; i++){ in toInt()
314 return c==0 && i>0 && (i<10 || (i==10 && memcmp(zNum,"2147483647",10)<=0)); in toInt()