Home
last modified time | relevance | path

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

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest1.c185 iKey1 = testPrngValue((iFirst<<8) + (iLast<<16)) % nRow; in testDbContents()
186 iKey2 = testPrngValue((iLast<<8) + (iFirst<<16)) % nRow; in testDbContents()
214 iKey = testPrngValue(j + (iFirst<<8) + (iLast<<16)) % nRow; in testDbContents()
402 iKey1 = testPrngValue(iSeed) % nData; in testCompareDb()
403 iKey2 = testPrngValue(iSeed+1) % nData; in testCompareDb()
581 iKey = (testPrngValue(iSeq++) % p->nRange) + 1; in doDataTest3()
582 nVal = (testPrngValue(iSeq++) % (p->nValMax - p->nValMin)) + p->nValMin; in doDataTest3()
583 testPrngString(testPrngValue(iSeq++), aVal, nVal); in doDataTest3()
596 iKey = (testPrngValue(iSeq++) % p->nRange) + 1; in doDataTest3()
H A Dlsmtest_util.c107 unsigned int testPrngValue(unsigned int iVal){ in testPrngValue() function
118 aOut[i] = testPrngValue(iVal+i); in testPrngArray()
125 aOut[i] = 'a' + (testPrngValue(iVal+i) % 26); in testPrngString()
H A Dlsmtest_datasource.c31 nKey = (int)( testPrngValue((u32)iData) % nRange ) + p->nMinKey; in testDatasourceEntry()
43 u32 nVal = testPrngValue((u32)iData)%(1+p->nMaxVal-p->nMinVal)+p->nMinVal; in testDatasourceEntry()
H A Dlsmtest5.c526 iPrng = testPrngValue(iThread); in mt1Main()
539 iKey = (testPrngValue(iPrng++) % p->param.nKey); in mt1Main()
551 iKey = (testPrngValue(iPrng++) % p->param.nKey); in mt1Main()
H A Dlsmtest_main.c729 int iKey = testPrngValue(i*nWrite+iFetch) % nContent; in do_speed_test2()
962 iKey = testPrngValue(iSel) % (i+nSelStep); in do_speed_tests()
988 iKey = testPrngValue(iSel) % nRow; in do_speed_tests()
1118 printf("0x%x\n", testPrngValue(i)); in do_random_tests()
1205 u32 a = testPrngValue(i); in do_writer_test()
1206 u32 b = testPrngValue(a); in do_writer_test()
H A Dlsmtest.h140 u32 testPrngValue(u32 iVal);
H A Dlsmtest_tdb4.c153 int iOpt = (testPrngValue(i) % 3) + 1; in btFlushSectors()
H A Dlsmtest_tdb3.c402 int iOpt = testPrngValue(iSeed++) % 3; in doSystemCrash()