Lines Matching refs:size

98  * simply allocates storage for \p size bytes and returns the pointer,
101 void *ralloc_size(const void *ctx, size_t size) MALLOCLIKE;
106 * This is similar to \c calloc with a size of 1.
108 void *rzalloc_size(const void *ctx, size_t size) MALLOCLIKE;
113 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the
120 * \param size The amount of memory to allocate, in bytes.
122 void *reralloc_size(const void *ctx, void *ptr, size_t size);
128 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the
181 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the
202 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the
225 * multiplying \p size and \p count. This is necessary for security.
227 void *ralloc_array_size(const void *ctx, size_t size, unsigned count) MALLOCLIKE;
235 * multiplying \p size and \p count. This is necessary for security.
237 void *rzalloc_array_size(const void *ctx, size_t size, unsigned count) MALLOCLIKE;
242 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the
252 * \param size The size of an individual element.
257 void *reralloc_array_size(const void *ctx, void *ptr, size_t size,
264 * Similar to \c realloc. Unlike C89, passing 0 for \p size does not free the
274 * \param size The size of an individual element.
280 void *rerzalloc_array_size(const void *ctx, void *ptr, size_t size,
334 * to expand \p *dest to the appropriate size. \p dest will be updated to the
347 * to expand \p *dest to the appropriate size. \p dest will be updated to the
361 * to expand \p *dest to the appropriate size. \p dest will be updated to the
498 static void* operator new(size_t size, void *mem_ctx) \
500 void *p = ALLOC_FUNC(mem_ctx, size); \
537 * \param size size to allocate (max 32 bits)
539 void *linear_alloc_child(void *parent, unsigned size);
547 * \param size size to allocate (max 32 bits)
549 void *linear_alloc_parent(void *ralloc_ctx, unsigned size);
554 void *linear_zalloc_child(void *parent, unsigned size);
559 void *linear_zalloc_parent(void *ralloc_ctx, unsigned size);