/ast/src/lib/libast/uwin/ |
H A D | exp__E.c | 118 double z,p,q,xp,xh,w; local 127 xp= x*p ; 129 w = xh-(q-xp) ; 131 c += x*((xh*w-(q-(p+xp)))/(one-w)+c);
|
/ast/src/lib/libcmd/ |
H A D | rev.c | 64 register wchar_t *wp, *xp; local 83 xp = wp; 85 *xp++ = mbchar(cp); 87 while (xp > wp) 88 cp += mbconv(cp, *--xp);
|
/ast/src/cmd/dsslib/ip_t/ |
H A D | ptopen.c | 118 register Ptprefix_t* xp; local 124 if (!(xp = (Ptprefix_t*)dtsearch(tab->dict, &key))) 125 xp = (Ptprefix_t*)dtnext(tab->dict, &key); 129 if (xp) 131 if (key.min >= xp->min && key.max <= xp->max) 132 return xp; 133 if (key.max >= (xp->min ? (xp->min - 1) : 0)) 135 if (key.min > xp 159 register Ptprefix_t* xp; local [all...] |
H A D | ptvopen.c | 137 register Ptvprefix_t* xp; local 150 if (!(xp = (Ptvprefix_t*)dtsearch(tab->dict, &key))) 151 xp = (Ptvprefix_t*)dtnext(tab->dict, &key); 155 if (xp) 157 if (fvcmp(tab->size, key.min, xp->min) >= 0 && fvcmp(tab->size, key.max, xp->max) <= 0) 158 return xp; 159 if (fvcmp(tab->size, xp->min, tab->r[2]) >= 0) 160 fvsub(tab->size, tab->r[3], xp->min, tab->r[2]); 165 if (fvcmp(tab->size, key.min, xp 192 register Ptvprefix_t* xp; local [all...] |
/ast/src/lib/libpz/ |
H A D | pzfixed.c | 48 register Fixed_t* xp; local 66 else if (!(s = sfreserve(io, 8 * elementsof(xp->rep), 1)) && !(s = sfreserve(io, SF_UNBOUND, 1))) 93 if (!n && (xp = newof(0, Fixed_t, 1, 0))) 100 cp = xp->hit + s[i]; 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 [all...] |
H A D | pzconvert.c | 220 Chain_t* xp; local 246 xp = vmnewof(pz->vm, 0, Chain_t, 1, 0); 247 xp->next = cp; 248 xp->convert = stk[m]; 249 return xp; 350 register Pzconvert_t* xp; local 375 for (xp = state->conversions; ; xp++) 376 if (!xp->from) 382 else if (streq(opt_info.arg, xp [all...] |
H A D | pzsplit.c | 56 Sfio_t* xp; member in struct:Deflate_s 256 sfputu(dp->xp, 0); 257 n = sfstrtell(dp->xp); 258 sfstrseek(dp->xp, 0, SEEK_SET); 259 if (sfwrite(op, sfstrbase(dp->xp), n) != n) 329 if (!(state.buf = sfstropen()) || !(def.xp = sfstropen())) 414 sfputu(def.xp, ip->seq); 466 if (def.xp) 467 sfclose(def.xp);
|
/ast/src/cmd/msgcc/ |
H A D | msggen.c | 133 translation(Xl_t* xp, register char* s) argument 155 for (px = xp; px; px = px->next) 171 px->next = xp; 172 xp = px; 176 return xp; 227 Xl_t* xp = 0; local 366 xp = translation(xp, mc->translation); 409 xp = translation(xp, [all...] |
/ast/src/cmd/codexlib/zip/ |
H A D | huff.c | 77 ulg *xp; /* pointer into x */ local 122 p = c + 1; xp = x + 2; 124 *xp++ = (j += *p++); 163 xp = c + k; 166 if((f <<= 1) <= *++xp) 168 f -= *xp; /* else deduct codes from patterns */
|
/ast/src/cmd/coshell/ |
H A D | shell.c | 58 Sfio_t* xp; local 78 if (!(xp = sfstropen()) || !(vp = sfstropen())) 80 if (xp) 84 sfprintf(xp, sp->shell[0] ? sp->shell : state.sh, sp->type); 85 if (!(sh = sfstruse(xp))) 107 sfstrclose(xp); 126 sfstrclose(xp); 134 if (xp) 135 sfstrclose(xp);
|
H A D | schedule.c | 85 Coshell_t* xp; local 199 cp = mp = sp = xp = 0; 220 * xp worst open 240 if (!ap->home && (!xp || ap->temp < PCT(xp->temp, H_TEMP) || (ap->mode & SHELL_DENIED) || matched && xm && PCT(ap->temp, H_TEMP) < xp->temp && ap->rank > xp->rank)) 242 xp = ap; 292 message((-4, "open=%d override=%d sp=%s mp=%s xp=%s dp=%s dt=%s", nopen, noverride, sp ? sp->name : "*", mp ? mp->name : "*", xp [all...] |
/ast/src/lib/libast/astsa/ |
H A D | optlib.h | 77 Sfio_t* xp; /* translation string stream */ member in struct:Optstate_s
|
/ast/src/lib/libast/misc/ |
H A D | optlib.h | 83 Sfio_t* xp; /* translation string stream */ member in struct:Optstate_s
|
/ast/src/lib/libast/regex/ |
H A D | regclass.c | 192 Ctype_t* xp; local 203 xp = zp = 0; 212 else if (!xp && cp->next && cp->next != lc) 213 xp = cp; 222 if (!(cp = xp))
|
/ast/src/lib/libcs/ |
H A D | msguser.c | 36 * if xp!=0 then it replaces the first MSG_ARG_file or MSG_ARG_string args 41 msgvcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, void** xp, va_list ap) argument 73 oxp = xp; 87 ip = xp ? (Msg_file_t*)(*xp) : va_arg(ap, Msg_file_t*); 163 ip = (xp && *xp) ? (Msg_file_t*)(*xp++) : va_arg(ap, Msg_file_t*); 202 ip = (xp && *xp) 393 msgvreturn(int fd, unsigned long call, void** xp, va_list ap) argument [all...] |
/ast/src/lib/libpp/ |
H A D | ppinput.c | 41 register struct ppfile* xp; local 76 if (!(xp = ppsetfile(sfstruse(qp)))) 78 return xp->name;
|
H A D | pplex.c | 55 #define CACHEOUTX() do{tp=op=pp.outp;xp=pp.oute;if(sp)sp=op;}while(0) 69 #define PPCHECKOUT() do{if(op>xp){{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,xp,op-xp);xp=pp.oute-=PPBUFSIZ;op-=2*PPBUFSIZ;}}}}while(0) 70 #define PPCHECKOUTSP() do{if(op>xp){if(sp)op=sp;else{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,xp,op-xp);x 155 #define xp macro 195 char* xp; local [all...] |
H A D | ppop.c | 376 struct oplist* xp; local 444 xp = newof(0, struct oplist, 1, c + 1); 445 xp->value = ((char*)xp) + sizeof(struct oplist); 446 s = xp->value; 451 xp->op = s - xp->value; 460 xp->next = pp.chop; 461 pp.chop = xp; 1185 if (xp [all...] |
H A D | ppsearch.c | 115 register struct ppfile* xp; local 152 !(fp->flags & INC_MEMBER(INC_STANDARD)) && (xp = fp->bound[INC_STANDARD]) ? xp->name : NiL, 297 xp = ppsetfile(s); 298 xp->flags |= INC_MEMBER(dp->index); 299 xp->bound[dp->index] = (struct ppfile*)ap; 300 if (pp.test & 0x0020) error(1, "VDB#%d %s %s index=%d data=<%lu,%lu>", __LINE__, dp->name, xp->name, index, ap->offset, ap->size); 358 mp = xp = 0; 366 xp = fp->bound[index]; 374 if (!xp || !stre 602 struct ppfile* xp; local [all...] |
/ast/src/cmd/ksh93/edit/ |
H A D | completion.c | 100 register char *cp=outbuff, *bp, *xp; local 107 xp = cp; 114 bp = xp; 133 xp = cp; 151 return(++xp); 160 xp = find_begin(cp,last,')',type); 161 if(*(cp=xp)!=')') 162 bp = xp; 184 return(xp);
|
/ast/src/cmd/ksh93/sh/ |
H A D | arith.c | 243 register char *xp=str; local 254 while(xp=str, c=mbchar(str), isaname(c)); 255 str = xp; 328 while(xp=str, c=mbchar(str), isaname(c)); 329 str = xp; 374 while(xp=str, c=mbchar(str), isaname(c)); 375 c = *(str = xp); 386 char lastbase=0, *val = xp, oerrno = errno;
|
/ast/src/cmd/3d/ |
H A D | fs.c | 166 void** xp; local 436 xp = xv; 443 *xp++ = (void*)&state.file[fd].id; 454 *xp++ = (void*)sp; 467 *xp++ = (void*)iv; 472 xp = 0; 475 if (xp) 477 *xp = 0; 478 xp = xv; 480 n = msgvcall(cd, MSG_CHANNEL(state.pid, mp->channel), call, rp, xp, a [all...] |
/ast/src/lib/libdss/ |
H A D | cxlib.h | 137 Sfio_t* xp; member in struct:Cxcompile_s
|
/ast/src/lib/libjcl/ |
H A D | path.c | 332 Suf_t* xp; local 350 if (!(xp = newof(0, Suf_t, 1, n))) 356 strcpy(xp->name, s); 357 xp->length = n; 358 dtinsert(state.suf, xp); 618 Suf_t* xp; local 621 return (state.suf && (s = strrchr(path, '.')) && (xp = (Suf_t*)dtmatch(state.suf, s))) ? xp->length : 0;
|
/ast/src/lib/librecsort/ |
H A D | rskey.c | 103 unsigned char* xp = dp; local 104 unsigned char* ep = xp + len; /* end pointer */ 119 while (xp < ep && blank(trans[*xp])) xp++; 125 if (xp < ep) 126 switch (trans[*xp]) 132 xp++; 140 while (xp < ep && trans[*xp] 281 unsigned char* xp = dp; local 347 unsigned char* xp = dp; local 412 unsigned char* xp = cp; local 445 unsigned char* xp = cp; local 625 unsigned char* xp = dat + datlen; local [all...] |