Searched defs:ad (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libast/string/
H A Dtokline.c58 spliceline(Sfio_t* s, int op, void* val, Sfdisc_t* ad) argument
60 Splice_t* d = (Splice_t*)ad;
/ast/src/cmd/cs/
H A Dcat.c91 int ad; local
107 if (!s || (ad = csopen(s, 0)) < 0 && (ad = open(s, O_CREAT|O_APPEND|O_WRONLY|O_BINARY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
109 if (fstat(ad, &st))
111 close(ad);
118 close(ad);
121 if (!fp->reference++) fp->fd = ad;
122 else close(ad);
/ast/src/cmd/mailx/
H A Dspam.c238 register char* ad; local
248 if ((ad = strchr(ap, '.')) && !strchr(++ad, '.'))
249 ad = 0;
267 if (ad)
269 if (!strcasecmp(ad, bp))
274 if (!strcasecmp(ad, bp))
368 register char* ad; local
388 ad = strchr(ap, '@');
403 for (td = ad; t
[all...]
/ast/src/lib/libvcodex/Vcdelta/
H A Dvcdelta.c64 static void vcdflsaddr(Vcdiff_t* vcd, ssize_t ad, ssize_t md) argument
66 static void vcdflsaddr(vcd, ad, md)
68 ssize_t ad;
73 vcioputu(vcd->addr, ad);
74 else vcioputc(vcd->addr, ad); /* must be same[] cache */
78 static void vcdflscopy(Vcdiff_t* vcd, ssize_t ad, ssize_t cz, ssize_t md) argument
80 static void vcdflscopy(vcd, ad, cz, md)
82 ssize_t ad;
97 vcdflsaddr(vcd, ad, md);
110 ssize_t ad, m local
[all...]
/ast/src/lib/libvcodex/
H A Dvclzparse.c442 ssize_t p, r, ad; local
474 for(savlz = savlp = savp = 0, ad = p = nsrc; p < nstr; )
521 if(ad < p)
522 { pair.mtch[r].tpos = ad;
524 pair.mtch[r].size = p-ad;
536 else ad += r; /* advance by amount processed */
543 if(ad < p)
544 { pair.mtch[0].tpos = ad;
546 pair.mtch[0].size = p-ad;

Completed in 15 milliseconds