Searched refs:ptrs (Results 1 - 25 of 50) sorted by relevance

12

/external/clang/test/CodeGen/
H A D2002-07-31-SubregFailure.c6 } ptrs; typedef in typeref:union:__anon2379
9 ptrs abase;
H A Ddebug-info.c31 void *ptrs[]; member in struct:foo
/external/libcxxabi/test/
H A Dtest_fallback_malloc.pass.cpp22 container ptrs; local
26 ptrs.push_back ( p );
27 return ptrs;
31 container ptrs; local
35 ptrs.push_back ( p );
39 return ptrs;
43 container ptrs; local
50 ptrs.push_back ( p );
53 return ptrs;
70 container ptrs; local
101 container ptrs; local
135 container ptrs; local
[all...]
/external/jemalloc/test/unit/
H A Darena_reset.c86 void **ptrs; local
104 ptrs = (void **)malloc(nptrs * sizeof(void *));
105 assert_ptr_not_null(ptrs, "Unexpected malloc() failure");
110 ptrs[i] = mallocx(sz, flags);
111 assert_ptr_not_null(ptrs[i],
116 ptrs[nsmall + i] = mallocx(sz, flags);
117 assert_ptr_not_null(ptrs[i],
122 ptrs[nsmall + nlarge + i] = mallocx(sz, flags);
123 assert_ptr_not_null(ptrs[i],
131 assert_zu_gt(ivsalloc(tsdn, ptrs[
[all...]
H A Dpack.c140 VARIABLE_ARRAY(void *, ptrs, nregs);
152 ptrs[(i * nregs_per_run) + j] = p;
166 void *p = ptrs[(i * nregs_per_run) + j];
189 assert_ptr_eq(p, ptrs[(i * nregs_per_run) + j],
H A Dprof_reset.c246 void *ptrs[NITER]; local
264 p = ptrs[i] = mallocx(1, 0);
283 dallocx(ptrs[i], 0);
/external/valgrind/memcheck/tests/
H A Dpointer-trace.c19 char **volatile ptrs; local
24 /* I _think_ the point of this is to fill ptrs with a pointer
48 ptrs = malloc(nptrs * sizeof(char *));
50 ptrs[i] = (char *)((long)i << stepbits);
82 free(ptrs);
86 ptrs = malloc(1000);
/external/ltp/testcases/kernel/mem/mtest07/
H A Dmallocstress.c127 long *ptrs[MAXPTRS]; local
140 ptrs[num_alloc] = malloc(size);
142 if (!ptrs[num_alloc])
144 ptrs[num_alloc][0] = num_alloc;
173 if (ptrs[i][0] != i) {
179 free(ptrs[i]);
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
H A Dtest_per_cpu_allocator_module.c86 static void *ptrs[NR_CMDS]; variable
137 if (!ptrs[cmdno])
140 verify_area(ptrs[cmdno], cmds[cmdno].size, cmdno);
141 free_percpu(ptrs[cmdno]);
142 ptrs[cmdno] = NULL;
155 ptrs[i] = __alloc_percpu(cmd->size,
158 if (ptrs[i])
159 fill_area(ptrs[i], cmd->size, i);
/external/strace/tests/
H A Dpkey_mprotect.c56 static const kernel_ulong_t ptrs[] = { local
93 for (i = 0; i < ARRAY_SIZE(ptrs); i++) {
98 ptrs[i], sizes[j],
102 sprintptr(ptrs[i]),
/external/strace/tests-m32/
H A Dpkey_mprotect.c56 static const kernel_ulong_t ptrs[] = { local
93 for (i = 0; i < ARRAY_SIZE(ptrs); i++) {
98 ptrs[i], sizes[j],
102 sprintptr(ptrs[i]),
/external/strace/tests-mx32/
H A Dpkey_mprotect.c56 static const kernel_ulong_t ptrs[] = { local
93 for (i = 0; i < ARRAY_SIZE(ptrs); i++) {
98 ptrs[i], sizes[j],
102 sprintptr(ptrs[i]),
/external/jemalloc/msvc/projects/vc2015/test_threads/
H A Dtest_threads.cpp44 uint8_t* ptrs[numAllocsMax];
54 ptrs[j] = (uint8_t*)je_malloc(sz);
55 if (!ptrs[j]) {
60 ptrs[j][k] = tid + k;
64 if (ptrs[j][k] != (uint8_t)(tid + k)) {
65 printf("Memory error in thread %d, iter %d, alloc %d @ %d : %02X!=%02X\n", tid, i, j, k, ptrs[j][k], (uint8_t)(tid + k));
68 je_free(ptrs[j]);
/external/tensorflow/tensorflow/core/common_runtime/gpu/
H A Dgpu_bfc_allocator_test.cc53 std::vector<void*> ptrs; local
56 ptrs.push_back(raw);
60 std::sort(ptrs.begin(), ptrs.end());
63 for (size_t i = 1; i < ptrs.size(); i++) {
64 ASSERT_NE(ptrs[i], ptrs[i - 1]); // No dups
65 size_t req_size = a.RequestedSize(ptrs[i - 1]);
67 ASSERT_GE(static_cast<char*>(ptrs[i]) - static_cast<char*>(ptrs[
333 std::vector<void*> ptrs; local
[all...]
/external/tensorflow/tensorflow/core/framework/
H A Dallocator_test.cc88 std::vector<void*> ptrs; local
91 ptrs.push_back(raw);
93 std::sort(ptrs.begin(), ptrs.end());
95 for (size_t i = 0; i < ptrs.size(); i++) {
97 CHECK_NE(ptrs[i], ptrs[i - 1]); // No dups
99 a->DeallocateRaw(ptrs[i]);
/external/perfetto/src/tracing/core/
H A Dpatch_list_unittest.cc76 const uint8_t* ptrs[10]{};
80 ptrs[i - (1000 - 10)] = &pl.back().size_field[0];
88 EXPECT_EQ(ptrs[i], &it->size_field[0]);
/external/jemalloc/test/integration/
H A Dmallocx.c91 void *ptrs[3]; local
100 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) {
101 ptrs[i] = mallocx(hugemax, 0);
102 if (ptrs[i] == NULL)
108 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) {
109 if (ptrs[i] != NULL)
110 dallocx(ptrs[i], 0);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dconvolution_thunk.cc95 void* ptrs[] = {result_ptr, scratch.opaque()}; local
98 stream->ThenMemcpyH2D<void*>(ptrs, &tuple_addr);
H A Dcudnn_batchnorm_thunk.cc198 void* ptrs[] = {output_data.opaque(), output_mean.opaque(), local
202 stream->ThenMemcpyH2D<void*>(ptrs, &tuple_addr);
272 void* ptrs[] = {output_grad_data.opaque(), output_grad_scale.opaque(), local
276 stream->ThenMemcpyH2D<void*>(ptrs, &tuple_addr);
/external/icu/icu4c/source/test/intltest/
H A Dtufmtts.cpp188 MeasureUnit **ptrs = new MeasureUnit *[TimeUnit::UTIMEUNIT_FIELD_COUNT]; local
190 ptrs[TimeUnit::UTIMEUNIT_YEAR] = MeasureUnit::createYear(status);
191 ptrs[TimeUnit::UTIMEUNIT_MONTH] = MeasureUnit::createMonth(status);
192 ptrs[TimeUnit::UTIMEUNIT_DAY] = MeasureUnit::createDay(status);
193 ptrs[TimeUnit::UTIMEUNIT_WEEK] = MeasureUnit::createWeek(status);
194 ptrs[TimeUnit::UTIMEUNIT_HOUR] = MeasureUnit::createHour(status);
195 ptrs[TimeUnit::UTIMEUNIT_MINUTE] = MeasureUnit::createMinute(status);
196 ptrs[TimeUnit::UTIMEUNIT_SECOND] = MeasureUnit::createSecond(status);
208 MeasureUnit(*ptr) == *ptrs[j]);
215 delete ptrs[
[all...]
/external/skia/include/core/
H A DSkDataTable.h71 * @param ptrs array of points to each element to be copied into the table.
73 * ptrs[] array.
74 * @param count the number of array elements in ptrs[] and sizes[] to copy.
76 static sk_sp<SkDataTable> MakeCopyArrays(const void * const * ptrs,
/external/skqp/include/core/
H A DSkDataTable.h71 * @param ptrs array of points to each element to be copied into the table.
73 * ptrs[] array.
74 * @param count the number of array elements in ptrs[] and sizes[] to copy.
76 static sk_sp<SkDataTable> MakeCopyArrays(const void * const * ptrs,
/external/skia/src/core/
H A DSkDataTable.cpp87 sk_sp<SkDataTable> SkDataTable::MakeCopyArrays(const void * const * ptrs, argument
106 memcpy(elem, ptrs[i], sizes[i]);
/external/skqp/src/core/
H A DSkDataTable.cpp87 sk_sp<SkDataTable> SkDataTable::MakeCopyArrays(const void * const * ptrs, argument
106 memcpy(elem, ptrs[i], sizes[i]);
/external/libvpx/libvpx/vp8/decoder/
H A Donyxd_int.h39 const unsigned char *ptrs[MAX_PARTITIONS]; member in struct:__anon12797

Completed in 499 milliseconds

12