Lines Matching refs:zNum
95 static int totypeCompare2pow63(const char *zNum){ in totypeCompare2pow63() argument
101 c = (zNum[i]-pow63[i])*10; in totypeCompare2pow63()
104 c = zNum[18] - '8'; in totypeCompare2pow63()
125 static int totypeAtoi64(const char *zNum, sqlite3_int64 *pNum, int length){ in totypeAtoi64() argument
132 const char *zEnd = zNum + length; in totypeAtoi64()
134 while( zNum<zEnd && totypeIsspace(*zNum) ) zNum++; in totypeAtoi64()
135 if( zNum<zEnd ){ in totypeAtoi64()
136 if( *zNum=='-' ){ in totypeAtoi64()
138 zNum++; in totypeAtoi64()
139 }else if( *zNum=='+' ){ in totypeAtoi64()
140 zNum++; in totypeAtoi64()
143 zStart = zNum; in totypeAtoi64()
144 while( zNum<zEnd && zNum[0]=='0' ){ zNum++; } /* Skip leading zeros. */ in totypeAtoi64()
145 for(i=0; &zNum[i]<zEnd && (c=zNum[i])>='0' && c<='9'; i++){ in totypeAtoi64()
155 if( (c!=0 && &zNum[i]<zEnd) || (i==0 && zStart==zNum) || i>19 || nonNum ){ in totypeAtoi64()
165 c = totypeCompare2pow63(zNum); in totypeAtoi64()