/external/igt-gpu-tools/tests/ |
D | drm_import_export.c | 191 struct import_race_thread_data t_data; in test_import_close_race() local 193 memset(&t_data, 0, sizeof(t_data)); in test_import_close_race() 194 pthread_mutex_init(&t_data.mutex, NULL); in test_import_close_race() 195 t_data.prime_fd = -1; in test_import_close_race() 197 igt_assert_eq(pthread_create(&t, NULL, import_close_thread , &t_data), 0); in test_import_close_race() 207 igt_assert_eq(drm_intel_bo_flink(bo, &(t_data.flink_name)), 0); in test_import_close_race() 209 pthread_mutex_lock(&t_data.mutex); in test_import_close_race() 210 igt_assert_eq(drm_intel_bo_gem_export_to_prime(bo, &(t_data.prime_fd)), 0); in test_import_close_race() 211 igt_assert_neq(t_data.prime_fd, -1); in test_import_close_race() 212 pthread_mutex_unlock(&t_data.mutex); in test_import_close_race() [all …]
|
/external/llvm-project/lldb/test/Shell/Register/Inputs/ |
D | x86-multithread-read.cpp | 17 void t_func(std::mutex &t_mutex, const test_data &t_data) { in t_func() argument 25 : "a"(t_data.eax), "b"(t_data.ebx), "m"(t_data.st0) in t_func()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | delegate.cc | 128 tensorflow::StringPiece t_data = t.tensor_data(); in CopyFromBufferHandle() local 130 if (output->bytes != t_data.size()) { in CopyFromBufferHandle() 135 t_data.size(), " bytes.") in CopyFromBufferHandle() 140 memcpy(output->data.raw, t_data.data(), t_data.size()); in CopyFromBufferHandle()
|
D | kernel.cc | 650 tensorflow::StringPiece t_data = tf_tensor.tensor_data(); in Eval() local 651 memcpy(tensor->data.raw, t_data.data(), t_data.size()); in Eval()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | save_restore_v2_ops.cc | 140 const float* t_data = tensor.flat<float>().data(); in Compute() local 145 if (t_data[i] < min) min = t_data[i]; in Compute() 146 if (t_data[i] > max) max = t_data[i]; in Compute() 147 avg += t_data[i]; in Compute()
|
D | save_restore_tensor.cc | 306 const float* t_data = restored_tensor->flat<float>().data(); in run() local 311 if (t_data[i] < min) min = t_data[i]; in run() 312 if (t_data[i] > max) max = t_data[i]; in run() 313 avg += t_data[i]; in run()
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_tflite_model.cc | 396 InputTensorData t_data; in LoadInputTensorData() local 398 t_data.data = VoidUniquePtr( in LoadInputTensorData() 406 static_cast<DynamicBuffer*>(t_data.data.get()) in LoadInputTensorData() 422 t_data.bytes = t.bytes; in LoadInputTensorData() 423 t_data.data = in LoadInputTensorData() 428 value_file.read(static_cast<char*>(t_data.data.get()), t.bytes); in LoadInputTensorData() 430 return t_data; in LoadInputTensorData() 549 InputTensorData t_data; in PrepareInputData() local 551 t_data = LoadInputTensorData(t, input_layer_info->input_file_path); in PrepareInputData() 553 t_data = CreateRandomTensorData(t, input_layer_info); in PrepareInputData() [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | edit_distance.h | 55 const T* t_data = t.data(); in LevenshteinDistance() local 79 const int replacement_cost = cmp(s_data[i - 1], t_data[j - 1]) ? 0 : 1; in LevenshteinDistance()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_userptr_blits.c | 1783 struct userptr_close_thread_data t_data; in test_invalidate_close_race() local 1785 memset(&t_data, 0, sizeof(t_data)); in test_invalidate_close_race() 1786 t_data.fd = fd; in test_invalidate_close_race() 1787 t_data.overlap = overlap; in test_invalidate_close_race() 1788 igt_assert(posix_memalign(&t_data.ptr, PAGE_SIZE, PAGE_SIZE) == 0); in test_invalidate_close_race() 1789 pthread_mutex_init(&t_data.mutex, NULL); in test_invalidate_close_race() 1791 igt_assert(pthread_create(&t, NULL, mm_userptr_close_thread, &t_data) == 0); in test_invalidate_close_race() 1794 mprotect(t_data.ptr, PAGE_SIZE, PROT_READ | PROT_WRITE | PROT_EXEC); in test_invalidate_close_race() 1795 mprotect(t_data.ptr, PAGE_SIZE, PROT_READ | PROT_WRITE); in test_invalidate_close_race() 1798 pthread_mutex_lock(&t_data.mutex); in test_invalidate_close_race() [all …]
|
/external/rust/crates/unicode-width/scripts/ |
D | unicode.py | 181 def emit_table(f, name, t_data, t_type = "&'static [(char, char)]", is_pub=True, argument 191 for dat in t_data:
|
/external/rust/crates/unicode-segmentation/scripts/ |
D | unicode.py | 198 def emit_table(f, name, t_data, t_type = "&'static [(char, char)]", is_pub=True, argument 208 for dat in t_data:
|