Lines Matching refs:conferror

604 format(register Feature_t* fp, const char* path, const char* value, unsigned int flags, Error_f conferror)
701 if (conferror)
702 (*conferror)(&state, &state, 2, "%s: %s: universe value too large", fp->name, value);
762 feature(register Feature_t* fp, const char* name, const char* path, const char* value, unsigned int flags, Error_f conferror)
782 if (conferror)
783 (*conferror)(&state, &state, 2, "%s: out of space", name);
798 if (conferror)
799 (*conferror)(&state, &state, 2, "%s: cannot set readonly symbol", fp->name);
807 return format(fp, path, value, flags, conferror);
952 print(Sfio_t* sp, register Lookup_t* look, const char* name, const char* path, int listflags, Error_f conferror)
994 if (conferror && name)
1005 (*conferror)(&state, &state, 2, "%s: path expected", name);
1012 (*conferror)(&state, &state, 2, "%s: path not expected", name);
1026 (*conferror)(&state, &state, 2, "%s: path not expected", name);
1169 if (conferror)
1172 (*conferror)(&state, &state, ERROR_SYSTEM|2, "%s: %s error", p->name, call);
1174 (*conferror)(&state, &state, 2, "%s: unknown name", p->name);
1363 astgetconf(const char* name, const char* path, const char* value, int flags, Error_f conferror)
1373 conferror = errorf;
1376 else if (conferror && conferror != errorf)
1377 conferror = 0;
1405 if (state.recent && streq(name, state.recent->name) && (s = format(state.recent, path, value, flags, conferror)))
1413 if (conferror)
1414 (*conferror)(&state, &state, 2, "%s: cannot set value", name);
1417 return print(NiL, &look, name, path, flags, conferror);
1453 if (conferror)
1454 (*conferror)(&state, &state, 2, "%s: cannot set value", altname);
1457 return print(NiL, &altlook, altname, path, flags, conferror);
1480 if ((look.standard < 0 || look.standard == CONF_AST) && look.call <= 0 && look.section <= 1 && (s = feature(0, look.name, path, value, flags, conferror)))
1483 if (conferror && !(flags & ASTCONF_system))
1484 (*conferror)(&state, &state, 2, "%s: unknown name", name);