Lines Matching refs:len
141 MS_U32 len; ///< length of following block member
179 __mem_avail__[0].len = 0; in JPEG_MEMORY_init_mempool()
181 __mem_avail__[1].len = 0; in JPEG_MEMORY_init_mempool()
193 AVAIL.len = size; in JPEG_MEMORY_init_mempool()
196 (AVAIL.next)->len = size - HLEN; in JPEG_MEMORY_init_mempool()
216 if (p->len >= size) in JPEG_MEMORY_malloc()
222 k = p->len - size; /* calc. remaining bytes in block */ in JPEG_MEMORY_malloc()
231 p->len = k; in JPEG_MEMORY_malloc()
234 q->len = size; in JPEG_MEMORY_malloc()
246 if ((memp == NULL) || (AVAIL.len == 0)) in JPEG_MEMORY_free()
264 if ((p != NULL) && ((((MS_U8 *)memp) + p0->len) == (MS_U8 *)p)) in JPEG_MEMORY_free()
266 p0->len += p->len + HLEN; in JPEG_MEMORY_free()
274 if ((((MS_U8 *)q) + q->len + HLEN) == (MS_U8 *)p0) in JPEG_MEMORY_free()
276 q->len += p0->len + HLEN; in JPEG_MEMORY_free()