/ast/src/lib/libpz/ |
H A D | sfdczip.c | 3 * This software is part of the ast package * 54 const char* part; local 64 if (part = (const char*)strchr(meth, ' ')) 65 len = part - meth; 102 part = 0; 113 if (part) 116 while (part[0] == ' ') 117 part++; 118 if (part[0] != '-' || part[ [all...] |
H A D | pzinit.c | 3 * This software is part of the ast package * 59 if (pz->options && pzoptions(pz, pz->part, pz->options, 0) < 0)
|
H A D | pzsplit.c | 3 * This software is part of the ast package * 40 Pzpart_t* part; member in struct:Id_s 167 if (!ip->used++ && !ip->part && !streq(ip->name, "0") && dp->pz->disc->errorf && (dp->pz->flags & (PZ_SUMMARY|PZ_VERBOSE|PZ_DUMP))) 169 if (ip->use = !(dp->pz->flags & PZ_NOPZIP) && ip->part) 170 ip->part->flags |= PZ_UPDATE; 175 else if (ip->part) 176 ip->part->flags &= ~PZ_UPDATE; 199 (*dp->pz->disc->errorf)(dp->pz, dp->pz->disc, 0, "%8d %12s %2d %4d %4I*u %12I*u%s", ip->seq, ip->name, !!ip->part, ip->use, sizeof(ip->row), ip->row, sizeof(n), n, ip->windows == 1 ? " NEW" : ""); 221 if (!pzpartset(dp->pz, ip->part)) 401 if ((ip->part [all...] |
H A D | pzinflate.c | 3 * This software is part of the ast package * 98 n = pz->part->row; 158 pp = pz->part;
|
H A D | pzread.c | 3 * This software is part of the ast package * 45 pp = pz->part; 74 m = pz->part->row;
|
/ast/src/lib/libast/string/ |
H A D | strtoip4.c | 3 * This software is part of the ast package * 51 register int part; local 64 part = 0; 70 if ((c == 'x' || c == 'X') && !part) 85 part = 4; 91 part++; 93 if ((s - b) == 1 && c != '/' || part > 4) 95 if (old = part < 4) 96 while (part++ < 4) 102 part [all...] |
/ast/src/lib/libdss/ |
H A D | cxmap.c | 3 * This software is part of the ast package * 53 register Cxpart_t* part; local 75 if (!map->part) 107 for (part = map->part; part; part = part->next) 109 if (part->mask) 112 part 169 register Cxpart_t* part; local 273 register Cxpart_t* part; local 362 cxsuball(Cx_t* cx, Cxpart_t* part, Cxoperand_t* r) argument [all...] |
H A D | dssopt.c | 3 * This software is part of the ast package * 163 Cxpart_t* part; local 183 for (part = map->part; part; part = part->next) 185 if (part->shift) 186 sfprintf(sp, "[+SHIFT=%u]", part->shift); 187 if (~part [all...] |
H A D | dsstags.c | 3 * This software is part of the ast package * 363 Cxpart_t* part = fp->prev->data; local 370 edit->next = part->num2str; 371 part->num2str = edit; 375 edit->next = part->str2num; 376 part->str2num = edit; 380 edit->next = part->edit; 381 part->edit = edit; 388 "TYPE", "Value type for this part. The base type must be" 391 "SHIFT", "Value right shift for this part [all...] |
H A D | dssprintf.c | 3 * This software is part of the ast package * 577 if (ap->variable && !ap->edit && cxisstring(ap->variable->type) && ap->variable->format.map && ap->variable->format.map->part && ap->variable->format.map->part->edit) 578 ap->edit = ap->variable->format.map->part->edit; 642 if (cxisstring(vp->type) && vp->format.map && vp->format.map->part && vp->format.map->part->edit) 643 ap->edit = vp->format.map->part->edit;
|
/ast/src/cmd/pax/ |
H A D | paxlib.c | 3 * This software is part of the ast package * 146 * archive part sfio discipline 152 register Part_t* part = (Part_t*)disc; local 155 if (part->n <= 0) 156 return part->n; 157 if (n > part->n) 158 n = part->n; 159 if ((r = paxread(part->pax, part->ap, buf, n, 0, 0)) > 0) 160 part 167 register Part_t* part = (Part_t*)disc; local 178 register Part_t* part; local [all...] |
H A D | pax-tnef.c | 3 * This software is part of the ast package * 71 size_t part; local 92 part = ap->io->buffersize; 93 if (size > part) 106 while (size > part) 108 size -= part; 109 if (!(s = paxget(pax, ap, part, NiL))) 110 error(3, "%s: %s format 0x%04x attribute data truncated -- %d expected", ap->name, ap->format->name, name, part); 112 e = s + part;
|
H A D | bio.c | 3 * This software is part of the ast package * 1025 if (!ap->part) 1026 ap->part++; 1086 error(1, "%s: no %s on part %d", ap->name, io, ap->part--); 1099 if (file && ap->name != definput && ap->name != defoutput && strmatch(ap->name, "*.+([0-9])") && (s = strrchr(ap->name, '.')) && (int)strtol(++s, NiL, 10) == ap->part) 1103 * the first part realloc the name with 1107 if (ap->part == 1) 1115 sfsprintf(s, 16, "%d", ap->part + 1); 1128 sfprintf(state.wtty, "Enter part [all...] |
/ast/src/lib/libcmd/ |
H A D | mkdir.c | 3 * This software is part of the ast package * 75 char* part; local 86 mode = strperm(opt_info.arg, &part, mode); 87 if (*part) 148 for (part = path, n = *part; n;) 151 while (*part == '/') 152 part++; 154 while ((n = *part) && n != '/') 155 part [all...] |
/ast/src/cmd/mailx/ |
H A D | head.c | 3 * This software is part of the BSD package * 134 register struct part* ap; 139 note(DEBUG, "content multi=%d %s `%-.*s'", state.part.in.multi, cp->name, size, data); 141 ap = &state.part.global; 144 if (state.part.in.multi) { 151 bp->next = state.part.in.boundary; 152 state.part.in.boundary = bp; 163 state.part.in.multi = 1; 216 if (state.part.init < 0) 218 if (!state.part [all...] |
H A D | collect.c | 3 * This software is part of the BSD package * 304 if (!state.part.out.multi) { 305 state.part.out.multi = 1; 306 state.part.out.boundlen = sfsprintf(state.part.out.boundary, sizeof(state.part.out.boundary), "=_=_=_=_=%s==%04X==%08X==", state.var.user, getpid(), time(NiL)); 314 part(FILE* fp, char* name, char* type, int code) function 321 fprintf(fp, "\n--%s\n", state.part.out.boundary); 362 state.part.out.multi = 0; 539 t = mimetype(state.part [all...] |
H A D | send.c | 3 * This software is part of the BSD package * 85 * Ouput message part to op. 88 part(register struct parse* pp, FILE* op, struct part* ap, off_t size, char* prefix, int prefixlen, int emptylen, unsigned long flags) function 109 (s = mimeview(state.part.mime, NiL, "", ap->type, NiL))) 117 (s = mimeview(state.part.mime, NiL, state.tmp.more, ap->type, NiL))) { 195 struct part* ap; 263 if (ap = state.part.in.head) { 268 note(DEBUG, "interpolate boundary=%s offset=%ld size=%ld", state.part.out.boundary, (long)ap->raw.offset, (long)ap->raw.size); 269 fprintf(op, "\n--%s\n", state.part [all...] |
H A D | cmd2.c | 3 * This software is part of the BSD package * 600 getatt(register struct part* ap, register char* name, unsigned long flags, off_t* lines, off_t* chars) 633 if (!ap->code[0] && mimeview(state.part.mime, "encoding", name, ap->type, ap->opts)) 642 if ((flags & GMIME) && mime(1) && (s = mimeview(state.part.mime, NiL, NiL, ap->type, ap->opts))) 659 if ((flags & GMIME) && mime(1) && (s = mimeview(state.part.mime, NiL, NiL, ap->type, ap->opts))) { 694 register struct part* ap; 709 if (!(ap = state.part.in.head) || !state.part.in.count) { 720 if (!(a = newof(0, char, state.part.in.count, 1))) 736 for (i = r; i <= state.part [all...] |
/ast/src/lib/libast/sfio/ |
H A D | sfstrtof.h | 3 * This software is part of the ast package * 213 int part = 0; local 261 if ((part = cv[c]) < 16) 265 v += part; 400 if (n >= ((~((S2F_batch)0)) / 10) && part < elementsof(parts)) 402 parts[part].batch = n; 404 parts[part].digits = digits; 405 part++; 428 back_part = part; 436 part [all...] |
/ast/src/lib/librecsort/ |
H A D | rs-radix.c | 3 * This software is part of the ast package * 66 Rsobj_t *part[UCHAR_MAX+1]; local 71 for(lo = part, maxpart = part + UCHAR_MAX+1; lo < maxpart; ++lo) 86 { bin = part + work->key[ph]; 110 { bin = part + work->key[ph]; 162 { bin = part + work->key[ph];
|
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchuffgroup.c | 3 * This software is part of the ast package * 44 Vcchar_t size; /* Huffman code size in part */ 52 ssize_t ptsz; /* actual part size */ 54 Vcchar_t* part; /* table index for each part */ member in struct:_group_s 56 ssize_t* ppos; /* position of part[] in objs[] */ 57 ssize_t* sort; /* for sorting part positions */ 152 if(grp->part) 153 free(grp->part); 154 if(!(grp->part 240 Vcchar_t *part = grp->part, *work = grp->work; local 443 Vcchar_t *part; local 560 Vcchar_t *part, *dt, *output, *o, *endo, *data; local [all...] |
H A D | vchuffpart.c | 3 * This software is part of the ast package * 29 #define PT_MIN (512) /* minimum part size for part() */ 30 #define PT_DIV (3) /* factor for subdividing a part */ 110 static int part(Part_t* pt, Vcchar_t* data, size_t size, ssize_t* rfreq, double re) function 112 static int part(pt, data, size, pos, rfreq, re) 136 /* loop adding 1 to left part and subtracting 1 from right part */ 151 if(part(pt, data, p, lfreq, le) < 0 ) 153 if(part(p [all...] |
/ast/src/cmd/sort/ |
H A D | gen.c | 3 * This software is part of the ast package * 56 int part; member in struct:__anon218 66 if (state.part >= state.range['d'].min) 68 state.part = 0; 71 c = data[(state.seed >> state.part) % m]; 72 state.part += CHAR_BIT;
|
/ast/src/cmd/dsslib/xml/ |
H A D | xml.c | 3 * This software is part of the ast package * 80 int level; /* part[] index */ 81 int maxlevel; /* max part[] index */ 89 char* part[1]; /* .'d part stack */ member in struct:File_s 289 np = f->level >= f->maxlevel ? ne : f->level ? f->part[f->level] : f->name; 312 np = f->part[f->level]; 335 if (v = dtmatch(file->dss->cx->variables, f->part[f->prefix] + 1)) 351 f->part[f->level] = np; 384 np = f->part[ [all...] |
/ast/src/lib/libcodex/ |
H A D | codex.c | 3 * This software is part of the ast package * 772 Part_t part[256]; local 797 * and verify that each part is a known method 814 b = &part[elementsof(part)-1]; 815 e = &part[0]; 822 b = &part[0]; 823 e = &part[elementsof(part)-1]; 879 (*disc->errorf)(NiL, disc, 2, "%s: too many method components -- %d max", name, elementsof(part)); [all...] |