Lines Matching refs:conferror

602 format(register Feature_t* fp, const char* path, const char* value, unsigned int flags, Error_f conferror)
695 if (conferror)
696 (*conferror)(&state, &state, 2, "%s: %s: universe value too large", fp->name, value);
753 feature(const char* name, const char* path, const char* value, unsigned int flags, Error_f conferror)
773 if (conferror)
774 (*conferror)(&state, &state, 2, "%s: out of space", name);
789 if (conferror)
790 (*conferror)(&state, &state, 2, "%s: cannot set readonly symbol", fp->name);
798 return format(fp, path, value, flags, conferror);
943 print(Sfio_t* sp, register Lookup_t* look, const char* name, const char* path, int listflags, Error_f conferror)
985 if (conferror && name)
996 (*conferror)(&state, &state, 2, "%s: path expected", name);
1003 (*conferror)(&state, &state, 2, "%s: path not expected", name);
1017 (*conferror)(&state, &state, 2, "%s: path not expected", name);
1160 if (conferror)
1163 (*conferror)(&state, &state, ERROR_SYSTEM|2, "%s: %s error", p->name, call);
1165 (*conferror)(&state, &state, 2, "%s: unknown name", p->name);
1354 astgetconf(const char* name, const char* path, const char* value, int flags, Error_f conferror)
1364 conferror = errorf;
1367 else if (conferror && conferror != errorf)
1368 conferror = 0;
1396 if (state.recent && streq(name, state.recent->name) && (s = format(state.recent, path, value, flags, conferror)))
1404 if (conferror)
1405 (*conferror)(&state, &state, 2, "%s: cannot set value", name);
1408 return print(NiL, &look, name, path, flags, conferror);
1444 if (conferror)
1445 (*conferror)(&state, &state, 2, "%s: cannot set value", altname);
1448 return print(NiL, &altlook, altname, path, flags, conferror);
1471 if ((look.standard < 0 || look.standard == CONF_AST) && look.call <= 0 && look.section <= 1 && (s = feature(look.name, path, value, flags, conferror)))
1474 if (conferror && !(flags & ASTCONF_system))
1475 (*conferror)(&state, &state, 2, "%s: unknown name", name);