/ast/src/lib/libast/path/ |
H A D | pathbin.c | 37 static char* val; local 39 if ((!(bin = getenv("PATH")) || !*bin) && !(bin = val)) 43 val = bin;
|
H A D | pathshell.c | 60 static char* val; local 105 if (!(sh = val)) 109 val = sh;
|
/ast/src/lib/libast/comp/ |
H A D | getopt.h | 44 int val; member in struct:option
|
/ast/src/lib/libast/sfio/ |
H A D | sfungetc.c | 29 static int _uexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument 31 static int _uexcept(f,type,val,disc) 34 Void_t* val; 38 NOTUSED(val);
|
H A D | sfdisc.c | 51 static int _dccaexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument 53 static int _dccaexcept(f,type,val,disc) 56 Void_t* val;
|
H A D | sftmp.c | 56 static int _tmprmfile(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument 58 static int _tmprmfile(f, type, val, disc) 61 Void_t* val; 67 NOTUSED(val); 285 static int _tmpexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument 287 static int _tmpexcept(f,type,val,disc) 290 Void_t* val; 299 NOTUSED(val);
|
/ast/src/lib/libz/ |
H A D | inftrees.h | 21 of the bit buffer. val is the actual byte to output in the case 27 unsigned short val; /* offset in table or code value */ member in struct:__anon451
|
H A D | sfdcgzip.c | 84 sfgzexcept(Sfio_t* sp, int op, void* val, Sfdisc_t* dp) argument 134 if (!val && gzsync(gz->gz, (z_off_t)(-1)) < 0) 138 return (*((gzFile**)val) = gz->gz) ? 1 : -1; 140 return (*((Sfoff_t*)val) = gzsync(gz->gz, (z_off_t)(-1))) < 0 ? -1 : 0; 142 return gzsync(gz->gz, (z_off_t)(*((Sfoff_t*)val))) < 0 ? -1 : 0;
|
/ast/src/lib/libast/features/ |
H A D | limits.c | 93 unsigned long val; local 107 val = 1; 108 while (uc >>= 1) val++; 109 printf("#define CHAR_BIT %lu\n", val); 112 val = 1; 113 printf("#define MB_LEN_MAX %lu\n", val); 132 val = uc; 134 printf("#define UCHAR_MAX %luU\n", val); 136 printf("#define UCHAR_MAX %lu\n", val); 141 val [all...] |
/ast/src/lib/libast/misc/ |
H A D | fs3d.c | 44 char val[sizeof(FS3D_off) + 8]; local 61 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL)) 63 if (v = strchr(val, ' ')) 66 v = val; 84 sfsprintf(val, sizeof(val), "%s=%d", off, FS3D_arg(op)); 85 v = val;
|
/ast/src/lib/libast/stdio/ |
H A D | vfwscanf.c | 39 wideexcept(Sfio_t* f, int op, void* val, Sfdisc_t* dp) argument
|
/ast/src/lib/libast/string/ |
H A D | tokline.c | 58 spliceline(Sfio_t* s, int op, void* val, Sfdisc_t* ad) argument 69 NoP(val);
|
H A D | tokscan.c | 180 long val; local 274 val = 0; 277 else val = strtol(s, &p_char, c); 281 if (p_short = va_arg(ap, short*)) *p_short = (short)val; 284 if (p_long = va_arg(ap, long*)) *p_long = val; 287 if (p_int = va_arg(ap, int*)) *p_int = (int)val;
|
/ast/src/lib/libbz/ |
H A D | sfdcbzip.c | 74 sfbzexcept(Sfio_t* sp, int op, void* val, Sfdisc_t* dp) argument 116 return *((ssize_t*)val) < 0 ? -1 : 0; 118 return val ? 0 : bzflush(bz->bz); 120 return (*((Bz_t**)val) = bz->bz) ? 1 : -1; 122 return (*((Sfoff_t*)val) = bzsync(bz->bz, (z_off_t)(-1))) == -1 ? -1 : 0; 124 return bzsync(bz->bz, (z_off_t)(*((Sfoff_t*)val))) == -1 ? -1 : 0;
|
/ast/src/cmd/dsslib/lookup/ |
H A D | lookup.c | 138 Cxoperand_t val; local 140 if (cxcast(cx, &val, state->variable, cx->state->type_string, data, NiL)) 142 return !!dtmatch(state->dict, val.value.string.data);
|
/ast/src/cmd/kshlib/dbm/ |
H A D | dbm.c | 210 datum val; local 243 val = dbm_fetch(state.dbm, key); 244 if (val.dptr) 245 sfputr(sfstdout, val.dptr, '\n'); 252 val = dbm_nextkey(state.dbm); 256 val = dbm_firstkey(state.dbm); 258 if (val.dptr) 259 sfputr(sfstdout, val.dptr, '\n'); 297 datum val; local 316 if (error_info.errors || (key.dptr = *argv++) && (val [all...] |
/ast/src/lib/libmam/ |
H A D | mam.c | 185 char* val; local 229 tokscan(s, &val, " %s ", &arg); 230 while (isspace(*val)) val++; 231 mamvar(pp, arg, strdup(val)); 289 tokscan(s, NiL, " %s %lu %s ", &arg, &t, &val); 295 if (val) r->bound = strdup(val); 345 tokscan(s, NiL, " %s ", &val); 346 pp->pwd = strdup(val); [all...] |
/ast/src/lib/libpz/ |
H A D | sfdcpzip.c | 52 sfpzexcept(Sfio_t* sp, int op, void* val, Sfdisc_t* dp) argument 80 return val ? 0 : pzsync(pz->pz); 82 return (*((Pz_t**)val) = pz->pz) ? 1 : -1;
|
/ast/src/lib/libvcodex/Vcmisc/ |
H A D | vcstrip.c | 195 char *data, val[1024]; local 202 { data = vcgetmtarg(data, val, sizeof(val), _Stripargs, &arg); 209 st->head = (ssize_t)vcatoi(val); 212 st->tail = (ssize_t)vcatoi(val);
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmmopen.c | 85 Void_t* val; /* associated value */ member in struct:_mmuser_s 93 Mmuser_t* user; /* stored (key,val)'s */ 431 Void_t* vmmvalue(Vmalloc_t* vm, int key, Void_t* val, int oper) argument 433 Void_t* vmmvalue(vm, key, val, oper) 436 Void_t* val; /* data to be set */ 457 { u->val = NIL(Void_t*); 466 u->val = val; 468 u->val = (Void_t*)((long)(u->val) [all...] |
/ast/src/lib/libpp/ |
H A D | ppop.c | 44 ppset(register long* p, register long op, int val) argument 59 if (val)
|
/ast/src/cmd/dsslib/validate/ |
H A D | validate.c | 395 Cxoperand_t val; local 407 val.type = ip->variable->type; 408 val.value = ip->value; 409 if (!cxcast(cx, &val, NiL, cx->state->type_string, NiL, NiL)) 410 sfprintf(expr->op, "%16s %11I*u %*.*s\n", ip->variable->name, sizeof(ip->count), ip->count, val.value.string.size, val.value.string.size, val.value.string.data);
|
/ast/src/cmd/ksh93/bltins/ |
H A D | alarm.c | 183 static void putval(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument 188 if(val) 198 nv_putv(np,val,flag,fp); 200 if(*val=='+')
|
H A D | enum.c | 131 static void put_enum(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 136 if(!val) 138 nv_putv(np, val, flags,fp); 146 nv_putv(np,val,flags,fp); 152 n = strcasecmp(v,val); 154 n = strcmp(v,val); 163 error(ERROR_exit(1), "%s: invalid value %s",nv_name(np),val); local
|
/ast/src/cmd/ksh93/sh/ |
H A D | arith.c | 386 char lastbase=0, *val = xp, oerrno = errno; local 391 while(*val=='0' && isdigit(val[1])) 392 val++; 394 r = strtonll(val,&str, &lastbase,-1); 399 r = strtonll(val,&str, &lastbase,-1); 403 if(*val=='0') 405 while(*val=='0') 406 val++; 407 if(*val [all...] |