Home
last modified time | relevance | path

Searched refs:nReaders (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/sqlite/
Dfts2.patch398 /* TODO(shess) nReaders must be <= MERGE_COUNT. This should probably
402 - DLReader *pReaders, int nReaders){
404 + DLReader *pReaders, int nReaders){
413 assert( nReaders>0 );
414 if( nReaders==1 ){
420 assert( nReaders<=MERGE_COUNT );
439 for(i=1; i<nReaders &&
1149 - docListMerge(&pWriter->data, pReaders, nReaders);
1150 + rc = docListMerge(&pWriter->data, pReaders, nReaders);
1412 assert( nReaders<=MERGE_COUNT );
[all …]
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2.c1291 DLReader *pReaders, int nReaders){ in docListMerge() argument
1300 assert( nReaders>0 ); in docListMerge()
1301 if( nReaders==1 ){ in docListMerge()
1306 assert( nReaders<=MERGE_COUNT ); in docListMerge()
1308 for(i=0; i<nReaders; i++){ in docListMerge()
1321 orderedDLReaderReorder(readers+i, nReaders-i); in docListMerge()
1348 for(i=1; i<nReaders && in docListMerge()
1357 orderedDLReaderReorder(readers+i, nReaders-i); in docListMerge()
4986 DLReader *pReaders, int nReaders){ in leafWriterStepMerge() argument
5002 for(i=0, nData=0; i<nReaders; i++){ in leafWriterStepMerge()
[all …]
/external/chromium_org/third_party/sqlite/src/src/
Dos_win.c89 int nReaders; /* Number of reader locks obtained */ member
441 if (pFile->local.nReaders){ in winceDestroyLock()
442 pFile->shared->nReaders --; in winceDestroyLock()
487 if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){ in winceLockFile()
498 pFile->local.nReaders ++; in winceLockFile()
499 if (pFile->local.nReaders == 1){ in winceLockFile()
500 pFile->shared->nReaders ++; in winceLockFile()
559 else if (pFile->local.nReaders){ in winceUnlockFile()
561 pFile->local.nReaders --; in winceUnlockFile()
562 if (pFile->local.nReaders == 0) in winceUnlockFile()
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c31224 int nReaders; /* Number of reader locks obtained */
31575 if (pFile->local.nReaders){
31576 pFile->shared->nReaders --;
31621 if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){
31632 pFile->local.nReaders ++;
31633 if (pFile->local.nReaders == 1){
31634 pFile->shared->nReaders ++;
31693 else if (pFile->local.nReaders){
31695 pFile->local.nReaders --;
31696 if (pFile->local.nReaders == 0)
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c32157 int nReaders; /* Number of reader locks obtained */
33470 if (pFile->local.nReaders){
33471 pFile->shared->nReaders --;
33516 if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){
33527 pFile->local.nReaders ++;
33528 if (pFile->local.nReaders == 1){
33529 pFile->shared->nReaders ++;
33588 else if (pFile->local.nReaders){
33590 pFile->local.nReaders --;
33591 if (pFile->local.nReaders == 0)
[all …]
/external/sqlite/dist/
Dsqlite3.c32185 int nReaders; /* Number of reader locks obtained */
33498 if (pFile->local.nReaders){
33499 pFile->shared->nReaders --;
33544 if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){
33555 pFile->local.nReaders ++;
33556 if (pFile->local.nReaders == 1){
33557 pFile->shared->nReaders ++;
33616 else if (pFile->local.nReaders){
33618 pFile->local.nReaders --;
33619 if (pFile->local.nReaders == 0)
[all …]