/titanic_50/usr/src/lib/libc/port/i18n/ |
H A D | gettext.c | 182 ngettext(const char *msgid1, const char *msgid2, unsigned long int n) in ngettext() argument 188 INIT_GT((char *)msgid1); in ngettext() 189 res = _real_gettext_u(NULL, msgid1, msgid2, n, LC_MESSAGES, 1, NULL); in ngettext() 196 dngettext(const char *domain, const char *msgid1, const char *msgid2, in dngettext() argument 203 INIT_GT((char *)msgid1); in dngettext() 204 res = _real_gettext_u(domain, msgid1, msgid2, n, LC_MESSAGES, 1, NULL); in dngettext() 211 dcngettext(const char *domain, const char *msgid1, const char *msgid2, in dcngettext() argument 218 INIT_GT((char *)msgid1); in dcngettext() 219 res = _real_gettext_u(domain, msgid1, msgid2, n, category, 1, NULL); in dcngettext()
|
H A D | gettext_real.c | 58 _real_gettext_u(const char *domain, const char *msgid1, const char *msgid2, in _real_gettext_u() argument 76 domain ? domain : "NULL", msgid1 ? msgid1 : "NULL", in _real_gettext_u() 82 if (msgid1 == NULL) in _real_gettext_u() 129 DFLTMSG(result, msgid1, msgid2, n, plural); in _real_gettext_u() 141 DFLTMSG(result, msgid1, msgid2, n, plural); in _real_gettext_u() 155 DFLTMSG(result, msgid1, msgid2, n, plural); in _real_gettext_u() 165 DFLTMSG(result, msgid1, msgid2, n, plural); in _real_gettext_u() 169 mp->msgid1 = msgid1; in _real_gettext_u() 224 DFLTMSG(result, msgid1, msgid2, n, plural); in _real_gettext_u() 272 DFLTMSG(result, msgid1, msgid2, n, plural); in _real_gettext_u() [all …]
|
H A D | gettext.h | 145 const char *msgid1; /* msgid1 argument */ member 172 #define DFLTMSG(result, msgid1, msgid2, n, plural) \ argument 174 ((n == 1) ? (char *)msgid1 : (char *)msgid2) : \ 175 (char *)msgid1)
|
H A D | gettext_gnu.c | 154 DFLTMSG(result, mp->msgid1, mp->msgid2, in dfltmsgstr() 351 DFLTMSG(result, mp->msgid1, mp->msgid2, mp->n, mp->plural); in handle_lang() 372 gnu_msgsearch(Msg_g_node *gmnp, const char *msgid1, in gnu_msgsearch() argument 386 (void *)gmnp, msgid1, msgstrlen, midx); in gnu_msgsearch() 416 val = strcmp(msg_id_str, msgid1); in gnu_msgsearch() 430 return ((char *)msgid1); in gnu_msgsearch() 434 hash_id = get_hashid(msgid1, &msglen); in gnu_msgsearch() 443 return ((char *)msgid1); in gnu_msgsearch() 453 return ((char *)msgid1); in gnu_msgsearch() 460 if (msglen <= mlen && strcmp(msgid1, msg) == 0) { in gnu_msgsearch() [all …]
|
H A D | gettext_util.c | 420 mp->msgid1 ? mp->msgid1 : "(null)"); in printmp()
|