HomeSort by: relevance | last modified time | path
    Searched defs:ptrs (Results 1 - 25 of 65) sorted by relevancy

1 2 3

  /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/external/bsd/jemalloc/dist/test/unit/
a0.c 14 void *ptrs[ARRAY_SIZE(sizes)]; local
17 ptrs[i] = a0malloc(sizes[i]);
19 ptrs[i], "Unexpected a0malloc(%zu) failure", sizes[i]);
21 expect_ptr_ne(ptrs[i], ptrs[j],
27 a0dalloc(ptrs[i]);
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], "");
96 void **ptrs = mallocx(sizeof(void *) * (ncached_max + 1), 0); local
97 assert_ptr_not_null(ptrs, "Unexpected mallocx failure");
100 success = cache_bin_dalloc_easy(&bin, &ptrs[i]);
107 success = cache_bin_dalloc_easy(&bin, &ptrs[ncached_max])
275 void **ptrs = mallocx(sizeof(void *) * (ncached_max + 1), 0); local
    [all...]
tcache_gc.c 30 cache_bin_fill_ptrs(cache_bin_t *bin, void **ptrs, cache_bin_sz_t nfill) {
34 arr.ptr[i] = ptrs[i];
49 void *ptrs[] = { local
55 cache_bin_fill_ptrs(&bin, ptrs, 4);
68 expect_ptr_eq(ptrs[0], bin.stack_head[0],
70 expect_ptr_eq(ptrs[2], bin.stack_head[1],
82 cache_bin_fill_ptrs(&bin, ptrs, 4);
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);
bin.c 107 void **ptrs; local
112 ptrs = mallocx(nregs * sizeof(void *), 0);
113 assert_ptr_not_null(ptrs, "Unexpected mallocx failure");
115 bin_slab_reg_alloc_batch(&slab, bin_info, nregs, ptrs);
123 expect_ptr_not_null(ptrs[i], "Batch pointer should be non-NULL");
125 (uintptr_t)ptrs[i] >= (uintptr_t)edata_addr_get(&slab) &&
126 (uintptr_t)ptrs[i] < (uintptr_t)edata_addr_get(&slab)
130 expect_ptr_ne(ptrs[i], ptrs[j],
134 free(ptrs);
148 void **ptrs; local
496 void **ptrs; local
795 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 213 void *ptrs[NITER]; local
231 p = ptrs[i] = mallocx(1, 0);
250 dallocx(ptrs[i], 0);
  /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, 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/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);
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.old/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

Completed in 104 milliseconds

1 2 3