Lines Matching defs:mem
56 uint8_t* mem;
93 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem));
94 if (mem == NULL) return 0;
97 picture->memory_ = (void*)mem;
103 picture->y = mem;
104 mem += y_size;
106 picture->u = mem;
107 mem += uv_size;
108 picture->v = mem;
109 mem += uv_size;
112 picture->a = mem;
113 mem += a_size;
116 picture->u0 = mem;
117 mem += uv0_size;
118 picture->v0 = mem;
119 mem += uv0_size;
478 writer->mem = NULL;
501 memcpy(new_mem, w->mem, w->size);
503 free(w->mem);
504 w->mem = new_mem;
509 memcpy(w->mem + w->size, data, data_size);
1077 free(wrt.mem);
1081 *output = wrt.mem;