Searched refs:v_value (Results 1 – 7 of 7) sorted by relevance
/freebsd/usr.bin/tip/tip/ |
H A D | value.c | 61 p->v_value = cp; in vinit() 65 p->v_value = *(char **)p->v_value; in vinit() 68 setnumber(p->v_value, *(long *)p->v_value); in vinit() 71 setboolean(p->v_value, *(short *)p->v_value); in vinit() 74 setcharacter(p->v_value, *(char *)p->v_value); in vinit() 122 if (p->v_value && equal(p->v_value, v)) in vassign() 125 free(p->v_value); in vassign() 126 if ((p->v_value = strdup(v)) == NOSTR) { in vassign() 133 if (number(p->v_value) == number(v)) in vassign() 135 setnumber(p->v_value, number(v)); in vassign() [all …]
|
H A D | tip.h | 106 char *v_value; /* casted to a union later */ member 152 #define value(v) vtable[v].v_value 153 #define lvalue(v) (long)(intptr_t)vtable[v].v_value
|
H A D | cmds.c | 811 if (p->v_value) { in listvariables() 812 buf = malloc(4*strlen(p->v_value) + 1); in listvariables() 817 strvis(buf, p->v_value, VIS_WHITE); in listvariables() 825 printf(" %ld\r\n", number(p->v_value)); in listvariables() 829 !boolean(p->v_value) ? "false" : "true"); in listvariables() 832 vis(charbuf, character(p->v_value), VIS_WHITE, 0); in listvariables()
|
/freebsd/sbin/ipf/libipf/ |
H A D | var.c | 17 char *v_value; member 74 s = strdup(v->v_value); in get_variable() 150 free(v->v_value); in set_variable() 151 v->v_value = strdup(value); in set_variable() 168 v->v_value = strdup(value); in set_variable()
|
/freebsd/usr.bin/mail/ |
H A D | vars.c | 60 vfree(vp->v_value); in assign() 61 vp->v_value = vcopy(value); in assign() 108 return (vp->v_value); in value()
|
H A D | def.h | 202 char *v_value; /* And it's current value */ member
|
H A D | cmd3.c | 422 vfree(vp2->v_value); in unset() 430 vfree(vp2->v_value); in unset()
|