Lines Matching +defs:resolve +defs:c
1 /* $NetBSD: sem.c,v 1.87 2025/01/07 14:21:11 joe Exp $ */
4 * Copyright (c) 1992, 1993
40 * from: @(#)sem.c 8.1 (Berkeley) 6/6/93
48 __RCSID("$NetBSD: sem.c,v 1.87 2025/01/07 14:21:11 joe Exp $");
80 static int resolve(struct nvlist **, const char *, const char *,
933 (void)snprintf(buf, sizeof(buf), "%s%d%c", devicename,
945 resolve(struct nvlist **nvp, const char *name, const char *what,
958 panic("%s: Bad partition %c", __func__, part);
1075 if (resolve(&cf->cf_root, name, "root", nv, 'a'))
1093 if (resolve(&cf->cf_dump, name, "dumps", cf->cf_dump, 'b'))
2011 concat(const char *name, int c)
2018 cfgerror("device name `%s%c' too long", name, c);
2022 buf[len] = (char)c;
2050 int c;
2056 c = (u_char)name[--l];
2057 if (!isdigit(c)) {
2058 if (c == '*')
2060 else if (c == '?')