Searched defs:pp (Results 1 - 25 of 92) sorted by relevance

1234

/ast/src/cmd/ksh93/bltins/
H A Dcflow.c50 struct checkpt *pp = (struct checkpt*)shp->jmplist; local
65 pp->mode = (**argv=='e'?SH_JMPEXIT:SH_JMPFUN);
72 pp->mode = SH_JMPEXIT;
H A Dcd_pwd.c46 Pathcomp_t *pp = (Pathcomp_t*)np->nvalue.cp; local
48 if(pp && *pp->name!='/')
H A Dwhence.c144 Pathcomp_t *pp=0; local
223 if(path_search(shp,name,&pp,2+(aflag>1)))
242 pp = 0;
273 if (pp)
274 pp = pp->next;
277 pp = 0;
290 } while(pp);
/ast/src/lib/libpz/
H A Dpzsync.c36 Pzpart_t* pp; local
51 pp = pz->part;
56 n = pp->row;
84 if (pp->nmap)
86 pp->mix[0] = buf = pz->wrk;
88 for (j = 1; j < pp->nmap; j++)
91 pp->mix[j] = (pp->lab[j] == pp->lab[j - 1]) ? (pp
[all...]
H A Dpzhead.c39 Pzpart_t* pp; local
111 if (!(pp = vmnewof(pz->vm, 0, Pzpart_t, 1, 0)))
115 pp->name = "";
116 pp->row = n;
117 return pzpartinit(pz, pp, NiL);
232 register Pzpart_t* pp; local
268 pp = pz->partdict ? (Pzpart_t*)dtfirst(pz->partdict) : pz->part;
269 while (pp)
271 if (pzpartprint(pz, pp, op))
275 pp
[all...]
H A Dpzread.c32 register Pzpart_t* pp; local
45 pp = pz->part;
46 if (z >= pp->row)
47 n = (z / pp->row) * pp->row;
161 if (pp->nmap)
163 if (m > pz->win || (m % pp->nmap) || sfread(pz->io, pz->buf, m) != m)
169 n = m / pp->nmap;
173 for (i = 0; i < pp->nmap; i++)
175 if (i > 0 && pp
[all...]
H A Dpzwrite.c37 register Pzpart_t* pp; local
67 pp = pz->part;
73 k = sizeof(Dtlink_t) + roundof(pp->row, sizeof(Dtlink_t));
77 pz->sort.orderdisc.size = pp->row;
78 if (!(elt = (Pzelt_t*)vmnewof(pz->vm, 0, char, pp->col * k, 0)) || !(pz->sort.order = dtnew(pz->vm, &pz->sort.orderdisc, Dtobag)) || !(pz->sort.free = dtnew(pz->vm, &pz->sort.freedisc, Dtlist)))
80 for (i = 0; i < pp->col; i++)
101 x = pp->row;
123 if (pz->ws.pc || n < pp->row)
125 if (!pz->ws.pb && !(pz->ws.pb = vmnewof(pz->vm, 0, unsigned char, pp->row, 0)))
127 x = pp
[all...]
H A Dpzdeflate.c31 register Pzpart_t* pp; local
111 pp = pz->part;
116 low = pp->low;
123 m = sizeof(Dtlink_t) + roundof(pp->row, sizeof(Dtlink_t));
127 pz->sort.orderdisc.size = pp->row;
128 if (!(elt = (Pzelt_t*)vmnewof(pz->vm, 0, char, pp->col * m, 0)) || !(pz->sort.order = dtnew(pz->vm, &pz->sort.orderdisc, Dtobag)) || !(pz->sort.free = dtnew(pz->vm, &pz->sort.freedisc, Dtlist)))
130 for (i = 0; i < pp->col; i++)
144 else if ((r = readf ? (*readf)(pz, pz->io, pat, pz->disc) : sfread(pz->io, pat, pp->row)) != pp->row)
162 memcpy(elt->buf, pat, pp
[all...]
H A Dpzinflate.c29 restore(register Pz_t* pz, Pzpart_t* pp, register Sfio_t* ip, Sfio_t* op, register unsigned char* pat, register unsigned char* buf, size_t row, size_t m, register size_t* map, register unsigned char** mix, register size_t* inc) argument
76 register Pzpart_t* pp; local
158 pp = pz->part;
166 if (pp->nmap)
168 if (m > pz->win || (m % pp->nmap) || sfread(pz->io, pz->buf, m) != m)
174 n = m / pp->nmap;
178 for (i = 0; i < pp->nmap; i++)
180 if (i > 0 && pp->lab[i] == pp->lab[i - 1])
184 if (!pp
[all...]
/ast/src/cmd/dsslib/ip_t/
H A Dtestptv.c58 Ptvprefix_t* pp; local
118 else if (pp = ptvmatch(ptv, addr))
119 sfprintf(sfstdout, "%-38s %-38s %-38s\n", fmtip6(addr, -1), fmtip6(pp->min, -1), fmtip6(pp->max, -1));
H A Dptopen.c119 register Ptprefix_t* pp; local
128 pp = 0;
140 pp = xp;
142 dtdelete(tab->dict, pp);
H A Dptvopen.c138 register Ptvprefix_t* pp; local
154 pp = 0;
170 pp = xp;
172 dtdelete(tab->dict, pp);
H A Dtestiv.c83 Ivseg_t* pp; local
168 else if (pp = ivseg(iv, addr))
170 hop = (Hop_t*)pp->data;
/ast/src/cmd/mam/
H A Dmamtst.c42 dumpproc(register struct proc* pp) argument
47 if (pp->parent) sfputc(sfstdout, '\n');
48 sfprintf(sfstdout, "process %s pid %d ppid %d start %lu finish %lu status %d\n", pp->pwd, pp->pid, pp->parent ? pp->parent->pid : 0, pp->start, pp->finish, pp->status);
49 for (p = pp
[all...]
/ast/src/lib/libcmd/
H A Dcmd.h76 register char* pp; local
82 if (pp = strrchr(cp, '_'))
83 cp = pp + 1;
/ast/src/lib/libpp/
H A Dppdata.c56 #define IDNAME "pp"
62 static char hidebuf[MAXTOKEN+1]; /* pp:hide buffer */
88 struct ppglobals pp = variable in typeref:struct:ppglobals
/ast/src/cmd/pax/
H A Dnocomment.c134 Sfio_t* pp = 0; local
282 if (!pp && line <= 24 && streq(s, "pragma"))
295 if (pp = sfpopen(NiL, "proto -fns", "r"))
296 ip = pp;
427 if (pp) sfclose(pp);
/ast/src/lib/libcs/
H A Dcspoll.c46 register Cspoll_t* pp; local
74 for (mp = (pp = fds) + num; pp < mp; pp++)
75 if (pp->fd >= 0)
77 if (pp->fd > width)
78 width = pp->fd;
79 if (pp->events & CS_POLL_READ)
82 FD_SET(pp->fd, rp);
84 if (pp
[all...]
/ast/src/cmd/dsslib/netflow/
H A Dflow-dumpv9.c56 Netflow_file_t* pp; local
58 if (!(pp = vmnewof(file->vm, 0, Netflow_file_t, 1, (file->flags & DSS_FILE_WRITE) ? NETFLOW_PACKET : 0)))
64 file->data = pp;
65 pp->data = pp->last = 0;
66 pp->data++;
77 register Netflow_file_t* pp = (Netflow_file_t*)file->data; local
79 register Netflow_t* rp = &pp->record;
89 if ((pp->data += pp
[all...]
/ast/src/cmd/mailx/
H A Dedit.c159 struct parse pp; local
200 if (editheaders && headset(&pp, NiL, ep, hp, NiL, editheaders|GTO|GMETOO)) {
201 while (headget(&pp));
205 filecopy(NiL, pp.fp, state.tmp.edit, ep, NiL, (off_t)0, NiL, NiL, 0);
206 fileclose(pp.fp);
/ast/src/cmd/codex/
H A Dcodex.c205 Sfio_t* pp; local
230 if (!(pp = sfopen(NiL, opt_info.arg, "r")))
232 else if (!(s = sfgetr(pp, '\n', 1)))
234 sfclose(pp);
237 codexdisc.passphrase = strcpy(fmtbuf(sfvalue(pp)), s);
238 sfclose(pp);
/ast/src/lib/libtksh/tcl/
H A DtclLink.c241 char *value, **pp;
356 pp = (char **)(linkPtr->addr);
357 if (*pp != NULL) {
358 ckfree(*pp);
360 *pp = (char *) ckalloc((unsigned) (strlen(value) + 1));
361 strcpy(*pp, value);
237 char *value, **pp; local
/ast/src/lib/libbz/
H A Dhuffman.c202 Int32 pp, i, j, vec; local
204 pp = 0;
207 if (length[j] == i) { perm[pp] = j; pp++; };
/ast/src/lib/libcodex/
H A Dcode-qp.c42 unsigned char* pp; member in struct:State_s
178 if (state->pp)
181 e = state->pp;
194 if (state->pp)
196 state->pp = 0;
211 state->pp = state->prv;
213 *state->pp++ = s[c];
225 state->pp = state->prv;
226 *state->pp++ = c;
251 state->pp
[all...]
/ast/src/lib/libmam/
H A Dmam.c64 register struct proc* pp; local
66 for (pp = mp->procs; pp; pp = pp->next)
67 if (pp->pid == pid) return(pp);
68 if (!(pp = newof(0, struct proc, 1, 0)) ||
69 !(pp->bp = pp
111 register struct proc* pp; local
133 alias(struct proc* pp, const char* name) argument
151 attributes(struct proc* pp, struct rule* r, char* s) argument
179 register struct proc* pp; local
372 mamrule(register struct proc* pp, const char* name) argument
388 mamvar(register struct proc* pp, const char* name, const char* value) argument
406 mamprereq(struct proc* pp, struct rule* r, struct rule* x, struct list** p) argument
[all...]

Completed in 135 milliseconds

1234