Searched refs:obj_size (Results 1 – 11 of 11) sorted by relevance
/third_party/libunwind/src/mi/ |
D | mempool.c | 79 add_memory (struct mempool *pool, char *mem, size_t size, size_t obj_size) in add_memory() argument 83 for (obj = mem; obj <= mem + size - obj_size; obj += obj_size) in add_memory() 97 size = UNW_ALIGN(pool->obj_size, pg_size); in expand() 102 size = pool->obj_size; in expand() 106 add_memory (pool, mem, size, pool->obj_size); in expand() 110 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init() argument 120 obj_size = UNW_ALIGN(obj_size, MAX_ALIGN); in mempool_init() 124 reserve = pg_size / obj_size / 4; in mempool_init() 129 pool->obj_size = obj_size; in mempool_init() 131 pool->chunk_size = UNW_ALIGN(2*reserve*obj_size, pg_size); in mempool_init()
|
/third_party/python/Lib/test/ |
D | test_tracemalloc.py | 129 obj_size = 12345 130 obj, obj_traceback = allocate_bytes(obj_size) 155 obj_size = 10 162 obj2, obj2_traceback = allocate_bytes(obj_size) 169 obj, obj_traceback = allocate_bytes(obj_size) 183 obj_size = 12345 184 obj, obj_traceback = allocate_bytes(obj_size) 191 self.assertEqual(size, obj_size) 209 obj_size = 123 210 obj1, obj1_traceback = allocate_bytes4(obj_size) [all …]
|
/third_party/libunwind/include/ |
D | mempool.h | 64 size_t obj_size; /* object size (rounded up for alignment) */ member 85 size_t obj_size, size_t reserve);
|
/third_party/alsa-lib/src/topology/ |
D | elem.c | 412 int obj_size = 0; in tplg_elem_new_common() local 465 obj_size = tptr->size; in tplg_elem_new_common() 470 if (obj_size > 0) { in tplg_elem_new_common() 471 obj = calloc(1, obj_size); in tplg_elem_new_common() 478 elem->size = obj_size; in tplg_elem_new_common()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-function-prototype.c | 273 size_t obj_size = sizeof (ecma_bound_function_t) + (arguments_number * sizeof (ecma_value_t)); in ecma_builtin_function_prototype_object_bind() local 276 obj_size, in ecma_builtin_function_prototype_object_bind()
|
/third_party/gstreamer/gstplugins_bad/gst/asfmux/ |
D | gstasfobjects.c | 816 guint64 obj_size = 0; in gst_asf_parse_headers_from_data() local 820 if (!gst_byte_reader_get_uint64_le (&reader, &obj_size)) in gst_asf_parse_headers_from_data() 827 if (!gst_byte_reader_skip (&reader, obj_size - ASF_GUID_OBJSIZE_SIZE)) in gst_asf_parse_headers_from_data()
|
/third_party/boost/libs/test/test/writing-test-ts/ |
D | test_tools-test.cpp | 239 int obj_size = 33; in TEST_CASE() local 241 BOOST_WARN_MESSAGE( obj_size <= 8, in TEST_CASE() 242 … "object size " << obj_size << " is too big to be efficiently passed by value" ); in TEST_CASE() 245 BOOST_WARN_MESSAGE( obj_size > 8, "object size " << obj_size << " is too small" ); in TEST_CASE()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 1077 …size(const VkDeviceSize alignment, VkDeviceSize *offset, VkDeviceSize *size, VkDeviceSize obj_size) in align_offset_size() argument 1085 if (*offset + *size + align > obj_size) in align_offset_size() 1086 *size = obj_size - *offset; in align_offset_size()
|
/third_party/quickjs/ |
D | quickjs.h | 401 int64_t obj_count, obj_size; member
|
D | run-test262.c | 1483 update(obj_size); in update_stats()
|
D | quickjs.c | 6166 s->obj_size += s->obj_count * sizeof(JSObject); in JS_ComputeMemoryUsage() 6204 s->obj_size + s->prop_size + s->shape_size + in JS_ComputeMemoryUsage() 6296 "objects", s->obj_count, s->obj_size, in JS_DumpMemoryUsage() 6297 (double)s->obj_size / s->obj_count); in JS_DumpMemoryUsage()
|