Home
last modified time | relevance | path

Searched refs:native_handle_ (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/base/platform/
Dsemaphore.cc25 mach_task_self(), &native_handle_, SYNC_POLICY_FIFO, count); in Semaphore()
32 kern_return_t result = semaphore_destroy(mach_task_self(), native_handle_); in ~Semaphore()
38 kern_return_t result = semaphore_signal(native_handle_); in Signal()
46 kern_return_t result = semaphore_wait(native_handle_); in Wait()
65 kern_return_t result = semaphore_timedwait(native_handle_, ts); in WaitFor()
77 int result = sem_init(&native_handle_, 0, count);
84 int result = sem_destroy(&native_handle_);
90 int result = sem_post(&native_handle_);
100 int result = sem_wait(&native_handle_);
116 int result = sem_timedwait(&native_handle_, &ts);
[all …]
Dmutex.cc114 InitializeNativeHandle(&native_handle_); in Mutex()
122 DestroyNativeHandle(&native_handle_); in ~Mutex()
128 LockNativeHandle(&native_handle_); in Lock()
135 UnlockNativeHandle(&native_handle_); in Unlock()
140 if (!TryLockNativeHandle(&native_handle_)) { in TryLock()
149 InitializeRecursiveNativeHandle(&native_handle_); in RecursiveMutex()
157 DestroyNativeHandle(&native_handle_); in ~RecursiveMutex()
163 LockNativeHandle(&native_handle_); in Lock()
176 UnlockNativeHandle(&native_handle_); in Unlock()
181 if (!TryLockNativeHandle(&native_handle_)) { in TryLock()
Dcondition-variable.cc27 result = pthread_cond_init(&native_handle_, &attr); in ConditionVariable()
31 int result = pthread_cond_init(&native_handle_, NULL); in ConditionVariable()
48 pthread_cond_timedwait_relative_np(&native_handle_, &lock.native_handle(), in ~ConditionVariable()
52 int result = pthread_cond_destroy(&native_handle_); in ~ConditionVariable()
59 int result = pthread_cond_signal(&native_handle_); in NotifyOne()
66 int result = pthread_cond_broadcast(&native_handle_); in NotifyAll()
74 int result = pthread_cond_wait(&native_handle_, &mutex->native_handle()); in Wait()
92 &native_handle_, &mutex->native_handle(), &ts); in WaitFor()
109 &native_handle_, &mutex->native_handle(), &ts); in WaitFor()
234 LockGuard<Mutex> lock_guard(native_handle_.mutex());
[all …]
Dmutex.h64 return native_handle_; in native_handle()
67 return native_handle_; in native_handle()
71 NativeHandle native_handle_;
159 return native_handle_; in native_handle()
162 return native_handle_; in native_handle()
166 NativeHandle native_handle_;
Dsemaphore.h61 return native_handle_; in native_handle()
64 return native_handle_; in native_handle()
68 NativeHandle native_handle_;
Dcondition-variable.h88 return native_handle_; in native_handle()
91 return native_handle_; in native_handle()
95 NativeHandle native_handle_;
/external/libchrome/base/synchronization/
Dread_write_lock_posix.cc12 ReadWriteLock::ReadWriteLock() : native_handle_(PTHREAD_RWLOCK_INITIALIZER) {} in ReadWriteLock()
15 int result = pthread_rwlock_destroy(&native_handle_); in ~ReadWriteLock()
20 int result = pthread_rwlock_rdlock(&native_handle_); in ReadAcquire()
25 int result = pthread_rwlock_unlock(&native_handle_); in ReadRelease()
30 int result = pthread_rwlock_wrlock(&native_handle_); in WriteAcquire()
35 int result = pthread_rwlock_unlock(&native_handle_); in WriteRelease()
Dlock_impl_posix.cc45 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl()
52 int rv = pthread_mutex_destroy(&native_handle_); in ~LockImpl()
57 int rv = pthread_mutex_trylock(&native_handle_); in Try()
64 int rv = pthread_mutex_lock(&native_handle_); in Lock()
69 int rv = pthread_mutex_unlock(&native_handle_); in Unlock()
Dlock_impl.h49 NativeHandle* native_handle() { return &native_handle_; } in native_handle()
57 NativeHandle native_handle_;
Dread_write_lock.h56 NativeHandle native_handle_; variable
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc104 : webrtc::NativeHandleBuffer(&native_handle_, width, height), in AndroidTextureBuffer()
105 native_handle_(native_handle), in AndroidTextureBuffer()
153 native_handle_.sampling_matrix); in NativeToI420Buffer()
158 native_handle_.oes_texture_id, sampling_matrix); in NativeToI420Buffer()
179 rotated_width, rotated_height, native_handle_, in ScaleAndRotate()
182 RotateMatrix(buffer->native_handle_.sampling_matrix, rotation); in ScaleAndRotate()
Dnative_handle_impl.h65 NativeHandleImpl native_handle_;
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc110 : native_handle_(native_handle), width_(width), height_(height) { in NativeHandleBuffer()
135 return native_handle_; in native_handle()
/external/webrtc/webrtc/test/
Dfake_texture_frame.h36 delete reinterpret_cast<FakeNativeHandle*>(native_handle_); in ~FakeNativeHandleBuffer()
/external/webrtc/webrtc/common_video/include/
Dvideo_frame_buffer.h107 void* native_handle_;