Searched refs:nCmp (Results 1 – 8 of 8) sorted by relevance
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_tdb4.c | 401 int nCmp; in bt_delete_range() local 411 nCmp = MIN(n, nKey1); in bt_delete_range() 412 res = memcmp(pKey1, pK, nCmp); in bt_delete_range() 421 nCmp = MIN(n, nKey2); in bt_delete_range() 422 res = memcmp(pKey2, pK, nCmp); in bt_delete_range() 526 int nCmp = MIN(nK, nFirst); in bt_scan() local 527 res = memcmp(pFirst, pK, nCmp); in bt_scan() 533 int nCmp = MIN(nK, nLast); in bt_scan() local 534 res = memcmp(pLast, pK, nCmp); in bt_scan()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_vocab.c | 429 int nCmp = MIN(nTerm, pCsr->nLeTerm); in fts5VocabInstanceNewTerm() local 430 int bCmp = memcmp(pCsr->zLeTerm, zTerm, nCmp); in fts5VocabInstanceNewTerm() 503 int nCmp = MIN(nTerm, pCsr->nLeTerm); in fts5VocabNextMethod() local 504 int bCmp = memcmp(pCsr->zLeTerm, zTerm, nCmp); in fts5VocabNextMethod()
|
| H A D | fts5_index.c | 587 int nCmp = MIN(pLeft->n, nRight); in fts5BufferCompareBlob() local 588 int res = memcmp(pLeft->p, pRight, nCmp); in fts5BufferCompareBlob() 603 int nCmp, res; in fts5BufferCompare() local 604 nCmp = MIN(pLeft->n, pRight->n); in fts5BufferCompare() 605 assert( nCmp<=0 || pLeft->p!=0 ); in fts5BufferCompare() 606 assert( nCmp<=0 || pRight->p!=0 ); in fts5BufferCompare() 607 res = fts5Memcmp(pLeft->p, pRight->p, nCmp); in fts5BufferCompare() 2319 u32 nCmp; in fts5LeafSeek() local 2321 nCmp = (u32)MIN(nNew, nTerm-nMatch); in fts5LeafSeek() 2322 for(i=0; i<nCmp; i++){ in fts5LeafSeek()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | zipfile.c | 1621 int nCmp; in zipfileUpdate() local 1622 rc = zipfileDeflate(aIn, nIn, &pFree, &nCmp, &pTab->base.zErrMsg); in zipfileUpdate() 1624 if( iMethod || nCmp<nIn ){ in zipfileUpdate() 1627 nData = nCmp; in zipfileUpdate()
|
| /sqlite-3.40.0/src/ |
| H A D | vdbeaux.c | 4656 int nCmp = MIN(mem1.n, pRhs->n); in sqlite3VdbeRecordCompareWithSkip() local 4657 rc = memcmp(&aKey1[d1], pRhs->z, nCmp); in sqlite3VdbeRecordCompareWithSkip() 4684 int nCmp = MIN(nStr, pRhs->n); in sqlite3VdbeRecordCompareWithSkip() local 4685 rc = memcmp(&aKey1[d1], pRhs->z, nCmp); in sqlite3VdbeRecordCompareWithSkip() 4876 int nCmp; in vdbeRecordCompareString() local 4885 nCmp = MIN( pPKey2->n, nStr ); in vdbeRecordCompareString() 4886 res = memcmp(&aKey1[szHdr], pPKey2->u.z, nCmp); in vdbeRecordCompareString()
|
| H A D | where.c | 2717 int nCmp = sqlite3ExprVectorSize(pTerm->pExpr->pLeft); in whereRangeVectorLen() local 2720 nCmp = MIN(nCmp, (pIdx->nColumn - nEq)); in whereRangeVectorLen() 2721 for(i=1; i<nCmp; i++){ in whereRangeVectorLen()
|
| H A D | test1.c | 3096 int nCmp = (nA>nB ? nB : nA); in test_utf16bin_collate_func() local 3097 int res = memcmp(zA, zB, nCmp); in test_utf16bin_collate_func()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_write.c | 4190 int nCmp = MIN(nLhs, nRhs); in fts3TermCmp() local 4193 if( nCmp && ALWAYS(zLhs) && ALWAYS(zRhs) ){ in fts3TermCmp() 4194 res = memcmp(zLhs, zRhs, nCmp); in fts3TermCmp()
|