/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 276 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, in checkOldSamples() argument 278 Collection<DecimalQuantity> oldSamples = rules.getDecimalQuantitySamples(keyword, sampleType); in checkOldSamples() 285 if (!assertEquals("getOldSamples; " + keyword + "; " + description, expectedSamplesList, in checkOldSamples() 287 rules.getSamples(keyword, sampleType); in checkOldSamples() 291 public void checkNewSamples(String description, PluralRules test, String keyword, SampleType sampleType, in checkNewSamples() argument 294 DecimalQuantitySamples samples = test.getDecimalSamples(keyword, sampleType); in checkNewSamples() 312 assertEquals("limited: " + title, isBounded, test.isLimited(keyword, sampleType)); in checkNewSamples() 440 .flatMap(keyword -> { in testUniqueRules() 442 .map(sampleType -> rules.getDecimalSamples(keyword, sampleType)); in testUniqueRules() 447 // take the rule substring per keyword, an in testUniqueRules() 1007 getAssertMessage(String message, ULocale locale, PluralRules rules, String keyword) getAssertMessage() argument [all...] |
/third_party/python/Tools/scripts/ |
H A D | ifdef.py | 68 keyword = words[0] 69 if keyword not in keywords: 72 if keyword in ('ifdef', 'ifndef') and len(words) == 2: 73 if keyword == 'ifdef': 87 elif keyword == 'if': 90 elif keyword == 'else' and stack: 99 elif keyword == 'endif' and stack: 106 sys.stderr.write('Unknown keyword %s\n' % keyword)
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | SelectFormat.java | 87 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 122 * for each user-defined keyword. 123 * The pattern is a sequence of (keyword, message) pairs. 124 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 128 * <p>You always have to define a phrase for the default keyword 129 * <code>other</code>; this phrase is returned when the keyword 131 * the <code>format</code> method matches no other keyword. 217 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message. 220 * @param keyword a keyword t 223 findSubMessage(MessagePattern pattern, int partIndex, String keyword) findSubMessage() argument 254 format(String keyword) format() argument 317 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) format() argument [all...] |
H A D | PluralFormat.java | 87 * selector = explicitValue | keyword 89 * keyword = [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 104 * If there is no exact-number match, then a keyword is selected by calling 107 * If there is no clause with that keyword, then the "other" clauses is returned. 165 * <code>String</code>(plural case keyword) --> <code>String</code> 443 * @param selector the PluralSelector for mapping the number (minus offset) to a keyword. 461 // The keyword is null until we need to match against a non-explicit, not-"other" value. in findSubMessage() 462 // Then we get the keyword from the selector. in findSubMessage() 464 // or if the only non-explicit keyword is "other".) in findSubMessage() 465 String keyword in findSubMessage() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | SelectFormat.java | 88 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 123 * for each user-defined keyword. 124 * The pattern is a sequence of (keyword, message) pairs. 125 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 129 * <p>You always have to define a phrase for the default keyword 130 * <code>other</code>; this phrase is returned when the keyword 132 * the <code>format</code> method matches no other keyword. 213 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message. 216 * @param keyword a keyword t 219 findSubMessage(MessagePattern pattern, int partIndex, String keyword) findSubMessage() argument 249 format(String keyword) format() argument 311 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) format() argument [all...] |
H A D | Collator.java | 622 private static final boolean getYesOrNo(String keyword, String s) { in getYesOrNo() argument 629 throw new IllegalArgumentException("illegal locale keyword=value: " + keyword + "=" + s); in getYesOrNo() 632 private static final int getIntValue(String keyword, String s, String... values) { in getIntValue() argument 638 throw new IllegalArgumentException("illegal locale keyword=value: " + keyword + "=" + s); in getIntValue() 641 private static final int getReorderCode(String keyword, String s) { in getReorderCode() argument 643 getIntValue(keyword, s, "space", "punct", "symbol", "currency", "digit"); in getReorderCode() 662 throw new UnsupportedOperationException("locale keyword kh/colHiraganaQuaternary"); in setAttributesFromKeywords() 666 throw new UnsupportedOperationException("locale keyword v in setAttributesFromKeywords() 943 getKeywordValues(String keyword) getKeywordValues() argument 1031 getFunctionalEquivalent(String keyword, ULocale locID, boolean isAvailable[]) getFunctionalEquivalent() argument 1048 getFunctionalEquivalent(String keyword, ULocale locID) getFunctionalEquivalent() argument [all...] |
/third_party/openssl/test/ |
H A D | evp_test.c | 376 const char *keyword, const char *value) in digest_test_parse() 380 if (strcmp(keyword, "Input") == 0) in digest_test_parse() 382 if (strcmp(keyword, "Output") == 0) in digest_test_parse() 384 if (strcmp(keyword, "Count") == 0) in digest_test_parse() 386 if (strcmp(keyword, "Ncopy") == 0) in digest_test_parse() 388 if (strcmp(keyword, "Padding") == 0) in digest_test_parse() 611 static int cipher_test_parse(EVP_TEST *t, const char *keyword, in cipher_test_parse() argument 617 if (strcmp(keyword, "Key") == 0) in cipher_test_parse() 619 if (strcmp(keyword, "Rounds") == 0) { in cipher_test_parse() 626 if (strcmp(keyword, "I in cipher_test_parse() 375 digest_test_parse(EVP_TEST *t, const char *keyword, const char *value) digest_test_parse() argument 1224 mac_test_parse(EVP_TEST *t, const char *keyword, const char *value) mac_test_parse() argument 1756 pkey_test_parse(EVP_TEST *t, const char *keyword, const char *value) pkey_test_parse() argument 1892 pderive_test_parse(EVP_TEST *t, const char *keyword, const char *value) pderive_test_parse() argument 2063 scrypt_test_parse(EVP_TEST *t, const char *keyword, const char *value) scrypt_test_parse() argument 2080 pbkdf2_test_parse(EVP_TEST *t, const char *keyword, const char *value) pbkdf2_test_parse() argument 2100 pkcs12_test_parse(EVP_TEST *t, const char *keyword, const char *value) pkcs12_test_parse() argument 2150 pbe_test_parse(EVP_TEST *t, const char *keyword, const char *value) pbe_test_parse() argument 2295 encode_test_parse(EVP_TEST *t, const char *keyword, const char *value) encode_test_parse() argument 2486 rand_test_parse(EVP_TEST *t, const char *keyword, const char *value) rand_test_parse() argument 2768 kdf_test_parse(EVP_TEST *t, const char *keyword, const char *value) kdf_test_parse() argument 2868 pkey_kdf_test_parse(EVP_TEST *t, const char *keyword, const char *value) pkey_kdf_test_parse() argument 2998 void_test_parse(EVP_TEST *t, const char *keyword, const char *value) void_test_parse() argument 3106 keygen_test_parse(EVP_TEST *t, const char *keyword, const char *value) keygen_test_parse() argument 3230 digestsigver_test_parse(EVP_TEST *t, const char *keyword, const char *value) digestsigver_test_parse() argument [all...] |
/third_party/protobuf/editors/ |
H A D | proto.vim | 53 syn keyword pbTodo contained TODO FIXME XXX 56 syn keyword pbSyntax syntax import option 57 syn keyword pbStructure package message group oneof 58 syn keyword pbRepeat optional required repeated 59 syn keyword pbDefault default 60 syn keyword pbExtend extend extensions to max reserved 61 syn keyword pbRPC service rpc returns 63 syn keyword pbType int32 int64 uint32 uint64 sint32 sint64 64 syn keyword pbType fixed32 fixed64 sfixed32 sfixed64 65 syn keyword pbTyp [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | fits.c | 48 static int dict_set_if_not_null(AVDictionary ***metadata, char *keyword, char *value) in dict_set_if_not_null() argument 51 av_dict_set(*metadata, keyword, value, 0); in dict_set_if_not_null() 56 * Extract keyword and value from a header line (80 bytes) and store them in keyword and value strings respectively 58 * @param keyword pointer to the char array in which keyword is to be stored 62 static int read_keyword_value(const uint8_t *ptr8, char *keyword, char *value) in read_keyword_value() argument 67 keyword[i] = ptr8[i]; in read_keyword_value() 69 keyword[i] = '\0'; in read_keyword_value() 102 if (strcmp(keyword, ke 118 char keyword[10], value[72], c; avpriv_fits_header_parse_line() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | targetTypeObjectLiteralToAny.js | 6 TypeScriptKeywords.forEach(function(keyword) { 7 result.push({text:keyword, type:"keyword"}); // this should not cause a crash - push should be typed to any 17 TypeScriptKeywords.forEach(function (keyword) {
18 result.push({ text: keyword, type: "keyword" }); // this should not cause a crash - push should be typed to any
|
/third_party/cups-filters/filter/ |
H A D | textcommon.c | 494 char keyword[64], /* Keyword string */ in TextMain() local 496 int keycol; /* Column where keyword starts */ in TextMain() 697 keyptr = keyword; in TextMain() 732 keyptr = keyword; in TextMain() 737 if (PrettyPrint && keyptr > keyword) in TextMain() 740 keyptr = keyword; in TextMain() 809 if (PrettyPrint && keyptr > keyword) in TextMain() 812 keyptr = keyword; in TextMain() 858 keyptr = keyword; in TextMain() 869 if (PrettyPrint && keyptr > keyword) in TextMain() [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | plurrule.h | 75 * examines each condition in order and returns the keyword for the 90 * are assigned the keyword "other" by the default rule. 93 * This illustrates that the same keyword can be defined multiple times. 94 * Each rule is examined in order, and the first keyword whose condition 110 * rule = keyword ':' condition 111 * keyword = <identifier> 194 * 'other'. Callers need to check the value of keyword returned by 199 * UnicodeString keyword = pl->select(number); 200 * if (keyword== UnicodeString("one") { 336 * Given an integer, returns the keyword o [all...] |
H A D | upluralrules.h | 39 * returns the keyword for the first condition that matches the number. 48 * the value of keyword returned by the uplrules_select function. 144 * Given a floating-point number, returns the keyword of the first rule that 148 * @param keyword An output buffer to write the keyword of the rule that 150 * @param capacity The capacity of the keyword buffer. 152 * @return The length of the keyword. 158 UChar *keyword, int32_t capacity, 162 * Given a formatted number, returns the keyword of the first rule 171 * @param keyword Th [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | selfmt.cpp | 88 SelectFormat::format(const UnicodeString& keyword, in format() argument 95 // Check for the validity of the keyword in format() 96 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) { in format() 103 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format() 128 const UnicodeString& keyword, UErrorCode& ec) { in findSubMessage() 143 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage() 144 // keyword matches in findSubMessage() 127 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) findSubMessage() argument
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | plurrule.h | 75 * examines each condition in order and returns the keyword for the 90 * are assigned the keyword "other" by the default rule. 93 * This illustrates that the same keyword can be defined multiple times. 94 * Each rule is examined in order, and the first keyword whose condition 110 * rule = keyword ':' condition 111 * keyword = <identifier> 194 * 'other'. Callers need to check the value of keyword returned by 199 * UnicodeString keyword = pl->select(number); 200 * if (keyword== UnicodeString("one") { 336 * Given an integer, returns the keyword o [all...] |
H A D | upluralrules.h | 39 * returns the keyword for the first condition that matches the number. 48 * the value of keyword returned by the uplrules_select function. 144 * Given a floating-point number, returns the keyword of the first rule that 148 * @param keyword An output buffer to write the keyword of the rule that 150 * @param capacity The capacity of the keyword buffer. 152 * @return The length of the keyword. 158 UChar *keyword, int32_t capacity, 162 * Given a formatted number, returns the keyword of the first rule 171 * @param keyword Th [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | selfmt.cpp | 88 SelectFormat::format(const UnicodeString& keyword, in format() argument 95 // Check for the validity of the keyword in format() 96 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) { in format() 103 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format() 128 const UnicodeString& keyword, UErrorCode& ec) { in findSubMessage() 143 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage() 144 // keyword matches in findSubMessage() 127 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) findSubMessage() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | selfmt.cpp | 88 SelectFormat::format(const UnicodeString& keyword, in format() argument 95 // Check for the validity of the keyword in format() 96 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) { in format() 103 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); in format() 128 const UnicodeString& keyword, UErrorCode& ec) { in findSubMessage() 143 if(pattern.partSubstringMatches(part, keyword)) { in findSubMessage() 144 // keyword matches in findSubMessage() 127 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) findSubMessage() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | plurrule.h | 69 * examines each condition in order and returns the keyword for the 84 * are assigned the keyword "other" by the default rule. 87 * This illustrates that the same keyword can be defined multiple times. 88 * Each rule is examined in order, and the first keyword whose condition 104 * rule = keyword ':' condition 105 * keyword = <identifier> 188 * 'other'. Callers need to check the value of keyword returned by 193 * UnicodeString keyword = pl->select(number); 194 * if (keyword== UnicodeString("one") { 338 * Given an integer, returns the keyword o [all...] |
H A D | upluralrules.h | 39 * returns the keyword for the first condition that matches the number. 47 * the value of keyword returned by the uplrules_select function. 143 * Given a floating-point number, returns the keyword of the first rule that 147 * @param keyword An output buffer to write the keyword of the rule that 149 * @param capacity The capacity of the keyword buffer. 151 * @return The length of the keyword. 157 UChar *keyword, int32_t capacity, 161 * Given a formatted number, returns the keyword of the first rule 170 * @param keyword Th [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
H A D | Collator.java | 652 private static final boolean getYesOrNo(String keyword, String s) { in getYesOrNo() argument 659 throw new IllegalArgumentException("illegal locale keyword=value: " + keyword + "=" + s); in getYesOrNo() 662 private static final int getIntValue(String keyword, String s, String... values) { in getIntValue() argument 668 throw new IllegalArgumentException("illegal locale keyword=value: " + keyword + "=" + s); in getIntValue() 671 private static final int getReorderCode(String keyword, String s) { in getReorderCode() argument 673 getIntValue(keyword, s, "space", "punct", "symbol", "currency", "digit"); in getReorderCode() 692 throw new UnsupportedOperationException("locale keyword kh/colHiraganaQuaternary"); in setAttributesFromKeywords() 696 throw new UnsupportedOperationException("locale keyword v in setAttributesFromKeywords() 981 getKeywordValues(String keyword) getKeywordValues() argument 1071 getFunctionalEquivalent(String keyword, ULocale locID, boolean isAvailable[]) getFunctionalEquivalent() argument 1089 getFunctionalEquivalent(String keyword, ULocale locID) getFunctionalEquivalent() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/cid/ |
H A D | cidload.c | 73 const T1_Field keyword ) in cid_load_keyword() 82 /* if the keyword has a dedicated callback, call it */ in cid_load_keyword() 83 if ( keyword->type == T1_FIELD_TYPE_CALLBACK ) in cid_load_keyword() 85 FT_TRACE4(( " %s", keyword->ident )); in cid_load_keyword() 87 keyword->reader( (FT_Face)face, parser ); in cid_load_keyword() 93 switch ( keyword->location ) in cid_load_keyword() 119 keyword->ident )); in cid_load_keyword() 125 switch ( keyword->location ) in cid_load_keyword() 137 FT_TRACE4(( " %s", keyword->ident )); in cid_load_keyword() 141 /* now, load the keyword dat in cid_load_keyword() 460 T1_Field keyword = (T1_Field)cid_field_records; cid_parse_dict() local [all...] |
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | renamer_test.cc | 229 auto keyword = GetParam(); in TEST_P() local 234 var )" + keyword + in TEST_P() 254 auto keyword = GetParam(); in TEST_P() local 259 var )" + keyword + in TEST_P() 279 auto keyword = GetParam(); in TEST_P() local 284 var )" + keyword + in TEST_P() 306 // "asm", // WGSL keyword 309 // "bool", // WGSL keyword 310 // "break", // WGSL keyword 315 // "case", // WGSL keyword [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | ULocale.java | 309 // special keyword key for Unicode locale attributes 405 * separated by underscores, followed by an optional keyword list. The 409 * start of the keyword list is indicated by '@', and consists of two 410 * or more keyword/value pairs separated by semicolons(';'). 553 // Locale -> ULocale mapping requires BCP47 keyword mapping data that is currently in getDefault() 763 // Compare keyword keys in compareTo() 768 // Compare keyword values in compareTo() 1121 * <strong>[icu]</strong> Returns the value for a keyword in this locale. If the keyword is not 1123 * @param keywordName name of the keyword whos 1329 setKeywordValue(String keyword, String value) setKeywordValue() argument 1347 setKeywordValue(String localeID, String keyword, String value) setKeywordValue() argument 1765 getDisplayKeyword(String keyword) getDisplayKeyword() argument 1776 getDisplayKeyword(String keyword, String displayLocaleID) getDisplayKeyword() argument 1787 getDisplayKeyword(String keyword, ULocale displayLocale) getDisplayKeyword() argument 1791 getDisplayKeywordInternal(String keyword, ULocale displayLocale) getDisplayKeywordInternal() argument 1801 getDisplayKeywordValue(String keyword) getDisplayKeywordValue() argument 1811 getDisplayKeywordValue(String keyword, ULocale displayLocale) getDisplayKeywordValue() argument 1823 getDisplayKeywordValue(String localeID, String keyword, String displayLocaleID) getDisplayKeywordValue() argument 1837 getDisplayKeywordValue(String localeID, String keyword, ULocale displayLocale) getDisplayKeywordValue() argument 1843 getDisplayKeywordValueInternal(ULocale locale, String keyword, ULocale displayLocale) getDisplayKeywordValueInternal() argument 3167 toUnicodeLocaleKey(String keyword) toUnicodeLocaleKey() argument 3202 toUnicodeLocaleType(String keyword, String value) toUnicodeLocaleType() argument 3222 toLegacyKey(String keyword) toLegacyKey() argument 3265 toLegacyType(String keyword, String value) toLegacyType() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | plurults.cpp | 402 * Using the double API for getting plural samples, assert all samples match the keyword 407 * as an input to .select() for the rules object, and assert the actual return plural keyword matches 427 const UnicodeString* keyword; in testGetSamples() local 428 while (NULL != (keyword = keywords->snext(status))) { in testGetSamples() 429 int32_t count = rules->getSamples(*keyword, values, UPRV_LENGTHOF(values), status); in testGetSamples() 433 UnicodeString(u", keyword ") + *keyword); in testGetSamples() 438 // errln(UnicodeString(u"no samples for keyword ") + *keyword + UnicodeString(u" in locale ") + locales[i].getName() ); in testGetSamples() 444 UnicodeString(u", keyword ") in testGetSamples() 491 const UnicodeString* keyword; testGetDecimalQuantitySamples() local 711 checkNewSamples( UnicodeString description, const LocalPointer<PluralRules> &test, UnicodeString keyword, UnicodeString samplesString, DecimalQuantity firstInRange) checkNewSamples() argument 747 UnicodeString keyword = rules->select((int32_t)26); testWithin() local 1137 UnicodeString keyword = pr->select(2.); testOrdinal() local 1146 checkSelect(const LocalPointer<PluralRules> &rules, UErrorCode &status, int32_t line, const char *keyword, ...) checkSelect() argument 1494 UnicodeString keyword = pr->select(n); testAvailableLocales() local [all...] |