Lines Matching refs:elements
58 * We just cast freed elements to this so we can
67 * The dummy size of the variable-length "elements"
89 /* this is a long so that "elements" is aligned */
90 long used_so_far; /**< bytes of this block already allocated as elements. */
92 unsigned char elements[ELEMENT_PADDING]; /**< the block data, actually allocated to required size */
102 unsigned int zero_elements : 1; /**< whether to zero-init allocated elements */
104 DBusFreedElement *free_elements; /**< a free list of elements to recycle */
106 int allocated_elements; /**< Count of outstanding allocated elements */
134 * @param zero_elements whether to zero-initialize elements
182 * Frees a memory pool (and all elements allocated from it).
243 VALGRIND_MEMPOOL_ALLOC (pool, (void *) &block->elements[0],
245 return (void*) &block->elements[0];
326 element = &pool->blocks->elements[pool->blocks->used_so_far];
344 * @returns #TRUE if there are no remaining allocated elements
365 if (block->elements == (unsigned char*) element)
501 _dbus_verbose (" created/destroyed %d elements in %g seconds\n",
540 _dbus_verbose (" created/destroyed %d elements in %g seconds\n",
573 _dbus_verbose (" created/destroyed %d elements in %g seconds\n",
610 _dbus_verbose (" created/destroyed %d elements in %g seconds\n",