/ast/src/lib/libast/vec/ |
H A D | vecargs.c | 51 int num; local 54 if ((num = (char**)(*(vec - 1)) - vec) > 0) 56 if (!(argv = newof(0, char*, num + *argcp + 1, 0)))
|
/ast/src/lib/libast/string/ |
H A D | strperm.c | 49 int num; local 64 op = num = who = typ = 0; 250 num = (num << 3) | (c - '0'); 255 typ |= modei(num); 256 num = 0;
|
H A D | strpsearch.c | 40 * name in the CC_ASCII sorted tab of num elements of 53 strpsearch(const void* tab, size_t num, size_t siz, const char* name, char** next) argument 56 register char* hi = lo + (num - 1) * siz;
|
H A D | strsearch.c | 32 * name in the (*comparf*)() sorted tab of num elements of 40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) argument 43 register char* hi = lo + (num - 1) * siz;
|
H A D | tokscan.c | 176 int num = 0; local 214 onum = num; 248 num++; 293 num++; 308 num++; 318 else s = lextok(s, q, p_string, &num); 331 s = lextok(s, q, p_string, &num); 337 if (skip) num = onum; 338 else if (num == onum) 340 if (!num) nu [all...] |
/ast/src/lib/libsum/ |
H A D | sum.h | 44 uint32_t num; member in struct:Sumdata_s
|
/ast/src/cmd/msgcc/ |
H A D | msgget.c | 59 int num; local 82 set = num = 0; 84 mcindex(s, NiL, &set, &num); 104 s = mcget(mc, set, num, msg);
|
H A D | msggen.c | 216 int num; local 278 for (set = 1; set <= mc->num; set++) 279 if (mc->set[set].num) 282 for (num = 1; num <= mc->set[set].num; num++) 283 if (s = mc->set[set].msg[num]) 284 sfprintf(sfstdout, "%d \"%s\"\n", num, fmtfmt(s)); 296 for (set = 1; set <= mc->num; se [all...] |
/ast/src/cmd/pax/ |
H A D | pax-gzip.c | 32 unsigned char num[4]; local 36 if ((pos = lseek(ap->io->fd, (off_t)0, SEEK_CUR)) < 0 || lseek(ap->io->fd, (off_t)-4, SEEK_END) <= 0 || read(ap->io->fd, num, sizeof(num)) != sizeof(num)) 39 ap->uncompressed = (num[0]) | 40 (num[1] << 8) | 41 (num[2] << 16) | 42 (num[3] << 24);
|
/ast/src/lib/libast/include/ |
H A D | mc.h | 67 int num; member in struct:Mcset_s 74 int num; member in struct:Mc_s
|
H A D | option.h | 66 long num; /* OBSOLETE -- use number */ member in struct:Opt_s
|
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_network.c | 40 int rtn, num; local 81 num = sizeof(nFile->netbuf) - nFile->size; 82 num = read( fds.fd, nFile->netbuf + nFile->size, num ); 83 if( num > 0 ) 84 nFile->size += num;
|
H A D | vcs_misc.c | 31 int num; local 49 num = (int)strtol(s, (char**)0, 0); 50 if (num && num > seq) 51 seq = num; 92 * elist[num=chop(s, elist, MAXDEPTH, '/')] = NULL;
|
/ast/src/lib/libast/comp/ |
H A D | catopen.c | 141 _ast_catgets(_ast_nl_catd cat, int set, int num, const char* msg) argument 151 msg = (char*)catgets(((Cc_t*)cat)->cat, set, num, msg); 163 return mcget((Mc_t*)cat, set, num, msg);
|
/ast/src/lib/libcs/ |
H A D | csauth.c | 55 char num[64]; local 119 if (csread(state, fd, num, sizeof(num), CS_LINE) <= 0) 124 if (*num != '\n') 163 if (tokscan(num, NiL, "%lu %lu", &t1, &t2) != 2) 165 messagef((state->id, NiL, -1, "auth: `%s': challenge syntax error", num)); 198 if (csread(state, fd, num, 1, CS_LINE) != 1)
|
H A D | cspath.c | 121 char num[16]; local 170 sfsprintf(s = num, sizeof(num), "%d.p", typ);
|
H A D | cspoll.c | 44 cspoll(Cs_t* state, Cspoll_t* fds, int num, int ms) argument 74 for (mp = (pp = fds) + num; pp < mp; pp++) 104 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d sec=%d usec=%d", fmttime("%K", CSTIME()), num, ms, tp ? tp->tv_sec : 0, tp ? tp->tv_usec : 0)); 105 num = select(width + 1, rp, wp, ep, tp); 109 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d", fmttime("%K", CSTIME()), num, ms); 110 num = select(width + 1, rp, wp, ms); 112 messagef((state->id, NiL, -6, "poll: %s num=%d", fmttime("%K", CSTIME()), num)); [all...] |
/ast/src/cmd/3d/ |
H A D | bio.c | 55 char num[32]; local 131 b = num; 293 n = w - (b - num); 328 while (b > num)
|
/ast/src/lib/libast/astsa/ |
H A D | option.h | 67 long num; /* # numeric argument */ member in struct:Opt_s
|
/ast/src/lib/libcmd/ |
H A D | fds.c | 181 char num[64]; local 196 details = opt_info.num; 199 unit = opt_info.num; 324 sfsprintf(s = num, sizeof(num), "family.%d", addr.sin_family);
|
/ast/src/cmd/tests/vmalloc/ |
H A D | tsharemem.c | 47 static int working(char* store, char* type, char* num, ssize_t size) argument 54 tinfo("Process %s[pid=%d]: about to open region for %s", num, pid, store); 56 terror("Process %s[pid=%d]: can't open %s allocation region on %s", num, pid, type, store); 57 tinfo("Process %s[pid=%d]: %s region successfully opened for %s", num, pid, type, store); 61 terror("Process %s[pid=%d]: vmalloc failed", num, pid); 70 terror("Process %s[pid=%d]: vmfree failed", num, pid); 77 terror("Process %s[pid=%d]: vmstat failed", num, pid); 79 num, pid, vmst.extent, vmst.n_busy, vmst.s_busy, vmst.n_free, vmst.s_free); 89 char num[64], *argv[6]; local 91 sprintf(num, " [all...] |
/ast/src/cmd/INIT/ |
H A D | release.c | 114 string(register char* s, char* tab, int num, int siz, char** e) argument 124 for (i = 0; i < num; i += siz) 225 mk = opt_info.num + 1;
|
/ast/src/lib/libtksh/src/ |
H A D | debug.c | 43 void __dprintfNum(char *before, int num, char *after) argument 45 sfprintf(outFile, "%s%d%s", before,num,after);
|
/ast/src/lib/libast/port/ |
H A D | mc.c | 275 mc->num = sfgetu(ip); 286 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0))) 290 if (!(mp = vmnewof(vm, 0, char*, mc->nmsgs + mc->num + 1, 0))) 301 if (i > mc->num) 304 mc->set[i].num = n; 313 for (i = 1; i <= mc->num; i++) 314 for (j = 1; j <= mc->set[i].num; j++) 339 * return the <set,num> message in mc 345 mcget(register Mc_t* mc, int set, int num, const char* msg) argument 351 if (!mc || set < 0 || set > mc->num || nu 373 mcput(register Mc_t* mc, int set, int num, const char* msg) argument [all...] |
/ast/src/lib/libast/uwin/ |
H A D | rcmd.c | 233 char num[8]; local 240 (void) snprintf(num, sizeof(num), "%d", lport); 241 if (write(s, num, strlen(num)+1) != strlen(num)+1) {
|