Lines Matching refs:val
87 int buflen, const char *val)
92 if (val) {
93 if (val[0] == '\0')
96 if ((lfd = open(val, O_RDONLY)) == -1) {
97 warn("could not open '%s'", val);
103 warnx("logo '%s' has wrong size.", val);
123 int buflen, const char *val)
127 if (val) {
128 if (strcmp(val, "full") == 0 || strcmp(val, "command") == 0) {
132 val)) != EX_OK)
137 if (strcmp(val, "none") == 0) {
141 val));
151 int buflen, const char *val)
159 if (val) {
204 const char *val)
215 ofw_setprop(fd, optnode, prop, val, strlen(val) + 1);
217 if (len < 0 || strncmp(val, (char *)pbuf, len) != 0) {
278 ofwo_action(const char *prop, const char *val)
289 if (val)
302 rv = (*ex->ex_handler)(ex, fd, pbuf, len, val);
303 else if (val)
304 rv = ofwo_setstr(fd, pbuf, len, prop, val);