Home
last modified time | relevance | path

Searched refs:msgid1 (Results 1 – 14 of 14) sorted by relevance

/third_party/python/Lib/
Dgettext.py291 def ngettext(self, msgid1, msgid2, n): argument
293 return self._fallback.ngettext(msgid1, msgid2, n)
295 return msgid1
299 def lngettext(self, msgid1, msgid2, n): argument
308 return self._fallback.lngettext(msgid1, msgid2, n)
310 tmsg = msgid1
322 def npgettext(self, context, msgid1, msgid2, n): argument
324 return self._fallback.npgettext(context, msgid1, msgid2, n)
326 return msgid1
452 msgid1, msgid2 = msg.split(b'\x00')
[all …]
/third_party/gettext/gettext-runtime/intl/
Dlog.c65 const char *msgid1, const char *msgid2, int plural) in __libc_lock_define_initialized()
97 separator = strchr (msgid1, MSGCTXT_SEPARATOR); in __libc_lock_define_initialized()
102 print_escaped (logfile, msgid1, separator); in __libc_lock_define_initialized()
103 msgid1 = separator + 1; in __libc_lock_define_initialized()
106 print_escaped (logfile, msgid1, msgid1 + strlen (msgid1)); in __libc_lock_define_initialized()
121 const char *msgid1, const char *msgid2, int plural) in _nl_log_untranslated() argument
124 _nl_log_untranslated_locked (logfilename, domainname, msgid1, msgid2, plural); in _nl_log_untranslated()
Dintl-compat.c85 ngettext (const char *msgid1, const char *msgid2, unsigned long int n) in ngettext() argument
87 return libintl_ngettext (msgid1, msgid2, n); in ngettext()
94 const char *msgid1, const char *msgid2, unsigned long int n) in dngettext() argument
96 return libintl_dngettext (domainname, msgid1, msgid2, n); in dngettext()
103 const char *msgid1, const char *msgid2, unsigned long int n, in dcngettext() argument
106 return libintl_dcngettext (domainname, msgid1, msgid2, n, category); in dcngettext()
Ddcigettext.c467 const char *msgid1, const char *msgid2, in gl_dcigettext() argument
473 DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, in gl_dcigettext()
501 if (msgid1 == NULL) in gl_dcigettext()
508 ? (char *) msgid1 in gl_dcigettext()
510 : n == 1 ? (char *) msgid1 : (char *) msgid2); in gl_dcigettext()
538 search.msgid.ptr = msgid1; in gl_dcigettext()
794 retval = _nl_find_msg (domain, binding, encoding, msgid1, &retlen); in gl_dcigettext()
796 retval = _nl_find_msg (domain, binding, msgid1, 1, &retlen); in gl_dcigettext()
807 encoding, msgid1, &retlen); in gl_dcigettext()
810 msgid1, 1, &retlen); in gl_dcigettext()
[all …]
Ddngettext.c49 const char *msgid1, const char *msgid2, unsigned long int n) in DNGETTEXT() argument
51 return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES); in DNGETTEXT()
Dngettext.c55 NGETTEXT (const char *msgid1, const char *msgid2, unsigned long int n) in NGETTEXT() argument
57 return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES); in NGETTEXT()
Ddcngettext.c46 const char *msgid1, const char *msgid2, unsigned long int n, in DCNGETTEXT() argument
49 return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category); in DCNGETTEXT()
Dlibintl.glibc114 # define ngettext(msgid1, msgid2, n) dngettext (NULL, msgid1, msgid2, n)
116 # define dngettext(domainname, msgid1, msgid2, n) \
117 dcngettext (domainname, msgid1, msgid2, n, LC_MESSAGES)
DChangeLog.0995 (_nl_log_untranslated_locked): If msgid1 contains the msgctxt
/third_party/musl/src/locale/
Ddcngettext.c117 char *dcngettext(const char *domainname, const char *msgid1, const char *msgid2, unsigned long int … in dcngettext() argument
143 return (char *) ((n == 1) ? msgid1 : msgid2); in dcngettext()
238 const char *trans = __mo_lookup(p->map, p->map_size, msgid1); in dcngettext()
264 char *dngettext(const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n) in dngettext() argument
266 return dcngettext(domainname, msgid1, msgid2, n, LC_MESSAGES); in dngettext()
Dtextdomain.c39 char *ngettext(const char *msgid1, const char *msgid2, unsigned long int n) in ngettext() argument
41 return dngettext(0, msgid1, msgid2, n); in ngettext()
/third_party/musl/porting/linux/user/src/locale/
Ddcngettext.c148 char *dcngettext(const char *domainname, const char *msgid1, const char *msgid2, unsigned long int … in dcngettext() argument
184 return (char *) ((n == 1) ? msgid1 : msgid2); in dcngettext()
296 const char *trans = __mo_lookup(p->map, p->map_size, msgid1); in dcngettext()
327 char *dngettext(const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n) in dngettext() argument
329 return dcngettext(domainname, msgid1, msgid2, n, LC_MESSAGES); in dngettext()
/third_party/gettext/gettext-tools/doc/
Dgettext.texi6603 @deftypefun {char *} ngettext (const@tie{}char@tie{}*@var{msgid1}, const@tie{}char@tie{}*@var{msgid…
6606 extra arguments. The @var{msgid1} parameter must contain the singular
6610 message catalog is found @var{msgid1} is returned if @code{n == 1},
6686 …ngettext (const@tie{}char@tie{}*@var{domain}, const@tie{}char@tie{}*@var{msgid1}, const@tie{}char@…
6693 …ngettext (const@tie{}char@tie{}*@var{domain}, const@tie{}char@tie{}*@var{msgid1}, const@tie{}char@…
/third_party/gettext/gettext-tools/src/
DChangeLog.03543 (scan_c_file): Extend state machine to allow remembering msgid1 and