Lines Matching refs:size
72 * Allocates a chunk of @p size bytes and returns a pointer to the newly
78 * @param size The number of bytes requested.
81 void *coap_malloc_type(coap_memory_tag_t type, size_t size);
86 * @p size.
94 * @param size The number of bytes requested.
97 void *coap_realloc_type(coap_memory_tag_t type, void *p, size_t size);
113 coap_malloc(size_t size) {
114 return coap_malloc_type(COAP_STRING, size);
136 /* It would be nice to check that size equals the size given at the memp
141 (((asize) <= memp_pools[MEMP_ ## type]->size) ? \
145 /* As these are fixed size, return value if already defined */
147 ((p) ? ((asize) <= memp_pools[MEMP_ ## type]->size) ? (p) : NULL : coap_malloc_type(type, asize))
153 coap_malloc(size_t size) {
154 (void)size;