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

12

/external/clang/test/CodeGen/
H A D2002-07-31-SubregFailure.c6 } ptrs; typedef in typeref:union:__anon2010
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/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/ltp/testcases/kernel/mem/mtest07/
H A Dmallocstress.c168 size_t size = sizeof(long); /* size of next block in ptrs[] */
169 long *ptrs[MAXPTRS]; /* the pointers allocated in this loop */ local
170 int num_alloc; /* number of elements in ptrs[] so far */
188 ptrs[num_alloc] = malloc(size);
189 if (ptrs[num_alloc] == NULL) {
193 ptrs[num_alloc][0] = num_alloc;
222 dprt(("pid[%d]: freeing ptrs[i] %p\n", getpid(),
223 ptrs[i]));
224 if (ptrs[i][0] != i) {
230 free(ptrs[
[all...]
/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/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/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/libvpx/libvpx/vp8/decoder/
H A Donyxd_int.h39 const unsigned char *ptrs[MAX_PARTITIONS]; member in struct:__anon11855
H A Ddecodeframe.c731 pbi->fragments.ptrs[0] + pbi->fragments.sizes[0];
745 pbi->fragments.ptrs[fragment_idx] + fragment_size;
751 pbi->fragments.ptrs[0] +
759 pbi->fragments.ptrs[fragment_idx] =
760 pbi->fragments.ptrs[0] + pbi->fragments.sizes[0];
766 pbi, token_part_sizes, pbi->fragments.ptrs[fragment_idx],
776 pbi->fragments.ptrs[fragment_idx] =
777 pbi->fragments.ptrs[fragment_idx - 1] + partition_size;
786 if (vp8dx_start_decode(bool_decoder, pbi->fragments.ptrs[partition_idx],
873 const unsigned char *data = pbi->fragments.ptrs[
[all...]
/external/libvpx/libvpx/vp8/
H A Dvp8_dx_iface.c236 memset((void *)ctx->fragments.ptrs, 0, sizeof(ctx->fragments.ptrs));
243 ctx->fragments.ptrs[ctx->fragments.count] = data;
259 ctx->fragments.ptrs[0] = data;
288 res = vp8_peek_si_internal(ctx->fragments.ptrs[0], ctx->fragments.sizes[0],
/external/javassist/src/main/javassist/bytecode/
H A DCodeIterator.java1111 boolean exclusive, ArrayList jumps, Pointers ptrs)
1116 ptrs.shiftPc(where, gapLength, exclusive);
1131 ptrs.shiftPc(p, delta, false);
1144 ptrs.shiftPc(p, diff, false);
1110 insertGap2w(byte[] code, int where, int gapLength, boolean exclusive, ArrayList jumps, Pointers ptrs) argument
/external/syslinux/core/fs/btrfs/
H A Dbtrfs.h183 struct btrfs_key_ptr ptrs[]; member in struct:btrfs_node
H A Dbtrfs.c248 cache_read(fs, (char *)&tree_buf->node.ptrs[0],
253 ret = bin_search(&tree_buf->node.ptrs[0],
261 ret = search_tree(fs, tree_buf->node.ptrs[slot].blockptr,
/external/libvpx/libvpx/vpx_dsp/x86/
H A Dhighbd_sad_sse2.asm45 ; convert src, ref & second_pred to short ptrs (from byte ptrs)
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc627 char *ptrs[kCount]; local
633 ptrs[i] = p;
636 InternalFree(ptrs[i]);

Completed in 821 milliseconds

12