HomeSort by: relevance | last modified time | path
    Searched refs:sz (Results 1 - 25 of 2000) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/ddb/
db_kernel.c 53 db_alloc(size_t sz)
56 return kmem_alloc(sz, KM_SLEEP);
60 db_zalloc(size_t sz)
63 return kmem_zalloc(sz, KM_SLEEP);
67 db_free(void *p, size_t sz)
70 kmem_free(p, sz);
  /src/external/bsd/jemalloc/dist/test/integration/
thread_tcache_enabled.c 6 size_t sz = sizeof(bool); local
7 expect_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz, NULL,
12 expect_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
13 (void *)&e1, sz), 0, "Unexpected mallctl() error");
18 expect_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
19 (void *)&e1, sz), 0, "Unexpected mallctl() error");
23 expect_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
24 (void *)&e1, sz), 0, "Unexpected mallctl() error");
28 expect_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
29 (void *)&e1, sz), 0, "Unexpected mallctl() error")
    [all...]
allocated.c 17 size_t sz, usize; local
19 sz = sizeof(a0);
20 if ((err = mallctl("thread.allocated", (void *)&a0, &sz, NULL, 0))) {
27 sz = sizeof(ap0);
28 if ((err = mallctl("thread.allocatedp", (void *)&ap0, &sz, NULL, 0))) {
39 sz = sizeof(d0);
40 if ((err = mallctl("thread.deallocated", (void *)&d0, &sz, NULL, 0))) {
47 sz = sizeof(dp0);
48 if ((err = mallctl("thread.deallocatedp", (void *)&dp0, &sz, NULL,
63 sz = sizeof(a1)
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/integration/
thread_tcache_enabled.c 6 size_t sz = sizeof(bool); local
7 assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz, NULL,
12 assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
13 (void *)&e1, sz), 0, "Unexpected mallctl() error");
18 assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
19 (void *)&e1, sz), 0, "Unexpected mallctl() error");
23 assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
24 (void *)&e1, sz), 0, "Unexpected mallctl() error");
28 assert_d_eq(mallctl("thread.tcache.enabled", (void *)&e0, &sz,
29 (void *)&e1, sz), 0, "Unexpected mallctl() error")
    [all...]
allocated.c 17 size_t sz, usize; local
19 sz = sizeof(a0);
20 if ((err = mallctl("thread.allocated", (void *)&a0, &sz, NULL, 0))) {
27 sz = sizeof(ap0);
28 if ((err = mallctl("thread.allocatedp", (void *)&ap0, &sz, NULL, 0))) {
39 sz = sizeof(d0);
40 if ((err = mallctl("thread.deallocated", (void *)&d0, &sz, NULL, 0))) {
47 sz = sizeof(dp0);
48 if ((err = mallctl("thread.deallocatedp", (void *)&dp0, &sz, NULL,
63 sz = sizeof(a1)
    [all...]
  /src/external/bsd/ipf/dist/lib/
msgdsize.c 16 size_t sz = 0; local
20 sz += m->mb_len;
21 return sz;
  /src/external/bsd/libevent/dist/
mm-internal.h 43 * @return On success, return a pointer to sz newly allocated bytes.
45 * If the argument sz is 0, simply return NULL.
48 void *event_mm_malloc_(size_t sz);
73 void *event_mm_realloc_(void *p, size_t sz);
76 #define mm_malloc(sz) event_mm_malloc_(sz)
79 #define mm_realloc(p, sz) event_mm_realloc_((p), (sz))
82 #define mm_malloc(sz) malloc(sz)
    [all...]
  /src/external/bsd/ntp/dist/sntp/libevent/
mm-internal.h 44 * @return On success, return a pointer to sz newly allocated bytes.
46 * If the argument sz is 0, simply return NULL.
49 void *event_mm_malloc_(size_t sz);
74 void *event_mm_realloc_(void *p, size_t sz);
77 #define mm_malloc(sz) event_mm_malloc_(sz)
80 #define mm_realloc(p, sz) event_mm_realloc_((p), (sz))
83 #define mm_malloc(sz) malloc(sz)
    [all...]
  /src/external/bsd/jemalloc/dist/test/include/test/
bgthd.h 9 size_t sz = sizeof(bool); local
10 int ret = mallctl("background_thread", (void *)&enabled, &sz, NULL,0);
  /src/external/bsd/libfido2/dist/openbsd-compat/
freezero.c 22 freezero(void *ptr, size_t sz)
26 explicit_bzero(ptr, sz);
  /src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/
new_opv.cc 30 operator new[] (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc)
32 return ::operator new(sz);
new_opva.cc 30 operator new[] (std::size_t sz, std::align_val_t al)
32 return ::operator new(sz, al);
new_opvnt.cc 31 operator new[] (std::size_t sz, const std::nothrow_t&) noexcept
38 return ::operator new[](sz);
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/
new_opv.cc 30 operator new[] (std::size_t sz) _GLIBCXX_THROW (std::bad_alloc)
32 return ::operator new(sz);
new_opva.cc 30 operator new[] (std::size_t sz, std::align_val_t al)
32 return ::operator new(sz, al);
  /src/tests/usr.bin/xlint/lint1/
msg_022.c 24 unsigned long sz = sizeof(int(param1, param2)); variable
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
emalloc.c 48 emalloc (size_t sz)
50 void *tmp = malloc (sz);
52 if (tmp == NULL && sz != 0)
53 errx (1, "malloc %lu failed", (unsigned long)sz);
erealloc.c 48 erealloc (void *ptr, size_t sz)
50 void *tmp = realloc (ptr, sz);
52 if (tmp == NULL && sz != 0)
53 errx (1, "realloc %lu failed", (unsigned long)sz);
  /src/external/bsd/mdocml/dist/
compat_vasprintf.c 34 int sz; local
37 sz = vsnprintf(buf, sizeof(buf), format, ap2);
40 if (sz != -1 && (*ret = malloc(sz + 1)) != NULL) {
41 if (vsnprintf(*ret, sz + 1, format, ap) == sz)
42 return sz;
  /src/external/lgpl3/gmp/dist/tests/rand/
t-iset.c 31 mpz_t sz, dz; local
35 mpz_init (sz);
40 mpz_urandomb (sz, src, 123);
43 if (mpz_cmp (sz, dz) != 0)
47 gmp_printf (" from src: %#Zx\n", sz);
53 mpz_clear (sz);
  /src/external/gpl3/gdb.old/dist/gdbsupport/
new-op.cc 52 operator new (std::size_t sz)
55 if (sz == 0)
56 sz = 1;
58 void *p = malloc (sz); /* ARI: malloc */
69 malloc_failure (sz);
80 operator new (std::size_t sz, const std::nothrow_t&) noexcept
83 if (sz == 0)
84 sz = 1;
85 return malloc (sz); /* ARI: malloc */
89 operator new[] (std::size_t sz)
    [all...]
  /src/external/gpl3/gdb/dist/gdbsupport/
new-op.cc 52 operator new (std::size_t sz)
55 if (sz == 0)
56 sz = 1;
58 void *p = malloc (sz); /* ARI: malloc */
69 malloc_failure (sz);
80 operator new (std::size_t sz, const std::nothrow_t&) noexcept
83 if (sz == 0)
84 sz = 1;
85 return malloc (sz); /* ARI: malloc */
89 operator new[] (std::size_t sz)
    [all...]
  /src/crypto/external/bsd/openssh/dist/
freezero.c 27 freezero(void *ptr, size_t sz)
31 explicit_bzero(ptr, sz);
  /src/external/gpl3/gcc/dist/gcc/config/
host-darwin.h 20 extern void * darwin_gt_pch_get_address (size_t sz, int fd);
21 extern int darwin_gt_pch_use_address (void *&addr, size_t sz, int fd,
  /src/external/gpl3/gcc.old/dist/gcc/config/
host-darwin.h 20 extern void * darwin_gt_pch_get_address (size_t sz, int fd);
21 extern int darwin_gt_pch_use_address (void *&addr, size_t sz, int fd,

Completed in 32 milliseconds

1 2 3 4 5 6 7 8 91011>>