Home
last modified time | relevance | path

Searched refs:nCmp (Results 1 – 8 of 8) sorted by relevance

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_tdb4.c401 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 Dfts5_vocab.c429 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 Dfts5_index.c587 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 Dzipfile.c1621 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 Dvdbeaux.c4656 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 Dwhere.c2717 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 Dtest1.c3096 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 Dfts3_write.c4190 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()