Lines Matching refs:val
85 int buflen, const char *val)
90 if (val) {
91 if (val[0] == '\0')
94 if ((lfd = open(val, O_RDONLY)) == -1) {
95 warn("could not open '%s'", val);
101 warnx("logo '%s' has wrong size.", val);
121 int buflen, const char *val)
125 if (val) {
126 if (strcmp(val, "full") == 0 || strcmp(val, "command") == 0) {
130 val)) != EX_OK)
135 if (strcmp(val, "none") == 0) {
139 val));
149 int buflen, const char *val)
157 if (val) {
202 const char *val)
213 ofw_setprop(fd, optnode, prop, val, strlen(val) + 1);
215 if (len < 0 || strncmp(val, (char *)pbuf, len) != 0) {
276 ofwo_action(const char *prop, const char *val)
287 if (val)
300 rv = (*ex->ex_handler)(ex, fd, pbuf, len, val);
301 else if (val)
302 rv = ofwo_setstr(fd, pbuf, len, prop, val);