Searched defs:add (Results 1 - 17 of 17) sorted by relevance

/ast/src/lib/libsum/
H A Dsum-prng.c32 [+add?The 32 bit PRNG addend.]:[number:=0]\
50 Prngnum_t add; member in struct:Prng_s
76 else if (strneq(t, "add", i))
77 sum->add = v ? strtoul(v + 1, NiL, 0) : ~sum->add;
110 c = c * sum->mpy + sum->add + *b++;
/ast/src/lib/libodelta/
H A Ddelta.c38 #define A_MAX 5 /* max size of the header of an add instruction */
158 /* make a new add command */
213 /* it's good but it may be better to merge it to an add */
233 register long add, m_cost, a_cost; local
236 add = (s->last && s->last->type == DELTA_ADD) ? s->last->size : 0;
253 if(add > 0)
255 cost_m += 1 + add + NBYTE(add);
256 cost_a += add;
269 /* convert the entire sequence to an add */
[all...]
/ast/src/lib/libvcodex/Vcdelta/
H A Dvcdhdr.h29 implementation only allows add+copy and copy+add instructions.
46 { ssize_t add; /* max single ADD size */ member in struct:_vcdsize_s
54 { Vcchar_t add[VCD_ADDMAX]; member in struct:_vcdindex_s
/ast/src/lib/libvcodex/Vchuff/
H A Dvchuffpart.c63 static double eupdate(double e, ssize_t* freq, ssize_t* fr, int add) argument
65 static double eupdate(e, freq, fr, add)
69 int add; /* 1/0 for adding/subtracting */
78 if(add)
/ast/src/lib/libvdelta/vd01/
H A Dvddelta01.c70 n_add = begs ? here-begs : 0; /* add size */
168 reg uchar *add, *endfold; local
187 add = NIL(uchar*);
257 { if(output && vdputinst(tab,add,s,bestm,len) < 0)
260 /* add a sufficient number of suffices */
268 add = NIL(uchar*);
272 { if(!add)
273 add = s;
275 ends = (s += 1); /* add one prefix */
281 if(ss < ends) for(;;) /* add prefice
[all...]
/ast/src/lib/libvdelta/
H A Dvddelta.c66 n_add = begs ? here-begs : 0; /* add size */
162 reg uchar *add; local
168 { add = fold;
177 add = NIL(uchar*);
242 { if(target && vdputinst(tab,add,fold,bestm,len) < 0)
245 /* add a sufficient number of suffices */
253 add = NIL(uchar*);
257 { if(!add)
258 add = fold;
260 ends = (fold += 1); /* add on
[all...]
H A Dvdsqueeze.c65 n_add = begs ? here-begs : 0; /* add size */
149 reg uchar *add, *endfold; local
160 add = NIL(uchar*);
218 { if(vdputinst(tab,add,s,bestm,len) < 0)
221 /* add a sufficient number of suffices */
227 add = NIL(uchar*);
231 { if(!add)
232 add = s;
234 ends = (s += 1); /* add one prefix */
240 if(ss < ends) for(;;) /* add prefice
[all...]
/ast/src/lib/libast/misc/
H A Dstk.c423 * if extra is non-zero, first add a extra bytes and zero the first
492 * add a new stack frame of size >= <n> to the current stack.
507 int nn=0,add=1; local
532 add = 0;
550 if(add)
/ast/src/cmd/html/
H A Dhtmlrefs.c270 * add reference path s
274 add(register State_t* state, register char* s, unsigned int flags, const char* path, int prefix, File_t* ref) function
585 f = add(state, s, flags, path, prefix, ref);
613 add(state, ent->fts_path + prefix, flags|secure, f->name, prefix, f);
737 add(state, s, flags, path, prefix, ref);
1035 add(state, s, EXTERNAL|VERBOSE, NiL, 0, NiL);
1039 add(state, state->buf, EXTERNAL|VERBOSE, NiL, 0, NiL);
1074 add(state, p, COPIED, NiL, 0, NiL);
1225 add(state, ent->fts_path, COPIED, NiL, 0, NiL);
H A Dtroff2html.c1260 * add trap s to xp
3394 hot(register char* s, int add) argument
3402 if (!add)
3412 if (add)
/ast/src/cmd/ksh93/sh/
H A Dsubshell.c241 Namval_t *sh_assignok(register Namval_t *np,int add) argument
260 sh_assignok(mp,add);
261 if(!add || array_assoc(ap))
273 if(!add && nv_isvtree(np))
303 nv_clone(np,mp,(add?(nv_isnull(np)?0:NV_NOFREE)|NV_ARRAY:NV_MOVE));
H A Dnvdisc.c1175 * add or replace built-in version of command corresponding to <path>
1489 Namval_t *sh_fsearch(Shell_t *shp, const char *fname, int add) argument
1496 return(nv_search(fname,sh_subfuntree(add&NV_ADD),add));
H A Dname.c760 long mode, add=0; local
813 mode = (c=='.' || (flags&NV_NOADD))?add:NV_ADD;
906 else if(add && nv_isnull(np) && c=='.' && cp[1]!='.')
1224 add = NV_ADD;
3039 if(ap) /* add element to prevent array deletion */
3409 /* bind to earlier scope, or add to global scope */
/ast/src/lib/libvcodex/
H A Dvclzparse.c205 Obj_t *m, *p, *obj, *add, *endo, **ht; local
224 if(vcpa->nsrc >= hs->poly) /* add source data into hash table */
239 for(add = obj = hs->tar, endo = obj + vcpa->ntar - (mmin-1); ; )
305 if(add < obj)
306 { fpair.mtch[n].tpos = add - hs->src;
308 fpair.mtch[n].size = obj - add;
378 if(add < obj)
379 { rpair.mtch[n].tpos = add - hs->src;
381 rpair.mtch[n].size = obj - add;
400 else if((add
[all...]
/ast/src/cmd/re/
H A Ded.c1027 add(int i) function
1551 add(0);
1613 add(-1);
/ast/src/cmd/INIT/
H A Dmamake.c116 #define add(b,c) (((b)->nxt >= (b)->end) ? append(b, "") : NiL, *(b)->nxt++ = (c)) macro
159 char* nxt; /* next char to add */
899 add(buf, c);
1154 add(buf, c);
1157 add(buf, '\\');
1158 add(buf, c);
1161 add(buf, c);
1163 add(buf, '\'');
1206 add(buf, *s);
1238 add(bu
[all...]
/ast/src/cmd/dsslib/flat/
H A Dflat.c208 unsigned char add; /* add size to computed size */ member in struct:Size_s
788 if (!(b = (char*)sfreserve(file->io, z->reserve, z->add != 0)))
817 if (z->add)

Completed in 56 milliseconds