Searched refs:sqlite3_mutex (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/src/
H A Dmutex_noop.c40 static sqlite3_mutex *noopMutexAlloc(int id){
42 return (sqlite3_mutex*)8;
44 static void noopMutexFree(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; }
45 static void noopMutexEnter(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; }
46 static int noopMutexTry(sqlite3_mutex *p){
50 static void noopMutexLeave(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; }
89 static int debugMutexHeld(sqlite3_mutex *pX){
93 static int debugMutexNotheld(sqlite3_mutex *pX){
109 static sqlite3_mutex *debugMutexAlloc(int id){
130 return (sqlite3_mutex*)pNe
[all...]
H A Dmutex.c82 sqlite3_mutex *sqlite3_mutex_alloc(int id){
89 sqlite3_mutex *sqlite3MutexAlloc(int id){
100 void sqlite3_mutex_free(sqlite3_mutex *p){
110 void sqlite3_mutex_enter(sqlite3_mutex *p){
120 int sqlite3_mutex_try(sqlite3_mutex *p){
134 void sqlite3_mutex_leave(sqlite3_mutex *p){
145 int sqlite3_mutex_held(sqlite3_mutex *p){
148 int sqlite3_mutex_notheld(sqlite3_mutex *p){
H A Dmutex.h61 #define sqlite3_mutex_alloc(X) ((sqlite3_mutex*)8)
68 #define sqlite3MutexAlloc(X) ((sqlite3_mutex*)8)
H A Dmutex_os2.c31 struct sqlite3_mutex { struct
93 static sqlite3_mutex *os2MutexAlloc(int iType){
94 sqlite3_mutex *p = NULL;
110 static sqlite3_mutex staticMutexes[6] = {
161 static void os2MutexFree(sqlite3_mutex *p){
179 static int os2MutexHeld(sqlite3_mutex *p){
190 static int os2MutexNotheld(sqlite3_mutex *p){
201 static void os2MutexTrace(sqlite3_mutex *p, char *pAction){
221 static void os2MutexEnter(sqlite3_mutex *p){
228 static int os2MutexTry(sqlite3_mutex *
[all...]
H A Dmutex_w32.c25 struct sqlite3_mutex { struct
80 static int winMutexHeld(sqlite3_mutex *p){
83 static int winMutexNotheld2(sqlite3_mutex *p, DWORD tid){
86 static int winMutexNotheld(sqlite3_mutex *p){
96 static sqlite3_mutex winMutex_staticMutexes[6] = {
186 static sqlite3_mutex *winMutexAlloc(int iType){
187 sqlite3_mutex *p;
221 static void winMutexFree(sqlite3_mutex *p){
240 static void winMutexEnter(sqlite3_mutex *p){
255 static int winMutexTry(sqlite3_mutex *
[all...]
H A Dmutex_unix.c28 ** The sqlite3_mutex.id, sqlite3_mutex.nRef, and sqlite3_mutex.owner fields
41 struct sqlite3_mutex { struct
73 static int pthreadMutexHeld(sqlite3_mutex *p){
76 static int pthreadMutexNotheld(sqlite3_mutex *p){
129 static sqlite3_mutex *pthreadMutexAlloc(int iType){
130 static sqlite3_mutex staticMutexes[] = {
138 sqlite3_mutex *p;
190 static void pthreadMutexFree(sqlite3_mutex *
[all...]
H A Dtest_mutex.c12 ** This file contains test logic for the sqlite3_mutex interfaces.
26 struct sqlite3_mutex { struct
27 sqlite3_mutex *pReal;
39 sqlite3_mutex aStatic[6]; /* The six static mutexes */
43 static int counterMutexHeld(sqlite3_mutex *p){
48 static int counterMutexNotheld(sqlite3_mutex *p){
76 static sqlite3_mutex *counterMutexAlloc(int eType){
77 sqlite3_mutex *pReal;
78 sqlite3_mutex *pRet = 0;
87 pRet = (sqlite3_mutex *)mallo
[all...]
H A Dtest_init.c85 static sqlite3_mutex *wrMutexAlloc(int e){
88 static void wrMutexFree(sqlite3_mutex *p){
91 static void wrMutexEnter(sqlite3_mutex *p){
94 static int wrMutexTry(sqlite3_mutex *p){
97 static void wrMutexLeave(sqlite3_mutex *p){
100 static int wrMutexHeld(sqlite3_mutex *p){
103 static int wrMutexNotheld(sqlite3_mutex *p){
H A Dsqlite.h.in746 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
748 ** at the internal representation of an [sqlite3_mutex]. It only
749 ** deals with pointers to the [sqlite3_mutex] object.
753 typedef struct sqlite3_mutex sqlite3_mutex;
5184 sqlite3_mutex *sqlite3_mutex_alloc(int);
5185 void sqlite3_mutex_free(sqlite3_mutex*);
5186 void sqlite3_mutex_enter(sqlite3_mutex*);
5187 int sqlite3_mutex_try(sqlite3_mutex*);
5188 void sqlite3_mutex_leave(sqlite3_mutex*);
[all...]
H A Drandom.c108 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_PRNG);
H A Dsqlite3ext.h169 sqlite3_mutex *(*mutex_alloc)(int);
170 void (*mutex_enter)(sqlite3_mutex*);
171 void (*mutex_free)(sqlite3_mutex*);
172 void (*mutex_leave)(sqlite3_mutex*);
173 int (*mutex_try)(sqlite3_mutex*);
203 sqlite3_mutex *(*db_mutex)(sqlite3*);
H A Dloadext.c568 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER);
602 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER);
631 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER);
H A Dos.c256 sqlite3_mutex *mutex;
300 sqlite3_mutex *mutex = 0;
325 sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER);
H A DbtreeInt.h429 sqlite3_mutex *mutex; /* Non-recursive mutex required to access this object */
H A Dpcache1.c50 sqlite3_mutex *mutex; /* MUTEX_STATIC_LRU or NULL */
129 sqlite3_mutex *mutex; /* Mutex for accessing the following: */
H A Dmem2.c87 sqlite3_mutex *mutex;
H A Dmem5.c103 sqlite3_mutex *mutex;
H A Dtest_multiplex.c46 #define sqlite3_mutex_alloc(X) ((sqlite3_mutex*)8)
159 sqlite3_mutex *pMutex;
H A Dtest_quota.c38 #define sqlite3_mutex_alloc(X) ((sqlite3_mutex*)8)
151 sqlite3_mutex *pMutex;
H A Dvdbeapi.c75 sqlite3_mutex *mutex;
121 sqlite3_mutex *mutex = ((Vdbe*)pStmt)->db->mutex;
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.h751 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
753 ** at the internal representation of an [sqlite3_mutex]. It only
754 ** deals with pointers to the [sqlite3_mutex] object.
758 typedef struct sqlite3_mutex sqlite3_mutex; typedef in typeref:struct:sqlite3_mutex
5189 SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int);
5190 SQLITE_API void sqlite3_mutex_free(sqlite3_mutex*);
5191 SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex*);
5192 SQLITE_API int sqlite3_mutex_try(sqlite3_mutex*);
5193 SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex*);
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.h976 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
978 ** at the internal representation of an [sqlite3_mutex]. It only
979 ** deals with pointers to the [sqlite3_mutex] object.
983 typedef struct sqlite3_mutex sqlite3_mutex; typedef in typeref:struct:sqlite3_mutex
5931 SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int);
5932 SQLITE_API void sqlite3_mutex_free(sqlite3_mutex*);
5933 SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex*);
5934 SQLITE_API int sqlite3_mutex_try(sqlite3_mutex*);
5935 SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex*);
[all...]
H A Dsqlite3ext.h186 sqlite3_mutex *(*mutex_alloc)(int);
187 void (*mutex_enter)(sqlite3_mutex*);
188 void (*mutex_free)(sqlite3_mutex*);
189 void (*mutex_leave)(sqlite3_mutex*);
190 int (*mutex_try)(sqlite3_mutex*);
224 sqlite3_mutex *(*db_mutex)(sqlite3*);
/external/sqlite/dist/
H A Dsqlite3.h976 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
978 ** at the internal representation of an [sqlite3_mutex]. It only
979 ** deals with pointers to the [sqlite3_mutex] object.
983 typedef struct sqlite3_mutex sqlite3_mutex; typedef in typeref:struct:sqlite3_mutex
5931 SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int);
5932 SQLITE_API void sqlite3_mutex_free(sqlite3_mutex*);
5933 SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex*);
5934 SQLITE_API int sqlite3_mutex_try(sqlite3_mutex*);
5935 SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex*);
[all...]
H A Dsqlite3ext.h186 sqlite3_mutex *(*mutex_alloc)(int);
187 void (*mutex_enter)(sqlite3_mutex*);
188 void (*mutex_free)(sqlite3_mutex*);
189 void (*mutex_leave)(sqlite3_mutex*);
190 int (*mutex_try)(sqlite3_mutex*);
224 sqlite3_mutex *(*db_mutex)(sqlite3*);

Completed in 162 milliseconds

12