Home
last modified time | relevance | path

Searched refs:aKey (Results 1 – 9 of 9) sorted by relevance

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_datasource.c13 char *aKey; member
32 testPrngString((u32)iData, p->aKey, nKey); in testDatasourceEntry()
36 nKey = sprintf(p->aKey, "%012d", iData); in testDatasourceEntry()
39 *ppKey = p->aKey; in testDatasourceEntry()
93 p->aKey = (char *)&p[1]; in testDatasourceNew()
94 p->aVal = &p->aKey[nMaxKey]; in testDatasourceNew()
H A Dlsmtest_main.c198 u8 *aKey = (u8 *)pKey; in scanCompareCb() local
220 p->cksum1 += ((int)aKey[i] << (i&0x0F)); in scanCompareCb()
909 u32 aKey[4]; /* 16-byte key */ in do_speed_tests() local
911 testPrngArray(i+iStep, aKey, ArraySize(aKey)); in do_speed_tests()
913 rc = tdb_write(pDb, aKey, sizeof(aKey), aVal, sizeof(aVal)); in do_speed_tests()
950 testPrngArray(i+iStep, aKey, ArraySize(aKey)); in do_speed_tests()
952 rc = tdb_write(pDb, aKey, sizeof(aKey), aVal, sizeof(aVal)); in do_speed_tests()
963 testPrngArray(iKey, aKey, ArraySize(aKey)); in do_speed_tests()
964 rc = tdb_fetch(pDb, aKey, sizeof(aKey), &pDummy, &nDummy); in do_speed_tests()
989 testPrngArray(iKey, aKey, ArraySize(aKey)); in do_speed_tests()
[all …]
H A Dlsmtest1.c577 u8 aKey[6]; in doDataTest3() local
584 dt3PutKey(aKey, iKey); in doDataTest3()
586 testWrite(pDb, aKey, sizeof(aKey)-1, aVal, nVal, &rc); in doDataTest3()
609 u8 aKey[6]; in doDataTest3() local
612 dt3PutKey(aKey, ii); in doDataTest3()
613 dbrc = tdb_fetch(pDb, aKey, sizeof(aKey)-1, &pDbVal, &nDbVal); in doDataTest3()
/sqlite-3.40.0/src/
H A Dvdbeaux.c4480 testcase( aKey[0]&0x80 ); in vdbeRecordDecodeInt()
4483 testcase( aKey[0]&0x80 ); in vdbeRecordDecodeInt()
4486 testcase( aKey[0]&0x80 ); in vdbeRecordDecodeInt()
4489 testcase( aKey[0]&0x80 ); in vdbeRecordDecodeInt()
4490 y = FOUR_BYTE_UINT(aKey); in vdbeRecordDecodeInt()
4494 testcase( aKey[0]&0x80 ); in vdbeRecordDecodeInt()
4495 return FOUR_BYTE_UINT(aKey+2) + (((i64)1)<<32)*TWO_BYTE_INT(aKey); in vdbeRecordDecodeInt()
4499 testcase( aKey[0]&0x80 ); in vdbeRecordDecodeInt()
4772 lhs = ONE_BYTE_INT(aKey); in vdbeRecordCompareInt()
4777 lhs = TWO_BYTE_INT(aKey); in vdbeRecordCompareInt()
[all …]
H A Dtest_malloc.c748 int aKey[MALLOC_LOG_KEYINTS]; in test_memdebug_callback() local
751 memset(aKey, 0, nKey); in test_memdebug_callback()
755 memcpy(aKey, aFrame, nKey); in test_memdebug_callback()
757 pEntry = Tcl_CreateHashEntry(&aMallocLog, (const char *)aKey, &isNew); in test_memdebug_callback()
839 Tcl_WideInt *aKey = (Tcl_WideInt *)Tcl_GetHashKey(&aMallocLog, pEntry); in test_memdebug_log() local
845 apElem[ii+2] = Tcl_NewWideIntObj(aKey[ii]); in test_memdebug_log()
H A Dvdbesort.c357 u8 *aKey; /* Pointer to current key */ member
708 rc = vdbePmaReadBlob(pReadr, (int)nRec, &pReadr->aKey); in vdbePmaReaderNext()
1644 pReadr1->aKey, pReadr1->nKey, pReadr2->aKey, pReadr2->nKey in vdbeMergeEngineStep()
1905 vdbePmaWriteBlob(&writer, pReader->aKey, nKey); in vdbeIncrPopulate()
2065 pTask, &bCached, p1->aKey, p1->nKey, p2->aKey, p2->nKey in vdbeMergeEngineCompare()
2688 pKey = pReader->aKey; in vdbeSorterRowkey()
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_vtab.c769 u8 aKey[12]; in lsm1Filter() local
776 pCur->nKey2 = lsm1PutVarint64(aKey, (sqlite3_uint64)v); in lsm1Filter()
779 memcpy(pCur->pKey2, aKey, pCur->nKey2); in lsm1Filter()
932 unsigned char aKey[16]; in lsm1Update() local
938 lsm1KeyFromValue(p->keyType, argv[0], aKey, &pKey, &nKey); in lsm1Update()
945 lsm1KeyFromValue(p->keyType, argv[0], aKey, &pKey, &nKey); in lsm1Update()
960 lsm1KeyFromValue(p->keyType, argv[2], aKey, &pKey, &nKey); in lsm1Update()
H A Dlsm_sorted.c561 u8 *aKey; in pageGetKeyCopy() local
565 if( (void *)aKey!=pBlob->pData ){ in pageGetKeyCopy()
1322 u8 *aKey = (u8 *)pKey;
1326 zRet[i] = (char)(isalnum(aKey[i]) ? aKey[i] : '.');
5578 aVal = &aKey[nKey]; in sortedDumpPage()
5584 lsmStringAppendf(&s, "%c", isalnum(aKey[iChar]) ? aKey[iChar] : '.'); in sortedDumpPage()
5637 aKey = (u8 *)pBlob->pData; in infoCellDump()
5641 aKey = (u8 *)"<indirect>"; in infoCellDump()
5648 aVal = &aKey[nKey]; in infoCellDump()
5653 if( paKey ) *paKey = aKey; in infoCellDump()
[all …]
H A Dlsm_log.c1052 int nKey; u8 *aKey; in lsmLogRecover() local
1062 logReaderBlob(&reader, &buf1, nKey, &aKey, &rc); in lsmLogRecover()
1064 rc = lsmTreeInsert(pDb, aKey, nKey, NULL, -1); in lsmLogRecover()