Searched defs:rep (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libast/misc/
H A Doptjoin.c54 register Optpass_f rep; local
66 err = rep = 0;
112 if (!rep || opt_info.index != last_index || opt_info.offset != last_offset)
113 rep = fun;
114 else if (fun == rep)
H A Drecfmt.c38 unsigned int rep[4 * 1024]; member in struct:__anon292
105 if (m < elementsof(q->rep))
109 q->rep[m]++;
117 if ((total <= 0 || !(total % i)) && q->rep[i] > q->rep[n])
125 g = (((g * 100) / i) * 100) / q->rep[i];
/ast/src/lib/libpz/
H A Dpzfixed.c30 unsigned int rep[4 * 1024]; member in struct:__anon365
66 else if (!(s = sfreserve(io, 8 * elementsof(xp->rep), 1)) && !(s = sfreserve(io, SF_UNBOUND, 1)))
103 if (m < elementsof(xp->rep))
107 xp->rep[m]++;
115 if ((siz <= 0 || !(siz % i)) && xp->rep[i] > xp->rep[n])
123 g = (((g * 100) / i) * 100) / xp->rep[i];
125 (*trace)(pz, pz->disc, -2, "pzfixed: %5d %8d %8ld %8ld%s", i, xp->rep[i], f, g, (g <= f) ? " *" : "");
H A Dpzlib.h69 size_t rep; /* lo freq repeat count */ member in struct:Pzws_s
/ast/src/cmd/coshell/
H A Dmisc.c183 * if set!=0 && rep!=0 then replace value in sp with s up to rep
187 miscget(Coshell_t* sp, const char* as, int set, char** e, char* rep) argument
405 if (set && rep)
412 if (!no && np < rep)
418 if (np >= rep)
435 if (rep)
470 if (set && rep)
/ast/src/lib/libast/regex/
H A Dregcomp.c1791 rep(Cenv_t* env, Rex_t* e, int number, int last) function
2446 return rep(env, e, parno, parno);
2513 return rep(env, node(env, REX_BACK, c, 0, 0), 0, 0);
2569 f = rep(env, f, parno, env->parno);
2672 if (!(f = rep(env, f, 0, 0)) || !(f = cat(env, f, seq(env))))
2698 e = rep(env, node(env, REX_BACK, c, 0, 0), 0, 0);
2710 e = rep(env, node(env, REX_END, 0, 0, 0), 0, 0);
2715 e = rep(env, e, 0, 0);
2759 if (!(e = rep(env, f, parno, env->parno)))
2797 e = rep(en
[all...]
/ast/src/cmd/nmake/
H A Dscan.c1255 Scanstate_t* rep; local
1319 rep = per = 0;
1409 if (!h && !rep && (*s == ANY || *s == ARG || *s == 0))
1442 if (rep)
1468 rep = s += *(s + 1) + 1;
1489 if (per || rep && *rep != ARG && (*rep != SPC || *(rep + *(rep
[all...]
/ast/src/cmd/ksh93/sh/
H A Dmacro.c2786 register char *cp=pattern, *rep=0, *dp; local
2790 if(c==ESCAPE && (!rep || (*cp && strchr("&|()[]*?",*cp))))
2794 else if(!rep && c=='/')
2797 rep = dp = cp;
2800 if(rep)
2803 if(rep)
2805 return(rep);

Completed in 38 milliseconds