Searched refs:translate (Results 1 - 11 of 11) sorted by relevance

/ast/src/lib/libast/misc/
H A Derrorx.c28 * this fills in NiL arg defaults and calls error_info.translate
36 if (!error_info.translate)
37 error_info.translate = translate; /* 2007-03-19 OLD_Error_info_t workaround */
46 if (s = (*error_info.translate)(loc, cmd, cat, msg))
H A Dtranslate.c267 * translate() is called with four arguments:
280 * The first time translate() is called (for a non-C locale)
282 * (Catalog_t) is made each time translate() is called with a new
295 translate(const char* loc, const char* cmd, const char* cat, const char* msg) function
424 sfprintf(sfstderr, "translate locale=%s catalog=%s set=%d seq=%d \"%s\" => \"%s\"\n", cp->locale, cp->name, mp->set, mp->seq, msg, r == (char*)msg ? "NOPE" : r);
H A Derror.c68 translate,
H A Doptget.c185 #define T(i,c,m) (X(c)?translate(i,c,C(m)):(m))
190 * translate with C_LC_MESSAGES_libast[] check
194 translate(const char* cmd, const char* cat, const char* msg) function
/ast/src/lib/libast/port/
H A Dlclib.h32 #define translate _ast_translate macro
69 extern char* translate(const char*, const char*, const char*, const char*);
/ast/src/cmd/msgcc/
H A Dmsgadmin.sh35 \b--generate\b, \b--remove\b, \b--translate\b, or \b--verify\b
52 [t:translate?Translate using \btranslate\b(1).]
101 t) op=translate ;;
150 remove) (( !$# )) && set -- *.msg translate.tmp
154 translate)
156 translate -lmv $all $cache $debug $omit $show $dialect "$@"
/ast/src/lib/libast/include/
H A Derror.h57 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
151 char* (*translate)(const char*, const char*, const char*, const char*); /* format translator */ member in struct:Error_info_s
/ast/src/cmd/tests/
H A Dopt.c79 translate(const char* locale, const char* id, const char* catalog, const char* msg) function
198 error_info.translate = translate;
/ast/src/cmd/cs/
H A Dcs.c71 "[t:translate?\ahost\a name operands are translated to IP address dot notation"
393 int translate = 0; local
456 translate = 1;
522 if (translate)
/ast/src/lib/libast/
H A DMakefile88 localeconv.c setlocale.c translate.c \
/ast/src/cmd/ksh93/sh/
H A Dinit.c503 error_info.translate = msg_translate;

Completed in 30 milliseconds