Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 12 of 12) sorted by relevance

/external/dbus/dbus/
Ddbus-mempool.c214 int alloc_size; in _dbus_mem_pool_alloc() local
223 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() local
285 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()
/external/oprofile/libutil/
Dop_libiberty.c30 void * xmemdup (void const * input, size_t copy_size, size_t alloc_size) in xmemdup() argument
32 void * output = xcalloc(1, alloc_size); in xmemdup()
/external/bluetooth/glib/glib/
Dgmem.c610 guint alloc_size; /* the size of an atom */ member
623 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()
Dgfileutils.c608 gsize alloc_size; in get_contents_regfile() local
612 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()
/external/libxml2/include/libxml/
Dxmlversion.h417 # define ATTRIBUTE_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
/external/chromium/net/flip/
Dflip_framer.cc389 int alloc_size = size + FlipFrame::size(); in ExpandControlFrameBuffer() local
390 char* new_buffer = new char[alloc_size]; in ExpandControlFrameBuffer()
392 current_frame_capacity_ = alloc_size; in ExpandControlFrameBuffer()
/external/kernel-headers/original/linux/
Drelay.h61 size_t alloc_size; /* total buffer size allocated */ member
/external/svox/pico/lib/
Dpicoos.c280 picoos_objsize_t raw_mem_size, picoos_objsize_t alloc_size, in picoos_raw_malloc() argument
287 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()
Dpicoos.h146 picoos_objsize_t raw_mem_size, picoos_objsize_t alloc_size,
/external/webkit/JavaScriptCore/wtf/
DFastMalloc.cpp921 const int alloc_size = class_to_pages[cl] << kPageShift; in InitSizeClasses() local
922 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()
/external/bluetooth/glib/
DChangeLog.pre-2-181615 * glib/gmacros.h: Add macros wrapping the gcc alloc_size
DNEWS752 * G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size