Symbol: v_str
usr.bin/window/alias.h
43
#define a_buf r_val.v_str
usr.bin/window/lcmd1.c
222
if ((v->v_str = str_cpy(buf)) == 0) {
usr.bin/window/lcmd1.c
228
setescape(a->v_str);
usr.bin/window/lcmd1.c
244
if ((++a)->v_type != V_ERR && setlabel(w, a->v_str) < 0)
usr.bin/window/lcmd1.c
295
if (a->v_type != V_ERR && dosource(a->v_str) < 0) {
usr.bin/window/lcmd1.c
296
error("Can't open %s.", a->v_str);
usr.bin/window/lcmd1.c
321
(void) write(w->ww_pty, a->v_str, strlen(a->v_str));
usr.bin/window/lcmd1.c
337
if (a->v_type == V_STR && str_match(a->v_str, "all", 3))
usr.bin/window/lcmd1.c
374
if ((a->v_str = str_itoa(a->v_num)) == 0) {
usr.bin/window/lcmd1.c
382
v->v_num = var_unset(a->v_str);
usr.bin/window/lcmd1.c
395
error("%s: No such window.", v->v_str);
usr.bin/window/lcmd1.c
413
if (str_match(v->v_str, "true", 1)
usr.bin/window/lcmd1.c
414
|| str_match(v->v_str, "on", 2)
usr.bin/window/lcmd1.c
415
|| str_match(v->v_str, "yes", 1))
usr.bin/window/lcmd1.c
417
else if (str_match(v->v_str, "false", 1)
usr.bin/window/lcmd1.c
418
|| str_match(v->v_str, "off", 2)
usr.bin/window/lcmd1.c
419
|| str_match(v->v_str, "no", 1))
usr.bin/window/lcmd1.c
422
error("%s: Illegal boolean value.", v->v_str);
usr.bin/window/lcmd1.c
84
label = a->v_type == V_ERR ? 0 : a->v_str;
usr.bin/window/lcmd1.c
98
*pp = a->v_str;
usr.bin/window/lcmd2.c
117
&& str_match(a->v_str, "children", 1)
usr.bin/window/lcmd2.c
227
wwprintf(w, "%s\n", r->r_val.v_str);
usr.bin/window/lcmd2.c
251
if ((v->v_str = str_cpy(default_shellfile)) != 0)
usr.bin/window/lcmd2.c
255
if ((v->v_str = default_shellfile)) {
usr.bin/window/lcmd2.c
267
str_cpy(vp->v_str) : str_itoa(vp->v_num)) == NULL) {
usr.bin/window/lcmd2.c
302
if ((ap = alias_lookup(a->v_str))) {
usr.bin/window/lcmd2.c
303
if ((v->v_str = str_cpy(ap->a_buf)) == 0) {
usr.bin/window/lcmd2.c
316
for (p = vp->v_str; *p; p++, n++)
usr.bin/window/lcmd2.c
324
for (p = vp->v_str; (*q++ = *p++);)
usr.bin/window/lcmd2.c
327
if ((ap = alias_set(a[0].v_str, (char *)0)) == NULL) {
usr.bin/window/lcmd2.c
356
v->v_num = alias_unset(a->v_str);
usr.bin/window/lcmd2.c
379
(void) wwwrite(w, a->v_str, strlen(a->v_str));
usr.bin/window/parser1.c
102
str_free(t.v_str);
usr.bin/window/parser1.c
152
t.v_str = token_str;
usr.bin/window/parser1.c
165
cmd = t.v_type == V_STR ? t.v_str : 0;
usr.bin/window/parser1.c
188
if ((v->v_str = str_itoa(v->v_num)) == 0) {
usr.bin/window/parser2.c
100
tmp = t.v_type == V_STR ? t.v_str : 0;
usr.bin/window/parser3.c
100
str_free(v->v_str);
usr.bin/window/parser3.c
139
str_free(v->v_str);
usr.bin/window/parser3.c
173
str_free(v->v_str);
usr.bin/window/parser3.c
72
t.v_str = 0;
usr.bin/window/parser3.c
75
ret = p_assign(t.v_str, v, flag);
usr.bin/window/parser3.c
76
if (t.v_str != 0)
usr.bin/window/parser3.c
77
str_free(t.v_str);
usr.bin/window/parser4.c
170
char *p = r.v_str;
usr.bin/window/parser4.c
208
int tmp = strcmp(l.v_str, r.v_str);
usr.bin/window/parser4.c
209
str_free(l.v_str);
usr.bin/window/parser4.c
210
str_free(r.v_str);
usr.bin/window/parser4.c
249
if ((i = strlen(l.v_str)) > r.v_num)
usr.bin/window/parser4.c
251
v->v_str = str_ncpy(l.v_str, i);
usr.bin/window/parser4.c
259
if ((i = strlen(l.v_str)) > r.v_num)
usr.bin/window/parser4.c
263
v->v_str = str_cpy(l.v_str + i);
usr.bin/window/parser4.c
270
v->v_str = str_cat(l.v_str, r.v_str);
usr.bin/window/parser5.c
107
char *name = v->v_str;
usr.bin/window/parser5.c
120
if (v->v_type == V_STR && (v->v_str = str_cpy(v->v_str)) == 0) {
usr.bin/window/parser5.c
159
v->v_str = token_str;
usr.bin/window/parser5.c
185
cmd = v->v_type == V_STR ? v->v_str : 0;
usr.bin/window/parser5.c
84
str_free(v->v_str);
usr.bin/window/scanner.c
327
&& (cx.x_val.v_str = str_cpy(buf)) == 0) {
usr.bin/window/token.h
39
#define token_str (cx.x_val.v_str)
usr.bin/window/value.h
51
#define val_free(v) (((v).v_type == V_STR && (v).v_str) ? \
usr.bin/window/value.h
52
str_free((v).v_str) : (void)0)
usr.bin/window/var.c
53
if (val.v_type == V_STR && val.v_str != 0 &&
usr.bin/window/var.c
54
(val.v_str = str_cpy(val.v_str)) == 0)
usr.bin/window/var.c
83
v.v_str = str;