Searched refs:zNum (Results 1 – 2 of 2) sorted by relevance
622 int sqliteFitsIn32Bits(const char *zNum){ in sqliteFitsIn32Bits() argument624 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()
299 static int toInt(const char *zNum, int *pNum){ in toInt() argument303 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()