/ast/src/lib/libcs/ |
H A D | csdata.c | 24 * cs library data 33 Cs_t cs = { "libcs:cs", &disc }; variable
|
H A D | csclient.c | 61 csclient(Cs_t* cs, int fd, const char* service, const char* prompt, char** argv, unsigned int flags) argument 74 if (fd < 0 && (fd = csopen(cs, service, CS_OPEN_TEST)) < 0) 114 while (cspoll(cs, fds, elementsof(fds), timeout) > 0) 200 return csclient(&cs, fd, service, prompt, argv, flags);
|
H A D | cs.h | 39 #define cs _cs_info_ macro 40 #define Cs (&cs) 42 #define CSTIME() (cs.time=(unsigned long)time(NiL)) 76 #define CS_SVC_DIR "lib/cs" /* service directory */ 86 #define CS_MNT_TAIL "-cs.mnt" /* mount file name tail */ 97 #define CS_REMOTE_CONTROL "cs" 133 * cs.flags -- CS_<function>_<flags> 196 char* control; /* CS_MNT_* in cs.mount */ 197 char* cs; /* service connect stream */ member in struct:Cs_s 217 extern Cs_t cs; [all...] |
/ast/src/lib/libcoshell/ |
H A D | coclose.c | 48 register Coshell_t* cs; local 81 cs = state.coshells; 83 while (cs) 85 if (cs == co) 87 cs = cs->next; 89 ps->next = cs; 91 state.coshells = cs; 95 ps = cs; 96 cs [all...] |
H A D | cowait.c | 133 register Coservice_t* cs; local 195 for (cs = co->service; cs; cs = cs->next) 196 if (cs->pid && kill(cs->pid, 0)) 198 cs->pid = 0; 199 close(cs->fd); 200 cs [all...] |
H A D | coexec.c | 34 service(register Coshell_t* co, Coservice_t* cs, Cojob_t* cj, int flags, Sfio_t* sp) argument 47 for (a = cs->argv; *a; a++) 51 errormsg(state.lib, ERROR_LIBRARY|2, "service %s:%s", cs->path, s); 55 errormsg(state.lib, ERROR_LIBRARY|ERROR_SYSTEM|2, "%s: cannot allocate service pipe", cs->name); 65 cs->fd = fds[1]; 70 if (!(proc = procopen(cs->path, cs->argv, NiL, ops, PROC_DAEMON|PROC_IGNORE))) 72 errormsg(state.lib, ERROR_LIBRARY|ERROR_SYSTEM|2, "%s: cannot connect to %s service", cs->path, cs->name); 77 fcntl(cs 106 request(register Coshell_t* co, Cojob_t* cj, Coservice_t* cs, const char* action, int flags) argument 153 register Coservice_t* cs; local [all...] |
H A D | coopen.c | 98 Coservice_t* cs; local 108 if (((Namval_t*)p)->value == CO_SERVICE && v && (cs = vmnewof(co->vm, 0, Coservice_t, 1, 2 * strlen(v)))) 110 a = cs->argv; 111 *a++ = s = cs->path = cs->name = (char*)(cs + 1); 123 cs->path = s + 8; 125 cs->db = s + 6; 127 cs->db = s + 3; 128 else if (a < &cs [all...] |
/ast/src/cmd/tests/vmalloc/ |
H A D | talign.c | 25 static Void_t* alignmem(Vmalloc_t* vm, Void_t* ca, size_t cs, size_t ns, Vmdisc_t* dc) argument 27 static Void_t* alignmem(vm, ca, cs, ns, dc) 30 size_t cs;
|
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchcode.c | 94 reg ssize_t n, k, nl, cs; local 104 cs = maxs+2; 105 cs = cs < 2 ? 1 : cs < 4 ? 2 : cs < 8 ? 3 : cs < 16 ? 4 : cs < 32 ? 5 : 6; 118 { if((n + cs) > VC_BITSIZE) 120 vcioaddb(&io, b, n, (((Vcbit_t)len[k]) << (VC_BITSIZE-cs)), c 139 ssize_t i, n, k, nl, cs; local [all...] |
/ast/src/cmd/vczip/ |
H A D | vczip.c | 373 Sfio_t* cs; /* codex transform buf */ local 384 if (!(cs = sfstropen())) 401 sfprintf(cs, "%c%s", action == VC_DECODE ? '<' : '>', name); 442 sfprintf(cs, "%c", action == VC_DECODE ? '<' : '>'); 443 sfprintf(cs, "%s", opt_info.arg); 483 if (!(ct = sfstruse(cs)))
|
/ast/src/lib/libast/misc/ |
H A D | magic.c | 320 indirect(const char* cs, char** e, void* handle) argument 322 register char* s = (char*)cs; 340 s = (char*)cs; 348 s = (char*)cs; 356 s = (char*)cs; 364 s = (char*)cs;
|
/ast/src/cmd/pzip/ |
H A D | pin.c | 1457 struct stat cs; local 1710 if (!stat(state.cachefile, &cs) && cs.st_mtime < is.st_mtime && remove(state.cachefile))
|
/ast/src/cmd/nmake/ |
H A D | object.c | 382 compstring(register Compstate_t* cs, register char* s) argument 390 cs->strings += c; 391 sfputu(cs->fp, c); 394 sfputc(cs->fp, map[c]); 396 sfwrite(cs->fp, s, c - 1); 399 sfputu(cs->fp, 0); 531 register Compstate_t* cs = (Compstate_t*)h; local 553 r->complink = cs->rules++; 587 sfputu(cs->fp, r->property); 588 sfputu(cs 663 register Compstate_t* cs = (Compstate_t*)h; local 688 register Compstate_t* cs = (Compstate_t*)h; local 776 Compstate_t cs; local [all...] |
H A D | parse.c | 3019 makeexpr(const char* cs, char** p, void* handle) argument 3021 char* s = (char*)cs;
|