Home
last modified time | relevance | path

Searched refs:result_index (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/mojo/public/cpp/system/tests/
Dwait_unittest.cc68 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 …]
Dcore_unittest.cc119 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/
Dhud_driver_query.c134 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 …]
Dhud_private.h167 unsigned result_index,
/external/libchrome/mojo/public/cpp/system/
Dwait.cc116 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()
Dwait.h84 size_t* result_index = nullptr,
/external/libchrome/mojo/public/c/system/tests/
Dcore_api_unittest.cc104 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/aot/
Dcodegen.cc378 const int64 result_index = compile_result.aot->result_buffer_index(); in GenerateHeader() local
385 if (result_index < 0 || result_index >= buffer_infos.size()) { in GenerateHeader()
386 return errors::InvalidArgument("result index: ", result_index, in GenerateHeader()
669 {"{{RESULT_INDEX}}", absl::StrCat(result_index)}, in GenerateHeader()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiled_cpu_function.h282 size_t result_index) { in set_static_data_result_index() argument
283 static_data->result_index_ = result_index; in set_static_data_result_index()
Dxla_jit_compiled_cpu_function.cc127 TF_ASSIGN_OR_RETURN(size_t result_index, in Compile()
149 result_index); in Compile()
/external/tensorflow/tensorflow/python/kernel_tests/
Dtopk_op_test.py77 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/v8/src/
Dvalue-serializer.cc759 int result_index = 0; in WriteJSMap() local
763 entries->set(result_index++, key); in WriteJSMap()
764 entries->set(result_index++, table->ValueAt(i)); in WriteJSMap()
766 DCHECK_EQ(result_index, length); in WriteJSMap()
790 int result_index = 0; in WriteJSSet() local
794 entries->set(result_index++, key); in WriteJSSet()
796 DCHECK_EQ(result_index, length); in WriteJSSet()
Dapi.cc7131 int result_index = 0; in MapAsArray() local
7141 result->set(result_index++, key); in MapAsArray()
7144 result->set(result_index++, table->ValueAt(i)); in MapAsArray()
7148 DCHECK_EQ(result_index, result->length()); in MapAsArray()
7149 DCHECK_EQ(result_index, length); in MapAsArray()
7238 int result_index = 0; in SetAsArray() local
7247 result->set(result_index++, key); in SetAsArray()
7250 DCHECK_EQ(result_index, result->length()); in SetAsArray()
7251 DCHECK_EQ(result_index, length); in SetAsArray()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h1345 result.Populate<ReturnT>([&](absl::Span<const int64> result_index) { in HandleDotSlowPath()
1348 for (int64 i = 0; i < result_index.size(); i++) { in HandleDotSlowPath()
1349 *result_index_locations[i].first = result_index[i]; in HandleDotSlowPath()
1351 *result_index_locations[i].second = result_index[i]; in HandleDotSlowPath()
2911 std::vector<int64> result_index(rank, 0); in DynamicUpdateSlice()
2915 result_index.begin(), std::plus<int64>()); in DynamicUpdateSlice()
2916 result.Set<ReturnT>(result_index, in DynamicUpdateSlice()
/external/v8/src/builtins/
Dbuiltins-string-gen.cc910 Node* const result_index = in StringIndexOf() local
912 f_return(SmiTag(result_index)); in StringIndexOf()