/third_party/boost/boost/multi_index/detail/ |
D | rnd_index_ops.hpp | 32 random_access_index_ptr_array<Allocator>& ptrs,Predicate pred) in random_access_index_remove() argument 37 impl_ptr_pointer first=ptrs.begin(), in random_access_index_remove() 39 last=ptrs.end(); in random_access_index_remove() 56 random_access_index_ptr_array<Allocator>& ptrs,BinaryPredicate binary_pred) in random_access_index_unique() argument 61 impl_ptr_pointer first=ptrs.begin(), in random_access_index_unique() 63 last=ptrs.end(); in random_access_index_unique() 85 random_access_index_ptr_array<Allocator>& ptrs, in random_access_index_inplace_merge() argument 92 auto_space<impl_pointer,Allocator> spc(al,ptrs.size()); in random_access_index_inplace_merge() 94 impl_ptr_pointer first0=ptrs.begin(), in random_access_index_inplace_merge() 96 last1=ptrs.end(), in random_access_index_inplace_merge() [all …]
|
D | rnd_index_loader.hpp | 57 ptrs(ptrs_), in random_access_index_loader_base() 58 header(*ptrs.end()), in random_access_index_loader_base() 70 for(size_type i=ptrs.size();i--;){ in ~random_access_index_loader_base() 103 auto_space<node_impl_pointer,Allocator> tmp(al,ptrs.size()+1); in preprocess() 108 &*ptrs.begin(),&*ptrs.end(),&*ptrs.end()+1,&*prev_spc.data()); in preprocess() 111 std::rotate(&*ptrs.begin(),&*ptrs.begin()+1,&*ptrs.end()+1); in preprocess() 119 return (size_type)(x->up()-ptrs.begin()); in position() 124 return *ptrs.at(n); in next_at() 143 ptr_array& ptrs; member in boost::multi_index::detail::random_access_index_loader_base
|
D | rnd_index_ptr_array.hpp | 80 pointer begin()const{return ptrs();} in begin() 81 pointer end()const{return ptrs()+size_;} in end() 82 pointer at(size_type n)const{return ptrs()+n;} in at() 126 pointer ptrs()const in ptrs() function in boost::multi_index::detail::random_access_index_ptr_array
|
/third_party/jerryscript/tests/unit-core/ |
D | test-poolman.c | 38 uint8_t *ptrs[TEST_MAX_SUB_ITERS]; variable 54 ptrs[j] = (uint8_t *) jmem_pools_alloc (TEST_CHUNK_SIZE); in main() 56 if (ptrs[j] != NULL) in main() 60 ptrs[j][k] = (uint8_t) (rand () % 256); in main() 63 memcpy (data[j], ptrs[j], TEST_CHUNK_SIZE); in main() 76 if (ptrs[j] != NULL) in main() 78 TEST_ASSERT (!memcmp (data[j], ptrs[j], TEST_CHUNK_SIZE)); in main() 80 jmem_pools_free (ptrs[j], TEST_CHUNK_SIZE); in main()
|
/third_party/boost/boost/multi_index/ |
D | random_access_index.hpp | 235 {return make_iterator(index_node_type::from_impl(*ptrs.begin()));} in begin() 237 {return make_iterator(index_node_type::from_impl(*ptrs.begin()));} in begin() 276 size_type capacity()const BOOST_NOEXCEPT{return ptrs.capacity();} in capacity() 281 ptrs.reserve(n); in reserve() 287 ptrs.shrink_to_fit(); in shrink_to_fit() 313 return index_node_type::from_impl(*ptrs.at(n))->value(); in operator []() 319 return index_node_type::from_impl(*ptrs.at(n))->value(); in at() 620 ptrs, in remove() 632 random_access_index_remove<index_node_type>(ptrs,pred)); in remove_if() 642 ptrs,std::equal_to<value_type>())); in unique() [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/ |
D | test_per_cpu_allocator_module.c | 86 static void *ptrs[NR_CMDS]; variable 137 if (!ptrs[cmdno]) in free_cmd() 140 verify_area(ptrs[cmdno], cmds[cmdno].size, cmdno); in free_cmd() 141 free_percpu(ptrs[cmdno]); in free_cmd() 142 ptrs[cmdno] = NULL; in free_cmd() 155 ptrs[i] = __alloc_percpu(cmd->size, in run_test() 158 if (ptrs[i]) in run_test() 159 fill_area(ptrs[i], cmd->size, i); in run_test()
|
/third_party/ltp/testcases/kernel/mem/mtest07/ |
D | mallocstress.c | 73 long *ptrs[MAXPTRS]; in allocate_free() local 86 ptrs[num_alloc] = malloc(size); in allocate_free() 88 if (!ptrs[num_alloc]) in allocate_free() 90 ptrs[num_alloc][0] = num_alloc; in allocate_free() 119 if (ptrs[i][0] != i) { in allocate_free() 125 free(ptrs[i]); in allocate_free()
|
/third_party/boost/libs/range/test/ |
D | atl.cpp | 541 ptr_t ptrs[8] = { in test_atl() local 545 boost::iterator_range< ptr_t * > workaround(ptrs, ptrs+8); in test_atl() 555 ptr_t ptrs[8] = { in test_atl() local 559 boost::iterator_range< ptr_t * > workaround(ptrs, ptrs+8); in test_atl() 565 ptr_t ptrs[5]; { in test_atl() local 566 ptrs[0].AllocateBytes(sizeof(int)); in test_atl() 567 ptrs[1].AllocateBytes(sizeof(int)); in test_atl() 568 ptrs[2].AllocateBytes(sizeof(int)); in test_atl() 569 ptrs[3].AllocateBytes(sizeof(int)); in test_atl() 570 ptrs[4].AllocateBytes(sizeof(int)); in test_atl() [all …]
|
/third_party/gn/src/gn/ |
D | string_atom_unittest.cc | 111 std::array<const std::string*, 3> ptrs = { in TEST() local 116 std::sort(ptrs.begin(), ptrs.end()); in TEST() 119 EXPECT_EQ(atom_to_ptr(*it), ptrs[0]); in TEST() 122 EXPECT_EQ(atom_to_ptr(*it), ptrs[1]); in TEST() 125 EXPECT_EQ(atom_to_ptr(*it), ptrs[2]); in TEST()
|
/third_party/glib/glib/tests/ |
D | 1bit-mutex.c | 61 volatile gpointer ptrs[LOCKS]; variable 72 g_assert_cmpint (((gsize) ptrs) % sizeof(gint), ==, 0); in acquire() 75 g_pointer_bit_trylock (&ptrs[nr], bits[nr]) in acquire() 82 g_pointer_bit_lock (&ptrs[nr], bits[nr]); in acquire() 99 g_pointer_bit_unlock (&ptrs[nr], bits[nr]); in acquire()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_util.h | 70 panfrost_last_nonnull(uint64_t *ptrs, unsigned count) in panfrost_last_nonnull() argument 73 if (ptrs[i]) in panfrost_last_nonnull() 74 return ptrs[i]; in panfrost_last_nonnull()
|
/third_party/ffmpeg/libavcodec/ |
D | libopenh264dec.c | 94 uint8_t* ptrs[3]; in svc_decode_frame() local 106 state = (*s->decoder)->FlushFrame(s->decoder, ptrs, &info); in svc_decode_frame() 117 … state = (*s->decoder)->DecodeFrameNoDelay(s->decoder, avpkt->data, avpkt->size, ptrs, &info); in svc_decode_frame() 119 state = (*s->decoder)->DecodeFrame2(s->decoder, avpkt->data, avpkt->size, ptrs, &info); in svc_decode_frame() 143 …av_image_copy(avframe->data, avframe->linesize, (const uint8_t **) ptrs, linesize, avctx->pix_fmt,… in svc_decode_frame()
|
D | iff.c | 814 GetByteContext ptrs, gb; in decode_short_horizontal_delta() local 819 bytestream2_init(&ptrs, buf, buf_end - buf); in decode_short_horizontal_delta() 823 ofssrc = bytestream2_get_be32(&ptrs); in decode_short_horizontal_delta() 868 GetByteContext ptrs, gb; in decode_byte_vertical_delta() local 872 bytestream2_init(&ptrs, buf, buf_end - buf); in decode_byte_vertical_delta() 876 ofssrc = bytestream2_get_be32(&ptrs); in decode_byte_vertical_delta() 1046 GetByteContext ptrs, gb, dptrs, dgb; in decode_short_vertical_delta() local 1053 bytestream2_init(&ptrs, buf, buf_end - buf); in decode_short_vertical_delta() 1058 ofssrc = bytestream2_get_be32(&ptrs); in decode_short_vertical_delta() 1114 GetByteContext ptrs, gb, dptrs, dgb; in decode_long_vertical_delta() local [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_alloc.h | 180 void **ptrs[8]; member 206 assert(ma->ptr_count < ARRAY_SIZE(ma->ptrs)); in vk_multialloc_add_size_align() 207 ma->ptrs[ma->ptr_count++] = ptr; in vk_multialloc_add_size_align() 246 STATIC_ASSERT(ARRAY_SIZE(ma->ptrs) == 8); in vk_multialloc_alloc() 249 *ma->ptrs[_i] = ptr + (uintptr_t)*ma->ptrs[_i] in vk_multialloc_alloc()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tufmtts.cpp | 188 MeasureUnit **ptrs = new MeasureUnit *[TimeUnit::UTIMEUNIT_FIELD_COUNT]; in testAPI() local 190 ptrs[TimeUnit::UTIMEUNIT_YEAR] = MeasureUnit::createYear(status); in testAPI() 191 ptrs[TimeUnit::UTIMEUNIT_MONTH] = MeasureUnit::createMonth(status); in testAPI() 192 ptrs[TimeUnit::UTIMEUNIT_DAY] = MeasureUnit::createDay(status); in testAPI() 193 ptrs[TimeUnit::UTIMEUNIT_WEEK] = MeasureUnit::createWeek(status); in testAPI() 194 ptrs[TimeUnit::UTIMEUNIT_HOUR] = MeasureUnit::createHour(status); in testAPI() 195 ptrs[TimeUnit::UTIMEUNIT_MINUTE] = MeasureUnit::createMinute(status); in testAPI() 196 ptrs[TimeUnit::UTIMEUNIT_SECOND] = MeasureUnit::createSecond(status); in testAPI() 208 MeasureUnit(*ptr) == *ptrs[j]); in testAPI() 215 delete ptrs[i]; in testAPI() [all …]
|
/third_party/boost/boost/container/detail/ |
D | pool_common_alloc.hpp | 52 std::pair<void*, void*> ptrs = chain.extract_data(); in deallocate_many() local 54 BOOST_CONTAINER_MEMCHAIN_INIT_FROM(&dlchain, ptrs.first, ptrs.second, size); in deallocate_many()
|
/third_party/benchmark/bindings/python/google_benchmark/ |
D | benchmark.cc | 24 std::vector<char*> ptrs; in Initialize() local 25 ptrs.reserve(argv.size()); in Initialize() 27 ptrs.push_back(const_cast<char*>(arg.c_str())); in Initialize() 29 ptrs[0] = const_cast<char*>(executable_name.c_str()); in Initialize() 31 benchmark::Initialize(&argc, ptrs.data()); in Initialize() 35 remaining_argv.emplace_back(ptrs[i]); in Initialize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 823 void *ptrs[5]; in iterate() local 826 ptrs[i] = buffers[i]->getAllocation().getHostPtr(); in iterate() 855 VkDeviceAddress *addrsInMemory = (VkDeviceAddress *)ptrs[4]; in iterate() 941 … setDataFloat(ptrs[i], dataTypes[i], j, ((float)(deRandom_getUint32(&rnd) & 0xff) - 64.0f)/2.0f); in iterate() 943 setDataFloat(ptrs[i], dataTypes[i], j, ((float)(deRandom_getUint32(&rnd) & 0xf) - 4.0f)/2.0f); in iterate() 946 setDataInt(ptrs[i], dataTypes[i], j, (deRandom_getUint32(&rnd) & 0xff) - 128); in iterate() 1005 float inputA = getDataFloat(ptrs[0], dataTypes[0], i); in iterate() 1006 float inputB = getDataFloat(ptrs[1], dataTypes[1], i); in iterate() 1007 float output = getDataFloat(ptrs[3], dataTypes[3], i); in iterate() 1080 float Aik = getDataFloat(ptrs[0], dataTypes[0], ik); in iterate() [all …]
|
/third_party/boost/libs/python/example/numpy/ |
D | wrap.cpp | 98 boost::scoped_array<double*> ptrs(new double*[rows]); in wrap_fill2() local 100 ptrs[i] = iter; in wrap_fill2() 102 fill2(ptrs.get(), array.shape(0), array.shape(1)); in wrap_fill2()
|
/third_party/musl/libc-test/src/functional/ |
D | test-mallinfo.c | 44 void *ptrs[SIZES_COUNT]; in test_main_thread() local 47 ptrs[i] = malloc(sizes[i]); in test_main_thread() 53 free(ptrs[i]); in test_main_thread()
|
D | test-malloc-info-stats-print.h | 83 void *ptrs[SIZES_COUNT] = {0}; in get_main_thread_test_results() local 85 ptrs[i] = malloc(sizes[i]); in get_main_thread_test_results() 89 free(ptrs[i]); in get_main_thread_test_results()
|
/third_party/gstreamer/gstplugins_bad/ext/iqa/ |
D | iqa.c | 200 unsigned char **ptrs, **ptrs2; in do_dssim() local 241 ptrs = g_malloc (sizeof (char **) * ref->info.height); in do_dssim() 244 ptrs[y] = ref_info.data + (ref->info.width * 4 * y); in do_dssim() 248 dssim_create_image (attr, ptrs, DSSIM_RGBA, ref->info.width, in do_dssim() 308 g_free (ptrs); in do_dssim()
|
/third_party/skia/src/core/ |
D | SkDataTable.cpp | 87 sk_sp<SkDataTable> SkDataTable::MakeCopyArrays(const void * const * ptrs, in MakeCopyArrays() argument 106 memcpy(elem, ptrs[i], sizes[i]); in MakeCopyArrays()
|
/third_party/flutter/skia/src/core/ |
D | SkDataTable.cpp | 87 sk_sp<SkDataTable> SkDataTable::MakeCopyArrays(const void * const * ptrs, in MakeCopyArrays() argument 106 memcpy(elem, ptrs[i], sizes[i]); in MakeCopyArrays()
|
/third_party/boost/libs/compute/test/ |
D | test_svm_ptr.cpp | 122 std::vector<const void*> ptrs(1, ptr.get()); in BOOST_AUTO_TEST_CASE() local 124 queue.enqueue_svm_migrate_memory(ptrs, sizes).wait(); in BOOST_AUTO_TEST_CASE()
|