Searched refs:error_info (Results 1 - 25 of 114) sorted by relevance

12345

/illumos-gate/usr/src/lib/libast/common/misc/
H A Derrorx.c28 * this fills in NiL arg defaults and calls error_info.translate
36 if (!error_info.translate) error_info.translate = translate; /* 2007-03-19 OLD_Error_info_t workaround */
42 cat = (const char*)error_info.catalog;
44 cmd = (const char*)error_info.id;
45 if (s = (*error_info.translate)(loc, cmd, cat, msg))
H A Derror.c30 * level >= error_info.core!=0 dumps core
31 * level >= ERROR_FATAL calls error_info.exit
48 * 2007-03-19 move error_info from _error_info_ to (*_error_infop_)
81 * these should probably be in error_info
162 error_info.core = error_state.breakpoint;
166 error_info.set |= ERROR_CATALOG;
168 error_info.clear |= ERROR_CATALOG;
177 error_info.fd = n ? strtol(v, NiL, 0) : -1;
181 error_info.set |= ERROR_LIBRARY;
183 error_info
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmdinit.c48 error_info.flags |= flags;
54 error_info.id = cp;
55 if (!error_info.catalog)
56 error_info.catalog = catalog;
H A Dtty.c78 if(error_info.errors)
83 error_info.errors++;
96 return(error_info.errors);
H A Dlogname.c71 if (error_info.errors)
H A Dmktemp.c126 if (error_info.errors || (pfx = *argv++) && *argv)
151 error_info.errors++;
165 error_info.errors++;
170 return error_info.errors != 0;
H A Dsync.c71 if (error_info.errors || *argv)
H A Drmdir.c86 if (error_info.errors || !*argv)
106 error_info.errors++;
120 return(error_info.errors != 0);
H A Dcmd.h84 error_info.id = cp;
85 if (!error_info.catalog)
86 error_info.catalog = (char*)catalog;
89 error_info.flags |= flags & ~(ERROR_CALLBACK|ERROR_NOTIFY);
H A Dhead.c120 if (error_info.errors)
149 return error_info.errors != 0;
H A Dmkfifo.c83 if (error_info.errors || !*argv)
97 return error_info.errors != 0;
H A Drm.c130 error_info.errors++;
135 error_info.errors++;
148 error_info.errors++;
233 error_info.errors++;
240 error_info.errors++;
248 error_info.errors++;
329 error_info.errors++;
395 if (error_info.errors || !*argv)
423 return error_info.errors != 0;
/illumos-gate/usr/src/lib/libast/common/include/
H A Derror.h57 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
95 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
97 #define errorpush(p,f) (*(p)=*ERROR_CONTEXT_BASE,*ERROR_CONTEXT_BASE=error_info.empty,error_info.context=(Error_context_t*)(p),error_info.flags=(f))
163 #define error_info (*_error_infop_) macro
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathfind.c116 * on the assumption that error_info.file is properly stacked
119 if (error_info.file && (s = strrchr(error_info.file, '/')))
121 sfsprintf(buf, size, "%-.*s%s", s - error_info.file + 1, error_info.file, name);
126 sfsprintf(buf, size, "%-.*s%s%.s", s - error_info.file + 1, error_info.file, name, type);
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dgetopt.c63 if (!error_info.id)
64 error_info.id = argv[0];
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllfind.c43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsgget.c64 error_info.id = "msgget";
79 if (error_info.errors || !(loc = *argv++) || !(cmd = *argv++) || !(s = *argv++))
108 return error_info.errors != 0;
H A Dmsggen.c233 error_info.id = "msggen";
257 if (error_info.errors || !(catfile = *argv++))
267 return error_info.errors != 0;
348 return error_info.errors != 0;
374 error_info.file = msgfile;
377 error_info.line++;
430 error_info.line++;
481 error_info.file = 0;
482 error_info.line = 0;
511 if (!(s = pathtemp(NiL, 0, "", error_info
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #define errorpush(p,f) (*(p)= *ERROR_CONTEXT_BASE,*ERROR_CONTEXT_BASE=error_info.empty,error_info.context=(Error_context_t*)(p),error_info.flags=(f))
174 #define error_info (*_error_infop_) macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #define errorpush(p,f) (*(p)= *ERROR_CONTEXT_BASE,*ERROR_CONTEXT_BASE=error_info.empty,error_info.context=(Error_context_t*)(p),error_info.flags=(f))
174 #define error_info (*_error_infop_) macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #define errorpush(p,f) (*(p)= *ERROR_CONTEXT_BASE,*ERROR_CONTEXT_BASE=error_info.empty,error_info.context=(Error_context_t*)(p),error_info.flags=(f))
174 #define error_info (*_error_infop_) macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #define errorpush(p,f) (*(p)= *ERROR_CONTEXT_BASE,*ERROR_CONTEXT_BASE=error_info.empty,error_info.context=(Error_context_t*)(p),error_info.flags=(f))
174 #define error_info (*_error_infop_) macro
/illumos-gate/usr/src/lib/libpp/common/
H A Dppcall.c100 (*pp.macref)(sym, error_info.file, error_info.line, (pp.state & CONDITIONAL) ? REF_IF : REF_NORMAL, 0L);
118 error_info.line++;
200 error_info.line++;
224 error_info.line--;
250 last_line = error_info.line;
251 last_file = error_info.file;
252 mp->line = error_info.line;
371 error_info.line++;
379 if (error_info
[all...]
H A Dppmisc.c47 if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_IF : ref, 0L);
222 if (error_info.line)
223 (*pp.linesync)(error_info.line, error_info.file);
H A Dpplex.c78 error_info.line += spliced; \
98 if (error_info.line) \
103 (*pp.linesync)(error_info.line, error_info.file); \
210 error_info.indent++;
292 if (!comstart) comstart = comdelim = error_info.line;
293 error_info.line++;
312 else if (comstart && comstart != error_info.line)
314 if (qual || comdelim < error_info.line - 1)
319 else comdelim = error_info
[all...]

Completed in 58 milliseconds

12345