Home
last modified time | relevance | path

Searched refs:LOCK (Results 1 – 25 of 50) sorted by relevance

12

/external/bison/lib/glthread/
Dlock.h168 # define glthread_lock_init(LOCK) \ argument
169 (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0)
170 # define glthread_lock_lock(LOCK) \ argument
171 (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0)
172 # define glthread_lock_unlock(LOCK) \ argument
173 (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0)
174 # define glthread_lock_destroy(LOCK) \ argument
175 (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0)
190 # define glthread_rwlock_init(LOCK) \ argument
191 (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0)
[all …]
/external/autotest/server/cros/
Dhost_lock_manager.py36 LOCK = 'lock' variable in HostLockManager
90 if operation == self.LOCK and host_info.locked:
116 return self._host_modifier(new_hosts, self.LOCK, lock_reason=lock_reason)
163 kwargs = {'locked': True if operation == self.LOCK else False}
164 if operation == self.LOCK:
170 if operation == self.LOCK and lock_reason:
Dhost_lock_manager_unittest.py65 if operation == self.LOCK:
91 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
110 actual = self.manager._check_host(host_with_dot, self.manager.LOCK)
183 self.manager.LOCK).AndReturn(self.HOST1)
188 self.manager._host_modifier(hosts, self.manager.LOCK,
215 self.manager.LOCK).AndReturn(self.HOST1)
221 self.manager._host_modifier(hosts, self.manager.LOCK)
/external/libevent/
Dlistener.c103 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0) macro
121 LOCK(listener);
259 LOCK(lev); in evconnlistener_free()
283 LOCK(lev); in evconnlistener_enable()
297 LOCK(lev); in evconnlistener_disable()
324 LOCK(lev); in evconnlistener_get_fd()
342 LOCK(lev); in evconnlistener_get_base()
361 LOCK(lev); in evconnlistener_set_cb()
375 LOCK(lev); in evconnlistener_set_error_cb()
388 LOCK(lev); in listener_read_cb()
[all …]
/external/bison/lib/
Dunsetenv.c42 # define LOCK __libc_lock_lock (envlock) in __libc_lock_define_initialized() macro
45 # define LOCK in __libc_lock_define_initialized()
70 LOCK; in __libc_lock_define_initialized()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/
Dmysql-modelingschema.dump47 LOCK TABLES `bugs` WRITE;
76 LOCK TABLES `commits` WRITE;
102 LOCK TABLES `cvsfiles` WRITE;
125 LOCK TABLES `filetags` WRITE;
149 LOCK TABLES `tags` WRITE;
/external/libvncserver/libvncserver/
Dmain.c83 LOCK(extMutex); in rfbRegisterProtocolExtension()
121 LOCK(extMutex); in rfbUnregisterProtocolExtension()
153 LOCK(extMutex); in rfbGetExtensionIterator()
245 LOCK(logMutex); in rfbDefaultLog()
274 LOCK(cl->updateMutex); in rfbScheduleCopyRegion()
406 LOCK(cl->updateMutex); in rfbMarkRegionAsModified()
462 LOCK(cl->updateMutex); in clientOutput()
490 LOCK(cl->updateMutex); in clientOutput()
496 LOCK(cl->sendMutex); in clientOutput()
557 LOCK(cl->updateMutex); in clientInput()
[all …]
Drfbserver.c132 LOCK(cl->refCountMutex); in rfbIncrClientRef()
139 LOCK(cl->refCountMutex); in rfbDecrClientRef()
204 LOCK(rfbClientListMutex); in rfbClientIteratorHead()
214 LOCK(rfbClientListMutex); in rfbClientIteratorNext()
405 LOCK(rfbClientListMutex); in rfbNewTCPOrUDPClient()
538 LOCK(rfbClientListMutex); in rfbClientConnectionGone()
553 LOCK(cl->refCountMutex); in rfbClientConnectionGone()
613 LOCK(cl->outputMutex); in rfbClientConnectionGone()
617 LOCK(cl->sendMutex); in rfbClientConnectionGone()
1127 LOCK(cl->sendMutex); in rfbSendXvp()
[all …]
Dscale.c326 LOCK(cl->updateMutex); in rfbScaledScreenAllocate()
378 LOCK(cl->updateMutex); in rfbScalingSetup()
397 LOCK(cl->updateMutex); in rfbSendNewScaleSize()
Dcursor.c478 LOCK(s->cursorMutex); in rfbHideCursor()
524 LOCK(s->cursorMutex); in rfbShowCursor()
699 LOCK(cl->updateMutex); in rfbRedrawAfterHideCursor()
731 LOCK(rfbScreen->cursorMutex); in rfbSetCursor()
Dsockets.c498 LOCK(cl->updateMutex); in rfbCloseClient()
768 LOCK(cl->outputMutex); in rfbWriteExact()
Dtranslate.c426 LOCK(cl->updateMutex); in rfbSetClientColourMap()
/external/libvncserver/test/
Dencodingstest.c57 LOCK(statisticsMutex); in updateStatistics()
80 LOCK(frameBufferMutex); in doFramebuffersMatch()
210 LOCK(statisticsMutex); in idle()
222 LOCK(frameBufferMutex); in idle()
/external/icu/icu4c/source/i18n/
Dtridpars.cpp51 static UMutex LOCK = U_MUTEX_INITIALIZER; variable
660 Mutex lock(&LOCK); in registerSpecialInverse()
864 umtx_lock(&LOCK); in specsToSpecialInverse()
866 umtx_unlock(&LOCK); in specsToSpecialInverse()
Dsmpdtfmt.cpp224 static UMutex LOCK = U_MUTEX_INITIALIZER; variable
1256 umtx_lock(&LOCK); in initNumberFormatters()
1263 umtx_unlock(&LOCK); in initNumberFormatters()
3804 umtx_lock(&LOCK); in tzFormat()
3816 umtx_unlock(&LOCK); in tzFormat()
Ddtfmtsym.cpp229 static UMutex LOCK = U_MUTEX_INITIALIZER; variable
1210 umtx_lock(&LOCK); in getZoneStrings()
1221 umtx_unlock(&LOCK); in getZoneStrings()
/external/llvm/lib/Target/X86/
DX86InstrCompiler.td570 [], IIC_ALU_MEM>, Requires<[Not64BitMode]>, LOCK,
592 [], IIC_ALU_NONMEM>, LOCK;
598 [], IIC_ALU_NONMEM>, OpSize16, LOCK;
604 [], IIC_ALU_NONMEM>, OpSize32, LOCK;
610 [], IIC_ALU_NONMEM>, LOCK;
617 [], IIC_ALU_MEM>, LOCK;
624 [], IIC_ALU_MEM>, OpSize16, LOCK;
631 [], IIC_ALU_MEM>, OpSize32, LOCK;
638 [], IIC_ALU_MEM>, LOCK;
645 [], IIC_ALU_MEM>, OpSize16, LOCK;
[all …]
/external/libvncserver/rfb/
Drfb.h67 #define LOCK(mutex) (rfbLog("%s:%d LOCK(%s,0x%x)\n",__FILE__,__LINE__,#mutex,&(mutex)), pthread_mut…
80 #define LOCK(mutex) pthread_mutex_lock(&(mutex)); macro
94 #define LOCK(mutex)
/external/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp41 if (TSFlags & X86II::LOCK) in printInst()
DX86ATTInstPrinter.cpp50 if (TSFlags & X86II::LOCK) in printInst()
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
Dgki_ulinux.c60 #define LOCK(m) pthread_mutex_lock(&m) macro
126 LOCK(gki_cb.os.GKI_trace_mutex); in GKI_TRACE()
/external/libnfc-nci/src/gki/ulinux/
Dgki_ulinux.c59 #define LOCK(m) pthread_mutex_lock(&m) macro
123 LOCK(gki_cb.os.GKI_trace_mutex); in GKI_TRACE()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h452 LOCK = 1 << LOCKShift, enumerator
DX86MCCodeEmitter.cpp591 assert(!(TSFlags & X86II::LOCK) && "Can't have LOCK VEX."); in EmitVEXOpcodePrefix()
1120 if (TSFlags & X86II::LOCK) in EmitOpcodePrefix()
/external/llvm/docs/
DAtomics.rst432 generated. cmpxchg uses the ``LOCK CMPXCHG`` instruction. ``atomicrmw xchg``
434 other ``atomicrmw`` operations generate a loop with ``LOCK CMPXCHG``. Depending
436 operations like ``LOCK AND``, but that does not work in general.

12