/external/e2fsprogs/misc/ |
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)
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
deprecation.js | 19 shared.isDeprecated = function(feature, date, advice, plural) { 20 var auxVerb = plural ? 'are' : 'is'; 36 shared.deprecated = function(feature, date, advice, plural) { 37 if (shared.isDeprecated(feature, date, advice, plural)) {
|
/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...] |
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator.cpp | 148 void visit(Plural* plural) override { 149 std::unique_ptr<Plural> localized = util::make_unique<Plural>(); 150 for (size_t i = 0; i < plural->values.size(); i++) { 152 if (plural->values[i]) { 153 plural->values[i]->accept(&subVisitor); 157 localized->values[i] = std::unique_ptr<Item>(plural->values[i]->clone(mPool)); 161 localized->setSource(plural->getSource());
|
/frameworks/base/tools/aapt2/ |
ValueVisitor.h | 44 virtual void visit(Plural* value) {} 85 void visitSubValues(Plural* plural) { 86 for (std::unique_ptr<Item>& item : plural->values) { 102 DECL_VISIT_COMPOUND_VALUE(Plural);
|
/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"}));
|
/external/opencv3/3rdparty/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/unflatten/ |
BinaryResourceParser.cpp | 539 std::unique_ptr<Plural> BinaryResourceParser::parsePlural(const ResourceNameRef& name, 542 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); local 551 plural->values[Plural::Zero] = std::move(item); 554 plural->values[Plural::One] = std::move(item); 557 plural->values[Plural::Two] = std::move(item) [all...] |
/frameworks/base/tools/aapt2/proto/ |
TableProtoSerializer_test.cpp | 48 // Make a plural. 49 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); local 50 plural->values[Plural::One] = util::make_unique<String>(table->stringPool.makeRef(u"one")); 52 ConfigDescription{}, std::string(), std::move(plural),
|
TableProtoSerializer.cpp | 139 void visit(Plural* plural) override { 140 pb::Plural* pbPlural = getPbCompoundValue()->mutable_plural(); 141 const size_t count = plural->values.size(); 143 if (!plural->values[i]) { 144 // No plural value set here. 151 serializeItemCommonToPb(*plural->values[i], pbEntry); 153 plural->values[i]->accept(&subVisitor);
|
TableProtoDeserializer.cpp | 309 const pb::Plural& pbPlural = pbCompoundValue.plural(); 310 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); local 313 plural->values[pluralIdx] = deserializeItemFromPb(pbEntry.item(), config, 315 if (!plural->values[pluralIdx]) { 319 deserializeItemCommon(pbEntry, plural->values[pluralIdx].get()); 321 value = 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);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUCurrencyDisplayInfoProvider.java | 268 ICUResourceBundle plural = item.at(j); local 269 String pluralType = plural.getKey(); 271 String pluralName = plural.getString();
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
ICUCurrencyDisplayInfoProvider.java | 264 ICUResourceBundle plural = item.at(j); local 265 String pluralType = plural.getKey(); 267 String pluralName = plural.getString();
|
/external/e2fsprogs/e2fsck/ |
e2fsck.h | 51 #define P_(singular, plural, n) (ngettext (singular, plural, n)) 61 #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural))
|