Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 262) sorted by relevance

1234567891011

/5.5.2/platform/tests/pipe_test/
H A Dpipe_test.cc28 EXPECT_EQ(2048, buffer.produce([](void*, size_t size) -> ssize_t { in TEST_F()
42 buffer.produce([capacity](void*, size_t size) -> ssize_t { in TEST_F()
47 buffer.consume([](const void*, size_t size) -> ssize_t { in TEST_F()
66 buffer.consume([](const void*, size_t size) -> ssize_t { in TEST_F()
77 buffer.produce([capacity](void*, size_t size) -> ssize_t { in TEST_F()
120 buffer.produce([capacity](void* ptr, size_t size) -> ssize_t { in TEST_F()
126 buffer.consume([](const void* ptr, size_t size) -> ssize_t { in TEST_F()
136 buffer.produce([capacity](void* ptr, size_t size) -> ssize_t { in TEST_F()
141 buffer.consume([](const void* ptr, size_t size) -> ssize_t { in TEST_F()
155 buffer.consume([](const void* ptr, size_t size) -> ssize_t { in TEST_F()
[all …]
/5.5.2/forestdb/utils/
H A Dmemleak.h34 #define malloc(size) memleak_alloc(size, (char*)__FILE__, __LINE__) argument
35 #define calloc(nmemb, size) memleak_calloc(nmemb, size, (char*)__FILE__, __LINE__) argument
36 #define realloc(ptr, size) memleak_realloc(ptr, size); argument
42 #define posix_memalign(memptr, alignment, size) \ argument
H A Dcrypto_primitives.h33 size_t size, in sha256()
44 size_t size) in aes256()
65 size_t size, in sha256()
79 size_t size) in aes256()
123 size_t size, in sha256()
137 size_t size) in aes256()
H A Dmemleak.cc94 size_t size; member
202 void _memleak_add_to_index(void *addr, size_t size, char *file, size_t line, uint8_t init_val) in _memleak_add_to_index()
230 void * memleak_alloc(size_t size, char *file, size_t line) in memleak_alloc()
245 void * memleak_calloc(size_t nmemb, size_t size, char *file, size_t line) in memleak_calloc()
264 int memleak_posix_memalign(void **memptr, size_t alignment, size_t size, char *file, size_t line) in memleak_posix_memalign()
280 void * memleak_memalign(size_t size, size_t alignment, char *file, size_t line) in memleak_memalign()
296 void * memleak_aligned_malloc(size_t size, size_t alignment, char *file, size_t line) in memleak_aligned_malloc()
348 void *memleak_realloc(void *ptr, size_t size) in memleak_realloc()
/5.5.2/kv_engine/xattr/
H A Dblob.cc42 size_t size) in Blob()
76 const auto size = read_length(current); in get() local
105 const auto size = read_length(current); in prune_user_keys() local
127 const auto size = 4 + key.len + 1 + old.len + 1; in remove() local
174 void Blob::grow_buffer(uint32_t size) { in grow_buffer()
219 void Blob::remove_segment(const size_t offset, const size_t size) { in remove_segment()
277 const auto size = read_length(current); in get_system_size() local
296 const auto size = read_length(current); in to_json() local
/5.5.2/kv_engine/daemon/
H A Ddarwin_zone.cc72 static inline void invoke_new_hook(void* ptr, size_t size) { in invoke_new_hook()
97 zone_malloc(malloc_zone_t *zone, size_t size) in zone_malloc()
105 zone_calloc(malloc_zone_t *zone, size_t num_items, size_t size) in zone_calloc()
113 zone_valloc(malloc_zone_t *zone, size_t size) in zone_valloc()
128 zone_realloc(malloc_zone_t *zone, void *ptr, size_t size) in zone_realloc()
137 zone_memalign(malloc_zone_t *zone, size_t alignment, size_t size) in zone_memalign()
145 zone_free_definite_size(malloc_zone_t *zone, void *ptr, size_t size) in zone_free_definite_size()
H A Dconfig_util.cc44 static int spool(FILE *fp, char *dest, size_t size) in spool()
63 static void *config_malloc(size_t size) { in config_malloc()
H A Dalloc_hooks_dummy.cc35 bool DummyAllocHooks::add_new_hook(void (* hook)(const void* ptr, size_t size)) { in add_new_hook()
39 bool DummyAllocHooks::remove_new_hook(void (* hook)(const void* ptr, size_t size)) { in remove_new_hook()
62 void DummyAllocHooks::get_detailed_stats(char* buffer, int size) { in get_detailed_stats()
H A Dalloc_hooks_badmalloc.cc152 EXPORT_SYMBOL void* malloc(size_t size) { in malloc()
167 EXPORT_SYMBOL void* realloc(void* ptr, size_t size) { in realloc()
187 bool mc_add_new_hook(void (* hook)(const void* ptr, size_t size)) { in mc_add_new_hook()
191 bool mc_remove_new_hook(void (* hook)(const void* ptr, size_t size)) { in mc_remove_new_hook()
214 void mc_get_detailed_stats(char* buffer, int size) { in mc_get_detailed_stats()
H A Dalloc_hooks_jemalloc.cc56 size_t size = sizeof(*value); in jemalloc_get_stats_prop() local
99 bool JemallocHooks::add_new_hook(void (* hook)(const void* ptr, size_t size)) { in add_new_hook()
103 bool JemallocHooks::remove_new_hook(void (* hook)(const void* ptr, size_t size)) { in remove_new_hook()
146 void JemallocHooks::get_detailed_stats(char* buffer, int size) { in get_detailed_stats()
201 size_t size = sizeof(old); in enable_thread_cache() local
/5.5.2/moxi/libmemcached/libmemcached/
H A Dallocators.c9 void *libmemcached_malloc(const memcached_st *ptr, const size_t size) in libmemcached_malloc()
14 void *libmemcached_realloc(const memcached_st *ptr, void *mem, const size_t size) in libmemcached_realloc()
19 void *libmemcached_calloc(const memcached_st *ptr, size_t nelem, size_t size) in libmemcached_calloc()
31 void *_libmemcached_malloc(const memcached_st *ptr, const size_t size, void *context) in _libmemcached_malloc()
38 void *_libmemcached_realloc(const memcached_st *ptr, void *mem, const size_t size, void *context) in _libmemcached_realloc()
45 void *_libmemcached_calloc(const memcached_st *ptr, size_t nelem, size_t size, void *context) in _libmemcached_calloc()
/5.5.2/couchdb/src/couch_index_merger/src/
H A Dcouch_skew.erl24 size(?null) -> function
26 size({Sz, _, _, _}) -> function
/5.5.2/platform/src/
H A Drandom.cc45 virtual bool getBytes(void *dest, size_t size) { in getBytes()
55 virtual bool getBytes(void *dest, size_t size) { in getBytes()
93 bool Couchbase::RandomGenerator::getBytes(void *dest, size_t size) { in getBytes()
H A Dcb_malloc.cc59 PLATFORM_PUBLIC_API void* cb_malloc(size_t size) throwspec { in cb_malloc()
65 PLATFORM_PUBLIC_API void* cb_calloc(size_t nmemb, size_t size) throwspec { in cb_calloc()
71 PLATFORM_PUBLIC_API void* cb_realloc(void* ptr, size_t size) throwspec { in cb_realloc()
137 void cb_invoke_new_hook(const void* ptr, size_t size) { in cb_invoke_new_hook()
H A Dchecked_snprintf.cc25 int checked_snprintf(char* str, const size_t size, const char* format, ...) { in checked_snprintf()
/5.5.2/testrunner/scripts/
H A Dmixload-allset.py24 size = 512 variable
30 size = int(params["size"]) variable
H A Dmixload-inlp.py24 size = 512 variable
30 size = int(params["size"]) variable
/5.5.2/kv_engine/engines/default_engine/
H A Dslabs.cc52 unsigned int slabs_clsid(struct default_engine *engine, const size_t size) { in slabs_clsid()
63 static void *my_allocate(struct default_engine *e, size_t size) { in my_allocate()
94 unsigned int size = sizeof(hash_item) + (unsigned int)engine->config.chunk_size; in slabs_init() local
205 static void *do_slabs_alloc(struct default_engine *engine, const size_t size, unsigned int id) { in do_slabs_alloc()
257 static void do_slabs_free(struct default_engine *engine, void *ptr, const size_t size, unsigned int… in do_slabs_free()
373 static void *memory_allocate(struct default_engine *engine, size_t size) { in memory_allocate()
402 void *slabs_alloc(struct default_engine *engine, size_t size, unsigned int id) { in slabs_alloc()
411 void slabs_free(struct default_engine *engine, void *ptr, size_t size, unsigned int id) { in slabs_free()
/5.5.2/sigar/src/os/win32/
H A Dpeb.c39 DWORD size=sizeof(pbi); in sigar_pbi_get() local
77 DWORD size=sizeof(*rtl); in sigar_rtl_get() local
128 DWORD size; in sigar_proc_args_peb_get() local
149 WCHAR *buf, DWORD size) in sigar_proc_env_peb_get()
/5.5.2/kv_engine/engines/ep/tests/module_tests/
H A Dmock_hooks_api.cc30 static bool mock_add_new_hook(void (*)(const void* ptr, size_t size)) { in mock_add_new_hook()
34 static bool mock_remove_new_hook(void (*)(const void* ptr, size_t size)) { in mock_remove_new_hook()
/5.5.2/moxi/tests/moxi/
H A Dsizes.c6 static void display(const char *name, size_t size) { in display()
/5.5.2/platform/cbcompress/
H A Dcompress_bench.cc37 const auto size = size_t(state.range(0)); in SnappyCompress() local
55 const auto size = size_t(state.range(0)); in Lz4Compress() local
/5.5.2/moxi/src/
H A Dslabs.c21 unsigned int size; /* sizes of items */ member
78 unsigned int slabs_clsid(const size_t size) { in slabs_clsid()
96 unsigned int size = sizeof(item) + settings.chunk_size; in slabs_init() local
217 static void *do_slabs_alloc(const size_t size, unsigned int id) { in do_slabs_alloc()
270 static void do_slabs_free(void *ptr, const size_t size, unsigned int id) { in do_slabs_free()
469 static void *memory_allocate(size_t size) { in memory_allocate()
498 void *slabs_alloc(size_t size, unsigned int id) { in slabs_alloc()
507 void slabs_free(void *ptr, size_t size, unsigned int id) { in slabs_free()
/5.5.2/kv_engine/engines/ep/src/
H A Dobjectregistry.cc86 size_t size = getAllocSize(blob); in onCreateBlob() local
104 size_t size = getAllocSize(blob); in onDeleteBlob() local
122 size_t size = getAllocSize(sv); in onCreateStoredValue() local
140 size_t size = getAllocSize(sv); in onDeleteStoredValue() local
/5.5.2/couchstore/src/
H A Darena.cc24 size_t size; // Size of available bytes after this header member
53 static void* add_chunk(arena* a, size_t size) in add_chunk()
112 void* arena_alloc_unaligned(arena* a, size_t size) in arena_alloc_unaligned()
128 void* arena_alloc(arena* a, size_t size) in arena_alloc()

1234567891011