/external/libchrome/mojo/public/cpp/system/tests/ |
D | wait_unittest.cc | 68 size_t result_index = 0; in TEST_F() local 70 WaitMany(invalid_handles, signals, 2, &result_index)); in TEST_F() 72 WaitMany(nullptr, signals, 2, &result_index)); in TEST_F() 74 WaitMany(valid_handles, nullptr, 2, &result_index)); in TEST_F() 191 size_t result_index = 0; in TEST_F() local 196 WaitMany(handles, signals, 2, &result_index, c_hss)); in TEST_F() 197 EXPECT_EQ(1u, result_index); in TEST_F() 202 EXPECT_EQ(MOJO_RESULT_OK, WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F() 203 EXPECT_EQ(1u, result_index); in TEST_F() 219 WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F() [all …]
|
D | core_unittest.cc | 119 size_t result_index; in TEST() local 120 MojoResult rv = WaitMany(wh.data(), sigs.data(), wh.size(), &result_index); in TEST() 177 size_t result_index; in TEST() local 178 MojoResult rv = WaitMany(wh.data(), sigs.data(), wh.size(), &result_index, in TEST() 181 EXPECT_EQ(1u, result_index); in TEST()
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_driver_query.c | 134 unsigned query_type, unsigned *result_index) in batch_query_add() argument 148 *result_index = i; in batch_query_add() 166 *result_index = bq->num_query_types++; in batch_query_add() 202 unsigned result_index; member 219 unsigned result_index = info->result_index; in query_new_value_batch() local 224 info->results_cumulative += bq->result[idx]->batch[result_index].u64; in query_new_value_batch() 247 assert(info->result_index == 0); in query_new_value_normal() 251 info->results_cumulative += res64[info->result_index]; in query_new_value_normal() 374 unsigned result_index, in hud_pipe_query_install() argument 400 if (!batch_query_add(pbq, query_type, &info->result_index)) in hud_pipe_query_install() [all …]
|
D | hud_private.h | 170 unsigned result_index,
|
/external/tensorflow/tensorflow/stream_executor/tpu/ |
D | tpu_executable_interface.cc | 99 const ShapeIndex& result_index = pair.first; in AllocateOutputMemoryWithInputReuse() local 102 result.Result().on_device_shape(), result_index)); in AllocateOutputMemoryWithInputReuse() 107 if (!ShapeUtil::IndexIsValid(alias_config.shape(), result_index)) { in AllocateOutputMemoryWithInputReuse() 109 result_index.ToString()); in AllocateOutputMemoryWithInputReuse() 113 alias_config.GetAliasedParameter(result_index); in AllocateOutputMemoryWithInputReuse() 135 result.AddAliasedIndex(result_index); in AllocateOutputMemoryWithInputReuse() 146 ShapeUtil::GetSubshape(on_device_shape, result_index); in AllocateOutputMemoryWithInputReuse()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/ |
D | resource_alias_analysis.cc | 66 Value GetValue(int result_index) const { in GetValue() 67 return backtracked_values_[result_index]; in GetValue() 73 llvm::Optional<int> GetArg(int result_index) const { in GetArg() 74 if (auto arg = GetValue(result_index).dyn_cast<BlockArgument>()) in GetArg() 407 int result_index = result.getResultNumber(); in AnalyzeWhileLoop() local 408 passthrough_args[result_index] = body_info.GetArg(result_index); in AnalyzeWhileLoop() 409 if (passthrough_args[result_index]) { in AnalyzeWhileLoop() 410 int passthru_index = passthrough_args[result_index].getValue(); in AnalyzeWhileLoop() 413 !IsUnknownResource(result) && passthru_index != result_index; in AnalyzeWhileLoop() 432 int result_index = result.getResultNumber(); in AnalyzeWhileLoop() local [all …]
|
/external/libchrome/mojo/public/cpp/system/ |
D | wait.cc | 116 size_t* result_index, in WaitMany() argument 139 if (result_index) in WaitMany() 140 *result_index = i; in WaitMany() 184 if (result_index) in WaitMany() 185 *result_index = index; in WaitMany()
|
D | wait.h | 84 size_t* result_index = nullptr,
|
/external/libchrome/mojo/public/c/system/tests/ |
D | core_api_unittest.cc | 104 size_t result_index = 1; in TEST() local 109 mojo::WaitMany(&handle0, &sig, 1, &result_index, states)); in TEST() 111 EXPECT_EQ(0u, result_index); in TEST() 196 size_t result_index = 1; in TEST() local 201 mojo::WaitMany(&consumer_handle, &sig, 1, &result_index, states)); in TEST() 203 EXPECT_EQ(0u, result_index); in TEST()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | resource_op_lifting.cc | 313 int result_index; member 325 result_index(-1) {} in ResourceInfo() 327 bool IsResultIndexAssigned() { return result_index != -1; } in IsResultIndexAssigned() 392 info.result_index = use.getOperandNumber(); in Analyze() 437 if (!info.IsResultIndexAssigned()) info.result_index = num_new_results_++; in Analyze() 501 new_return_operands[info.result_index] = info.hoisted_read; in AppendResourceStoreValueToReturn() 515 int result_index = resources_[resource].result_index; in AppendResourceStoreValueToReturn() local 516 new_return_operands[result_index] = assign_variable_op.value(); in AppendResourceStoreValueToReturn() 550 Value value_to_write = new_op->getResult(info.result_index); in ReplaceOpWithNewOp() 632 int index = it.second.result_index - num_old_results; in HoistResourcesOutOfWhileRegion() [all …]
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | codegen.cc | 398 const int64 result_index = compile_result.aot->result_buffer_index(); in GenerateHeader() local 406 if (result_index < 0 || result_index >= buffer_infos_size) { in GenerateHeader() 407 return errors::InvalidArgument("result index: ", result_index, in GenerateHeader() 722 {"{{RESULT_INDEX}}", absl::StrCat(result_index)}, in GenerateHeader()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_compiled_cpu_function.h | 307 size_t result_index) { in set_static_data_result_index() argument 308 static_data->result_index_ = result_index; in set_static_data_result_index()
|
D | xla_jit_compiled_cpu_function.cc | 136 TF_ASSIGN_OR_RETURN(size_t result_index, in Compile() 160 result_index); in Compile()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | topk_op_test.py | 77 for result_index, src_index in np.ndenumerate(indices): 78 value = values[result_index] 79 expected_value = np_inputs[result_index[0], src_index]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_saved_model.h | 34 unsigned result_index,
|
D | tf_saved_model.cc | 215 Operation *op, unsigned region_index, unsigned result_index, in verifyRegionResultAttribute() argument
|
/external/crosvm/devices/src/usb/host_backend/ |
D | host_backend_device_provider.rs | 236 for (result_index, &port_id) in ports.iter().enumerate() { 243 devices[result_index] = UsbControlAttachedDevice {
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | fuzzer_context.cpp | 387 auto result_index = ChooseBetweenMinAndMax( in GetRandomSynonymType() local 393 ->value(result_index) in GetRandomSynonymType()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_context.cpp | 387 auto result_index = ChooseBetweenMinAndMax( in GetRandomSynonymType() local 393 ->value(result_index) in GetRandomSynonymType()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
D | fuzzer_context.cpp | 405 auto result_index = ChooseBetweenMinAndMax( in GetRandomSynonymType() local 411 ->value(result_index) in GetRandomSynonymType()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_typed_visitor.h | 1458 result.Populate<ReturnT>([&](absl::Span<const int64> result_index) { 1461 for (int64 i = 0; i < result_index.size(); i++) { 1462 *result_index_locations[i].first = result_index[i]; 1464 *result_index_locations[i].second = result_index[i]; 2938 std::vector<int64> result_index(rank, 0); 2942 result_index.begin(), std::plus<int64>()); 2943 result.Set<ReturnT>(result_index,
|
D | dynamic_dimension_inference.cc | 432 ShapeIndex result_index = {}; in HandleReduce() local
|
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_util.cc | 417 TF_RETURN_IF_ERROR(results.Add(output.result_index(), std::move(result))); in ExecuteChained()
|
D | xrt.proto | 191 int64 result_index = 2; field
|