walk
static const char *walk(struct match *m, const char *start, const char *stop, sopno startst, sopno stopst, bool fast);
endp = walk(m, start, stop, gf, gl, true);
endp = walk(m, m->coldp, stop, gf, gl, false);
endp = walk(m, m->coldp, endp-1, gf, gl, false);
rest = walk(m, sp, stp, ss, es, false);
tail = walk(m, rest, stop, es, stopst, false);
if (walk(m, sp, rest, ssub, esub, false) != NULL) {
rest = walk(m, sp, stp, ss, es, false);
tail = walk(m, rest, stop, es, stopst, false);
sep = walk(m, ssp, rest, ssub, esub, false);
assert(walk(m, ssp, sep, ssub, esub, false) == rest);
rest = walk(m, sp, stp, ss, es, false);
tail = walk(m, rest, stop, es, stopst, false);
if (walk(m, sp, rest, ssub, esub, false) == rest)
char *walk, *sep, a, c;
walk = cmptoken(line, "ifdef");
if (walk != NULL) {
sep = trimlr(&walk);
if (*walk == '\0') {
"but got \"%s\"", walk);
definitions == NULL || sl_find(definitions, walk) == NULL)
walk = cmptoken(line, "ifndef");
if (walk != NULL) {
sep = trimlr(&walk);
if (*walk == '\0') {
"but got \"%s\"", walk);
(definitions != NULL && sl_find(definitions, walk) != NULL))
walk = cmptoken(line, "else");
if (walk != NULL) {
(void)trimlr(&walk);
if (*walk != '\0') {
walk = cmptoken(line, "include");
if (walk != NULL) {
(void)trimlr(&walk);
if (*walk == '\0') {
if (*walk != '<' && *walk != '\"') {
a = *walk == '<' ? '>' : '\"';
walk++;
c = walk[strlen(walk) - 1];
walk[strlen(walk) - 1] = '\0';
if (cal_parse(cal_fopen(walk), out))
walk = cmptoken(line, "define");
if (walk != NULL) {
sep = trimlr(&walk);
if (*walk == '\0') {
if (sl_find(definitions, walk) == NULL)
sl_add(definitions, strdup(walk));
walk = cmptoken(line, "undef");
if (walk != NULL) {
sep = trimlr(&walk);
if (*walk == '\0') {
"but got \"%s\"", walk);
walk = sl_find(definitions, walk);
if (walk != NULL)
walk[0] = '\0';
walk = cmptoken(line, "warning");
if (walk != NULL) {
(void)trimlr(&walk);
WARN1("Warning: %s", walk);
walk = cmptoken(line, "error");
if (walk != NULL) {
(void)trimlr(&walk);
WARN1("Error: %s", walk);
char *walk = *buf;
while (isspace(*walk))
walk++;
*buf = walk;
sep = walk;
while (last > walk && isspace(*last))
const char *walk;
for (walk = group_format; *walk != '\0'; walk++) {
if (*walk == '%') {
walk++;
switch (*walk) {
printf("%%%c", *walk);
printf("%c", *walk);
while (isspace(*walk))
walk++;
cp = walk;
if (*walk == '\0') {
if (soelim_file(soelim_fopen(walk), flag) == 1) {
char *walk, *cp;
walk = line + 3;
if (!isspace(*walk) && ((flag & C_OPTION) == 0)) {
char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname;
walk = skel = optarg;
if (*walk == '/')
walk++;
if (fstatat(conf.rootfd, walk, &st, 0) == -1)
char *gecos, *homedir, *grname, *name, *newname, *walk, *skel, *shell;
walk = skel = optarg;
if (*walk == '/')
walk++;
if (fstatat(conf.rootfd, walk, &st, 0) == -1)