Home
last modified time | relevance | path

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

12

/external/v8/src/base/platform/
Dcondition-variable.cc48 pthread_cond_timedwait_relative_np(&native_handle_, &lock.native_handle(), in ~ConditionVariable()
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()
137 SleepConditionVariableSRW(&native_handle_, &mutex->native_handle(), INFINITE,
147 &native_handle_, &mutex->native_handle(), static_cast<DWORD>(msec), 0);
Dmutex.h63 NativeHandle& native_handle() { in native_handle() function
66 const NativeHandle& native_handle() const { in native_handle() function
162 NativeHandle& native_handle() { in native_handle() function
165 const NativeHandle& native_handle() const { in native_handle() function
Dcondition-variable.h69 NativeHandle& native_handle() { in native_handle() function
72 const NativeHandle& native_handle() const { in native_handle() function
Dsemaphore.h60 NativeHandle& native_handle() { in native_handle() function
63 const NativeHandle& native_handle() const { in native_handle() function
/external/webrtc/webrtc/common_video/
Dvideo_frame_buffer.cc98 void* I420Buffer::native_handle() const { in native_handle() function in webrtc::I420Buffer
107 NativeHandleBuffer::NativeHandleBuffer(void* native_handle, in NativeHandleBuffer() argument
110 : native_handle_(native_handle), width_(width), height_(height) { in NativeHandleBuffer()
111 RTC_DCHECK(native_handle != nullptr); in NativeHandleBuffer()
134 void* NativeHandleBuffer::native_handle() const { in native_handle() function in webrtc::NativeHandleBuffer
198 void* WrappedI420Buffer::native_handle() const { in native_handle() function in webrtc::WrappedI420Buffer
211 RTC_CHECK(buffer->native_handle() == nullptr); in ShallowCenterCrop()
Dvideo_frame.cc79 !video_frame_buffer_->native_handle() && in CreateEmptyFrame()
142 } else if (videoFrame.native_handle()) { in CopyFrame()
204 void* VideoFrame::native_handle() const { in native_handle() function in webrtc::VideoFrame
205 return video_frame_buffer_ ? video_frame_buffer_->native_handle() : nullptr; in native_handle()
218 RTC_DCHECK(native_handle()); in ConvertNativeToI420Frame()
/external/webrtc/webrtc/common_video/include/
Dvideo_frame_buffer.h54 virtual void* native_handle() const = 0;
77 void* native_handle() const override;
98 NativeHandleBuffer(void* native_handle, int width, int height);
104 void* native_handle() const override;
129 void* native_handle() const override;
/external/webrtc/webrtc/test/
Dfake_texture_frame.h22 static VideoFrame CreateFrame(FakeNativeHandle* native_handle,
32 FakeNativeHandleBuffer(void* native_handle, int width, int height) in FakeNativeHandleBuffer() argument
33 : NativeHandleBuffer(native_handle, width, height) {} in FakeNativeHandleBuffer()
Dfake_texture_frame.cc16 VideoFrame FakeNativeHandle::CreateFrame(FakeNativeHandle* native_handle, in CreateFrame() argument
23 native_handle, width, height), in CreateFrame()
/external/libcxx/utils/google-benchmark/src/
Dmutex.h81 std::mutex& native_handle() { return mut_; } in native_handle() function
91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} in MutexLock()
93 MutexLockImp& native_handle() { return ml_; } in native_handle() function
142 phase_condition_.wait(ml.native_handle(), cb); in createBarrier()
/external/google-benchmark/src/
Dmutex.h81 std::mutex& native_handle() { return mut_; } in native_handle() function
91 MutexLock(Mutex& m) ACQUIRE(m) : ml_(m.native_handle()) {} in MutexLock()
93 MutexLockImp& native_handle() { return ml_; } in native_handle() function
142 phase_condition_.wait(ml.native_handle(), cb); in createBarrier()
/external/webrtc/webrtc/video/
Dvideo_capture_input_unittest.cc82 if (frame.native_handle() == NULL) in AddOutputFrame()
198 EXPECT_EQ(dummy_handle, output_frames_[i]->native_handle()); in TEST_F()
227 EXPECT_EQ(dummy_handle, output_frames_[0]->native_handle()); in TEST_F()
251 if (frame1.native_handle() != NULL || frame2.native_handle() != NULL) in EqualFrames()
257 return ((frame1.native_handle() == frame2.native_handle()) && in EqualTextureFrames()
/external/webrtc/talk/app/webrtc/java/jni/
Dsurfacetexturehelper_jni.cc62 const NativeHandleImpl& native_handle) { in CreateTextureFrame() argument
64 width, height, native_handle, *j_surface_texture_helper_, in CreateTextureFrame()
Dnative_handle_impl.cc101 const NativeHandleImpl& native_handle, in AndroidTextureBuffer() argument
105 native_handle_(native_handle), in AndroidTextureBuffer()
/external/libcxx/src/
Dcondition_variable.cpp44 int ec = __libcpp_condvar_wait(&__cv_, lk.mutex()->native_handle()); in wait()
74 int ec = __libcpp_condvar_timedwait(&__cv_, lk.mutex()->native_handle(), &ts); in __do_timed_wait()
/external/parameter-framework/asio-1.10.6/include/asio/
Dsocket_acceptor_service.hpp155 return service_impl_.native_handle(impl); in native()
159 native_handle_type native_handle(implementation_type& impl) in native_handle() function in asio::socket_acceptor_service
161 return service_impl_.native_handle(impl); in native_handle()
Dstream_socket_service.hpp138 return service_impl_.native_handle(impl); in native()
142 native_handle_type native_handle(implementation_type& impl) in native_handle() function in asio::stream_socket_service
144 return service_impl_.native_handle(impl); in native_handle()
Dbasic_socket.hpp391 return this->get_service().native_handle(this->get_implementation()); in native()
400 native_handle_type native_handle() in native_handle() function in asio::basic_socket
402 return this->get_service().native_handle(this->get_implementation()); in native_handle()
Dbasic_socket_acceptor.hpp499 return this->get_service().native_handle(this->get_implementation()); in native()
508 native_handle_type native_handle() in native_handle() function in asio::basic_socket_acceptor
510 return this->get_service().native_handle(this->get_implementation()); in native_handle()
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc20 : user_mutex_(user_lock->lock_.native_handle()) in ConditionVariable()
56 pthread_cond_timedwait_relative_np(&condition_, lock.lock_.native_handle(), in ~ConditionVariable()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.cc143 return video_frame_buffer_ ? video_frame_buffer_->native_handle() : nullptr; in GetNativeHandle()
160 RTC_DCHECK(video_frame_buffer_->native_handle() == nullptr); in MakeExclusive()
188 RTC_CHECK(video_frame_buffer_->native_handle() == nullptr); in ConvertToRgbBuffer()
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c397 native_handle_t *native_handle = duplicate_buffer_handle(info.handle); in test_gralloc_order() local
398 duplicate.handle = native_handle; in test_gralloc_order()
426 CHECK(native_handle_delete(native_handle) == 0); in test_gralloc_order()
487 native_handle_t *native_handle = duplicate_buffer_handle(info.handle); in test_perform() local
488 duplicate.handle = native_handle; in test_perform()
/external/libcxx/test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
Dnative_handle.pass.cpp27 pthread_mutex_t* h = m.native_handle(); in main()
/external/libcxx/test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
Dnative_handle.pass.cpp27 pthread_mutex_t* h = m.native_handle(); in main()
/external/libcxx/test/libcxx/thread/thread.condition/thread.condition.condvar/
Dnative_handle.pass.cpp29 std::condition_variable::native_handle_type h = cv.native_handle(); in main()

12