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