/external/e2fsprogs/lib/support/ |
nls-enable.h | 10 #define P_(singular, plural, n) (ngettext (singular, plural, n)) 20 #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural))
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
intl.h | 41 # define ngettext(singular,plural,n) fake_ngettext(singular,plural,n) 45 extern const char *fake_ngettext(const char *singular,const char *plural,
|
/external/e2fsprogs/intl/ |
plural-exp.c | 1 /* Expression parsing for plural form selection. 28 #include "plural-exp.h" 33 /* These structs are the constant expression for the germanic plural 104 const char *plural; local 107 plural = strstr (nullentry, "plural="); 109 if (plural == NULL || nplurals == NULL) 137 plural += 7; 138 args.cp = plural; 147 for `one', the plural form otherwise. Yes, this is also wha [all...] |
log.c | 54 const char *msgid1, const char *msgid2, int plural) 89 if (plural)
|
gettextP.h | 125 struct expression *plural; member in struct:loaded_domain
|
/toolchain/binutils/binutils-2.25/intl/ |
plural-exp.c | 1 /* Expression parsing for plural form selection. 28 #include "plural-exp.h" 33 /* These structs are the constant expression for the germanic plural 106 const char *plural; local 109 plural = strstr (nullentry, "plural="); 111 if (plural == NULL || nplurals == NULL) 139 plural += 7; 140 args.cp = plural; 149 for `one', the plural form otherwise. Yes, this is also wha [all...] |
log.c | 55 _nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural) 60 int plural; 95 if (plural)
|
dcigettext.c | 91 #include "plural-exp.h" 420 /* Get the function to evaluate the plural expression. */ 421 #include "eval-plural.h" 424 CATEGORY locale and, if PLURAL is nonzero, search over string 425 depending on the plural form determined by N. */ 427 DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) 431 int plural; 461 return (plural == 0 463 /* Use the Germanic plural rule. */ 496 /* Now deal with plural. * [all...] |
gettextP.h | 133 struct expression *plural; member in struct:loaded_domain
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
gettext.py | 35 # J. David Ibanez implemented plural forms. Bruno Haible fixed some bugs.
69 Required to correctly interpret plural forms.
77 def c2py(plural):
78 """Gets a C expression as used in PO files for plural forms and returns a
87 tokens = tokenize.generate_tokens(StringIO(plural).readline)
92 'plural forms expression error, maybe unbalanced parenthesis'
95 raise ValueError, 'plural forms expression could be dangerous'
98 plural = plural.replace('&&', ' and ')
99 plural = plural.replace('||', ' or ') [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
gettext.py | 35 # J. David Ibanez implemented plural forms. Bruno Haible fixed some bugs.
67 Required to correctly interpret plural forms.
75 def c2py(plural):
76 """Gets a C expression as used in PO files for plural forms and returns a
85 tokens = tokenize.generate_tokens(StringIO(plural).readline)
90 'plural forms expression error, maybe unbalanced parenthesis'
93 raise ValueError, 'plural forms expression could be dangerous'
96 plural = plural.replace('&&', ' and ')
97 plural = plural.replace('||', ' or ') [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
gettext.py | 35 # J. David Ibanez implemented plural forms. Bruno Haible fixed some bugs. 67 Required to correctly interpret plural forms. 75 def c2py(plural): 76 """Gets a C expression as used in PO files for plural forms and returns a 85 tokens = tokenize.generate_tokens(StringIO(plural).readline) 90 'plural forms expression error, maybe unbalanced parenthesis' 93 raise ValueError, 'plural forms expression could be dangerous' 96 plural = plural.replace('&&', ' and ') 97 plural = plural.replace('||', ' or ' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
gettext.py | 35 # J. David Ibanez implemented plural forms. Bruno Haible fixed some bugs. 67 Required to correctly interpret plural forms. 75 def c2py(plural): 76 """Gets a C expression as used in PO files for plural forms and returns a 85 tokens = tokenize.generate_tokens(StringIO(plural).readline) 90 'plural forms expression error, maybe unbalanced parenthesis' 93 raise ValueError, 'plural forms expression could be dangerous' 96 plural = plural.replace('&&', ' and ') 97 plural = plural.replace('||', ' or ' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
gettext.py | 35 # J. David Ibanez implemented plural forms. Bruno Haible fixed some bugs. 67 Required to correctly interpret plural forms. 75 def c2py(plural): 76 """Gets a C expression as used in PO files for plural forms and returns a 85 tokens = tokenize.generate_tokens(StringIO(plural).readline) 90 'plural forms expression error, maybe unbalanced parenthesis' 93 raise ValueError, 'plural forms expression could be dangerous' 96 plural = plural.replace('&&', ' and ') 97 plural = plural.replace('||', ' or ' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
gettext.py | 35 # J. David Ibanez implemented plural forms. Bruno Haible fixed some bugs. 67 Required to correctly interpret plural forms. 75 def c2py(plural): 76 """Gets a C expression as used in PO files for plural forms and returns a 85 tokens = tokenize.generate_tokens(StringIO(plural).readline) 90 'plural forms expression error, maybe unbalanced parenthesis' 93 raise ValueError, 'plural forms expression could be dangerous' 96 plural = plural.replace('&&', ' and ') 97 plural = plural.replace('||', ' or ' [all...] |
/cts/tools/dasm/src/java_cup/ |
Main.java | 597 /** Helper routine to optionally return a plural or non-plural ending. 600 protected static String plural(int val) method in class:Main 627 plural(lexer.error_count) + " and " + lexer.warning_count + 628 " warning" + plural(lexer.warning_count)); 632 plural(terminal.number()) + ", "); 634 plural(non_terminal.number()) + ", and "); 636 plural(production.number()) + " declared, "); 642 plural(emit.unused_term) + " declared but not used."); 644 plural(emit.unused_term) + " declared but not used.") [all...] |
/external/valgrind/tests/ |
vg_regtest.in | 653 sub plural($) 665 $num_tests_done, plural($num_tests_done), 666 $num_failures{"stderr"}, plural($num_failures{"stderr"}), 667 $num_failures{"stdout"}, plural($num_failures{"stdout"}), 668 $num_failures{"stderrB"}, plural($num_failures{"stderrB"}), 669 $num_failures{"stdoutB"}, plural($num_failures{"stdoutB"}), 670 $num_failures{"post"}, plural($num_failures{"post"}));
|
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator.cpp | 227 void Visit(Plural* plural) override { 228 std::unique_ptr<Plural> localized = util::make_unique<Plural>(); 229 for (size_t i = 0; i < plural->values.size(); i++) { 231 if (plural->values[i]) { 232 plural->values[i]->Accept(&sub_visitor); 236 localized->values[i] = std::unique_ptr<Item>(plural->values[i]->Clone(pool_)); 240 localized->SetSource(plural->GetSource());
|
/external/libmojo/third_party/jinja2/ |
ext.py | 259 plural = plural_names = None 284 plural_names, plural = self._parse_block(parser, False) 300 node = self._make_node(singular, plural, variables, plural_expr, 341 def _make_node(self, singular, plural, variables, plural_expr, 348 if plural: 349 plural = plural.replace('%%', '%') 357 # singular and plural 362 nodes.Const(plural),
|
/frameworks/base/tools/aapt2/ |
ValueVisitor.h | 45 virtual void Visit(Plural* value) { VisitAny(value); } 88 void VisitSubValues(Plural* plural) { 89 for (std::unique_ptr<Item>& item : plural->values) { 105 DECL_VISIT_COMPOUND_VALUE(Plural);
|
/frameworks/base/tools/aapt2/unflatten/ |
BinaryResourceParser.cpp | 558 std::unique_ptr<Plural> BinaryResourceParser::ParsePlural( 561 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); local 570 plural->values[Plural::Zero] = std::move(item); 573 plural->values[Plural::One] = std::move(item); 576 plural->values[Plural::Two] = std::move(item) [all...] |
/frameworks/base/tools/aapt2/proto/ |
TableProtoSerializer.cpp | 145 void Visit(Plural* plural) override { 146 pb::Plural* pb_plural = pb_compound_value()->mutable_plural(); 147 const size_t count = plural->values.size(); 149 if (!plural->values[i]) { 150 // No plural value set here. 157 SerializeItemCommonToPb(*plural->values[i], pb_entry); 159 plural->values[i]->Accept(&sub_visitor);
|
TableProtoDeserializer.cpp | 316 const pb::Plural& pb_plural = pb_compound_value.plural(); 317 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); local 320 plural->values[pluralIdx] = 322 if (!plural->values[pluralIdx]) { 326 DeserializeItemCommon(pb_entry, plural->values[pluralIdx].get()); 328 value = std::move(plural);
|
TableProtoSerializer_test.cpp | 47 // Make a plural. 48 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); local 49 plural->values[Plural::One] = 52 ConfigDescription{}, {}, std::move(plural),
|
/system/core/libmemunreachable/ |
MemUnreachable.cpp | 262 static inline const char* plural(T val) { function 402 info.leak_bytes, info.num_leaks, plural(info.num_leaks), 403 info.allocation_bytes, info.num_allocations, plural(info.num_allocations)); 418 oss << " in " << referenced_count << " allocation" << plural(referenced_count); 424 oss << " in " << similar_count << " allocation" << plural(similar_count); 428 oss << " in " << similar_referenced_count << " allocation" << plural(similar_referenced_count); 491 oss << num_leaks << " unreachable allocation" << plural(num_leaks);
|