| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_srtm_test.c | 13 static char ptrs[8]; variable 29 if (!TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 0, &token_1)) 30 || !TEST_false(ossl_quic_srtm_add(srtm, ptrs + 0, 0, &token_1)) 31 || !TEST_false(ossl_quic_srtm_remove(srtm, ptrs + 0, 1)) 32 || !TEST_false(ossl_quic_srtm_remove(srtm, ptrs + 3, 0)) 33 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3)) 34 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3)) 35 || !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 1, &token_1)) 36 || !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 2, &token_1)) 37 || !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 3, &token_1) [all...] |
| quic_lcidm_test.c | 13 static char ptrs[8]; variable 38 if (!TEST_true(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 0, &cid8_1)) 39 || !TEST_false(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 0, &cid8_2)) 40 || !TEST_false(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 1, &cid8_1)) 41 || !TEST_size_t_eq(ossl_quic_lcidm_get_num_active_lcid(lcidm, ptrs + 1), 0) 42 || !TEST_true(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 1, &cid8_3)) 43 || !TEST_false(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 1, &cid8_4)) 44 || !TEST_size_t_eq(ossl_quic_lcidm_get_num_active_lcid(lcidm, ptrs + 0), 1) 45 || !TEST_size_t_eq(ossl_quic_lcidm_get_num_active_lcid(lcidm, ptrs + 1), 1) 46 || !TEST_true(ossl_quic_lcidm_retire_odcid(lcidm, ptrs + 0) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/ |
| gpuobj.h | 20 const struct nvkm_gpuobj_func *ptrs; member in union:nvkm_gpuobj::__anon5172
|
| memory.h | 25 const struct nvkm_memory_ptrs *ptrs; member in struct:nvkm_memory 84 #define nvkm_ro32(o,a) (o)->ptrs->rd32((o), (a)) 85 #define nvkm_wo32(o,a,d) (o)->ptrs->wr32((o), (a), (d))
|
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| cache_bin.c | 4 do_fill_test(cache_bin_t *bin, cache_bin_info_t *info, void **ptrs, 13 arr.ptr[i] = &ptrs[i]; 23 expect_ptr_eq(ptr, (void *)&ptrs[i], 33 do_flush_test(cache_bin_t *bin, cache_bin_info_t *info, void **ptrs, 39 success = cache_bin_dalloc_easy(bin, &ptrs[i]); 46 expect_ptr_eq(arr.ptr[i], &ptrs[nflush - i - 1], ""); 58 do_batch_alloc_test(cache_bin_t *bin, cache_bin_info_t *info, void **ptrs, 64 arr.ptr[i] = &ptrs[i]; 74 expect_ptr_eq(out[i], &ptrs[i], ""); 127 void **ptrs = mallocx(sizeof(void *) * (ncached_max + 1), 0) local 336 void **ptrs = mallocx(sizeof(void *) * (ncached_max + 1), 0); local [all...] |
| junk.c | 5 static void *volatile ptrs[100]; variable 26 assert(ptr_ind + 1 < arraylen(ptrs)); \ 29 ptrs[ptr_ind++] = ptr; \ 92 void *ptr = ptrs[n]; \
|
| prof_stats.c | 34 void *ptrs[N_PTRS]; local 47 ptrs[i] = p; 71 sdallocx(ptrs[i], sz, flags);
|
| batch_alloc.c | 9 verify_batch_basic(tsd_t *tsd, void **ptrs, size_t batch, size_t usize, 12 void *p = ptrs[i]; 23 verify_batch_locality(tsd_t *tsd, void **ptrs, size_t batch, size_t usize, 40 void *p = ptrs[i]; 47 void *q = ptrs[i - 1]; 54 release_batch(void **ptrs, size_t batch, size_t size) { 56 sdallocx(ptrs[i], size, 0); 62 void **ptrs; member in struct:batch_alloc_packet_s 69 batch_alloc_wrapper(void **ptrs, size_t num, size_t size, int flags) { 70 batch_alloc_packet_t batch_alloc_packet = {ptrs, num, size, flags} [all...] |
| prof_reset.c | 210 void *ptrs[NITER]; local 228 p = ptrs[i] = mallocx(1, 0); 247 dallocx(ptrs[i], 0);
|
| arena_decay.c | 406 void *ptrs[sizeof(sizes)/sizeof(size_t)]; local 408 ptrs[i] = do_mallocx(sizes[i], flags); 416 dallocx(ptrs[i], flags);
|
| arena_reset.c | 95 do_arena_reset_pre(unsigned arena_ind, void ***ptrs, unsigned *nptrs) { 107 *ptrs = (void **)malloc(*nptrs * sizeof(void *)); 108 expect_ptr_not_null(*ptrs, "Unexpected malloc() failure"); 113 (*ptrs)[i] = mallocx(sz, flags); 114 expect_ptr_not_null((*ptrs)[i], 119 (*ptrs)[nsmall + i] = mallocx(sz, flags); 120 expect_ptr_not_null((*ptrs)[i], 128 expect_zu_gt(ivsalloc(tsdn, (*ptrs)[i]), 0, 134 do_arena_reset_post(void **ptrs, unsigned nptrs, unsigned arena_ind) { 146 expect_zu_eq(vsalloc(tsdn, ptrs[i]), 0 182 void **ptrs; local 223 void **ptrs; local 318 void **ptrs; local [all...] |
| /src/external/bsd/jemalloc/dist/test/unit/ |
| cache_bin.c | 4 do_fill_test(cache_bin_t *bin, void **ptrs, cache_bin_sz_t ncached_max, 12 arr.ptr[i] = &ptrs[i]; 22 ptr, (void *)&ptrs[i], "Should pop in order filled"); 31 do_flush_test(cache_bin_t *bin, void **ptrs, cache_bin_sz_t nfill, 37 success = cache_bin_dalloc_easy(bin, &ptrs[i]); 44 expect_ptr_eq(arr.ptr[i], &ptrs[nflush - i - 1], ""); 56 cache_bin_t *bin, void **ptrs, cache_bin_sz_t nfill, size_t batch) { 61 arr.ptr[i] = &ptrs[i]; 71 expect_ptr_eq(out[i], &ptrs[i], ""); 124 void **ptrs = mallocx(sizeof(void *) * (ncached_max + 1), 0) local 326 void **ptrs = mallocx(sizeof(void *) * (ncached_max + 1), 0); local [all...] |
| junk.c | 5 static void *volatile ptrs[100]; variable 26 assert(ptr_ind + 1 < arraylen(ptrs)); \ 29 ptrs[ptr_ind++] = ptr; \ 92 void *ptr = ptrs[n]; \
|
| prof_stats.c | 36 void *ptrs[N_PTRS]; local 49 ptrs[i] = p; 75 sdallocx(ptrs[i], sz, flags);
|
| tsd.c | 140 void **ptrs = (void **)arg; local 151 for (size_t i = 0; (ptr = ptrs[i]) != NULL; i++) { 169 void **ptrs = (void **)malloc(sizeof(void *) * (nptrs + 1)); local 171 ptrs[i] = malloc(8); 173 ptrs[nptrs] = NULL; 176 thd_create(&thd, thd_start_dalloc_only, (void *)ptrs); 178 free(ptrs);
|
| batch_alloc.c | 10 tsd_t *tsd, void **ptrs, size_t batch, size_t usize, bool zero) { 12 void *p = ptrs[i]; 23 verify_batch_locality(tsd_t *tsd, void **ptrs, size_t batch, size_t usize, 40 void *p = ptrs[i]; 47 void *q = ptrs[i - 1]; 55 release_batch(void **ptrs, size_t batch, size_t size) { 57 sdallocx(ptrs[i], size, 0); 63 void **ptrs; member in struct:batch_alloc_packet_s 70 batch_alloc_wrapper(void **ptrs, size_t num, size_t size, int flags) { 71 batch_alloc_packet_t batch_alloc_packet = {ptrs, num, size, flags} [all...] |
| bin.c | 95 void **ptrs; local 100 ptrs = mallocx(nregs * sizeof(void *), 0); 101 assert_ptr_not_null(ptrs, "Unexpected mallocx failure"); 103 bin_slab_reg_alloc_batch(&slab, bin_info, nregs, ptrs); 111 expect_ptr_not_null(ptrs[i], "Batch pointer should be non-NULL"); 113 (uintptr_t)ptrs[i] >= (uintptr_t)edata_addr_get(&slab) && 114 (uintptr_t)ptrs[i] < (uintptr_t)edata_addr_get(&slab) 118 expect_ptr_ne(ptrs[i], ptrs[j], 122 free(ptrs); 136 void **ptrs; local 484 void **ptrs; local 705 void **ptrs; local [all...] |
| hpa_background_thread.c | 114 void *ptrs[2]; local 115 ptrs[0] = mallocx(PAGE, MALLOCX_TCACHE_NONE | MALLOCX_ARENA(arena_ind)); 116 ptrs[1] = mallocx(PAGE, MALLOCX_TCACHE_NONE | MALLOCX_ARENA(arena_ind)); 121 dallocx(ptrs[0], MALLOCX_TCACHE_NONE); 131 dallocx(ptrs[1], MALLOCX_TCACHE_NONE);
|
| prof_reset.c | 212 void *ptrs[NITER]; local 230 p = ptrs[i] = mallocx(1, 0); 249 dallocx(ptrs[i], 0);
|
| /src/external/bsd/jemalloc.old/dist/test/integration/ |
| mallocx.c | 119 void *ptrs[3]; local 128 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { 129 ptrs[i] = mallocx(largemax, MALLOCX_ARENA(0)); 130 if (ptrs[i] == NULL) { 137 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { 138 if (ptrs[i] != NULL) { 139 dallocx(ptrs[i], 0);
|
| smallocx.c | 143 void *ptrs[3]; local 152 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { 153 ptrs[i] = smallocx(largemax, 0).ptr; 154 if (ptrs[i] == NULL) { 161 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { 162 if (ptrs[i] != NULL) { 163 dallocx(ptrs[i], 0);
|
| /src/external/bsd/jemalloc/dist/test/integration/ |
| mallocx.c | 120 void *ptrs[3]; local 129 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { 130 ptrs[i] = mallocx(largemax, MALLOCX_ARENA(0)); 131 if (ptrs[i] == NULL) { 138 for (i = 0; i < sizeof(ptrs) / sizeof(void *); i++) { 139 if (ptrs[i] != NULL) { 140 dallocx(ptrs[i], 0);
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_log.c | 386 void *ptrs[2]; local 513 ptrs[0] = (void *)&ipfl; 521 ptrs[1] = m; 525 ptrs[1] = fin->fin_ip; 530 ptrs[1] = m; 534 return ipf_log_items(softc, IPL_LOGIPF, fin, ptrs, sizes, types, 2);
|
| /src/sys/external/mit/xen-include-public/dist/xen/include/public/hvm/ |
| ioreq.h | 95 } ptrs; member in struct:buffered_iopage
|
| /src/external/bsd/jemalloc.old/dist/test/stress/ |
| batch_alloc.c | 22 void **ptrs; member in struct:batch_alloc_packet_s 47 release_and_clear(void **ptrs, size_t len) { 49 void *p = ptrs[i]; 52 ptrs[i] = NULL;
|