Home
last modified time | relevance | path

Searched refs:ngettext (Results 1 - 18 of 18) sorted by relevance

/third_party/node/deps/v8/third_party/jinja2/
H A Dext.py36 GETTEXT_FUNCTIONS = ("_", "gettext", "ngettext")
163 def ngettext(__context, __singular, __plural, __num, **variables): function
171 return ngettext
184 # the other time for the n-parameter of the ngettext function.
202 ngettext = getattr(translations, "ungettext", None)
203 if ngettext is None:
204 ngettext = translations.ngettext
205 self._install_callables(gettext, ngettext, newstyle)
212 def _install_callables(self, gettext, ngettext, newstyl
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dext.py31 GETTEXT_FUNCTIONS = ('_', 'gettext', 'ngettext')
149 def ngettext(__context, __singular, __plural, __num, **variables): function
155 return ngettext
167 # the other time for the n-parameter of the ngettext function.
185 ngettext = getattr(translations, 'ungettext', None)
186 if ngettext is None:
187 ngettext = translations.ngettext
188 self._install_callables(gettext, ngettext, newstyle)
197 def _install_callables(self, gettext, ngettext, newstyl
[all...]
/third_party/skia/third_party/externals/jinja2/
H A Dext.py36 GETTEXT_FUNCTIONS = ("_", "gettext", "ngettext")
163 def ngettext(__context, __singular, __plural, __num, **variables): function
171 return ngettext
184 # the other time for the n-parameter of the ngettext function.
202 ngettext = getattr(translations, "ungettext", None)
203 if ngettext is None:
204 ngettext = translations.ngettext
205 self._install_callables(gettext, ngettext, newstyle)
212 def _install_callables(self, gettext, ngettext, newstyl
[all...]
/third_party/python/Lib/test/
H A Dtest_gettext.py215 t.install(names=["gettext", "ngettext"])
218 eq(ngettext, t.ngettext)
221 del builtins.ngettext
319 x = gettext.ngettext('There is %s file', 'There are %s files', 1)
321 x = gettext.ngettext('There is %s file', 'There are %s files', 2)
337 x = t.ngettext('There is %s file', 'There are %s files', 1)
339 x = t.ngettext('There is %s file', 'There are %s files', 2)
550 self.ngettext = self.t.ngettext
[all...]
/third_party/jinja2/
H A Dext.py29 def ngettext(self, singular: str, plural: str, n: int) -> str: member in _TranslationsBasic
47 "ngettext",
186 def ngettext( function
200 return ngettext
255 # the other time for the n-parameter of the ngettext function.
277 ngettext = getattr(translations, "ungettext", None)
278 if ngettext is None:
279 ngettext = translations.ngettext
284 gettext, ngettext, newstyl
[all...]
/third_party/python/Lib/
H A Dgettext.py57 'ngettext', 'pgettext', 'dpgettext', 'npgettext',
280 def ngettext(self, msgid1, msgid2, n): member in NullTranslations
282 return self._fallback.ngettext(msgid1, msgid2, n)
311 allowed = {'gettext', 'ngettext', 'npgettext', 'pgettext'}
430 def ngettext(self, msgid1, msgid2, n): member in GNUTranslations
435 return self._fallback.ngettext(msgid1, msgid2, n)
582 return t.ngettext(msgid1, msgid2, n)
608 def ngettext(msgid1, msgid2, n): function
H A Doptparse.py90 from gettext import gettext, ngettext namespace
95 def ngettext(singular, plural, n): function
1485 self.error(ngettext(
1523 self.error(ngettext(
H A Dargparse.py94 from gettext import gettext as _, ngettext namespace
1622 message = ngettext('conflicting option string: %s',
2205 msg = ngettext('expected %s argument',
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dlibintl.h20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
/third_party/musl/porting/uniproton/kernel/include/
H A Dlibintl.h20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dlibintl.h20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
/third_party/musl/include/
H A Dlibintl.h20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2);
/third_party/musl/src/locale/
H A Dtextdomain.c39 char *ngettext(const char *msgid1, const char *msgid2, unsigned long int n) in ngettext() function
/third_party/libexif/libexif/
H A Di18n.h38 # define ngettext(String1,String2,Count) (Count==1?String1:String2) macro
/third_party/pulseaudio/src/pulsecore/
H A Di18n.h50 #define ngettext(SingularString,PluralString,N) (PluralString)
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-util.c1183 pa_log_debug(ngettext("snd_pcm_avail() returned a value that is exceptionally large: %lu byte (%lu ms).\n" in pa_alsa_safe_avail()
1249 pa_log_debug(ngettext("snd_pcm_delay() returned a value that is exceptionally large: %li byte (%s%lu ms).\n" in pa_alsa_safe_delay()
1277 pa_log_debug(ngettext("snd_pcm_avail() returned a value that is exceptionally large: %lu byte (%lu ms).\n" in pa_alsa_safe_delay()
1339 pa_log_debug(ngettext("snd_pcm_mmap_begin() returned a value that is exceptionally large: %lu byte (%lu ms).\n" in pa_alsa_safe_mmap_begin()
/third_party/elfutils/src/
H A Dreadelf.c1628 ? ngettext ("\ in handle_scngrp()
1633 : ngettext ("\ in handle_scngrp()
1854 printf (ngettext ("\ in handle_dynamic()
1867 printf (ngettext ("\ in handle_dynamic()
2087 printf (ngettext ("\ in handle_relocs_rel()
2102 printf (ngettext ("\ in handle_relocs_rel()
2276 printf (ngettext ("\ in handle_relocs_rela()
2291 printf (ngettext ("\ in handle_relocs_rela()
2540 printf (ngettext ("\nSymbol table [%2u] '%s' contains %u entry:\n", in handle_symtab()
2545 printf (ngettext (" in handle_symtab()
[all...]
/third_party/pulseaudio/src/utils/
H A Dpactl.c206 printf(ngettext("Currently in use: %u block containing %s bytes total.\n", in stat_callback()
212 printf(ngettext("Allocated during whole lifetime: %u block containing %s bytes total.\n", in stat_callback()
1825 pa_log(ngettext("Failed to set volume: You tried to set volumes for %d channel, whereas channel(s) supported = %d\n", in fill_volume()

Completed in 29 milliseconds