| /sqlite-3.40.0/ext/misc/ |
| H A D | prefixes.c | 48 int nStr; /* Length of the string in bytes */ member 140 sqlite3_result_text(ctx, pCur->zStr, pCur->nStr - (int)pCur->iRowid, in prefixesColumn() 144 sqlite3_result_text(ctx, pCur->zStr, pCur->nStr, 0); in prefixesColumn() 166 return pCur->iRowid>pCur->nStr; in prefixesEof() 184 pCur->nStr = pCur->zStr ? (int)strlen(pCur->zStr) : 0; in prefixesFilter() 187 pCur->nStr = 0; in prefixesFilter()
|
| H A D | totype.c | 402 int nStr = sqlite3_value_bytes(argv[0]); in tointegerFunc() local 403 if( nStr && !totypeIsspace(zStr[0]) ){ in tointegerFunc() 405 if( !totypeAtoi64((const char*)zStr, &iVal, nStr) ){ in tointegerFunc() 472 int nStr = sqlite3_value_bytes(argv[0]); in torealFunc() local 473 if( nStr && !totypeIsspace(zStr[0]) && !totypeIsspace(zStr[nStr-1]) ){ in torealFunc() 475 if( totypeAtoF((const char*)zStr, &rVal, nStr) ){ in torealFunc()
|
| H A D | closure.c | 485 int nStr = (int)strlen(zStr); in closureValueOfKey() local 487 if( nStr<nKey+1 ) return 0; in closureValueOfKey()
|
| H A D | amatch.c | 815 int nStr = (int)strlen(zStr); in amatchValueOfKey() local 817 if( nStr<nKey+1 ) return 0; in amatchValueOfKey()
|
| /sqlite-3.40.0/src/ |
| H A D | test_osinst.c | 679 int nStr = zStr ? (int)strlen(zStr) : 0; in vfslog_string() local 680 if( (4+nStr+p->nBuf)>sizeof(p->aBuf) ){ in vfslog_string() 684 put32bits(&zRec[0], nStr); in vfslog_string() 686 memcpy(&zRec[4], zStr, nStr); in vfslog_string() 688 p->nBuf += (4 + nStr); in vfslog_string() 987 int nStr = get32bits((unsigned char *)buf); in vlogNext() local 988 char *zStr = sqlite3_malloc(nStr+1); in vlogNext() 989 rc = p->pFd->pMethods->xRead(p->pFd, zStr, nStr, pCsr->iOffset+nRead); in vlogNext() 990 zStr[nStr] = '\0'; in vlogNext() 991 nRead += nStr; in vlogNext()
|
| H A D | func.c | 1261 int nStr; /* Size of zStr */ in replaceFunc() local 1274 nStr = sqlite3_value_bytes(argv[0]); in replaceFunc() 1293 nOut = nStr + 1; in replaceFunc() 1299 loopLimit = nStr - nPattern; in replaceFunc() 1320 zOut = sqlite3Realloc(zOut, (int)nOut + (nOut - nStr - 1)); in replaceFunc() 1333 assert( j+nStr-i+1<=nOut ); in replaceFunc() 1334 memcpy(&zOut[j], &zStr[i], nStr-i); in replaceFunc() 1335 j += nStr - i; in replaceFunc()
|
| H A D | vdbeaux.c | 4671 int nStr = (serial_type - 12) / 2; in sqlite3VdbeRecordCompareWithSkip() local 4672 testcase( (d1+nStr)==(unsigned)nKey1 ); in sqlite3VdbeRecordCompareWithSkip() 4674 if( (d1+nStr) > (unsigned)nKey1 ){ in sqlite3VdbeRecordCompareWithSkip() 4681 rc = nStr - pRhs->u.nZero; in sqlite3VdbeRecordCompareWithSkip() 4684 int nCmp = MIN(nStr, pRhs->n); in sqlite3VdbeRecordCompareWithSkip() 4686 if( rc==0 ) rc = nStr - pRhs->n; in sqlite3VdbeRecordCompareWithSkip() 4877 int nStr; in vdbeRecordCompareString() local 4880 nStr = (serial_type-12) / 2; in vdbeRecordCompareString() 4881 if( (szHdr + nStr) > nKey1 ){ in vdbeRecordCompareString() 4885 nCmp = MIN( pPKey2->n, nStr ); in vdbeRecordCompareString() [all …]
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_expr.c | 527 int nStr = (int)strlen(zStr); in getNextNode() local 528 if( nInput>nStr && zInput[nStr]==':' in getNextNode() 529 && sqlite3_strnicmp(zStr, zInput, nStr)==0 in getNextNode() 532 iColLen = (int)((zInput - z) + nStr + 1); in getNextNode()
|
| H A D | fts3_snippet.c | 139 sqlite3_int64 nStr = strlen(zMatchinfo); in fts3MIBufferNew() local 141 pRet = sqlite3Fts3MallocZero(nByte + nStr+1); in fts3MIBufferNew() 148 memcpy(pRet->zMatchinfo, zMatchinfo, nStr+1); in fts3MIBufferNew()
|
| H A D | fts3.c | 1123 sqlite3_int64 nStr = 0; /* Size of all column names (incl. 0x00) */ in fts3ContentColumns() local 1133 nStr += strlen(zCol) + 1; in fts3ContentColumns() 1137 azCol = (const char **)sqlite3_malloc64(sizeof(char *) * nCol + nStr); in fts3ContentColumns() 1154 *pnStr = nStr; in fts3ContentColumns()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_buffer.c | 86 int nStr = (int)strlen(zStr); in sqlite3Fts5BufferAppendString() local 87 sqlite3Fts5BufferAppendBlob(pRc, pBuf, nStr+1, (const u8*)zStr); in sqlite3Fts5BufferAppendString()
|
| /sqlite-3.40.0/ext/session/ |
| H A D | sqlite3session.c | 2113 int nStr = sqlite3Strlen30(zStr); in sessionAppendStr() local 2114 if( 0==sessionBufferGrow(p, nStr, pRc) ){ in sessionAppendStr() 2115 memcpy(&p->aBuf[p->nBuf], zStr, nStr); in sessionAppendStr() 2116 p->nBuf += nStr; in sessionAppendStr() 2152 int nStr = sqlite3Strlen30(zStr)*2 + 2 + 1; in sessionAppendIdent() local 2153 if( 0==sessionBufferGrow(p, nStr, pRc) ){ in sessionAppendIdent()
|