Lines Matching refs:q
203 __memp__ q; /* ptr to free block */ in JPEG_MEMORY_malloc() local
206 q = &AVAIL; in JPEG_MEMORY_malloc()
210 p = q->next; in JPEG_MEMORY_malloc()
219 q = p; in JPEG_MEMORY_malloc()
226 q->next = p->next; in JPEG_MEMORY_malloc()
233 q = (__memp__ ) ((MS_VIRT)((MS_U8 *) (&p [1])) + k); in JPEG_MEMORY_malloc()
234 q->len = size; in JPEG_MEMORY_malloc()
235 q->next = NULL; in JPEG_MEMORY_malloc()
237 return (&q[1]); /* SUCCESS */ in JPEG_MEMORY_malloc()
242 __memp__ q; /* ptr to free block */ in JPEG_MEMORY_free() local
252 q = &AVAIL; in JPEG_MEMORY_free()
256 p = q->next; in JPEG_MEMORY_free()
261 q = p; 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()
277 q->next = p0->next; in JPEG_MEMORY_free()
281 q->next = p0; in JPEG_MEMORY_free()