/external/libcxxabi/test/ |
D | test_fallback_malloc.pass.cpp | 22 container ptrs; in alloc_series() local 26 ptrs.push_back ( p ); in alloc_series() 27 return ptrs; in alloc_series() 31 container ptrs; in alloc_series() local 35 ptrs.push_back ( p ); in alloc_series() 39 return ptrs; in alloc_series() 43 container ptrs; in alloc_series() local 50 ptrs.push_back ( p ); in alloc_series() 53 return ptrs; in alloc_series() 70 container ptrs; in exhaustion_test1() local [all …]
|
/external/jemalloc/test/unit/ |
D | arena_reset.c | 86 void **ptrs; in TEST_BEGIN() local 104 ptrs = (void **)malloc(nptrs * sizeof(void *)); in TEST_BEGIN() 105 assert_ptr_not_null(ptrs, "Unexpected malloc() failure"); in TEST_BEGIN() 110 ptrs[i] = mallocx(sz, flags); in TEST_BEGIN() 111 assert_ptr_not_null(ptrs[i], in TEST_BEGIN() 116 ptrs[nsmall + i] = mallocx(sz, flags); in TEST_BEGIN() 117 assert_ptr_not_null(ptrs[i], in TEST_BEGIN() 122 ptrs[nsmall + nlarge + i] = mallocx(sz, flags); in TEST_BEGIN() 123 assert_ptr_not_null(ptrs[i], in TEST_BEGIN() 131 assert_zu_gt(ivsalloc(tsdn, ptrs[i], false), 0, in TEST_BEGIN() [all …]
|
D | pack.c | 140 VARIABLE_ARRAY(void *, ptrs, nregs); in TEST_BEGIN() 152 ptrs[(i * nregs_per_run) + j] = p; in TEST_BEGIN() 166 void *p = ptrs[(i * nregs_per_run) + j]; in TEST_BEGIN() 189 assert_ptr_eq(p, ptrs[(i * nregs_per_run) + j], in TEST_BEGIN()
|
D | prof_reset.c | 246 void *ptrs[NITER]; in TEST_BEGIN() local 264 p = ptrs[i] = mallocx(1, 0); in TEST_BEGIN() 283 dallocx(ptrs[i], 0); in TEST_BEGIN()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 53 std::vector<void*> ptrs; in TEST() local 56 ptrs.push_back(raw); in TEST() 60 std::sort(ptrs.begin(), ptrs.end()); in TEST() 63 for (size_t i = 1; i < ptrs.size(); i++) { in TEST() 64 ASSERT_NE(ptrs[i], ptrs[i - 1]); // No dups in TEST() 65 size_t req_size = a.RequestedSize(ptrs[i - 1]); in TEST() 67 ASSERT_GE(static_cast<char*>(ptrs[i]) - static_cast<char*>(ptrs[i - 1]), in TEST() 71 for (size_t i = 0; i < ptrs.size(); i++) { in TEST() 72 a.DeallocateRaw(ptrs[i]); in TEST() 333 std::vector<void*> ptrs; in BM_AllocationDelayed() local [all …]
|
/external/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()
|
/external/jemalloc/msvc/projects/vc2015/test_threads/ |
D | test_threads.cpp | 44 uint8_t* ptrs[numAllocsMax]; in test_threads() local 54 ptrs[j] = (uint8_t*)je_malloc(sz); in test_threads() 55 if (!ptrs[j]) { in test_threads() 60 ptrs[j][k] = tid + k; in test_threads() 64 if (ptrs[j][k] != (uint8_t)(tid + k)) { in test_threads() 65 …error in thread %d, iter %d, alloc %d @ %d : %02X!=%02X\n", tid, i, j, k, ptrs[j][k], (uint8_t)(ti… in test_threads() 68 je_free(ptrs[j]); in test_threads()
|
/external/tensorflow/tensorflow/core/framework/ |
D | allocator_test.cc | 88 std::vector<void*> ptrs; in TEST() local 91 ptrs.push_back(raw); in TEST() 93 std::sort(ptrs.begin(), ptrs.end()); in TEST() 95 for (size_t i = 0; i < ptrs.size(); i++) { in TEST() 97 CHECK_NE(ptrs[i], ptrs[i - 1]); // No dups in TEST() 99 a->DeallocateRaw(ptrs[i]); in TEST()
|
/external/ltp/testcases/kernel/mem/mtest07/ |
D | mallocstress.c | 127 long *ptrs[MAXPTRS]; in allocate_free() local 140 ptrs[num_alloc] = malloc(size); in allocate_free() 142 if (!ptrs[num_alloc]) in allocate_free() 144 ptrs[num_alloc][0] = num_alloc; in allocate_free() 173 if (ptrs[i][0] != i) { in allocate_free() 179 free(ptrs[i]); in allocate_free()
|
/external/valgrind/memcheck/tests/ |
D | pointer-trace.c | 19 char **volatile ptrs; in main() local 48 ptrs = malloc(nptrs * sizeof(char *)); in main() 50 ptrs[i] = (char *)((long)i << stepbits); in main() 82 free(ptrs); in main() 86 ptrs = malloc(1000); in main()
|
/external/llvm/test/Transforms/InstCombine/ |
D | masked_intrinsics.ll | 3 declare <2 x double> @llvm.masked.load.v2f64.p0v2f64(<2 x double>* %ptrs, i32, <2 x i1> %mask, <2 x… 4 declare void @llvm.masked.store.v2f64.p0v2f64(<2 x double> %val, <2 x double>* %ptrs, i32, <2 x i1>… 5 declare <2 x double> @llvm.masked.gather.v2f64(<2 x double*> %ptrs, i32, <2 x i1> %mask, <2 x doubl… 6 declare void @llvm.masked.scatter.v2f64(<2 x double> %val, <2 x double*> %ptrs, i32, <2 x i1> %mask) 51 define <2 x double> @gather_zeromask(<2 x double*> %ptrs, <2 x double> %passthru) { 52 …%res = call <2 x double> @llvm.masked.gather.v2f64(<2 x double*> %ptrs, i32 5, <2 x i1> zeroinitia… 59 define void @scatter_zeromask(<2 x double*> %ptrs, <2 x double> %val) { 60 …call void @llvm.masked.scatter.v2f64(<2 x double> %val, <2 x double*> %ptrs, i32 6, <2 x i1> zeroi…
|
/external/jemalloc/test/integration/ |
D | mallocx.c | 91 void *ptrs[3]; in TEST_BEGIN() local 100 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { in TEST_BEGIN() 101 ptrs[i] = mallocx(hugemax, 0); in TEST_BEGIN() 102 if (ptrs[i] == NULL) in TEST_BEGIN() 108 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { in TEST_BEGIN() 109 if (ptrs[i] != NULL) in TEST_BEGIN() 110 dallocx(ptrs[i], 0); in TEST_BEGIN()
|
/external/llvm/test/CodeGen/X86/ |
D | avx512-bugfix-26264.ll | 4 define <32 x double> @test_load_32f64(<32 x double>* %ptrs, <32 x i1> %mask, <32 x double> %src0) { 21 …%res = call <32 x double> @llvm.masked.load.v32f64.p0v32f64(<32 x double>* %ptrs, i32 4, <32 x i1>… 25 define <32 x i64> @test_load_32i64(<32 x i64>* %ptrs, <32 x i1> %mask, <32 x i64> %src0) { 42 …%res = call <32 x i64> @llvm.masked.load.v32i64.p0v32i64(<32 x i64>* %ptrs, i32 4, <32 x i1> %mask… 46 declare <32 x i64> @llvm.masked.load.v32i64.p0v32i64(<32 x i64>* %ptrs, i32, <32 x i1> %mask, <32 x… 47 declare <32 x double> @llvm.masked.load.v32f64.p0v32f64(<32 x double>* %ptrs, i32, <32 x i1> %mask,…
|
D | post-ra-sched.ll | 12 @ptrs = external global [0 x i32*], align 4 22 ; CHECK-NEXT: movl ptrs(,%ecx,4), %ecx 23 ; CHECK-NEXT: movl ptrs(,%eax,4), %eax 30 %arrayidx = getelementptr inbounds [0 x i32*], [0 x i32*]* @ptrs, i32 0, i32 %0 34 %arrayidx1 = getelementptr inbounds [0 x i32*], [0 x i32*]* @ptrs, i32 0, i32 %3
|
/external/llvm/test/Transforms/FunctionAttrs/ |
D | readattrs.ll | 76 define void @test9(<4 x i32*> %ptrs, <4 x i32>%val) { 77 …call void @llvm.masked.scatter.v4i32(<4 x i32>%val, <4 x i32*> %ptrs, i32 4, <4 x i1><i1 true, i1 … 85 define <4 x i32> @test10(<4 x i32*> %ptrs) { 86 …%res = call <4 x i32> @llvm.masked.gather.v4i32(<4 x i32*> %ptrs, i32 4, <4 x i1><i1 true, i1 fals… 95 define <4 x i32> @test11_2(<4 x i32*> %ptrs) { 96 %res = call <4 x i32> @test11_1(<4 x i32*> %ptrs) 103 define <4 x i32> @test12_2(<4 x i32*> %ptrs) { 104 %res = call <4 x i32> @test12_1(<4 x i32*> %ptrs)
|
/external/strace/tests-mx32/ |
D | pkey_mprotect.c | 56 static const kernel_ulong_t ptrs[] = { in main() local 93 for (i = 0; i < ARRAY_SIZE(ptrs); i++) { in main() 98 ptrs[i], sizes[j], in main() 102 sprintptr(ptrs[i]), in main()
|
/external/strace/tests/ |
D | pkey_mprotect.c | 56 static const kernel_ulong_t ptrs[] = { in main() local 93 for (i = 0; i < ARRAY_SIZE(ptrs); i++) { in main() 98 ptrs[i], sizes[j], in main() 102 sprintptr(ptrs[i]), in main()
|
/external/strace/tests-m32/ |
D | pkey_mprotect.c | 56 static const kernel_ulong_t ptrs[] = { in main() local 93 for (i = 0; i < ARRAY_SIZE(ptrs); i++) { in main() 98 ptrs[i], sizes[j], in main() 102 sprintptr(ptrs[i]), in main()
|
/external/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 …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | StoreTile.h | 1602 } ptrs; 1609 ptrs.ppDsts[x * 2 + y] = pDst + y * pDstSurface->pitch + x * MAX_DST_COLUMN_BYTES; 1615 DstPtrs startPtrs = ptrs; 1620 ConvertPixelsSOAtoAOS<SrcFormat, DstFormat>::Convert(pSrc, ptrs.ppDsts); 1622 ptrs.ppDsts[0] += DST_COLUMN_BYTES_PER_SRC; 1623 ptrs.ppDsts[1] += DST_COLUMN_BYTES_PER_SRC; 1624 ptrs.ppDsts[2] += DST_COLUMN_BYTES_PER_SRC; 1625 ptrs.ppDsts[3] += DST_COLUMN_BYTES_PER_SRC; 1626 ptrs.ppDsts[4] += DST_COLUMN_BYTES_PER_SRC; 1627 ptrs.ppDsts[5] += DST_COLUMN_BYTES_PER_SRC; [all …]
|
/external/perfetto/src/tracing/core/ |
D | patch_list_unittest.cc | 76 const uint8_t* ptrs[10]{}; in TEST() local 80 ptrs[i - (1000 - 10)] = &pl.back().size_field[0]; in TEST() 88 EXPECT_EQ(ptrs[i], &it->size_field[0]); in TEST()
|
/external/clang/test/CodeGen/ |
D | 2002-07-31-SubregFailure.c | 6 } ptrs; typedef 9 ptrs abase; in DoAssignIteration()
|
/external/llvm/test/Analysis/CostModel/X86/ |
D | masked-intrinsic-cost.ll | 70 define <2 x double> @test_gather_2f64(<2 x double*> %ptrs, <2 x i1> %mask, <2 x double> %src0) { 81 %res = call <2 x double> @llvm.masked.gather.v2f64(<2 x double*> %ptrs, i32 4, <2 x i1> %mask, <2 x… 84 declare <2 x double> @llvm.masked.gather.v2f64(<2 x double*> %ptrs, i32, <2 x i1> %mask, <2 x doubl… 86 define <4 x i32> @test_gather_4i32(<4 x i32*> %ptrs, <4 x i1> %mask, <4 x i32> %src0) { 97 %res = call <4 x i32> @llvm.masked.gather.v4i32(<4 x i32*> %ptrs, i32 4, <4 x i1> %mask, <4 x i32> … 101 define <4 x i32> @test_gather_4i32_const_mask(<4 x i32*> %ptrs, <4 x i32> %src0) { 112 %res = call <4 x i32> @llvm.masked.gather.v4i32(<4 x i32*> %ptrs, i32 4, <4 x i1> <i1 true, i1 true… 115 declare <4 x i32> @llvm.masked.gather.v4i32(<4 x i32*> %ptrs, i32, <4 x i1> %mask, <4 x i32> %src0) 153 define <16 x float> @test_gather_16f32_ra_var_mask(<16 x float*> %ptrs, <16 x i32> %ind, <16 x i1>%… 165 %gep.v = getelementptr float, <16 x float*> %ptrs, <16 x i64> %sext_ind
|
/external/tensorflow/tensorflow/core/kernels/ |
D | split_op.cc | 264 CudaDeviceArrayOnHost<T*> ptrs(context, num_split); in Compute() local 265 OP_REQUIRES_OK(context, ptrs.Init()); in Compute() 271 ptrs.Set(i, result->flat<T>().data()); in Compute() 276 OP_REQUIRES_OK(context, ptrs.Finalize()); in Compute() 280 split_dim_size, suffix_dim_size, ptrs.data()); in Compute()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_thunk.cc | 198 void* ptrs[] = {output_data.opaque(), output_mean.opaque(), in ExecuteOnStream() local 202 stream->ThenMemcpyH2D<void*>(ptrs, &tuple_addr); in ExecuteOnStream() 272 void* ptrs[] = {output_grad_data.opaque(), output_grad_scale.opaque(), in ExecuteOnStream() local 276 stream->ThenMemcpyH2D<void*>(ptrs, &tuple_addr); in ExecuteOnStream()
|