Lines Matching refs:zEnd
31029 SQLITE_PRIVATE char *sqlite3DbSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){ in sqlite3DbSpanDup() argument
31034 for(n=0; sqlite3Isspace(zStart[n]); n++){ assert( &zStart[n]<zEnd ); } in sqlite3DbSpanDup()
31037 n = (int)(zEnd - zStart); in sqlite3DbSpanDup()
32051 const char *zEnd; in sqlite3RecordErrorByteOffset() local
32059 zEnd = &zText[strlen(zText)]; in sqlite3RecordErrorByteOffset()
32060 if( SQLITE_WITHIN(z,zText,zEnd) ){ in sqlite3RecordErrorByteOffset()
35441 const char *zEnd; in sqlite3AtoF() local
35458 zEnd = z + length; in sqlite3AtoF()
35468 zEnd = &z[i^1]; in sqlite3AtoF()
35473 while( z<zEnd && sqlite3Isspace(*z) ) z+=incr; in sqlite3AtoF()
35474 if( z>=zEnd ) return 0; in sqlite3AtoF()
35485 while( z<zEnd && sqlite3Isdigit(*z) ){ in sqlite3AtoF()
35491 while( z<zEnd && sqlite3Isdigit(*z) ){ z+=incr; d++; } in sqlite3AtoF()
35494 if( z>=zEnd ) goto do_atof_calc; in sqlite3AtoF()
35502 while( z<zEnd && sqlite3Isdigit(*z) ){ in sqlite3AtoF()
35511 if( z>=zEnd ) goto do_atof_calc; in sqlite3AtoF()
35522 if( z>=zEnd ) goto do_atof_calc; /*PREVENTS-HARMLESS-OVERREAD*/ in sqlite3AtoF()
35532 while( z<zEnd && sqlite3Isdigit(*z) ){ in sqlite3AtoF()
35540 while( z<zEnd && sqlite3Isspace(*z) ) z+=incr; in sqlite3AtoF()
35629 if( z==zEnd && nDigit>0 && eValid && eType>0 ){ in sqlite3AtoF()
35730 const char *zEnd = zNum + length; in sqlite3Atoi64() local
35740 zEnd = &zNum[i^1]; in sqlite3Atoi64()
35743 while( zNum<zEnd && sqlite3Isspace(*zNum) ) zNum+=incr; in sqlite3Atoi64()
35744 if( zNum<zEnd ){ in sqlite3Atoi64()
35753 while( zNum<zEnd && zNum[0]=='0' ){ zNum+=incr; } /* Skip leading zeros. */ in sqlite3Atoi64()
35754 for(i=0; &zNum[i]<zEnd && (c=zNum[i])>='0' && c<='9'; i+=incr){ in sqlite3Atoi64()
35776 }else if( &zNum[i]<zEnd ){ /* Extra bytes at the end */ in sqlite3Atoi64()
35784 }while( &zNum[jj]<zEnd ); in sqlite3Atoi64()
110588 u8 *zEnd; /* First byte past the end of memory */
110618 sEdupBuf.zEnd = pEdupBuf->zEnd;
110637 sEdupBuf.zEnd = sEdupBuf.zAlloc ? sEdupBuf.zAlloc+nAlloc : 0;
110661 assert( (int)(sEdupBuf.zEnd - sEdupBuf.zAlloc) >= nNewSize+nToken );
110666 assert( (int)(sEdupBuf.zEnd - sEdupBuf.zAlloc) >=
110737 assert( sEdupBuf.zAlloc <= sEdupBuf.zEnd );
111220 const char *zEnd /* End of the span */
111228 pItem->zEName = sqlite3DbSpanDup(db, zStart, zEnd);
116551 char *zEnd = &zCol[pColDef->n-1];
116552 while( zEnd>zCol && (*zEnd==';' || sqlite3Isspace(*zEnd)) ){
116553 *zEnd-- = '\0';
118245 const char *zEnd;
118267 zEnd = (const char*)pEnd->t.z;
118270 zEnd = (const char*)&zSql[pTab->u.tab.addColOffset];
118274 zNew = sqlite3MPrintf(db, "%.*s%s", pCol->t.z-zSql, zSql, zEnd);
123100 const char *zEnd /* First character past end of default value text */
123125 x.u.zToken = sqlite3DbSpanDup(db, zStart, zEnd);
123277 const char *zEnd /* Closing ")" */
123291 while( sqlite3Isspace(zEnd[-1]) ){ zEnd--; }
123293 t.n = (int)(zEnd - t.z);
123484 char *zSep, *zSep2, *zEnd;
123494 zEnd = ")";
123498 zEnd = "\n)";
123544 sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd);
129917 const u8 *zEnd = &zStr[nStr];
129919 while( z<zEnd ){
129958 const u8 *zEnd = zHex ? &zHex[nHex] : 0;
129978 assert( zHex<=zEnd );
129984 assert( *zEnd==0x00 );
129985 assert( zHex<=zEnd );
152132 static char *triggerSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){
152133 char *z = sqlite3DbSpanDup(db, zStart, zEnd);
152150 const char *zEnd /* End of SQL text */
152160 pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd);
152175 const char *zEnd /* End of SQL text */
152188 pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd);
152211 const char *zEnd /* End of SQL text */
152218 pTriggerStep = triggerStepAllocate(pParse, TK_INSERT, pTableName,zStart,zEnd);
152256 const char *zEnd /* End of SQL text */
152261 pTriggerStep = triggerStepAllocate(pParse, TK_UPDATE, pTableName,zStart,zEnd);
152293 const char *zEnd /* End of SQL text */
152298 pTriggerStep = triggerStepAllocate(pParse, TK_DELETE, pTableName,zStart,zEnd);
188048 const char *zEnd = &zCsr[nNode];/* End of interior node buffer */
188070 if( zCsr>zEnd ){
188074 while( zCsr<zEnd && (piFirst || piLast) ){
188092 if( nPrefix>zCsr-zNode || nSuffix>zEnd-zCsr || nSuffix==0 ){
189864 const char *zEnd = "</b>";
189888 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
189892 if( !zEllipsis || !zEnd || !zStart ){
189897 sqlite3Fts3Snippet(pContext, pCsr, zStart, zEnd, zEllipsis, iCol, nToken);
195424 char *zEnd; /* Pointer to nul-term of zCopy */
195429 zEnd = &zCopy[strlen(zCopy)];
195447 while( z<zEnd && (NULL!=(z = (char *)sqlite3Fts3NextToken(z, &n))) ){
198458 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
198459 if( !zEnd ) return SQLITE_NOMEM;
198460 sqlite3_bind_text(pStmt, 5, zEnd, -1, sqlite3_free);
203751 const char *zEnd, /* Snippet end text - "</b>" */
203835 i, (i==nSnippet-1), nFToken, zStart, zEnd, zEllipsis, &res
204395 const unsigned char *zEnd;
204422 zEnd = z;
204440 *piEnd = (int)(zEnd - pCsr->aInput);
239189 char *zEnd = &zIn[p->nQueryTerm];
239191 while( zIn<zEnd ){