/ast/src/cmd/cs/vcs_src/ |
H A D | vcs_replica.c | 45 register char* rd; local 55 if (((rd = getrdir(path, dirbuf, sizeof(dirbuf))) == NULL) || (dir = opendir(rd)) == NULL) 58 e = rd + sizeof(dirbuf); 59 for(s = rd; *s; s++); 109 register char* rd; local 120 if (((rd = getrdir(path, dirbuf, sizeof(dirbuf))) == NULL) || (dir = opendir(rd)) == NULL) 123 e = rd + sizeof(dirbuf) - 1; 124 for(s = rd; * [all...] |
/ast/src/lib/libast/sfio/ |
H A D | sfpoll.c | 168 { fd_set rd, wr; local 171 FD_ZERO(&rd); 187 FD_SET(f->proc->file, &rd); 189 else FD_SET(f->file,&rd); 200 while((np = select(m+1,&rd,&wr,NIL(fd_set*),tmp)) < 0 ) 218 { if(FD_ISSET(f->proc->file, &rd) ) 222 { if(FD_ISSET(f->file,&rd) )
|
H A D | sfpkrd.c | 160 fd_set rd; local 162 FD_ZERO(&rd); 163 FD_SET(fd,&rd); 171 r = select(fd+1,&rd,NIL(fd_set*),NIL(fd_set*),tmp); 181 else r = FD_ISSET(fd,&rd) ? 1 : -1;
|
/ast/src/lib/libcs/ |
H A D | cspoll.c | 52 fd_set rd; local 53 register fd_set* rp = &rd;
|
H A D | csserve.c | 39 int (*rd)(void*, int); member in struct:Server_s 60 if (server->rd) 61 return (*server->rd)(server->handle, fp->fd) < 0 ? -1 : 1; 141 csserve(Cs_t* state, void* handle, const char* path, void* (*init)(void*, int), int (*done)(void*, int), int (*con)(void*, int, Csid_t*, int, char**), int (*rd)(void*, int), int (*wr)(void*, int), int (*to)(void*)) argument 145 if (!con && !rd) 156 server->rd = rd; 158 if (server->rd || server->wr) 204 _cs_serve(void* handle, const char* path, void* (*init)(void*, int), int (*done)(void*, int), int (*con)(void*, int, Csid_t*, int, char**), int (*rd)(void*, int), int (*wr)(void*, int), int (*to)(void*)) argument 206 csserve(&cs, handle, path, init, done, con, rd, w [all...] |
/ast/src/lib/libz/ |
H A D | sfdcgzip.c | 203 int rd; local 207 rd = sfset(sp, 0, 0) & SF_READ; 208 if (rd) 270 if (rd) 276 *m++ = rd ? 'r' : 'w'; 287 if (!rd) 299 if (rd && (gz->op = sfopen(NiL, "/dev/null", "r"))) 324 if (!rd)
|
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchuffpart.c | 232 Vcio_t rd, wr; local 244 vcioinit(&rd, data, size); 245 if((sz = vciogetu(&rd)) <= 0) 255 if((n = vciogetu(&rd)) <= 0) 257 dt = vcionext(&rd); 258 vcioskip(&rd, n);
|
/ast/src/lib/libvcodex/Vcdelta/ |
H A D | vcdelta.c | 258 Vcchar_t *rd, *ri, *ra, *p, ctrl, *output; local 291 d = vciosize(vcd->data); rd = vciodata(vcd->data); 295 { if((n = vcapply(vc->coder, rd, d, &p)) >= 0 && n < d ) 296 { d = n; rd = p; 316 vcioputs(&data, rd, d); 341 Vcchar_t *tar, *etar, *src, *rd, *ri, *ra; local 362 rd = vcionext(&data); 363 ri = rd+d; 369 { if((d = vcapply(vc->coder, rd, d, &rd)) < [all...] |
/ast/src/cmd/3d/ |
H A D | vcs.c | 366 register Rdirent_t* rd; local 375 for (rd = rdir, mtime = 0L; rd; rd = rd->next) 377 if (rd->tag->stat.st_mtime > mtime) 379 p = rd; 380 mtime = rd->tag->stat.st_mtime; 387 rd = rdir; 388 for (rd [all...] |
/ast/src/cmd/dsslib/bgp/ |
H A D | bgp-mrt.c | 467 rd(Dssfile_t* file, Mrtstate_t* state, Bgproute_t* rp, char* end, Dssdisc_t* disc) function 472 (*disc->errorf)(NiL, disc, 1, "rd %s size %u -- %d available", symbol(GROUP_STATE, state->state), 8, (int)(end - state->buf)); 492 sfprintf(sfstderr, " nlri rd type %u number %u as %u addr %s\n", rp->rd_type, rp->rd_number, rp->rd_as, fmtip4(rp->rd_addr.v4, -1)); 636 if (rd(file, state, rp, end, disc)) 684 if ((q & VPN_rd) && rd(file, state, rp, end, disc))
|
/ast/src/lib/libast/misc/ |
H A D | optget.c | 3518 char rd[64]; local 3530 t = rd; 3534 while (t < &rd[sizeof(rd)-2] && (c = *s++) && c != ']') 3618 , rd
|