/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/control/ |
D | tensorlist_setitem_infer.c | 20 int PreJudge(const TensorC *get_index, TensorListC *input0, const TensorC *value_tensor) { in PreJudge() argument 21 if (get_index->data_ == NULL) { in PreJudge() 25 if (get_index->data_type_ != kNumberTypeInt && get_index->data_type_ != kNumberTypeInt32) { in PreJudge() 28 if (GetElementNum(get_index) != 1) { in PreJudge() 31 if (get_index->data_ == NULL) { in PreJudge() 45 const TensorC *get_index = inputs[1]; in TensorListSetItemInferShape() local 56 int judge_ret = PreJudge(get_index, input0, value_tensor); in TensorListSetItemInferShape() 61 int index = ((int *)(get_index->data_))[0]; in TensorListSetItemInferShape()
|
D | tensorlist_getitem_infer.c | 28 const TensorC *get_index = inputs[1]; in TensorListGetItemInferShape() local 29 if (get_index->data_ == NULL) { in TensorListGetItemInferShape() 32 if (GetElementNum(get_index) != 1) { in TensorListGetItemInferShape() 39 int index = ((int *)(get_index->data_))[0]; in TensorListGetItemInferShape()
|
/third_party/elfio/tests/ |
D | ELFIOTest.cpp | 76 BOOST_CHECK_EQUAL( sec->get_index(), index ); in checkSection() 100 checkSection( sec, sec->get_index(), name, type, flags, address, size, link, in checkSection() 230 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 335 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 427 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 433 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 488 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 495 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 542 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() 549 BOOST_CHECK_EQUAL( sec->get_index(), sec1->get_index() ); in BOOST_AUTO_TEST_CASE() [all …]
|
D | ELFIOTest1.cpp | 91 sym_sec->set_link( str_sec->get_index() ); in write_obj_i386() 97 nStrIndex, 0, 0, STB_LOCAL, STT_NOTYPE, 0, data_sec->get_index() ); in write_obj_i386() 101 STT_FUNC, 0, text_sec->get_index() ); in write_obj_i386() 106 rel_sec->set_info( text_sec->get_index() ); in write_obj_i386() 107 rel_sec->set_link( sym_sec->get_index() ); in write_obj_i386() 177 text_seg->add_section_index( text_sec->get_index(), in write_exe_i386() 198 data_seg->add_section_index( data_sec->get_index(), in write_exe_i386() 236 BOOST_CHECK_EQUAL( file1.sections[i]->get_index(), in checkObjestsAreEqual() 237 file2.sections[i]->get_index() ); in checkObjestsAreEqual() 559 text_seg->add_section_index( null_sec1->get_index(), in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/elfio/examples/write_obj/ |
D | write_obj.cpp | 88 sym_sec->set_link( str_sec->get_index() ); in main() 94 str_index, 29, 0, STB_GLOBAL, STT_OBJECT, 0, text_sec->get_index() ); in main() 97 text_sec->get_index() ); in main() 102 rel_sec->set_info( text_sec->get_index() ); in main() 105 rel_sec->set_link( sym_sec->get_index() ); in main()
|
/third_party/boost/boost/numeric/odeint/stepper/detail/ |
D | rotating_buffer.hpp | 46 return m_data[ get_index( i ) ]; in operator []() 51 return m_data[ get_index( i ) ]; in operator []() 68 size_t get_index( size_t i ) const in get_index() function in boost::numeric::odeint::detail::rotating_buffer
|
/third_party/boost/boost/lockfree/detail/ |
D | freelist.hpp | 294 index_t get_index() const in get_index() function in boost::lockfree::detail::tagged_index 486 index_t index = tagged_index.get_index(); in destruct() 520 return handle.get_index(); in get_handle() 525 return get_pointer(tptr.get_index()); in get_pointer() 557 index_t index = old_pool.get_index(); in allocate_impl() 564 tagged_index new_pool(next_index->get_index(), old_pool.get_next_tag()); in allocate_impl() 567 return old_pool.get_index(); in allocate_impl() 575 index_t index = old_pool.get_index(); in allocate_impl_unsafe() 582 tagged_index new_pool(next_index->get_index(), old_pool.get_next_tag()); in allocate_impl_unsafe() 585 return old_pool.get_index(); in allocate_impl_unsafe() [all …]
|
/third_party/boost/boost/python/suite/indexing/detail/ |
D | indexing_suite_detail.hpp | 40 compare_index(proxy.get_container(), proxy.get_index(), i); in operator ()() 76 for (iterator iter = first_proxy(proxy.get_index()); in remove() 94 first_proxy(extract<Proxy&>(prox)().get_index()), prox); in add() 116 if (iter != proxies.end() && p().get_index() == i) in erase() 157 if (extract<Proxy&>(*iter)().get_index() > to) in replace() 176 extract<Proxy&>(*right)().get_index() in replace() 194 && extract<Proxy&>(*iter)().get_index() == i) in find() 228 if (extract<Proxy&>(*(i+1))().get_index() == in check_invariant() 229 extract<Proxy&>(*(i))().get_index()) in check_invariant() 422 get_index() const in get_index() function in boost::python::detail::container_element
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-dataview-object.c | 259 int32_t get_index = ecma_number_to_int32 (number_index); in ecma_op_dataview_get_set_view_value() local 262 if (number_index != get_index || get_index < 0) in ecma_op_dataview_get_set_view_value() 290 if ((uint32_t) get_index + element_size > view_size) in ecma_op_dataview_get_set_view_value() 296 uint32_t buffer_index = (uint32_t) get_index + view_offset; in ecma_op_dataview_get_set_view_value()
|
/third_party/boost/libs/sort/example/ |
D | mostlysorted.cpp | 26 get_index(unsigned count) in get_index() function 67 std::swap(array[get_index(uCount)], array[get_index(uCount)]); in main()
|
D | binaryalrbreaker.cpp | 56 get_index(unsigned count) in get_index() function 83 std::swap(input[get_index(input.size())], input[get_index(input.size())]); in main()
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/ |
D | generate.hpp | 44 first.get_index()), in generate() 46 last.get_index()), in generate()
|
D | scatter.hpp | 43 m_input_offset = first.get_index(); in set_range() 44 m_output_offset = result.get_index(); in set_range()
|
/third_party/boost/boost/compute/algorithm/ |
D | generate.hpp | 44 first.get_index()), in generate() 46 last.get_index()), in generate()
|
D | scatter.hpp | 43 m_input_offset = first.get_index(); in set_range() 44 m_output_offset = result.get_index(); in set_range()
|
/third_party/boost/boost/compute/algorithm/detail/ |
D | copy_to_host.hpp | 45 size_t offset = first.get_index(); in copy_to_host() 75 size_t offset = first.get_index(); in copy_to_host_map() 122 size_t offset = first.get_index(); in copy_to_host_async()
|
D | copy_to_device.hpp | 46 size_t offset = result.get_index(); in copy_to_device() 76 size_t offset = result.get_index(); in copy_to_device_map() 121 size_t offset = result.get_index(); in copy_to_device_async()
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/ |
D | copy_to_host.hpp | 45 size_t offset = first.get_index(); in copy_to_host() 75 size_t offset = first.get_index(); in copy_to_host_map() 122 size_t offset = first.get_index(); in copy_to_host_async()
|
D | copy_to_device.hpp | 46 size_t offset = result.get_index(); in copy_to_device() 76 size_t offset = result.get_index(); in copy_to_device_map() 121 size_t offset = result.get_index(); in copy_to_device_async()
|
/third_party/boost/boost/phoenix/scope/detail/ |
D | local_variable.hpp | 132 struct get_index struct 182 static const int index_value = get_index<typename Env::map_type, Local>::value; 210 …static const int index_value = get_index<typename Env::outer_env_type::map_type, detail::local<Key… in get()
|
/third_party/toybox/toys/pending/ |
D | arp.c | 78 static int get_index(struct type arr[], char *name) in get_index() function 213 if ((type = get_index(aftype, in arp_main() 220 if ((type = get_index(hwtype, TT.hw_type)) != ARPHRD_ETHER) in arp_main() 249 if ((FLAG(H) && get_index(hwtype, TT.hw_type) != h_type) || in arp_main()
|
/third_party/elfio/examples/writer/ |
D | writer.cpp | 86 text_seg->add_section_index( text_sec->get_index(), in main() 110 data_seg->add_section_index( data_sec->get_index(), in main()
|
/third_party/f2fs-tools/fsck/ |
D | quotaio_tree.c | 52 static int get_index(qid_t id, int depth) in get_index() function 278 newblk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in do_insert_tree() 285 ref[get_index(dquot->dq_id, depth)]); in do_insert_tree() 292 ref[get_index(dquot->dq_id, depth)] = in do_insert_tree() 417 newblk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in remove_tree() 428 ref[get_index(dquot->dq_id, depth)] = cpu_to_le32(0); in remove_tree() 494 blk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in find_tree_dqentry()
|
/third_party/e2fsprogs/lib/support/ |
D | quotaio_tree.c | 51 static int get_index(qid_t id, int depth) in get_index() function 278 newblk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in do_insert_tree() 285 ref[get_index(dquot->dq_id, depth)]); in do_insert_tree() 292 ref[get_index(dquot->dq_id, depth)] = in do_insert_tree() 407 newblk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in remove_tree() 418 ref[get_index(dquot->dq_id, depth)] = ext2fs_cpu_to_le32(0); in remove_tree() 484 blk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in find_tree_dqentry()
|
/third_party/boost/libs/compute/include/boost/compute/iterator/ |
D | permutation_iterator.hpp | 136 size_t get_index() const in get_index() function in boost::compute::permutation_iterator 138 return super_type::base().get_index(); in get_index()
|