Home
last modified time | relevance | path

Searched refs:varptr (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y1317 var_t *varptr; in validate_variable() local
1320 varptr = &vars[command.returns[ret].return_index]; in validate_variable()
1322 if (varptr->value == NULL) in validate_variable()
1323 err(1, "Variable %s has no value assigned to it", varptr->name); in validate_variable()
1326 if (varptr->type != type) in validate_variable()
1327 err(1, "Variable %s is not the expected type", varptr->name); in validate_variable()
1330 if ((((check == 0) && strcmp(value, varptr->value) != 0)) in validate_variable()
1331 || ((check == 1) && strcmp(value, varptr->value) == 0)) in validate_variable()
1334 varptr->name, (const char *)varptr->value, in validate_variable()
1341 varptr->name, in validate_variable()
[all …]