Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dutil.c622 int sqliteFitsIn32Bits(const char *zNum){ in sqliteFitsIn32Bits() argument
624 if( *zNum=='-' || *zNum=='+' ) zNum++; in sqliteFitsIn32Bits()
625 for(i=0; (c=zNum[i])>='0' && c<='9'; i++){} in sqliteFitsIn32Bits()
626 return i<10 || (i==10 && memcmp(zNum,"2147483647",10)<=0); in sqliteFitsIn32Bits()
H A Dvdbe.c299 static int toInt(const char *zNum, int *pNum){ in toInt() argument
303 if( *zNum=='-' ){ in toInt()
305 zNum++; in toInt()
306 }else if( *zNum=='+' ){ in toInt()
308 zNum++; in toInt()
312 for(i=0; (c=zNum[i])>='0' && c<='9'; i++){ in toInt()
316 return c==0 && i>0 && (i<10 || (i==10 && memcmp(zNum,"2147483647",10)<=0)); in toInt()