/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/cpp/ |
D | JniEntryPoints.cpp | 195 JNIEnv* /*env*/, jobject /*thiz*/, jlong native_handle) { in Java_com_google_android_renderscript_Toolkit_destroyNative() argument 196 RenderScriptToolkit* toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_com_google_android_renderscript_Toolkit_destroyNative() 201 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jint jmode, jbyteArray source_array, in Java_com_google_android_renderscript_Toolkit_nativeBlend() argument 203 auto toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_com_google_android_renderscript_Toolkit_nativeBlend() 213 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jint jmode, jobject source_bitmap, in Java_com_google_android_renderscript_Toolkit_nativeBlendBitmap() argument 215 auto toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_com_google_android_renderscript_Toolkit_nativeBlendBitmap() 225 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jbyteArray input_array, jint vectorSize, in Java_com_google_android_renderscript_Toolkit_nativeBlur() argument 227 RenderScriptToolkit* toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_com_google_android_renderscript_Toolkit_nativeBlur() 236 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jobject input_bitmap, in Java_com_google_android_renderscript_Toolkit_nativeBlurBitmap() argument 238 RenderScriptToolkit* toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_com_google_android_renderscript_Toolkit_nativeBlurBitmap() [all …]
|
/external/pigweed/pw_sync_freertos/ |
D | timed_thread_notification.cc | 56 PW_DCHECK(native_handle().blocked_thread == nullptr); in try_acquire_until() 63 std::lock_guard lock(native_handle().shared_spin_lock); in try_acquire_until() 64 const bool notified = native_handle().notified; in try_acquire_until() 67 native_handle().notified = false; in try_acquire_until() 71 native_handle().blocked_thread = xTaskGetCurrentTaskHandle(); in try_acquire_until() 88 std::lock_guard lock(native_handle().shared_spin_lock); in try_acquire_until() 101 const bool notified = native_handle().notified; in try_acquire_until() 102 native_handle().notified = false; in try_acquire_until() 103 native_handle().blocked_thread = nullptr; in try_acquire_until()
|
D | timed_mutex.cc | 47 if (xSemaphoreTake(reinterpret_cast<SemaphoreHandle_t>(&native_handle()), in try_lock_for() 56 return xSemaphoreTake(reinterpret_cast<SemaphoreHandle_t>(&native_handle()), in try_lock_for()
|
/external/swiftshader/src/System/ |
D | GrallocAndroid.cpp | 121 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/ |
D | bert_nl_classifier_jni.cc | 42 JNIEnv* env, jobject thiz, jlong native_handle) { in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_deinitJni() argument 43 delete reinterpret_cast<BertNLClassifier*>(native_handle); in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_deinitJni() 80 JNIEnv* env, jclass clazz, jlong native_handle, jstring text) { in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_classifyNative() argument 81 return RunClassifier(env, native_handle, text); in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_classifyNative() 86 JNIEnv* env, jclass clazz, jlong native_handle) { in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_getModelVersionNative() argument 87 return GetModelVersionNative(env, native_handle); in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_getModelVersionNative() 92 JNIEnv* env, jclass clazz, jlong native_handle) { in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_getLabelsVersionNative() argument 93 return GetLabelsVersionNative(env, native_handle); in Java_org_tensorflow_lite_task_text_nlclassifier_BertNLClassifier_getLabelsVersionNative()
|
/external/drm_hwcomposer/tests/test_include/ |
D | mali_gralloc_buffer.h | 52 #define NUM_INTS_IN_PRIVATE_HANDLE ((sizeof(struct private_handle_t) - sizeof(native_handle)) / siz… 68 struct private_handle_t : public native_handle 73 struct native_handle nativeHandle; 190 version = sizeof(native_handle); in private_handle_t() 226 version = sizeof(native_handle); in private_handle_t() 241 static int validate(const native_handle *h) in validate() 245 if (!h || h->version != sizeof(native_handle) || h->numInts != NUM_INTS_IN_PRIVATE_HANDLE || in validate() 254 static private_handle_t *dynamicCast(const native_handle *in) in dynamicCast()
|
/external/tflite-support/tensorflow_lite_support/java/src/native/task/text/nlclassifier/ |
D | nl_classifier_jni_utils.cc | 34 jobject RunClassifier(JNIEnv* env, jlong native_handle, jstring text) { in RunClassifier() argument 35 auto* nl_classifier = reinterpret_cast<NLClassifier*>(native_handle); in RunClassifier() 63 jstring GetModelVersionNative(JNIEnv* env, jlong native_handle) { in GetModelVersionNative() argument 64 auto* nl_classifier = reinterpret_cast<NLClassifier*>(native_handle); in GetModelVersionNative() 68 jstring GetLabelsVersionNative(JNIEnv* env, jlong native_handle) { in GetLabelsVersionNative() argument 69 auto* nl_classifier = reinterpret_cast<NLClassifier*>(native_handle); in GetLabelsVersionNative()
|
D | nl_classifier_jni_utils.h | 26 jobject RunClassifier(JNIEnv* env, jlong native_handle, jstring text); 28 jstring GetModelVersionNative(JNIEnv* env, jlong native_handle); 30 jstring GetLabelsVersionNative(JNIEnv* env, jlong native_handle);
|
D | nl_classifier_jni.cc | 87 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()
|
/external/pigweed/pw_sync_stl/public/pw_sync_stl/ |
D | mutex_inline.h | 23 native_handle().lock(); in lock() 28 if (native_handle().try_lock()) { in try_lock() 37 native_handle().unlock(); in unlock() 41 inline Mutex::native_handle_type Mutex::native_handle() { in native_handle() function
|
D | recursive_mutex_inline.h | 29 native_handle().lock(); in lock() 34 if (native_handle().try_lock()) { in try_lock() 44 native_handle().unlock(); in unlock() 48 inline RecursiveMutex::native_handle_type RecursiveMutex::native_handle() { in native_handle() function
|
D | timed_mutex_inline.h | 22 if (native_handle().try_lock_for(timeout)) { in try_lock_for() 31 if (native_handle().try_lock_until(deadline)) { in try_lock_until()
|
/external/pigweed/pw_sync_threadx/ |
D | timed_mutex.cc | 47 &native_handle(), static_cast<ULONG>(kMaxTimeoutMinusOne.count())); in try_lock_for() 57 tx_mutex_get(&native_handle(), static_cast<ULONG>(timeout.count() + 1)); in try_lock_for() 63 PW_DCHECK(backend::NotRecursivelyHeld(native_handle()), in try_lock_for()
|
/external/google-benchmark/src/ |
D | mutex.h | 81 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/ |
D | mutex.h | 81 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/qa/ |
D | bert_question_answerer_jni.cc | 34 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/public/pw_sync/backends/ |
D | binary_semaphore_timed_thread_notification_inline.h | 23 return native_handle().try_acquire_for(timeout); in try_acquire_for() 28 return native_handle().try_acquire_until(deadline); in try_acquire_until()
|
/external/pigweed/pw_sync_embos/ |
D | timed_mutex.cc | 47 &native_handle(), static_cast<OS_TIME>(kMaxTimeoutMinusOne.count())); in try_lock_for() 57 OS_UseTimed(&native_handle(), static_cast<OS_TIME>(timeout.count() + 1)); in try_lock_for()
|
/external/pigweed/pw_thread_stl/public/pw_thread_stl/ |
D | thread_inline.h | 42 native_type_.swap(other.native_handle()); in swap() 45 inline Thread::native_handle_type Thread::native_handle() { in native_handle() function
|
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/segmenter/ |
D | image_segmenter_jni.cc | 178 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/ |
D | image_classifier_jni.cc | 164 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/ |
D | object_detector_jni.cc | 171 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/ |
D | condition_variable.cpp | 44 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/cronet/buildtools/third_party/libc++/trunk/src/ |
D | condition_variable.cpp | 45 int ec = __libcpp_condvar_wait(&__cv_, lk.mutex()->native_handle()); in wait() 75 int ec = __libcpp_condvar_timedwait(&__cv_, lk.mutex()->native_handle(), &ts); in __do_timed_wait()
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | socket_acceptor_service.hpp | 155 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()
|