Searched refs:alloc_size (Results 1 – 12 of 12) sorted by relevance
214 int alloc_size; in _dbus_mem_pool_alloc() local223 alloc_size = sizeof (DBusMemBlock) - ELEMENT_PADDING + in _dbus_mem_pool_alloc()227 block = dbus_malloc0 (alloc_size); in _dbus_mem_pool_alloc()229 block = dbus_malloc (alloc_size); in _dbus_mem_pool_alloc()272 int alloc_size; in _dbus_mem_pool_alloc() local285 alloc_size = sizeof (DBusMemBlock) - ELEMENT_PADDING + pool->block_size; in _dbus_mem_pool_alloc()299 block = dbus_malloc0 (alloc_size); in _dbus_mem_pool_alloc()301 block = dbus_malloc (alloc_size); in _dbus_mem_pool_alloc()
30 void * xmemdup (void const * input, size_t copy_size, size_t alloc_size) in xmemdup() argument32 void * output = xcalloc(1, alloc_size); in xmemdup()
610 guint alloc_size; /* the size of an atom */ member623 mem_chunk->alloc_size = atom_size; in g_mem_chunk_new()640 return g_slice_alloc (mem_chunk->alloc_size); in g_mem_chunk_alloc()648 return g_slice_alloc0 (mem_chunk->alloc_size); in g_mem_chunk_alloc0()657 g_slice_free1 (mem_chunk->alloc_size, mem); in g_mem_chunk_free()
608 gsize alloc_size; in get_contents_regfile() local612 alloc_size = size + 1; in get_contents_regfile()613 buf = g_try_malloc (alloc_size); in get_contents_regfile()621 (gulong) alloc_size, in get_contents_regfile()
417 # define ATTRIBUTE_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
389 int alloc_size = size + FlipFrame::size(); in ExpandControlFrameBuffer() local390 char* new_buffer = new char[alloc_size]; in ExpandControlFrameBuffer()392 current_frame_capacity_ = alloc_size; in ExpandControlFrameBuffer()
61 size_t alloc_size; /* total buffer size allocated */ member
280 picoos_objsize_t raw_mem_size, picoos_objsize_t alloc_size, in picoos_raw_malloc() argument287 if (alloc_size < 1) { in picoos_raw_malloc()288 alloc_size = 1; in picoos_raw_malloc()290 alloc_size = ((alloc_size + PICOOS_ALIGN_SIZE - 1) / PICOOS_ALIGN_SIZE) in picoos_raw_malloc()293 rest = raw_mem_size - alloc_size; in picoos_raw_malloc()298 *rest_mem = raw_mem + alloc_size; in picoos_raw_malloc()
146 picoos_objsize_t raw_mem_size, picoos_objsize_t alloc_size,
921 const int alloc_size = class_to_pages[cl] << kPageShift; in InitSizeClasses() local922 const int alloc_objs = alloc_size / class_to_size[cl]; in InitSizeClasses()924 const int max_waste = alloc_size - min_used; in InitSizeClasses()930 max_waste * 100.0 / alloc_size in InitSizeClasses()
1615 * glib/gmacros.h: Add macros wrapping the gcc alloc_size
752 * G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size