Searched refs:checksum (Results 1 - 24 of 24) sorted by relevance

/ast/src/cmd/pax/
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 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...]
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 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 Dpax.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
648 state.checksum.name = strdup(e);
649 if (!(state.checksum.sum = sumopen(v)))
650 error(3, "%s: %s: unknown checksum algorithm", e, v);
653 state.checksum.name = 0;
702 ap->delta->checksum = n;
710 ap->file.delta.checksum = n;
1824 if (state.checksum.name)
1826 if (!(state.checksum.path = pathtemp(NiL, 0, NiL, error_info.id, NiL)))
1828 if (!(state.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 Dfile.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
79 if (ap->format->checksum)
80 f->checksum = 0;
129 if (ap->format->checksum)
130 f->checksum = (*ap->format->checksum)(&state, ap, f, state.tmp.buffer, n, f->checksum);
161 else if (ap->format->checksum)
163 f->checksum = 0;
165 error(ERROR_SYSTEM|1, "%s: %s checksum see
[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 Dbio.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
824 if (state.checksum.sum && SECTION(ap) == SECTION_DATA)
825 sumblock(state.checksum.sum, b, n);
925 if (state.checksum.sum && SECTION(ap) == SECTION_DATA)
926 sumblock(state.checksum.sum, ap->io->next, n);
H A Dpax-slt.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
648 sfsprintf(slt->buf, sizeof(slt->buf), "UVL1 %-6.6s%c%-6.6s%010ld%010ld ", ID, ap->delta->compress ? TYPE_COMPRESS : TYPE_DELTA, ((Compress_format_t*)ap->delta->format)->variant, state.operation == OUT ? (long)ap->size : (long)0, state.operation == OUT ? ap->checksum : 0L);
H A Dpax-tar.c11 * (with md5 checksum b35adb5213ca9657e911e9befb180842) *
90 * compute tar->header checksum
167 error(state.keepgoing ? 1 : 3, "%s: %s format checksum error (%ld != %ld or %ld)", ap->name, ap->format->name, sum, u, s);
169 error(state.keepgoing ? 1 : 3, "%s: %s format checksum error (%ld != %ld)", ap->name, ap->format->name, sum, u);
987 putkey(ap, ap->tmp.global, &options[OPT_delta_base_checksum], NiL, ap->delta->base->checksum & 0xffffffff);
/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/INIT/
H A Dditto.sh11 # (with md5 checksum b35adb5213ca9657e911e9befb180842) #
52 [c:checksum?Copy if the \btw\b(1) 32x4 checksum mismatches.]
131 typeset checksum='"-"' pax="pax"
145 c) checksum=checksum ;;
163 tw[ntw++]=--expr=\''action:printf("%d\t%d\t%s\t%s\t%s\t%-.1s\t%o\t%s\t%s\n", size, mtime, '$checksum', uid, gid, mode, perm, path, symlink);'\'
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...]
H A Dpackage.sh11 # (with md5 checksum b35adb5213ca9657e911e9befb180842) #
68 checksum=md5sum
69 checksum_commands="$checksum md5"
80 admin_ditto="ditto --checksum --delete --verbose"
358 against the checksum files in
359 \b$INSTALLROOT/lib/\b\apackage\a\b/gen/*.sum\b. The checksum
360 files contain mode, user and group information. If the checksum
362 changed as necessary to match the checksum entry. A warning is
740 ${bB}package force ...${eB} is specified. Package content is verified using ${bB}${checksum}${eB}.
899 ${bB}package force ...${eB} is specified. Package content is verified using ${bB}${checksum}
[all...]
/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/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/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/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/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/sort/
H A Dtestsort.sh11 # (with md5 checksum b35adb5213ca9657e911e9befb180842) #
190 echo \$TEST\$X checksum FAILED
355 TEST=01; echo $TEST "-c status, checksum"

Completed in 78 milliseconds