Home
last modified time | relevance | path

Searched refs:lockType (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
Dtest_lock.py142 def theThread(self, lockType): argument
149 if lockType == db.DB_LOCK_WRITE:
159 lock = self.env.lock_get(anID, "some locked thing", lockType)
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowWifiManager.java104 public WifiManager.WifiLock createWifiLock(int lockType, java.lang.String tag) { in createWifiLock() argument
/external/sqlite/dist/orig/
Dsqlite3.c20249 SQLITE_PRIVATE int sqlite3OsLock(sqlite3_file *id, int lockType){ in sqlite3OsLock() argument
20251 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
20253 SQLITE_PRIVATE int sqlite3OsUnlock(sqlite3_file *id, int lockType){ in sqlite3OsUnlock() argument
20254 return id->pMethods->xUnlock(id, lockType); in sqlite3OsUnlock()
34087 int lockType, /* F_UNLCK, F_RDLCK, or F_WRLCK */
34100 assert( n==1 || lockType!=F_RDLCK );
34108 f.l_type = lockType;
34123 if( lockType==F_UNLCK ){
34127 }else if( lockType==F_RDLCK ){
34132 assert( lockType==F_WRLCK );
[all …]
/external/sqlite/dist/
Dsqlite3.c20249 SQLITE_PRIVATE int sqlite3OsLock(sqlite3_file *id, int lockType){ in sqlite3OsLock() argument
20251 return id->pMethods->xLock(id, lockType); in sqlite3OsLock()
20253 SQLITE_PRIVATE int sqlite3OsUnlock(sqlite3_file *id, int lockType){ in sqlite3OsUnlock() argument
20254 return id->pMethods->xUnlock(id, lockType); in sqlite3OsUnlock()
34087 int lockType, /* F_UNLCK, F_RDLCK, or F_WRLCK */
34100 assert( n==1 || lockType!=F_RDLCK );
34108 f.l_type = lockType;
34123 if( lockType==F_UNLCK ){
34127 }else if( lockType==F_RDLCK ){
34132 assert( lockType==F_WRLCK );
[all …]