Home
last modified time | relevance | path

Searched refs:next_id (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/contrib/lite/
Dnnapi_delegate.cc149 uint32_t next_id = 0; in addTensorOperands() local
154 (*nnapi_ids)[i] = int64_t(next_id); in addTensorOperands()
213 nn_model, next_id, alloc->memory(), in addTensorOperands()
217 nn_model, next_id, tensor->data.raw, tensor->bytes)); in addTensorOperands()
222 ANeuralNetworksModel_setOperandValue(nn_model, next_id, nullptr, 0)); in addTensorOperands()
225 ++next_id; in addTensorOperands()
227 *no_of_operands_added = next_id; in addTensorOperands()
248 uint32_t next_id, std::vector<int>* model_state_inputs, in AddOpsAndParams() argument
266 &next_id](int value) { in AddOpsAndParams()
269 CHECK_NN(ANeuralNetworksModel_setOperandValue(nn_model, next_id, &value, in AddOpsAndParams()
[all …]
/external/tensorflow/tensorflow/lite/
Dnnapi_delegate.cc120 uint32_t next_id = 0; in addTensorOperands() local
125 (*nnapi_ids)[i] = int64_t(next_id); in addTensorOperands()
181 nn_model, next_id, alloc->memory(), in addTensorOperands()
185 nn_model, next_id, tensor->data.raw, tensor->bytes)); in addTensorOperands()
190 nn_model, next_id, nullptr, 0)); in addTensorOperands()
193 ++next_id; in addTensorOperands()
195 *no_of_operands_added = next_id; in addTensorOperands()
216 uint32_t next_id, std::vector<int>* model_state_inputs, in AddOpsAndParams() argument
235 &next_id](int value) { in AddOpsAndParams()
239 nn_model, next_id, &value, sizeof(int32_t))) in AddOpsAndParams()
[all …]
/external/bcc/introspection/
Dbps.c273 uint32_t next_id = 0; in print_all_progs() local
277 while (!bpf_prog_get_next_id(next_id, &next_id)) { in print_all_progs()
283 prog_fd = bpf_prog_get_fd_by_id(next_id); in print_all_progs()
289 next_id, strerror(errno), errno); in print_all_progs()
298 next_id, strerror(errno), errno); in print_all_progs()
/external/strace/
Dbpf_attr_check.c405 static_assert(SoM(struct BPF_PROG_GET_NEXT_ID_struct, next_id) == SoM(union bpf_attr, next_id),
407 …c_assert(offsetof(struct BPF_PROG_GET_NEXT_ID_struct, next_id) == offsetof(union bpf_attr, next_id
429 static_assert(SoM(struct BPF_PROG_GET_FD_BY_ID_struct, next_id) == SoM(union bpf_attr, next_id),
431 …_assert(offsetof(struct BPF_PROG_GET_FD_BY_ID_struct, next_id) == offsetof(union bpf_attr, next_id
453 static_assert(SoM(struct BPF_MAP_GET_FD_BY_ID_struct, next_id) == SoM(union bpf_attr, next_id),
455 …c_assert(offsetof(struct BPF_MAP_GET_FD_BY_ID_struct, next_id) == offsetof(union bpf_attr, next_id
Dbpf_attr.h184 uint32_t next_id; member
197 uint32_t next_id; member
207 uint32_t next_id; member
/external/skqp/src/gpu/
DGrContext_Base.cpp10 static int32_t next_id() { in next_id() function
22 , fContextID(SK_InvalidGenID == contextID ? next_id() : contextID) { in GrContext_Base()
/external/strace/tests-mx32/
Dbpf.c801 .next_id = 0xcafef00d
803 .size = offsetofend(struct BPF_PROG_GET_NEXT_ID_struct, next_id),
809 .next_id = 0xcafef00d,
831 .next_id = 0xcafef00d
833 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, next_id),
839 .next_id = 0xcafef00d,
859 .next_id = 0xcafef00d
861 .size = offsetofend(struct BPF_MAP_GET_FD_BY_ID_struct, next_id),
867 .next_id = 0xcafef00d,
/external/strace/tests-m32/
Dbpf.c801 .next_id = 0xcafef00d
803 .size = offsetofend(struct BPF_PROG_GET_NEXT_ID_struct, next_id),
809 .next_id = 0xcafef00d,
831 .next_id = 0xcafef00d
833 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, next_id),
839 .next_id = 0xcafef00d,
859 .next_id = 0xcafef00d
861 .size = offsetofend(struct BPF_MAP_GET_FD_BY_ID_struct, next_id),
867 .next_id = 0xcafef00d,
/external/strace/tests/
Dbpf.c801 .next_id = 0xcafef00d
803 .size = offsetofend(struct BPF_PROG_GET_NEXT_ID_struct, next_id),
809 .next_id = 0xcafef00d,
831 .next_id = 0xcafef00d
833 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, next_id),
839 .next_id = 0xcafef00d,
859 .next_id = 0xcafef00d
861 .size = offsetofend(struct BPF_MAP_GET_FD_BY_ID_struct, next_id),
867 .next_id = 0xcafef00d,
/external/perfetto/src/profiling/memory/
Dinterner.h100 Entry item(this, next_id, std::forward<U...>(args...)); in Intern()
106 next_id++; in Intern()
124 uint64_t next_id = 1; variable
/external/skia/src/gpu/
DGrContext_Base.cpp20 static int32_t next_id() { in next_id() function
34 , fContextID(SK_InvalidGenID == contextID ? next_id() : contextID) { in GrContext_Base()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Ddecision-tree-resource.cc47 const int32 next_id = in TraverseTree() local
49 current_id = tree.nodes(next_id).node_id().value(); in TraverseTree()
/external/u-boot/common/
Dbootstage.c33 uint next_id; member
103 id = data->next_id++; in bootstage_add_record()
471 for (rec = data->record + data->next_id, i = 0; i < hdr->count; in bootstage_unstash()
502 data->next_id = BOOTSTAGE_ID_USER; in bootstage_init()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c434 __u32 i, next_id, info_len, nr_id_found, duration = 0; in test_bpf_obj_id() local
549 next_id = 0; in test_bpf_obj_id()
550 while (!bpf_prog_get_next_id(next_id, &next_id)) { in test_bpf_obj_id()
557 prog_fd = bpf_prog_get_fd_by_id(next_id); in test_bpf_obj_id()
563 prog_fd, next_id, errno)) in test_bpf_obj_id()
567 if (prog_infos[i].id == next_id) in test_bpf_obj_id()
611 next_id = 0; in test_bpf_obj_id()
612 while (!bpf_map_get_next_id(next_id, &next_id)) { in test_bpf_obj_id()
618 map_fd = bpf_map_get_fd_by_id(next_id); in test_bpf_obj_id()
624 map_fd, next_id, errno)) in test_bpf_obj_id()
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dtraining_ops.cc787 int next_id = 0; in SplitTreeLayer() local
792 if (next_id < split_info.children_parent_id_size() && in SplitTreeLayer()
793 depth + idx == split_info.children_parent_id(next_id)) { in SplitTreeLayer()
796 old_leaf, split_info.mutable_children(2 * next_id))); in SplitTreeLayer()
799 old_leaf, split_info.mutable_children(2 * next_id + 1))); in SplitTreeLayer()
800 next_id++; in SplitTreeLayer()
807 CHECK(next_id == split_info.children_parent_id_size()); in SplitTreeLayer()
/external/tensorflow/tensorflow/core/kernels/
Dlookup_util.cc39 int64 next_id = 0; in GetNumLinesInTextFile() local
41 next_id++; in GetNumLinesInTextFile()
47 *num_lines = next_id; in GetNumLinesInTextFile()
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp36 static uint32_t next_id; variable
72 return next_id++; in xcb_generate_id()
139 next_id = 99; in SetUp()
/external/brotli/c/enc/
Dblock_splitter_inc.h158 uint16_t next_id = 0; in FN() local
166 new_id[block_ids[i]] = next_id++; in FN()
173 BROTLI_DCHECK(next_id <= num_histograms); in FN()
174 return next_id; in FN()
/external/python/cpython3/Python/
Dpystate.c57 runtime->interpreters.next_id = -1; in _PyRuntimeState_Init_impl()
100 runtime->interpreters.next_id = 0; in _PyInterpreterState_Enable()
175 if (_PyRuntime.interpreters.next_id < 0) { in PyInterpreterState_New()
182 interp->id = _PyRuntime.interpreters.next_id; in PyInterpreterState_New()
183 _PyRuntime.interpreters.next_id += 1; in PyInterpreterState_New()
/external/python/cpython2/Lib/
Ddifflib.py1901 next_id = ['']*len(flaglist)
1914 next_id[i] = ' id="difflib_chg_%s_%d"' % (toprefix,num_chg)
1925 next_id = ['']
1939 return fromlist,tolist,flaglist,next_href,next_id
1983 fromlist,tolist,flaglist,next_href,next_id = self._convert_flags(
1996 s.append( fmt % (next_id[i],next_href[i],fromlist[i],
/external/python/cpython3/Lib/
Ddifflib.py1941 next_id = ['']*len(flaglist)
1954 next_id[i] = ' id="difflib_chg_%s_%d"' % (toprefix,num_chg)
1965 next_id = ['']
1979 return fromlist,tolist,flaglist,next_href,next_id
2023 fromlist,tolist,flaglist,next_href,next_id = self._convert_flags(
2036 s.append( fmt % (next_id[i],next_href[i],fromlist[i],
/external/skia/src/compute/skc/
Dsuballocator.c297 skc_subbuf_id_t const next_id = (skc_subbuf_id_t)(next - suballocator->subbufs); in skc_suballocator_subbuf_free() local
304 suballocator->ids[spare_idx + 1] = next_id; in skc_suballocator_subbuf_free()
/external/skqp/src/compute/skc/
Dsuballocator.c297 skc_subbuf_id_t const next_id = (skc_subbuf_id_t)(next - suballocator->subbufs); in skc_suballocator_subbuf_free() local
304 suballocator->ids[spare_idx + 1] = next_id; in skc_suballocator_subbuf_free()
/external/python/cpython3/Include/internal/
Dpystate.h95 int64_t next_id; member
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_test.cc341 int next_id = module_copy->NewUniqueInstructionId(); in TEST_F() local
344 EXPECT_GT(next_id, instruction->unique_id()); in TEST_F()

123