/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | cmdarg.c | 54 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 = disc->errorf; in cmdopen_20120411() 179 if (cmd->errorf) in cmdopen_20120411() 180 (*cmd->errorf)(NiL, cmd, ERROR_SYSTEM|2, "%s: command not found", exe); in cmdopen_20120411() [all …]
|
H A D | fastfind.c | 264 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", … 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)(fp, fp->disc, 2, "cannot allocate type table"); in findopen() [all …]
|
H A D | magic.c | 370 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)(mp, mp->disc, 2, "`%c': invalid nesting", *p); in load() [all …]
|
H A D | mimetype.c | 59 mp->magicd.errorf = mp->disc->errorf; in mimetype()
|
H A D | errorf.c | 33 errorf(void* handle, void* discipline, int level, ...) in errorf() function
|
H A D | cmdlib.h | 36 Error_f errorf; /* optional error callback */ \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dllcheck.c | 45 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 D | dll_lib.c | 143 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", … 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 D | dlllook.c | 47 errorf("dll", NiL, -1, "dlllook: %s addr %p", name, addr); in dlllook()
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub1.c | 98 (void) fprintf(errorf, "Command line: "); in error() 100 (void) fprintf(errorf, in error() 102 (void) fprintf(errorf, "line %d: ", yyline); in error() 104 (void) fprintf(errorf, "Error: "); in error() 106 (void) vfprintf(errorf, s, ap); in error() 108 (void) putc('\n', errorf); in error() 136 (void) fprintf(errorf, "Command line: "); in warning() 138 (void) fprintf(errorf, in warning() 140 (void) fprintf(errorf, in warning() 144 (void) fprintf(errorf, "Warning: "); in warning() [all …]
|
H A D | header.c | 368 (void) fprintf(errorf, in statistics() 372 (void) fprintf(errorf, in statistics() 375 (void) fprintf(errorf, in statistics() 377 (void) fprintf(errorf, " %d/%d output slots(%%o)", yytop, outsize); in statistics() 378 (void) putc('\n', errorf); in statistics()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | cmdarg.h | 52 …e 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 D | aso.h | 56 #define ASODISC(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ASO_VERSION,(d)->errorf=(e)) 66 Asoerror_f errorf; member
|
H A D | magic.h | 61 Error_f errorf; /* error function */ member
|
H A D | find.h | 59 Error_f errorf; /* error function */ member
|
H A D | mime.h | 61 Error_f errorf; /* error function */ member
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso.c | 114 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)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | iconv.c | 1397 if (disc->errorf) in _ast_iconv_write() 1398 …(*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "incomplete multibyte sequence at offset %I*u", sizeof(… in _ast_iconv_write() 1401 if (disc->errorf) in _ast_iconv_write() 1402 …(*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "invalid multibyte sequence at offset %I*u", sizeof(fo)… in _ast_iconv_write() 1498 if (disc->errorf) in _ast_iconv_move() 1499 …(*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "incomplete multibyte sequence at offset %I*u", sizeof(… in _ast_iconv_move() 1505 if (disc->errorf) in _ast_iconv_move() 1506 …(*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "invalid multibyte sequence at offset %I*u", sizeof(ft)… in _ast_iconv_move()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | error.h | 63 extern int errorf(void*, void*, int, ...);
|
H A D | error.c | 95 errorf(void* handle, void* discipline, int level, ...) in errorf() function
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | iconv | 81 printf(" Iconv_error_f errorf;\n"); 91 …printf("#define iconv_init(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ICONV_VERSION,(d)->errorf=…
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | iconv | 115 Iconv_error_f errorf; 125 #define iconv_init(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ICONV_VERSION,(d)->errorf=(Iconv_er…
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | iconv | 115 Iconv_error_f errorf; 125 #define iconv_init(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ICONV_VERSION,(d)->errorf=(Iconv_er…
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | iconv | 115 Iconv_error_f errorf; 125 #define iconv_init(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ICONV_VERSION,(d)->errorf=(Iconv_er…
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | iconv | 115 Iconv_error_f errorf; 125 #define iconv_init(d,e) (memset(d,0,sizeof(*(d))),(d)->version=ICONV_VERSION,(d)->errorf=(Iconv_er…
|