Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 14 of 14) sorted by relevance

/device/google/contexthub/firmware/lib/libc/
Dcxa.cpp25 uint8_t *guard = reinterpret_cast<uint8_t*>(_guard); in __cxa_guard_acquire() local
26 return guard[0] ? 0 : 1; in __cxa_guard_acquire()
32 uint8_t *guard = reinterpret_cast<uint8_t*>(_guard); in __cxa_guard_release() local
33 guard[0] = 1; in __cxa_guard_release()
39 uint8_t *guard = reinterpret_cast<uint8_t*>(_guard); in __cxa_guard_abort() local
40 guard[0] = 0; in __cxa_guard_abort()
/device/google/cuttlefish/host/frontend/vnc_server/
Dblackboard.cpp40 std::lock_guard<std::mutex> guard(m_); in NewStripeReady() local
53 std::lock_guard<std::mutex> guard(m_); in Register() local
61 std::lock_guard<std::mutex> guard(m_); in Unregister() local
80 std::unique_lock<std::mutex> guard(m_); in WaitForSenderWork() local
85 state.new_frame_cv.wait(guard); in WaitForSenderWork()
98 std::unique_lock<std::mutex> guard(m_); in WaitForAtLeastOneClientConnection() local
100 new_client_cv_.wait(guard); in WaitForAtLeastOneClientConnection()
106 std::lock_guard<std::mutex> guard(m_); in SetOrientation() local
116 std::lock_guard<std::mutex> guard(m_); in SignalClientNeedsEntireScreen() local
126 std::lock_guard<std::mutex> guard(m_); in FrameBufferUpdateRequestReceived() local
[all …]
Dframe_buffer_watcher.cpp50 std::lock_guard<std::mutex> guard(m_); in ~FrameBufferWatcher() local
59 std::lock_guard<std::mutex> guard(m_); in closed() local
97 std::lock_guard<std::mutex> guard(stripes_lock_); in StripesNewerThan() local
131 std::lock_guard<std::mutex> guard(stripes_lock_); in UpdateStripeIfStripeIsNew() local
161 std::lock_guard<std::mutex> guard(stripes_lock_); in Worker() local
Dvnc_client_connection.cpp158 std::lock_guard<std::mutex> guard(m_); in ~VncClientConnection() local
192 std::lock_guard<std::mutex> guard(m_); in closed() local
260 std::lock_guard<std::mutex> guard(m_); in SendServerInit() local
398 std::lock_guard<std::mutex> guard(m_); in FrameBufferUpdateRequestHandler() local
455 std::lock_guard<std::mutex> guard(m_); in HandleSetEncodings() local
464 std::lock_guard<std::mutex> guard(m_); in HandleSetEncodings() local
478 std::lock_guard<std::mutex> guard(m_); in HandleSetPixelFormat() local
504 std::lock_guard<std::mutex> guard(m_); in HandlePointerEvent() local
548 std::lock_guard<std::mutex> guard(m_); in SetScreenOrientation() local
Dsimulated_hw_composer.cpp57 std::lock_guard<std::mutex> guard(m_); in closed() local
62 std::lock_guard<std::mutex> guard(m_); in close() local
Dblackboard.h92 std::lock_guard<std::mutex> guard(m_); in jpeg_quality_level()
/device/google/cuttlefish/common/libs/thread_safe_queue/
Dthread_safe_queue.h44 std::unique_lock<std::mutex> guard(m_); in Pop()
46 new_item_.wait(guard); in Pop()
54 std::unique_lock<std::mutex> guard(m_); in PopAll()
56 new_item_.wait(guard); in PopAll()
62 std::lock_guard<std::mutex> guard(m_); in Push()
69 std::lock_guard<std::mutex> guard(m_); in Push()
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc41 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
54 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() local
94 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
99 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() local
145 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local
162 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
/device/generic/goldfish/audio/
Dprimary_device.cpp111 std::lock_guard<std::mutex> guard(mMutex); in openOutputStream() local
138 std::lock_guard<std::mutex> guard(mMutex); in openInputStream() local
235 std::lock_guard<std::mutex> guard(mMutex); in close() local
341 std::lock_guard<std::mutex> guard(mMutex); in unrefDevice() local
346 std::lock_guard<std::mutex> guard(mMutex); in unrefDevice() local
351 std::lock_guard<std::mutex> guard(mMutex); in updateOutputStreamVolume() local
358 std::lock_guard<std::mutex> guard(mMutex); in updateInputStreamMicMute() local
Dtalsa.cpp72 std::lock_guard<std::mutex> guard(gMixerMutex); in mixerGetOrOpen() local
93 std::lock_guard<std::mutex> guard(gMixerMutex); in mixerUnref() local
Dring_buffer.cpp31 std::lock_guard<std::mutex> guard(mMutex); in availableToProduce() local
Dstream_out.cpp395 std::lock_guard<std::mutex> guard(mMutex); in setVolume() local
494 std::lock_guard<std::mutex> guard(mMutex); in setMasterVolume() local
/device/google/cuttlefish/common/libs/tcp_socket/
Dtcp_socket.cpp43 std::lock_guard<std::mutex> guard(closed_lock_); in closed() local
57 std::lock_guard<std::mutex> guard(closed_lock_); in Recv() local
79 std::lock_guard<std::mutex> guard(closed_lock_); in SendNoSignal() local
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp159 std::lock_guard<std::mutex> guard(g_recycled_addrs_mutex); in recycle_mmap() local
180 std::lock_guard<std::mutex> guard(g_recycled_addrs_mutex); in recycle_munmap() local