Home
last modified time | relevance | path

Searched refs:errorf (Results 1 – 25 of 78) sorted by relevance

1234

/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/
H A Dcmdarg.c54 disc.errorf = errorf; in cmdopen()
77 cmdopen_20110505(char** argv, int argmax, int size, const char* argpat, int flags, Error_f errorf) in cmdopen_20110505() argument
84 disc.errorf = errorf; in cmdopen_20110505()
139 if (disc->errorf) in cmdopen_20120411()
140 (*disc->errorf)(NiL, sh, 2, "size must be at least %d", m); in cmdopen_20120411()
151 if (disc->errorf) in cmdopen_20120411()
152 (*disc->errorf)(NiL, sh, ERROR_SYSTEM|2, "out of space"); in cmdopen_20120411()
157 cmd->errorf in cmdopen_20120411()
[all...]
H A Dfastfind.c264 if (fp->disc->errorf) in findopen()
265 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: cannot locate codes", file ? file : findcodes[2]); in findopen()
278 if (fp->disc->errorf) in findopen()
279 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "cannot create tmp file"); in findopen()
299 if (fp->disc->errorf) in findopen()
300 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot create tmp file in this directory", p ? p : "."); in findopen()
307 if (fp->disc->errorf) in findopen()
308 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot open tmp file", fp->encode.temp); in findopen()
325 if (fp->disc->errorf) in findopen()
326 (*fp->disc->errorf)(f in findopen()
[all...]
H A Dmagic.c370 else if ((mp->flags & MAGIC_VERBOSE) && mp->disc->errorf) in indirect()
371 (*mp->disc->errorf)(mp, mp->disc, 2, "%s in indirect expression", *e); in indirect()
384 if ((mp->flags & MAGIC_VERBOSE) && mp->disc->errorf) in regmessage()
387 (*mp->disc->errorf)(mp, mp->disc, 3, "regex: %s", buf); in regmessage()
1191 else if (mp->disc->errorf) in cklang()
1192 (*mp->disc->errorf)(mp, mp->disc, 3, "out of space"); in cklang()
1714 else if ((mp->flags & MAGIC_VERBOSE) && mp->disc->errorf) in load()
1715 (*mp->disc->errorf)(mp, mp->disc, 1, "{ ... } operator nesting too deep -- %d max", MAXNEST); in load()
1720 if (mp->disc->errorf) in load()
1721 (*mp->disc->errorf)(m in load()
[all...]
H A Dmimetype.c59 mp->magicd.errorf = mp->disc->errorf; in mimetype()
H A Derrorf.c33 errorf(void* handle, void* discipline, int level, ...) in errorf() function
H A Dcmdlib.h36 Error_f errorf; /* optional error callback */ \
/titanic_51/usr/src/lib/libast/common/misc/
H A Dfastfind.c285 if (fp->disc->errorf) in findopen()
286 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: cannot locate codes", file ? file : findcodes[2]); in findopen()
299 if (fp->disc->errorf) in findopen()
300 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "cannot create tmp file"); in findopen()
320 if (fp->disc->errorf) in findopen()
321 …(*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot create tmp file in this directory", … in findopen()
328 if (fp->disc->errorf) in findopen()
329 (*fp->disc->errorf)(fp, fp->disc, ERROR_SYSTEM|2, "%s: cannot open tmp file", fp->encode.temp); in findopen()
346 if (fp->disc->errorf) in findopen()
347 (*fp->disc->errorf)(fp, fp->disc, 2, "cannot allocate type table"); in findopen()
[all …]
H A Dmagic.c370 else if ((mp->flags & MAGIC_VERBOSE) && mp->disc->errorf) in indirect()
371 (*mp->disc->errorf)(mp, mp->disc, 2, "%s in indirect expression", *e); in indirect()
384 if ((mp->flags & MAGIC_VERBOSE) && mp->disc->errorf) in regmessage()
387 (*mp->disc->errorf)(mp, mp->disc, 3, "regex: %s", buf); in regmessage()
1153 else if (mp->disc->errorf) in cklang()
1154 (*mp->disc->errorf)(mp, mp->disc, 3, "out of space"); in cklang()
1673 else if ((mp->flags & MAGIC_VERBOSE) && mp->disc->errorf) in load()
1674 (*mp->disc->errorf)(mp, mp->disc, 1, "{ ... } operator nesting too deep -- %d max", MAXNEST); in load()
1679 if (mp->disc->errorf) in load()
1680 (*mp->disc->errorf)(mp, mp->disc, 2, "`%c': invalid nesting", *p); in load()
[all …]
H A Dmimetype.c59 mp->magicd.errorf = mp->disc->errorf; in mimetype()
H A Derrorf.c33 errorf(void* handle, void* discipline, int level, ...) in errorf() function
/titanic_51/usr/src/contrib/ast/src/lib/libdll/
H A Ddllcheck.c45 errorf("dll", NiL, 1, "dllversion: %s: %s", path, state.errorbuf); in dllversion()
79 errorf("dll", NiL, 1, "dllcheck: %s: %s", path, state.errorbuf); in dllcheck()
83 errorf("dll", NiL, -1, "dllversion: %s: %lu >= %lu", path, v, ver); in dllcheck()
H A Ddll_lib.c143 errorf("dll", NiL, -1, "dll_lib: %s version %lu library not found", names->name, version); in dll_lib()
157 errorf("dll", NiL, -1, "dll_lib: %s version %lu initialization function %s not found in library", names->name, version, sym); in dll_lib()
172 errorf("dll", NiL, -1, "dll_lib: %s version %lu loaded from %s", names->name, version, lib->path); in dll_lib()
H A Ddlllook.c47 errorf("dll", NiL, -1, "dlllook: %s addr %p", name, addr); in dlllook()
/titanic_51/usr/src/cmd/sgs/lex/common/
H A Dsub1.c99 (void) fprintf(errorf, "Command line: ");
101 (void) fprintf(errorf,
103 (void) fprintf(errorf, "line %d: ", yyline);
105 (void) fprintf(errorf, "Error: ");
107 (void) fprintf(errorf, s, p, d);
108 (void) putc('\n', errorf);
137 (void) fprintf(errorf, "Command line: ");
139 (void) fprintf(errorf,
141 (void) fprintf(errorf,
144 (void) fprintf(errorf, "Warnin
[all...]
H A Dheader.c372 (void) fprintf(errorf, in statistics()
376 (void) fprintf(errorf, in statistics()
379 (void) fprintf(errorf, in statistics()
381 (void) fprintf(errorf, " %d/%d output slots(%%o)", yytop, outsize); in statistics()
382 (void) putc('\n', errorf); in statistics()
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/
H A Dcmdarg.h52 #define CMDDISC(d,f,e) (memset(d,0,sizeof(*(d))),(d)->version=CMD_VERSION,(d)->flags=(f),(d)->errorf=(e))
63 Error_f errorf; /* optional error function */ member
H A Dmagic.h61 Error_f errorf; /* error function */ member
H A Dfind.h59 Error_f errorf; /* error function */ member
H A Daso.h56 #define ASODISC(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ASO_VERSION,(d)->errorf=(e))
66 Asoerror_f errorf; member
/titanic_51/usr/src/contrib/ast/src/lib/libast/aso/
H A Daso.c114 Asoerror_f errorf;
171 return state.errorf(type, buf);
252 state.errorf = disc->errorf;
262 if (state.errorf)
277 if (state.errorf)
300 if (state.hung && !(rep & state.hung) && state.errorf)
314 if ((r = state.lockf(data, k, p)) < 0 && state.errorf)
/titanic_51/usr/src/contrib/ast/src/lib/libast/astsa/
H A Derror.h63 extern int errorf(void*, void*, int, ...);
/titanic_51/usr/src/lib/libast/common/include/
H A Dmagic.h60 Error_f errorf; /* error function */ member
H A Dfind.h59 Error_f errorf; /* error function */ member
H A Dmime.h61 Error_f errorf; /* error function */ member
/titanic_51/usr/src/lib/libdll/common/
H A Ddllplug.c60 errorf("dll", NiL, 1, "%s: dlopen failed: %s", dle->path, dlerror()); in dllplug()

1234