/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | error.c | 315 sfprintf(sp, ": \"%s\", %s %d", cp->file, ERROR_translate(NiL, NiL, ast.id, "line"), cp->line); in context() 445 sfprintf(stkstd, "%s: ", ERROR_translate(NiL, NiL, ast.id, "Usage")); in errorv() 462 catalog ? catalog : ERROR_translate(NiL, NiL, ast.id, "DEFAULT"), in errorv() 463 ERROR_translate(NiL, NiL, ast.id, "catalog"), in errorv() 468 ERROR_translate(NiL, NiL, ast.id, "library")); in errorv() 476 sfprintf(stkstd, "%s %d: ", ERROR_translate(NiL, NiL, ast.id, "line"), error_info.line); in errorv() 493 sfprintf(stkstd, "%s: ", ERROR_translate(NiL, NiL, ast.id, "warning")); in errorv() 496 sfprintf(stkstd, "%s: ", ERROR_translate(NiL, NiL, ast.id, "panic")); in errorv() 501 s = ERROR_translate(NiL, NiL, ast.id, "debug"); in errorv() 522 s = ERROR_translate(NiL, NiL, ast.id, "line"); in errorv() [all …]
|
H A D | magic.c | 45 #define T(m) (*m?ERROR_translate(NiL,NiL,lib,m):m)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strerror.c | 126 return ERROR_translate(NiL, NiL, "errlist", msg); in _ast_strerror() 132 sfsprintf(msg, z, ERROR_translate(NiL, NiL, "errlist", "Error %d"), err); in _ast_strerror()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | chgrp.c | 265 sfputr(sp, ERROR_translate(0, 0, 0, "[owner[:group]]"), -1); in b_chgrp() 267 sfputr(sp, ERROR_translate(0, 0, 0, "[[owner:]group]"), -1); in b_chgrp() 389 s = ERROR_translate(0, 0, 0, " owner"); in b_chgrp() 392 s = ERROR_translate(0, 0, 0, " group"); in b_chgrp() 395 s = ERROR_translate(0, 0, 0, " owner and group"); in b_chgrp()
|
H A D | tty.c | 90 tty = ERROR_translate(0, 0, 0, "not a tty"); in b_tty()
|
H A D | cp.c | 632 …_path, state->path, n == 1 ? ERROR_translate(0, 0, 0, "read") : n == 2 ? ERROR_translate(0, 0, 0, … in visit() 750 …state->opname = state->op == CP ? ERROR_translate(0, 0, 0, "overwrite") : ERROR_translate(0, 0, 0,… in b_cp()
|
H A D | RELEASE | 259 ERROR_translate: dictionary update
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | error.h | 56 #ifndef ERROR_translate 58 #define ERROR_translate(l,i,d,m) (ERROR_translating()?errorx((const char*)(l),(const char*)(i),(con… macro
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | string.c | 690 return(ERROR_translate(0,0,e_dict,message)); in _sh_translate() 693 return(ERROR_translate(e_dict,message)); in _sh_translate() 695 return(ERROR_translate(message,1)); in _sh_translate()
|
H A D | lex.c | 2304 msg = ERROR_translate(0,error_info.id,0,ep); in sh_endword() 2307 msg = ERROR_translate(error_info.id,ep); in sh_endword() 2309 msg = ERROR_translate(ep,2); in sh_endword()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/ |
H A D | RELEASE | 229 09-10-28 include/error.h: fix ERROR_translate() arg parens 1287 magic: add ERROR_translate() and msgcat.key 1296 strerror: add _ast_strerror intercept with ERROR_translate("errno") 1299 optget: proper ERROR_translate() calls 1302 errorx: add for ERROR_translate() support 1303 ERROR_translate: add locale id args for alternate dictionary 1333 global change for string ERROR_translate() dictionary names
|