Home
last modified time | relevance | path

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

/external/chromium_org/net/third_party/nss/patches/
Dcachelocks.patch41 @@ -35,91 +35,55 @@ static PZLock * cacheLock = NULL;
43 #define UNLOCK_CACHE PZ_Unlock(cacheLock)
57 + if (!cacheLock) {
62 + PZ_DestroyLock(cacheLock);
63 + cacheLock = NULL;
81 cacheLock = PZ_NewLock(nssILockCache);
82 - return cacheLock ? SECSuccess : SECFailure;
88 - if (cacheLock) {
89 + if (cacheLock == NULL) {
95 PZ_DestroyLock(cacheLock);
[all …]
Dsslnoncestatics.patch10 -static PZLock * cacheLock = NULL;
12 +PZLock * cacheLock = NULL;
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java35 private final ReadWriteLock cacheLock = new ReentrantReadWriteLock(); field in LoadPathToFileCache
51 cacheLock.readLock().lock(); in lookup()
55 cacheLock.readLock().unlock(); in lookup()
68 cacheLock.writeLock().lock(); in add()
72 cacheLock.writeLock().unlock(); in add()
/external/chromium_org/net/third_party/nss/ssl/
Dsslnonce.c25 PZLock * cacheLock = NULL; variable
36 #define UNLOCK_CACHE PZ_Unlock(cacheLock)
49 if (!cacheLock) { in FreeSessionCacheLocks()
54 PZ_DestroyLock(cacheLock); in FreeSessionCacheLocks()
55 cacheLock = NULL; in FreeSessionCacheLocks()
73 cacheLock = PZ_NewLock(nssILockCache); in InitSessionCacheLocks()
74 if (cacheLock == NULL) { in InitSessionCacheLocks()
80 PZ_DestroyLock(cacheLock); in InitSessionCacheLocks()
81 cacheLock = NULL; in InitSessionCacheLocks()
106 PZ_Lock(cacheLock); in lock_cache()