Searched defs:ext (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/tests/
H A Dopt.c153 int ext; local
171 ext = 0;
203 ext += 2;
262 for (n = 0; n < ext; n += 2)
/ast/src/cmd/paxlib/zoo/
H A Dzoo.c105 int ext; local
152 ext = swapget(3, buf+0, 2);
157 ext = 0;
160 if (ext > 0)
168 if (ext > 1)
199 if (ext > n+2)
207 if (ext > n+4)
215 if (ext > n+7 && !(buf = paxget(pax, ap, 3, NiL)))
/ast/src/cmd/sortlib/sum/
H A Dsortsum.c168 Buffer_t* ext; local
355 ext = &state->buf[state->alt = !state->alt];
356 ASSURE(state, ext, r->datalen + (n - w));
357 memcpy(ext->buf, r->data, a - r->data);
358 memcpy(ext->buf + (a - r->data) + n, a + w, r->datalen - (w + (a - r->data)));
359 s = ext->buf + (s - r->data);
360 a = ext->buf + (a - r->data);
361 z = ext->buf + (z - r->data) + (n - w);
362 r->data = ext->buf;
/ast/src/cmd/pax/
H A Dpax.c1329 char* ext; local
1337 ext = 0;
1338 else if (!(ext = sfstruse(opt.ignore_ext)))
1340 if ((all || ext) && (pos = hashscan(state.options, 0)))
1345 if (!(op->flags & OPT_READONLY) && (all && matchopt(pos->bucket->name, all, op) && (lev = 8) || ext && matchopt(pos->bucket->name, ext, op) && (lev = 6)) && op->level < lev)
/ast/src/cmd/paxlib/zip/
H A Dzip.c80 #define ZIP_EXT_HEADER 16 /* ext header size */
81 #define ZIP_EXT_MAGIC 0x504b0708L /* ext header magic */
127 int ext; local
173 ext = swapget(3, &hdr[ZIP_CEN_EXT], 2);
184 if (ext && paxread(pax, ap, NiL, (off_t)ext, (off_t)0, 0) <= 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);

Completed in 19 milliseconds