Lines Matching defs:mem
95 Dt_t* mem;
130 Mem_t* mem;
149 if (!(ar->mem = dtnew(ar->vm, &ar->memdisc, Dtset)))
165 if (!(mem = vmnewof(ar->vm, 0, Mem_t, 1, n)))
170 mem->encoded = swapget(3, &hdr[ZIP_CEN_SIZ], 4);
171 mem->decoded = swapget(3, &hdr[ZIP_CEN_LEN], 4);
172 mem->checksum = swapget(3, &hdr[ZIP_CEN_CRC], 4);
175 if (paxread(pax, ap, mem->name, (off_t)n, (off_t)0, 0) <= 0)
181 if (mem->name[n - 1] == '/')
183 mem->name[n] = 0;
186 (*pax->errorf)(NiL, pax, 2, "%s: %s: invalid %s format verification header extended data [size=%I*u]", ap->name, mem->name, fp->name, sizeof(ext), ext);
192 (*pax->errorf)(NiL, pax, 2, "%s: %s: invalid %s format verification header comment data [size=%I*u]", ap->name, mem->name, fp->name, sizeof(com), com);
196 dtinsert(ar->mem, mem);
216 Mem_t* mem;
263 if (ar->mem && (mem = (Mem_t*)dtmatch(ar->mem, f->name)))
265 f->st->st_size = mem->encoded;
266 f->uncompressed = mem->decoded;
267 ar->checksum = mem->checksum;