Home
last modified time | relevance | path

Searched refs:t_data (Results 1 – 11 of 11) sorted by relevance

/external/igt-gpu-tools/tests/
Ddrm_import_export.c191 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/
Dx86-multithread-read.cpp17 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/
Ddelegate.cc128 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()
Dkernel.cc650 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/
Dsave_restore_v2_ops.cc140 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()
Dsave_restore_tensor.cc306 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/
Dbenchmark_tflite_model.cc396 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/
Dedit_distance.h55 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/
Dgem_userptr_blits.c1783 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/
Dunicode.py181 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/
Dunicode.py198 def emit_table(f, name, t_data, t_type = "&'static [(char, char)]", is_pub=True, argument
208 for dat in t_data: