Home | History | Annotate | Download | only in enc

Lines Matching refs:mem

100   uint8_t* mem;
126 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem));
127 if (mem == NULL) {
132 picture->memory_ = (void*)mem;
138 picture->y = mem;
139 mem += y_size;
141 picture->u = mem;
142 mem += uv_size;
143 picture->v = mem;
144 mem += uv_size;
147 picture->a = mem;
148 mem += a_size;
150 (void)mem; // makes the static analyzer happy
182 writer->mem = NULL;
205 memcpy(new_mem, w->mem, w->size);
207 WebPSafeFree(w->mem);
208 w->mem = new_mem;
213 memcpy(w->mem + w->size, data, data_size);
221 WebPSafeFree(writer->mem);
222 writer->mem = NULL;
263 *output = wrt.mem;