Searched refs:str_val (Results 1 - 11 of 11) sorted by relevance
/openbsd-current/usr.bin/lex/ |
H A D | sym.c | 47 char *str_val; member in struct:hash_entry 113 new_entry->str_val = str_def; 216 return (u_char *) findsym (nd, ndtbl, NAME_TABLE_HASH_SIZE)->str_val;
|
/openbsd-current/bin/ksh/ |
H A D | var.c | 297 str_val(struct tbl *vp) function 357 errorf("%s: bad number", str_val(vp)); 415 setstr(vq, str_val(vp), KSH_RETURN_ERROR); 680 s = str_val(t); 872 val = str_val(vp); 972 search_path = str_save(str_val(vp), APERM); 976 setctypes(s = str_val(vp), C_IFS); 996 s = str_val(vp); 1003 sethistcontrol(str_val(vp)); 1011 sethistfile(str_val(v [all...] |
H A D | eval.c | 278 for (p = str_val(&v); *p; ) { 408 x.str = trimsub(str_val(st->var), 447 x.str = str_val(st->var); 774 p = str_val(global(sp)); 845 XPput(wv, str_val(vp)); 864 xp->str = str_val(xp->var); 1223 dp = str_val(global("HOME")); 1225 dp = str_val(global("PWD")); 1227 dp = str_val(global("OLDPWD"));
|
H A D | lex.c | 1186 ps1 = str_save(str_val(global("PS1")), ATEMP); 1205 prompt = str_val(global("PS2")); 1380 p = str_val(global("PWD")); 1381 n = strlen(str_val(global("HOME"))); 1384 } else if (strcmp(p, str_val(global("HOME"))) == 0) { 1387 } else if (strncmp(p, str_val(global("HOME")), n) 1390 str_val(global("PWD")) + n + 1); 1395 p = str_val(global("PWD")); 1396 if (strcmp(p, str_val(global("HOME"))) == 0) {
|
H A D | exec.c | 95 PS4_SUBSTITUTE(str_val(global("PS4")))); 518 PS4_SUBSTITUTE(str_val(global("PS4")))); 710 shell = str_val(global("EXECSHELL")); 861 if ((fpath = str_val(global("FPATH"))) == null) { 917 (fpath = str_val(global("FPATH"))) != null && 1065 PS4_SUBSTITUTE(str_val(global("PS4"))), 1266 if (print_menu || !*str_val(global("REPLY"))) 1268 shellf("%s", str_val(global("PS3"))); 1271 s = str_val(global("REPLY"));
|
H A D | main.c | 288 char *pwd = str_val(pwd_v); 419 env_file = str_val(global("ENV")); 431 if (is_restricted(argv[0]) || is_restricted(str_val(global("SHELL")))) 463 p = ksheuid == 0 ? "root" : str_val(vp);
|
H A D | expr.c | 217 setstr(vp, str_val(v), error_ok); 238 s = str_val(es->val); 595 v_evaluate(vq, str_val(vp), KSH_UNWIND_ERROR, es->arith);
|
H A D | c_ksh.c | 55 if ((dir = str_val(global("HOME"))) == null) { 63 dir = str_val(oldpwd_s); 108 cdpath = str_val(global("CDPATH")); 826 char *s = str_val(vp);
|
H A D | history.c | 811 if (str_val(global("HISTFILE")) == null) 813 hname = str_save(str_val(global("HISTFILE")), APERM);
|
H A D | sh.h | 588 char * str_val(struct tbl *);
|
H A D | edit.c | 522 if ((fpath = str_val(global("FPATH"))) != null) 696 s = str_val(vp); 947 const char *ifs = str_val(local("IFS", 0));
|
Completed in 140 milliseconds