Home
last modified time | relevance | path

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

1234

/external/swiftshader/src/Common/
DGrallocAndroid.cpp121 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in release() local
122 return m_gralloc4_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
129 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in release() local
130 return m_gralloc3_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
142 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in lock() local
153 auto ret = m_gralloc4_mapper->lock(native_handle, usage, rect, empty_fence_handle, in lock()
168 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in lock() local
179 auto ret = m_gralloc3_mapper->lock(native_handle, usage, rect, empty_fence_handle, in lock()
224 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in unlock() local
227 auto ret = m_gralloc4_mapper->unlock(native_handle, in unlock()
[all …]
/external/swiftshader/src/System/
DGrallocAndroid.cpp121 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in release() local
122 return m_gralloc4_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
129 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in release() local
130 return m_gralloc3_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
142 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in lock() local
153 auto ret = m_gralloc4_mapper->lock(native_handle, usage, rect, empty_fence_handle, in lock()
168 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in lock() local
179 auto ret = m_gralloc3_mapper->lock(native_handle, usage, rect, empty_fence_handle, in lock()
224 native_handle_t *native_handle = const_cast<native_handle_t *>(handle); in unlock() local
227 auto ret = m_gralloc4_mapper->unlock(native_handle, in unlock()
[all …]
/external/tflite-support/tensorflow_lite_support/java/src/native/task/text/nlclassifier/bert_nlclassifier/
Dbert_nl_classifier_jni.cc33 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_deinitJni() argument
34 delete reinterpret_cast<BertNLClassifier*>(native_handle); in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_deinitJni()
70 JNIEnv* env, jclass clazz, jlong native_handle, jstring text) { in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_classifyNative() argument
71 return RunClassifier(env, native_handle, text); in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_classifyNative()
/external/llvm-project/llvm/utils/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/llvm-project/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/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/tflite-support/tensorflow_lite_support/java/src/native/task/text/nlclassifier/
Dnl_classifier_jni.cc87 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_text_nlclassifier_NLClassifier_deinitJni() argument
88 delete reinterpret_cast<NLClassifier*>(native_handle); in Java_org_tensorflow_lite_task_text_nlclassifier_NLClassifier_deinitJni()
131 JNIEnv* env, jclass thiz, jlong native_handle, jstring text) { in Java_org_tensorflow_lite_task_text_nlclassifier_NLClassifier_classifyNative() argument
132 return RunClassifier(env, native_handle, text); in Java_org_tensorflow_lite_task_text_nlclassifier_NLClassifier_classifyNative()
Dnl_classifier_jni_utils.cc31 jobject RunClassifier(JNIEnv* env, jlong native_handle, jstring text) { in RunClassifier() argument
32 auto* nl_classifier = reinterpret_cast<NLClassifier*>(native_handle); in RunClassifier()
/external/tflite-support/tensorflow_lite_support/java/src/native/task/text/qa/
Dbert_question_answerer_jni.cc34 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_text_qa_BertQuestionAnswerer_deinitJni() argument
35 delete reinterpret_cast<QuestionAnswerer*>(native_handle); in Java_org_tensorflow_lite_task_text_qa_BertQuestionAnswerer_deinitJni()
104 JNIEnv* env, jclass thiz, jlong native_handle, jstring context, in Java_org_tensorflow_lite_task_text_qa_BertQuestionAnswerer_answerNative() argument
106 auto* question_answerer = reinterpret_cast<QuestionAnswerer*>(native_handle); in Java_org_tensorflow_lite_task_text_qa_BertQuestionAnswerer_answerNative()
/external/pigweed/pw_sync_stl/public/pw_sync_stl/
Dtimed_mutex_inline.h23 return native_handle().try_lock_for(for_at_least); in try_lock_for()
28 return native_handle().try_lock_until(until_at_least); in try_lock_until()
/external/pigweed/pw_sync_freertos/
Dtimed_mutex.cc43 if (xSemaphoreTake(&native_handle(), in try_lock_for()
50 return xSemaphoreTake(&native_handle(), in try_lock_for()
/external/pigweed/pw_sync_embos/
Dtimed_mutex.cc43 &native_handle(), static_cast<OS_TIME>(kMaxTimeoutMinusOne.count())); in try_lock_for()
51 &native_handle(), static_cast<OS_TIME>(for_at_least.count() + 1)); in try_lock_for()
/external/pigweed/pw_thread_stl/public/pw_thread_stl/
Dthread_inline.h40 native_type_.swap(other.native_handle()); in swap()
43 inline Thread::native_handle_type Thread::native_handle() { in native_handle() function
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/segmenter/
Dimage_segmenter_jni.cc178 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_vision_segmenter_ImageSegmenter_deinitJni() argument
179 delete reinterpret_cast<ImageSegmenter*>(native_handle); in Java_org_tensorflow_lite_task_vision_segmenter_ImageSegmenter_deinitJni()
218 JNIEnv* env, jclass thiz, jlong native_handle, jobject jimage_byte_buffer, in Java_org_tensorflow_lite_task_vision_segmenter_ImageSegmenter_segmentNative() argument
221 auto* segmenter = reinterpret_cast<ImageSegmenter*>(native_handle); in Java_org_tensorflow_lite_task_vision_segmenter_ImageSegmenter_segmentNative()
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/classifier/
Dimage_classifier_jni.cc164 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_vision_classifier_ImageClassifier_deinitJni() argument
165 delete reinterpret_cast<ImageClassifier*>(native_handle); in Java_org_tensorflow_lite_task_vision_classifier_ImageClassifier_deinitJni()
207 JNIEnv* env, jclass thiz, jlong native_handle, jobject image_byte_buffer, in Java_org_tensorflow_lite_task_vision_classifier_ImageClassifier_classifyNative() argument
209 auto* classifier = reinterpret_cast<ImageClassifier*>(native_handle); in Java_org_tensorflow_lite_task_vision_classifier_ImageClassifier_classifyNative()
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/detector/
Dobject_detector_jni.cc171 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_deinitJni() argument
172 delete reinterpret_cast<ObjectDetector*>(native_handle); in Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_deinitJni()
210 JNIEnv* env, jclass thiz, jlong native_handle, jobject image_byte_buffer, in Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_detectNative() argument
212 auto* detector = reinterpret_cast<ObjectDetector*>(native_handle); in Java_org_tensorflow_lite_task_vision_detector_ObjectDetector_detectNative()
/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/llvm-project/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()
/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/llvm-project/libcxx/test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
Dnative_handle.pass.cpp28 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.recursive/
Dnative_handle.pass.cpp27 pthread_mutex_t* h = m.native_handle(); in main()
/external/llvm-project/libcxx/test/libcxx/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
Dnative_handle.pass.cpp28 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()

1234