Home | History | Annotate | Download | only in src

Lines Matching defs:val

33 static int process_boolean(char *buffer, char *name, int namesize, int *val)
47 *val = -1;
49 *val = atoi(tok);
51 *val = 1;
54 *val = 0;
55 if (*val != 0 && *val != 1) {
74 int val;
92 int ret = process_boolean(buffer, name, sizeof(name), &val);
102 if (datum->state != val) {
103 datum->state = val;
122 process_boolean(buffer, name, sizeof(name), &val);
134 if (datum->state != val) {
135 datum->state = val;