Lines Matching refs:zEnd
31543 SQLITE_PRIVATE char *sqlite3DbSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){ in sqlite3DbSpanDup() argument
31548 for(n=0; sqlite3Isspace(zStart[n]); n++){ assert( &zStart[n]<zEnd ); } in sqlite3DbSpanDup()
31551 n = (int)(zEnd - zStart); in sqlite3DbSpanDup()
32610 const char *zEnd; in sqlite3RecordErrorByteOffset() local
32618 zEnd = &zText[strlen(zText)]; in sqlite3RecordErrorByteOffset()
32619 if( SQLITE_WITHIN(z,zText,zEnd) ){ in sqlite3RecordErrorByteOffset()
35465 unsigned char const *zEnd = &z[nByte-1]; in sqlite3Utf16ByteLen() local
35469 while( n<nChar && z<=zEnd ){ in sqlite3Utf16ByteLen()
35472 if( c>=0xd8 && c<0xdc && z<=zEnd && z[0]>=0xdc && z[0]<0xe0 ) z += 2; in sqlite3Utf16ByteLen()
36043 const char *zEnd; in sqlite3AtoF() local
36062 zEnd = z + length; in sqlite3AtoF()
36072 zEnd = &z[i^1]; in sqlite3AtoF()
36077 while( z<zEnd && sqlite3Isspace(*z) ) z+=incr; in sqlite3AtoF()
36078 if( z>=zEnd ) return 0; in sqlite3AtoF()
36089 while( z<zEnd && sqlite3Isdigit(*z) ){ in sqlite3AtoF()
36095 while( z<zEnd && sqlite3Isdigit(*z) ){ z+=incr; d++; } in sqlite3AtoF()
36098 if( z>=zEnd ) goto do_atof_calc; in sqlite3AtoF()
36106 while( z<zEnd && sqlite3Isdigit(*z) ){ in sqlite3AtoF()
36115 if( z>=zEnd ) goto do_atof_calc; in sqlite3AtoF()
36126 if( z>=zEnd ) goto do_atof_calc; /*PREVENTS-HARMLESS-OVERREAD*/ in sqlite3AtoF()
36136 while( z<zEnd && sqlite3Isdigit(*z) ){ in sqlite3AtoF()
36144 while( z<zEnd && sqlite3Isspace(*z) ) z+=incr; in sqlite3AtoF()
36217 if( z==zEnd && nDigit>0 && eValid && eType>0 ){ in sqlite3AtoF()
36318 const char *zEnd = zNum + length; in sqlite3Atoi64() local
36328 zEnd = &zNum[i^1]; in sqlite3Atoi64()
36331 while( zNum<zEnd && sqlite3Isspace(*zNum) ) zNum+=incr; in sqlite3Atoi64()
36332 if( zNum<zEnd ){ in sqlite3Atoi64()
36341 while( zNum<zEnd && zNum[0]=='0' ){ zNum+=incr; } /* Skip leading zeros. */ in sqlite3Atoi64()
36342 for(i=0; &zNum[i]<zEnd && (c=zNum[i])>='0' && c<='9'; i+=incr){ in sqlite3Atoi64()
36364 }else if( &zNum[i]<zEnd ){ /* Extra bytes at the end */ in sqlite3Atoi64()
36372 }while( &zNum[jj]<zEnd ); in sqlite3Atoi64()
111928 u8 *zEnd; /* First byte past the end of memory */
111958 sEdupBuf.zEnd = pEdupBuf->zEnd;
111977 sEdupBuf.zEnd = sEdupBuf.zAlloc ? sEdupBuf.zAlloc+nAlloc : 0;
112001 assert( (int)(sEdupBuf.zEnd - sEdupBuf.zAlloc) >= nNewSize+nToken );
112006 assert( (int)(sEdupBuf.zEnd - sEdupBuf.zAlloc) >=
112077 assert( sEdupBuf.zAlloc <= sEdupBuf.zEnd );
112566 const char *zEnd /* End of the span */
112574 pItem->zEName = sqlite3DbSpanDup(db, zStart, zEnd);
118177 char *zEnd = &zCol[pColDef->n-1];
118178 while( zEnd>zCol && (*zEnd==';' || sqlite3Isspace(*zEnd)) ){
118179 *zEnd-- = '\0';
119889 const char *zEnd;
119911 zEnd = (const char*)pEnd->t.z;
119914 zEnd = (const char*)&zSql[pTab->u.tab.addColOffset];
119918 zNew = sqlite3MPrintf(db, "%.*s%s", pCol->t.z-zSql, zSql, zEnd);
124722 const char *zEnd /* First character past end of default value text */
124747 x.u.zToken = sqlite3DbSpanDup(db, zStart, zEnd);
124895 const char *zEnd /* Closing ")" */
124911 while( sqlite3Isspace(zEnd[-1]) ){ zEnd--; }
124913 t.n = (int)(zEnd - t.z);
125105 char *zSep, *zSep2, *zEnd;
125115 zEnd = ")";
125119 zEnd = "\n)";
125169 len = sqlite3Strlen30(zEnd);
125171 memcpy(&zStmt[k], zEnd, len+1);
131751 const u8 *zEnd = &zStr[nStr];
131753 while( z<zEnd ){
131792 const u8 *zEnd = zHex ? &zHex[nHex] : 0;
131812 assert( zHex<=zEnd );
131818 assert( *zEnd==0x00 );
131819 assert( zHex<=zEnd );
154286 static char *triggerSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){
154287 char *z = sqlite3DbSpanDup(db, zStart, zEnd);
154304 const char *zEnd /* End of SQL text */
154314 pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd);
154329 const char *zEnd /* End of SQL text */
154342 pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd);
154365 const char *zEnd /* End of SQL text */
154372 pTriggerStep = triggerStepAllocate(pParse, TK_INSERT, pTableName,zStart,zEnd);
154410 const char *zEnd /* End of SQL text */
154415 pTriggerStep = triggerStepAllocate(pParse, TK_UPDATE, pTableName,zStart,zEnd);
154447 const char *zEnd /* End of SQL text */
154452 pTriggerStep = triggerStepAllocate(pParse, TK_DELETE, pTableName,zStart,zEnd);
190973 const char *zEnd = &zCsr[nNode];/* End of interior node buffer */
190995 if( zCsr>zEnd ){
190999 while( zCsr<zEnd && (piFirst || piLast) ){
191017 if( nPrefix>zCsr-zNode || nSuffix>zEnd-zCsr || nSuffix==0 ){
192794 const char *zEnd = "</b>";
192818 case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
192822 if( !zEllipsis || !zEnd || !zStart ){
192827 sqlite3Fts3Snippet(pContext, pCsr, zStart, zEnd, zEllipsis, iCol, nToken);
198395 char *zEnd; /* Pointer to nul-term of zCopy */
198400 zEnd = &zCopy[strlen(zCopy)];
198418 while( z<zEnd && (NULL!=(z = (char *)sqlite3Fts3NextToken(z, &n))) ){
201425 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
201426 if( !zEnd ) return SQLITE_NOMEM;
201427 sqlite3_bind_text(pStmt, 5, zEnd, -1, sqlite3_free);
206723 const char *zEnd, /* Snippet end text - "</b>" */
206807 i, (i==nSnippet-1), nFToken, zStart, zEnd, zEllipsis, &res
207389 const unsigned char *zEnd;
207416 zEnd = z;
207434 *piEnd = (int)(zEnd - pCsr->aInput);
242919 char *zEnd = &zIn[p->nQueryTerm];
242921 while( zIn<zEnd ){