Lines Matching refs:v
50 p_expr11(v, flag)
51 struct value *v; variable
77 return p_expr12(v, flag);
81 if (p_expr11(v, flag) < 0)
83 switch (v->v_type) {
92 str_free(v->v_str);
93 v->v_type = V_ERR;
103 if (v->v_type == V_NUM) {
105 v->v_num > 0 && v->v_num <= cx.x_narg;
107 v->v_num = tmp;
109 *v = cx.x_arg[v->v_num - 1];
111 p_error("%d: No such argument.", v->v_num);
112 v->v_type = V_ERR;
115 char *name = v->v_str;
118 v->v_type = V_NUM;
119 v->v_num = r != 0;
121 *v = r->r_val;
124 v->v_type = V_ERR;
128 if (v->v_type == V_STR && (v->v_str = str_cpy(v->v_str)) == 0) {
134 v->v_num = - v->v_num;
137 v->v_num = ! v->v_num;
140 v->v_num = ~ v->v_num;
152 p_expr12(v, flag)
153 struct value *v; variable
156 v->v_type = V_ERR;
160 v->v_type = V_NUM;
161 v->v_num = token_num;
167 v->v_type = V_STR;
168 v->v_str = token_str;
175 if (p_expr(v, flag) < 0) {
181 val_free(*v);
192 if (p_convstr(v) < 0)
194 cmd = v->v_type == V_STR ? v->v_str : 0;
195 if (p_function(cmd, v, flag) < 0) {