Searched defs:checksum (Results 1 - 16 of 16) sorted by relevance

/ast/src/cmd/pax/
H A Dpax-tnef.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
69 unsigned int checksum; local
119 checksum = swapget(ap->swap, s + size, 2);
125 if (checksum != n)
126 error(3, "%s: %s format attribute data checksum error", ap->name, ap->format->name);
H A Dcopy.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
49 ap->info->checksum = ap->memsum;
171 long checksum; local
208 checksum = 0;
222 if (ap->format->checksum)
223 checksum = (*ap->format->checksum)(&state, ap, f, s, n, checksum);
226 if (ap->format->checksum && checksum !
[all...]
H A Dformat.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
65 f->delta.checksum = 0;
174 ap->checksum = ap->old.checksum = ap->memsum = ap->old.memsum = 0;
286 putinfo(register Archive_t* ap, char* file, unsigned long mtime, unsigned long checksum) argument
311 f->st->st_uid = DELTA_LO(checksum);
312 f->st->st_gid = DELTA_HI(checksum);
329 ap->checksum = ap->old.checksum;
339 putinfo(ap, NiL, ap->delta->base->size, ap->delta->base->checksum);
[all...]
H A Ddelta.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
61 f->delta.checksum = strtoul(s, NiL, 16);
179 x = (ap->format->flags & SUM) ? f->delta.base->info->checksum : ap->memsum;
180 if ((f->delta.checksum ^ x) & 0xffffffff)
181 error(2, "%s: %s: corrupt archive: checksum mismatch -- expected %08lx, got %08lx", ap->name, f->name, f->delta.checksum & 0xffffffff, x & 0xffffffff);
231 putkey(ap, ap->tmp.extended, &options[OPT_delta_checksum], NiL, f->delta.base->info->checksum & 0xffffffff);
340 bp->checksum = memsum(bp->io->next, bcount(bp), 0L);
350 bp->checksum &= 0xffffffff;
878 unsigned long checksum; local
[all...]
H A Dpax-cpio.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
82 long checksum; member in struct:Localstat_s
544 &lst.checksum) == 14 && f->magic == ASC_MAGIC)
546 f->checksum = lst.checksum;
570 f->checksum = 0;
585 f->checksum);
626 &lst.checksum) == 14 && f->magic == ASCHK_MAGIC)
628 f->checksum = lst.checksum;
[all...]
H A Dpaxlib.h11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
58 #define PAX_SUM (1L<<16) /* inline member checksum */
151 unsigned long (*checksum)(Pax_t*, Paxarchive_t*, Paxfile_t*, void*, size_t, unsigned long); member in struct:Paxformat_s
H A Dpax.h11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
136 #define SUM PAX_SUM /* inline member checksum */
180 #define DELTA_checksum 'c' /* delta member checksum */
186 #define DELTA_LO(c) ((c)&0xffff) /* lo order checksum bits */
187 #define DELTA_HI(c) DELTA_LO(c>>16) /* hi order checksum bits */
266 char* checksum; /* hard link checksum */ member in struct:Link_s
273 unsigned long checksum; /* data checksum */ \
279 unsigned long checksum; /* dat
379 unsigned long checksum; /* expected base checksum */ member in struct:Delta_s
[all...]
/ast/src/cmd/paxlib/arj/
H A Darj.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
43 unsigned long checksum; member in struct:Ar_s
70 uint32_t checksum; local
89 checksum = swapget(3, buf + 4 + n, 4);
90 if (checksum != sum.num)
116 uint32_t checksum; local
128 checksum = swapget(3, buf + n, 4);
129 if (checksum != sum.num)
150 ar->checksum = swapget(3, buf+20, 4);
226 (*pax->errorf)(NiL, pax, 2, "%s: %s: checksum disciplin
[all...]
/ast/src/cmd/paxlib/lha/
H A Dlha.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
40 unsigned short checksum; member in struct:Ar_s
115 return paxcorrupt(pax, ap, NiL, "header checksum error");
131 ar->checksum = swapget(3, hdr+0, 2);
139 ar->checksum = swapget(3, hdr+0, 2);
230 (*pax->errorf)(NiL, pax, 2, "%s: %s: checksum discipline error", ap->name, f->name);
231 else if (!paxchecksum(pax, ap, f, ar->checksum, sum.num & 0xffff))
/ast/src/cmd/paxlib/rar/
H A Drar.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
40 unsigned long checksum; member in struct:Ar_s
94 unsigned short checksum; local
109 checksum = swapget(3, buf+0, 2);
134 if (paxchecksum(pax, ap, NiL, checksum, sum.num & 0xffff))
143 ar->checksum = swapget(3, buf+9, 4);
239 (*pax->errorf)(NiL, pax, 2, "%s: %s: checksum discipline error", ap->name, f->name);
240 else if (!paxchecksum(pax, ap, f, ar->checksum, sum.num))
/ast/src/lib/libpz/
H A Dpzconvert.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
23 * pzip conversion/checksum discipline
36 "[x:checksum?Enables a decompressed data checksum. The checksum is appended"
37 " to the compressed data as a \bpzip\b trailer. This checksum is"
39 " The absence of a checksum trailer is not treated as an error unless"
40 " \b--checksum=warn\b is specified.]:?[warn]"
61 #define CHECKSUM (1<<0) /* checksum enabled */
63 #define CHECKSUM_WARN (1<<2) /* warn if no checksum traile
79 uint32_t checksum; member in struct:__anon363
[all...]
/ast/src/cmd/paxlib/tp/
H A Dtp.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
50 ui1 checksum[2]; member in struct:Dir_s
92 w = ((Dir_t*)buf)->checksum[0] + (((Dir_t*)buf)->checksum[1]<<8);
132 error(2, "%s: %s format directory entry %d checksum error", ap->name, ap->format->name, ar->dp - ar->dir);
/ast/src/cmd/paxlib/zoo/
H A Dzoo.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
44 unsigned long checksum; member in struct:Ar_s
124 ar->checksum = swapget(3, buf+18, 2);
291 (*pax->errorf)(NiL, pax, 2, "%s: %s: checksum discipline error", ap->name, f->name);
292 else if (!paxchecksum(pax, ap, f, ar->checksum, sum.num))
/ast/src/cmd/paxlib/zip/
H A Dzip.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
93 unsigned long checksum; member in struct:Ar_s
104 unsigned long checksum; member in struct:Mem_s
172 mem->checksum = swapget(3, &hdr[ZIP_CEN_CRC], 4);
267 ar->checksum = mem->checksum;
273 ar->checksum = swapget(3, &hdr[ZIP_LOC_CRC], 4);
337 (*pax->errorf)(NiL, pax, 2, "%s: %s: checksum discipline error", ap->name, f->name);
338 else if (!paxchecksum(pax, ap, f, ar->checksum, sum.num))
/ast/lib/package/
H A Dpackage.mk87 checksum = md5 macro
758 $(SUM) -x $(checksum) < $(source) > $(source:D:B:S=.$(checksum))
1047 $(SUM) -x $(checksum) < $(source) > $(source:D:B:S=.$(checksum))
1051 $(SUM) -x $(checksum) < $(old.new.source) > $(old.new.source:D:B:S=.$(checksum))
1081 $(SUM) -x $(checksum) < $(source) > $(source:D:B:S=.$(checksum))
1209 $(SUM) -x $(checksum) <
[all...]
/ast/src/cmd/INIT/
H A Dpackage.mk87 checksum = md5 macro
758 $(SUM) -x $(checksum) < $(source) > $(source:D:B:S=.$(checksum))
1047 $(SUM) -x $(checksum) < $(source) > $(source:D:B:S=.$(checksum))
1051 $(SUM) -x $(checksum) < $(old.new.source) > $(old.new.source:D:B:S=.$(checksum))
1081 $(SUM) -x $(checksum) < $(source) > $(source:D:B:S=.$(checksum))
1209 $(SUM) -x $(checksum) <
[all...]

Completed in 44 milliseconds