Searched defs:nRef (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dpcache.h40 i16 nRef; /* Number of users of this page */ member in struct:PgHdr
H A Dmutex_unix.c28 ** The sqlite3_mutex.id, sqlite3_mutex.nRef, and sqlite3_mutex.owner fields
45 volatile int nRef; /* Number of entrances */ member in struct:sqlite3_mutex
74 return (p->nRef!=0 && pthread_equal(p->owner, pthread_self()));
77 return p->nRef==0 || pthread_equal(p->owner, pthread_self())==0;
191 assert( p->nRef==0 );
224 if( p->nRef>0 && pthread_equal(p->owner, self) ){
225 p->nRef++;
228 assert( p->nRef==0 );
230 p->nRef = 1;
238 assert( p->nRef>
[all...]
H A Dmutex_w32.c29 volatile int nRef; /* Number of enterances */ member in struct:sqlite3_mutex
81 return p->nRef!=0 && p->owner==GetCurrentThreadId();
84 return p->nRef==0 || p->owner!=tid;
223 assert( p->nRef==0 && p->owner==0 );
247 assert( p->nRef>0 || p->owner==0 );
249 p->nRef++;
251 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef);
275 p->nRef++;
283 printf("try mutex %p (%d) with nRef
[all...]
H A Dpcache.c22 int nRef; /* Number of referenced pages */ member in struct:PCache
58 assert( p->nRef || (p->flags&PGHDR_NEED_SYNC) );
60 return (p==0 || p->nRef || (p->flags&PGHDR_NEED_SYNC)==0);
192 assert( pCache->nRef==0 && pCache->pDirty==0 );
247 pPg && (pPg->nRef || (pPg->flags&PGHDR_NEED_SYNC));
252 for(pPg=pCache->pDirtyTail; pPg && pPg->nRef; pPg=pPg->pDirtyPrev);
279 if( 0==pPage->nRef ){
280 pCache->nRef++;
282 pPage->nRef++;
296 assert( p->nRef>
[all...]
H A Dresolve.c337 ** Because no reference was made to outer contexts, the pNC->nRef
391 /* Increment the nRef value on all name contexts from TopNC up to
395 pTopNC->nRef++;
585 int nRef = pNC->nRef; local
592 assert( pNC->nRef>=nRef );
593 if( nRef!=pNC->nRef ){
H A Dtest_onefile.c104 int nRef; /* Number of pointers to this structure */ member in struct:fs_real_file
381 pReal->nRef--;
382 assert(pReal->nRef>=0);
385 if( pReal->nRef==0 ){
669 pReal->nRef++;
H A DbtreeInt.h375 ** to this one BtShared object. BtShared.nRef is the number of
379 ** mutex, except for nRef and pNext which are accessed under the
381 ** may not be modified once it is initially set as long as nRef>0.
383 ** thereafter is unchanged as long as nRef>0.
432 int nRef; /* Number of references to this structure */ member in struct:BtShared
H A Dtest_quota.c97 int nRef; /* Number of times this file is open */ member in struct:quotaFile
341 pFile->nRef++;
367 pFile->nRef--;
368 if( pFile->nRef==0 ){
919 Tcl_NewWideIntObj(pFile->nRef));
H A Dos_os2.c750 ** nRef
759 ** Either os2ShmNode.mutex must be held or os2ShmNode.nRef==0 and
773 int nRef; /* Number of os2ShmLink objects pointing to this */ member in struct:os2ShmNode
841 assert( sqlite3_mutex_held(pNode->mutex) || pNode->nRef==0 );
962 pNode->nRef++;
981 ** Purge the os2ShmNodeList list of all entries with nRef==0.
997 if( pNode->nRef == 0 ) {
1166 int nRef = -1; local
1180 nRef = --pNode->nRef;
[all...]
H A Dos_win.c1261 ** nRef
1269 ** Either winShmNode.mutex must be held or winShmNode.nRef==0 and
1287 int nRef; /* Number of winShm objects pointing to this */ member in struct:winShmNode
1349 assert( sqlite3_mutex_held(pFile->mutex) || pFile->nRef==0 );
1386 ** Purge the winShmNodeList list of all entries with winShmNode.nRef==0.
1398 if( p->nRef==0 ){
1518 pShmNode->nRef++;
1574 /* If pShmNode->nRef has reached 0, then close the underlying
1577 assert( pShmNode->nRef>0 );
1578 pShmNode->nRef
[all...]
H A Dos_unix.c703 int nRef; /* Number of references to this one */ member in struct:vxworksFileId
756 ** The nRef field of the vxworksFileId object is incremented before
785 pCandidate->nRef++;
792 pNew->nRef = 1;
806 assert( pId->nRef>0 );
807 pId->nRef--;
808 if( pId->nRef==0 ){
939 int nRef; /* Number of pointers to this structure */ member in struct:unixInodeInfo
1074 pInode->nRef--;
1075 if( pInode->nRef
3574 int nRef; /* Number of unixShm objects pointing to this */ member in struct:unixShmNode
[all...]
H A Dbtree.c1770 assert( pBt->nRef>0 );
1785 pBt->nRef++;
1875 pBt->nRef = 1;
1951 ** Decrement the BtShared.nRef counter. When it reaches zero,
1953 ** true if the BtShared.nRef counter reaches zero and return
1965 pBt->nRef--;
1966 if( pBt->nRef<=0 ){
3010 VVA_ONLY( int nRef = sqlite3PagerRefcount(pPager) );
3060 assert( nRef==sqlite3PagerRefcount(pPager) );
7805 int nRef; local
[all...]
H A DsqliteInt.h993 ** a single object of this type is allocated. FuncDestructor.nRef is set to
1004 int nRef; member in struct:FuncDestructor
1234 int nRef; /* Number of pointers to this structure */ member in struct:VTable
1277 u16 nRef; /* Number of pointers to this Table */ member in struct:Table
1988 ** or all contexts are check. When a match is found, the nRef member of
2000 int nRef; /* Number of names resolved by this context */ member in struct:NameContext
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.h4768 int nRef; /* NO LONGER USED */ member in struct:sqlite3_vtab
H A Dsqlite3.c5311 int nRef; /* NO LONGER USED */ member in struct:sqlite3_vtab
8517 i16 nRef; /* Number of users of this page */ member in struct:PgHdr
9338 ** a single object of this type is allocated. FuncDestructor.nRef is set to
9349 int nRef; member in struct:FuncDestructor
9579 int nRef; /* Number of pointers to this structure */ member in struct:VTable
9622 u16 nRef; /* Number of pointers to this Table */ member in struct:Table
10333 ** or all contexts are check. When a match is found, the nRef member of
10345 int nRef; /* Number of names resolved by this context */ member in struct:NameContext
16949 printf("%s mutex %p (%d) with nRef=%ld\n", pAction, (void*)p, p->trace, ulCount);
17047 ** The sqlite3_mutex.id, sqlite3_mutex.nRef, an
17064 volatile int nRef; /* Number of entrances */ member in struct:sqlite3_mutex
17401 volatile int nRef; /* Number of enterances */ member in struct:sqlite3_mutex
22785 int nRef; /* Number of os2ShmLink objects pointing to this */ member in struct:os2ShmNode
23178 int nRef = -1; local
24844 int nRef; /* Number of references to this one */ member in struct:vxworksFileId
25080 int nRef; /* Number of pointers to this structure */ member in struct:unixInodeInfo
27715 int nRef; /* Number of unixShm objects pointing to this */ member in struct:unixShmNode
32406 int nRef; /* Number of winShm objects pointing to this */ member in struct:winShmNode
34347 int nRef; /* Number of referenced pages */ member in struct:PCache
46634 int nRef; /* Number of references to this structure */ member in struct:BtShared
54924 int nRef; local
70116 int nRef = pNC->nRef; local
124528 int nRef; member in struct:RtreeNode
[all...]
/external/chromium_org/third_party/sqlite/src/ext/rtree/
H A Drtree.c260 int nRef; member in struct:RtreeNode
383 p->nRef++;
452 pNode->nRef = 1;
483 pNode->nRef++;
499 pNode->nRef = 1;
640 assert( pNode->nRef>0 );
641 pNode->nRef--;
642 if( pNode->nRef==0 ){
2346 assert( pNode->nRef==1 );
2383 pNode->nRef
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.h5506 int nRef; /* NO LONGER USED */ member in struct:sqlite3_vtab
H A Dsqlite3.c5621 int nRef; /* NO LONGER USED */ member in struct:sqlite3_vtab
9835 i16 nRef; /* Number of users of this page */ member in struct:PgHdr
10656 ** a single object of this type is allocated. FuncDestructor.nRef is set to
10667 int nRef; member in struct:FuncDestructor
10902 int nRef; /* Number of pointers to this structure */ member in struct:VTable
10952 u16 nRef; /* Number of pointers to this Table */ member in struct:Table
11094 u32 nRef; /* Number of references to this KeyInfo object */ member in struct:KeyInfo
11641 ** or all contexts are check. When a match is found, the nRef member of
11655 int nRef; /* Number of names resolved by this context */ member in struct:NameContext
18760 ** The sqlite3_mutex.id, sqlite3_mutex.nRef, an
18777 volatile int nRef; /* Number of entrances */ member in struct:sqlite3_mutex
19411 volatile int nRef; /* Number of enterances */ member in struct:sqlite3_mutex
25086 int nRef; /* Number of references to this one */ member in struct:vxworksFileId
25322 int nRef; /* Number of pointers to this structure */ member in struct:unixInodeInfo
28291 int nRef; /* Number of unixShm objects pointing to this */ member in struct:unixShmNode
35329 int nRef; /* Number of winShm objects pointing to this */ member in struct:winShmNode
37946 int nRef; /* Number of referenced pages */ member in struct:PCache
51028 int nRef; /* Number of references to this structure */ member in struct:BtShared
59714 int nRef; local
77542 int nRef = pNC->nRef; local
77948 int nRef = 0; /* Refcount for pOuterNC and outer contexts */ local
144942 int nRef; /* Number of references to this node */ member in struct:RtreeNode
[all...]
/external/sqlite/dist/
H A Dsqlite3.h5506 int nRef; /* NO LONGER USED */ member in struct:sqlite3_vtab
H A Dsqlite3.c5621 int nRef; /* NO LONGER USED */ member in struct:sqlite3_vtab
9835 i16 nRef; /* Number of users of this page */ member in struct:PgHdr
10656 ** a single object of this type is allocated. FuncDestructor.nRef is set to
10667 int nRef; member in struct:FuncDestructor
10902 int nRef; /* Number of pointers to this structure */ member in struct:VTable
10952 u16 nRef; /* Number of pointers to this Table */ member in struct:Table
11094 u32 nRef; /* Number of references to this KeyInfo object */ member in struct:KeyInfo
11641 ** or all contexts are check. When a match is found, the nRef member of
11655 int nRef; /* Number of names resolved by this context */ member in struct:NameContext
18760 ** The sqlite3_mutex.id, sqlite3_mutex.nRef, an
18777 volatile int nRef; /* Number of entrances */ member in struct:sqlite3_mutex
19411 volatile int nRef; /* Number of enterances */ member in struct:sqlite3_mutex
25104 int nRef; /* Number of references to this one */ member in struct:vxworksFileId
25340 int nRef; /* Number of pointers to this structure */ member in struct:unixInodeInfo
28311 int nRef; /* Number of unixShm objects pointing to this */ member in struct:unixShmNode
35349 int nRef; /* Number of winShm objects pointing to this */ member in struct:winShmNode
37966 int nRef; /* Number of referenced pages */ member in struct:PCache
51048 int nRef; /* Number of references to this structure */ member in struct:BtShared
59734 int nRef; local
77562 int nRef = pNC->nRef; local
77968 int nRef = 0; /* Refcount for pOuterNC and outer contexts */ local
144974 int nRef; /* Number of references to this node */ member in struct:RtreeNode
[all...]
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp3525 BIGNUM* nRef = NULL; local
3526 if (!arrayToBignum(env, njavaBytes, &nRef)) {
3529 Unique_BIGNUM n(nRef);

Completed in 4231 milliseconds