Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 10 of 10) sorted by relevance

/third_party/libunwind/src/mi/
Dmempool.c85 add_memory (struct mempool *pool, char *mem, size_t size, size_t obj_size) in add_memory() argument
89 for (obj = mem; obj <= mem + size - obj_size; obj += obj_size) in add_memory()
103 size = UNW_ALIGN(pool->obj_size, pg_size); in expand()
108 size = pool->obj_size; in expand()
112 add_memory (pool, mem, size, pool->obj_size); in expand()
116 mempool_init (struct mempool *pool, size_t obj_size, size_t reserve) in mempool_init() argument
126 obj_size = UNW_ALIGN(obj_size, MAX_ALIGN); in mempool_init()
130 reserve = pg_size / obj_size / 4; in mempool_init()
135 pool->obj_size = obj_size; in mempool_init()
137 pool->chunk_size = UNW_ALIGN(2*reserve*obj_size, pg_size); in mempool_init()
/third_party/python/Lib/test/
Dtest_tracemalloc.py129 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/
Dmempool.h64 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/
Delem.c412 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/
Decma-builtin-function-prototype.c273 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/
Dgstasfobjects.c816 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/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c1645 …size(const VkDeviceSize alignment, VkDeviceSize *offset, VkDeviceSize *size, VkDeviceSize obj_size) in align_offset_size() argument
1653 if (*offset + *size + align > obj_size) in align_offset_size()
1654 *size = obj_size - *offset; in align_offset_size()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h14908 unsigned int obj_size; member
14931 unsigned int obj_size; member
76746 u16 obj_size; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi19656 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/sock.h" li…
20476 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/request_so…
54120 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/sock.h" li…
55052 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/request_so…
Dtest-PR27569-v0.abi19648 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/sock.h" li…
20468 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/request_so…
54091 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/sock.h" li…
55023 …<var-decl name="obj_size" type-id="f0981eeb" visibility="default" filepath="include/net/request_so…