/external/e2fsprogs/misc/ |
H A D | nls-enable.h | 10 #define P_(singular, plural, n) (ngettext (singular, plural, n)) 20 #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/ |
H A D | grammar.py | 33 def plural(noun): function 34 # This is a dumb plural() implementation that is just enough for our uses. 43 noun = plural(noun)
|
/external/e2fsprogs/intl/ |
H A D | 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 for [all...] |
H A D | log.c | 54 const char *msgid1, const char *msgid2, int plural) 89 if (plural) 53 _nl_log_untranslated(const char *logfilename, const char *domainname, const char *msgid1, const char *msgid2, int plural) argument
|
H A D | gettextP.h | 125 struct expression *plural; member in struct:loaded_domain
|
H A D | dcigettext.c | 91 #include "plural-exp.h" 421 /* Get the function to evaluate the plural expression. */ 422 #include "eval-plural.h" 426 depending on the plural form determined by N. */ 429 int plural, unsigned long int n, int category) 457 return (plural == 0 459 /* Use the Germanic plural rule. */ 492 /* Now deal with plural. */ 493 if (plural) 685 /* Now deal with plural 428 DCIGETTEXT(const char *domainname, const char *msgid1, const char *msgid2, int plural, unsigned long int n, int category) argument [all...] |
H A D | loadmsgcat.c | 90 #include "plural-exp.h" 1392 /* Also look for a plural specification. */ 1393 EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals); 1402 if (domain->plural != &__gettext_germanic_plural) 1403 __gettext_free_exp (domain->plural);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ui/ |
H A D | multi_profile_share_dialog.js | 72 * @param {boolean} plural Whether to use message of plural or not. 76 MultiProfileShareDialog.prototype.show = function(plural) { 83 str(plural ? 86 str(plural ?
|
/external/valgrind/main/tests/ |
H A D | vg_regtest | 611 sub plural($) 623 $num_tests_done, plural($num_tests_done), 624 $num_failures{"stderr"}, plural($num_failures{"stderr"}), 625 $num_failures{"stdout"}, plural($num_failures{"stdout"}), 626 $num_failures{"stderrB"}, plural($num_failures{"stderrB"}), 627 $num_failures{"stdoutB"}, plural($num_failures{"stdoutB"}), 628 $num_failures{"post"}, plural($num_failures{"post"}));
|
H A D | vg_regtest.in | 611 sub plural($) 623 $num_tests_done, plural($num_tests_done), 624 $num_failures{"stderr"}, plural($num_failures{"stderr"}), 625 $num_failures{"stdout"}, plural($num_failures{"stdout"}), 626 $num_failures{"stderrB"}, plural($num_failures{"stderrB"}), 627 $num_failures{"stdoutB"}, plural($num_failures{"stdoutB"}), 628 $num_failures{"post"}, plural($num_failures{"post"}));
|
/external/chromium_org/third_party/jinja2/ |
H A D | 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),
|
/external/chromium_org/build/android/pylib/base/ |
H A D | base_test_result.py | 95 plural = lambda n, s, p: '%d %s' % (n, p if n != 1 else s) 96 tests = lambda n: plural(n, 'test', 'tests') 120 s.append(plural(len(all_failures), 'FAILED TEST', 'FAILED TESTS'))
|
/external/e2fsprogs/e2fsck/ |
H A D | e2fsck.h | 51 #define P_(singular, plural, n) (ngettext (singular, plural, n)) 61 #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural))
|
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/ |
H A D | messageformat.js | 16 * @fileoverview Message/plural format library with locale support. 22 * elementFormat := "plural" "," pluralStyle 39 * I see {NUM_PEOPLE, plural, offset:1 136 * Mandatory option in both select and plural form. 166 * 1st parameter could mean 5 people, which could influence plural format, 181 * 1st parameter could mean 5 people, which could influence plural format, 197 * 1st parameter could mean 5 people, which could influence plural format, 199 * @param {boolean} ignorePound If true, treat '#' in plural messages as a 233 * @param {boolean} ignorePound If true, treat '#' in plural messages as a 306 * @param {boolean} ignorePound If true, treat '#' in plural message [all...] |
/external/chromium_org/ui/file_manager/gallery/js/ |
H A D | gallery.js | 706 var plural = itemsToRemove.length > 1; 707 var param = plural ? itemsToRemove.length : itemsToRemove[0].getFileName(); 728 confirm.show(strf(plural ?
|
/external/chromium_org/v8/tools/push-to-trunk/ |
H A D | common_includes.py | 161 plural = "s" if len(bugs) > 1 else "" 162 bug_groups.append("%sissue%s %s" % (prefix, plural, ", ".join(bugs)))
|
/external/littlemock/src/com/google/testing/littlemock/ |
H A D | LittleMock.java | 1034 return "exactly " + mLowerBound + plural(" call", mLowerBound); 1036 return "between " + mLowerBound + plural(" call", mLowerBound) + " and " + 1037 mUpperBound + plural(" call", mUpperBound); 1063 private static String plural(String prefix, long count) { method in class:LittleMock
|
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderCompilationCases.cpp | 2087 string plural = singular + "s"; 2090 log << TestLog::Section(plural + "PerPhase", plural + " per phase"); 2613 string plural = singular + "s"; 2616 log << TestLog::Section(plural + "PerPhase", plural + " per phase");
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderCompilationCases.cpp | 2107 string plural = singular + "s"; 2110 log << TestLog::Section(plural + "PerPhase", plural + " per phase"); 2633 string plural = singular + "s"; 2636 log << TestLog::Section(plural + "PerPhase", plural + " per phase");
|
/external/icu/icu4c/source/i18n/ |
H A D | decimfmt.cpp | 121 * and plural currency style. And the patterns are set through applyPattern. 158 * the formatter style is currency plural format style. 532 // will be used to pick the right pattern based on plural count. 533 // Here, set the pattern as the pattern of plural count == "other". 535 // plural count. If not, the right pattern need to be re-applied 547 // initialize for currency, not only for plural format, 557 // expanded affixes for plural names 634 // save the unique currency plural patterns of this locale. 2376 // Those are currency patterns and currency plural patterns. 3408 UBool plural [all...] |
/external/genext2fs/ |
H A D | genext2fs.c | 790 #define plural(a) (a), ((a) > 1) ? "s" : "" macro 2348 printf("%s, size: %d byte%s (%d block%s)\n", perms, plural(get_nod(fs, nod)->i_size), plural(get_nod(fs, nod)->i_blocks / INOBLK));
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | decimfmt.cpp | 121 * and plural currency style. And the patterns are set through applyPattern. 158 * the formatter style is currency plural format style. 511 // will be used to pick the right pattern based on plural count. 512 // Here, set the pattern as the pattern of plural count == "other". 514 // plural count. If not, the right pattern need to be re-applied 526 // initialize for currency, not only for plural format, 536 // expanded affixes for plural names 613 // save the unique currency plural patterns of this locale. 2287 // Those are currency patterns and currency plural patterns. 3319 UBool plural [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | bencher | 1281 def plural(num) method 1537 outp.puts wrap("Collected #{$outer*$inner} sample#{plural($outer*$inner)} per benchmark/VM, "+ 1538 "with #{$outer} VM invocation#{plural($outer)} per benchmark."+ 1549 else (" Used #{$warmup*$rerun} benchmark iteration#{plural($warmup*$rerun)} per VM "+
|
/external/chromium_org/chrome/third_party/chromevox/ |
H A D | chromeVoxChromePageScript.js | 634 goog.i18n.MessageFormat.prototype.formatPluralOrdinalBlock_=function(a,b,c,d,e){var f=a.argumentIndex,g=a.argumentOffset,h=+b[f];isNaN(h)?e.push("Undefined or invalid parameter - "+f):(g=h-g,f=a[b[f]],goog.isDef(f)||(goog.asserts.assert(0<=g,"Argument index smaller than offset."),c=this.numberFormatter_.getMinimumFractionDigits?c(g,this.numberFormatter_.getMinimumFractionDigits()):c(g),goog.asserts.assertString(c,"Invalid plural key."),f=a[c],goog.isDef(f)||(f=a[goog.i18n.MessageFormat.OTHER_]),goog.asserts.assertArray(f, 635 "Invalid option or missing other option for plural block.")),a=[],this.formatBlock_(f,b,d,a),b=a.join(""),goog.asserts.assertString(b,"Empty block in plural."),d?e.push(b):(d=this.numberFormatter_.format(g),e.push(b.replace(/#/g,d))))};goog.i18n.MessageFormat.prototype.parsePattern_=function(a){a&&(a=this.insertPlaceholders_(a),this.parsedPattern_=this.parseBlock_(a))}; 638 b=a.substring(b);""!=b&&d.push({type:goog.i18n.MessageFormat.Element_.STRING,value:b});return d};goog.i18n.MessageFormat.PLURAL_BLOCK_RE_=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/;goog.i18n.MessageFormat.ORDINAL_BLOCK_RE_=/^\s*(\w+)\s*,\s*selectordinal\s*,/;goog.i18n.MessageFormat.SELECT_BLOCK_RE_=/^\s*(\w+)\s*,\s*select\s*,/; 645 goog.i18n.MessageFormat.prototype.parsePluralBlock_=function(a){var b="",c=0,d=goog.i18n.MessageFormat.PLURAL_BLOCK_RE_;a=a.replace(d,function(a,d,e){b=d;e&&(c=parseInt(e,10));return""});d={};d.argumentIndex=b;d.argumentOffset=c;a=this.extractParts_(a);for(var e=0;e<a.length;){var f=a[e].value;goog.asserts.assertString(f,"Missing plural key element.");e++;goog.asserts.assert(e<a.length,"Missing or invalid plural value element.");if(goog.i18n.MessageFormat.Element_.BLOCK==a[e].type)var g=this.parseBlock_(a[e].value); 646 else goog.asserts.fail("Expected block type.");d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=g;e++}goog.asserts.assertArray(d[goog.i18n.MessageFormat.OTHER_],"Missing other key in plural statement.");return d};
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | com.ibm.icu_4.2.1.v20100412.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |