Home
last modified time | relevance | path

Searched refs:keyword (Results 1 - 25 of 225) sorted by relevance

123456789

/third_party/icu/icu4c/source/i18n/
H A Dstandardplural.cpp34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument
35 switch (*keyword++) { in indexOrNegativeFromString()
37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString()
42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString()
47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString()
49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString()
54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString()
59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString()
64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString()
66 } else if (uprv_strcmp(keyword, " in indexOrNegativeFromString()
96 indexOrNegativeFromString(const UnicodeString &keyword) indexOrNegativeFromString() argument
139 indexFromString(const char *keyword, UErrorCode &errorCode) indexFromString() argument
150 indexFromString(const UnicodeString &keyword, UErrorCode &errorCode) indexFromString() argument
[all...]
H A Dstandardplural.h44 * @return the lowercase CLDR keyword string for the plural form
49 * @param keyword for example "few" or "other"
50 * @return the plural form corresponding to the keyword, or OTHER
52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument
53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
57 * @param keyword for example "few" or "other"
58 * @return the plural form corresponding to the keyword, or OTHER
60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument
61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
65 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword i
70 fromString(const char *keyword, UErrorCode &errorCode) fromString() argument
80 fromString(const UnicodeString &keyword, UErrorCode &errorCode) fromString() argument
100 indexOrOtherIndexFromString(const char *keyword) indexOrOtherIndexFromString() argument
109 indexOrOtherIndexFromString(const UnicodeString &keyword) indexOrOtherIndexFromString() argument
[all...]
H A Dupluralrules.cpp30 * Given a number and a format, returns the keyword of the first applicable
39 * @return The keyword of the selected rule. Undefined in the case of an error.
83 UChar *keyword, int32_t capacity, in uplrules_select()
89 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_select()
94 return result.extract(keyword, capacity, *status); in uplrules_select()
100 UChar *keyword, int32_t capacity, in uplrules_selectFormatted()
106 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_selectFormatted()
116 return result.extract(keyword, capacity, *status); in uplrules_selectFormatted()
122 UChar *keyword, int32_t capacity, in uplrules_selectForRange()
128 if (keyword in uplrules_selectForRange()
81 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_select() argument
98 uplrules_selectFormatted(const UPluralRules *uplrules, const UFormattedNumber* number, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_selectFormatted() argument
120 uplrules_selectForRange(const UPluralRules *uplrules, const UFormattedNumberRange* urange, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_selectForRange() argument
139 uplrules_selectWithFormat(const UPluralRules *uplrules, double number, const UNumberFormat *fmt, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_selectWithFormat() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dstandardplural.cpp34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument
35 switch (*keyword++) { in indexOrNegativeFromString()
37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString()
42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString()
47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString()
49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString()
54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString()
59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString()
64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString()
66 } else if (uprv_strcmp(keyword, " in indexOrNegativeFromString()
96 indexOrNegativeFromString(const UnicodeString &keyword) indexOrNegativeFromString() argument
139 indexFromString(const char *keyword, UErrorCode &errorCode) indexFromString() argument
150 indexFromString(const UnicodeString &keyword, UErrorCode &errorCode) indexFromString() argument
[all...]
H A Dstandardplural.h44 * @return the lowercase CLDR keyword string for the plural form
49 * @param keyword for example "few" or "other"
50 * @return the plural form corresponding to the keyword, or OTHER
52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument
53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
57 * @param keyword for example "few" or "other"
58 * @return the plural form corresponding to the keyword, or OTHER
60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument
61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
65 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword i
70 fromString(const char *keyword, UErrorCode &errorCode) fromString() argument
80 fromString(const UnicodeString &keyword, UErrorCode &errorCode) fromString() argument
100 indexOrOtherIndexFromString(const char *keyword) indexOrOtherIndexFromString() argument
109 indexOrOtherIndexFromString(const UnicodeString &keyword) indexOrOtherIndexFromString() argument
[all...]
H A Dupluralrules.cpp30 * Given a number and a format, returns the keyword of the first applicable
39 * @return The keyword of the selected rule. Undefined in the case of an error.
83 char16_t *keyword, int32_t capacity, in uplrules_select()
89 if (keyword == nullptr ? capacity != 0 : capacity < 0) { in uplrules_select()
94 return result.extract(keyword, capacity, *status); in uplrules_select()
100 char16_t *keyword, int32_t capacity, in uplrules_selectFormatted()
106 if (keyword == nullptr ? capacity != 0 : capacity < 0) { in uplrules_selectFormatted()
116 return result.extract(keyword, capacity, *status); in uplrules_selectFormatted()
122 char16_t *keyword, int32_t capacity, in uplrules_selectForRange()
128 if (keyword in uplrules_selectForRange()
81 uplrules_select(const UPluralRules *uplrules, double number, char16_t *keyword, int32_t capacity, UErrorCode *status) uplrules_select() argument
98 uplrules_selectFormatted(const UPluralRules *uplrules, const UFormattedNumber* number, char16_t *keyword, int32_t capacity, UErrorCode *status) uplrules_selectFormatted() argument
120 uplrules_selectForRange(const UPluralRules *uplrules, const UFormattedNumberRange* urange, char16_t *keyword, int32_t capacity, UErrorCode *status) uplrules_selectForRange() argument
139 uplrules_selectWithFormat(const UPluralRules *uplrules, double number, const UNumberFormat *fmt, char16_t *keyword, int32_t capacity, UErrorCode *status) uplrules_selectWithFormat() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dstandardplural.cpp34 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { in indexOrNegativeFromString() argument
35 switch (*keyword++) { in indexOrNegativeFromString()
37 if (uprv_strcmp(keyword, "ew") == 0) { in indexOrNegativeFromString()
42 if (uprv_strcmp(keyword, "any") == 0) { in indexOrNegativeFromString()
47 if (uprv_strcmp(keyword, "ther") == 0) { in indexOrNegativeFromString()
49 } else if (uprv_strcmp(keyword, "ne") == 0) { in indexOrNegativeFromString()
54 if (uprv_strcmp(keyword, "wo") == 0) { in indexOrNegativeFromString()
59 if (uprv_strcmp(keyword, "ero") == 0) { in indexOrNegativeFromString()
64 if (uprv_strcmp(keyword, "0") == 0) { in indexOrNegativeFromString()
66 } else if (uprv_strcmp(keyword, " in indexOrNegativeFromString()
96 indexOrNegativeFromString(const UnicodeString &keyword) indexOrNegativeFromString() argument
139 indexFromString(const char *keyword, UErrorCode &errorCode) indexFromString() argument
150 indexFromString(const UnicodeString &keyword, UErrorCode &errorCode) indexFromString() argument
[all...]
H A Dstandardplural.h44 * @return the lowercase CLDR keyword string for the plural form
49 * @param keyword for example "few" or "other"
50 * @return the plural form corresponding to the keyword, or OTHER
52 static Form orOtherFromString(const char *keyword) { in orOtherFromString() argument
53 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
57 * @param keyword for example "few" or "other"
58 * @return the plural form corresponding to the keyword, or OTHER
60 static Form orOtherFromString(const UnicodeString &keyword) { in orOtherFromString() argument
61 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); in orOtherFromString()
65 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword i
70 fromString(const char *keyword, UErrorCode &errorCode) fromString() argument
80 fromString(const UnicodeString &keyword, UErrorCode &errorCode) fromString() argument
100 indexOrOtherIndexFromString(const char *keyword) indexOrOtherIndexFromString() argument
109 indexOrOtherIndexFromString(const UnicodeString &keyword) indexOrOtherIndexFromString() argument
[all...]
H A Dupluralrules.cpp30 * Given a number and a format, returns the keyword of the first applicable
39 * @return The keyword of the selected rule. Undefined in the case of an error.
83 UChar *keyword, int32_t capacity, in uplrules_select()
89 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_select()
94 return result.extract(keyword, capacity, *status); in uplrules_select()
100 UChar *keyword, int32_t capacity, in uplrules_selectFormatted()
106 if (keyword == NULL ? capacity != 0 : capacity < 0) { in uplrules_selectFormatted()
116 return result.extract(keyword, capacity, *status); in uplrules_selectFormatted()
122 UChar *keyword, int32_t capacity, in uplrules_selectForRange()
128 if (keyword in uplrules_selectForRange()
81 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_select() argument
98 uplrules_selectFormatted(const UPluralRules *uplrules, const UFormattedNumber* number, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_selectFormatted() argument
120 uplrules_selectForRange(const UPluralRules *uplrules, const UFormattedNumberRange* urange, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_selectForRange() argument
139 uplrules_selectWithFormat(const UPluralRules *uplrules, double number, const UNumberFormat *fmt, UChar *keyword, int32_t capacity, UErrorCode *status) uplrules_selectWithFormat() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DStandardPlural.java46 private final String keyword; field in StandardPlural
49 keyword = kw; in StandardPlural()
53 * @return the lowercase CLDR keyword string for the plural form
56 return keyword; in getKeyword()
60 * @param keyword for example "few" or "other"
61 * @return the plural form corresponding to the keyword, or null
63 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument
64 switch (keyword.length()) { in orNullFromString()
66 if (keyword.charAt(0) == '0') { in orNullFromString()
68 } else if (keyword in orNullFromString()
110 orOtherFromString(CharSequence keyword) orOtherFromString() argument
120 fromString(CharSequence keyword) fromString() argument
133 indexOrNegativeFromString(CharSequence keyword) indexOrNegativeFromString() argument
142 indexOrOtherIndexFromString(CharSequence keyword) indexOrOtherIndexFromString() argument
152 indexFromString(CharSequence keyword) indexFromString() argument
[all...]
/third_party/vk-gl-cts/external/amber/src/tools/
H A Damber-syntax.vim27 syn keyword amberTodo contained TODO FIXME
31 syn keyword amberBlockCmd SHADER BUFFER PIPELINE ATTACH END RUN TYPE SIZE FILL
32 syn keyword amberBlockCmd DESCRIPTOR_SET BINDING IDX TO EXPECT PASSTHROUGH
33 syn keyword amberBlockCmd DATA_TYPE DATA SERIES_FROM DRAW_ARRAY IN START_IDX
34 syn keyword amberBlockCmd COUNT CLEAR CLEAR_COLOR AS POS DRAW_RECT INC_BY
35 syn keyword amberBlockCmd FRAMEBUFFER ENTRY_POINT SHADER_OPTIMIZATION
36 syn keyword amberBlockCmd FORMAT FRAMEBUFFER_SIZE LOCATION BIND SAMPLER
37 syn keyword amberBlockCmd VERTEX_DATA INDEX_DATA INDEXED IMAGE_ATTACHMENT
38 syn keyword amberBlockCmd DEPTH_STENCIL_ATTACHMENT DEVICE_FEATURE TOLERANCE
39 syn keyword amberBlockCm
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DStandardPlural.java46 private final String keyword; field in StandardPlural
49 keyword = kw; in StandardPlural()
53 * @return the lowercase CLDR keyword string for the plural form
56 return keyword; in getKeyword()
60 * @param keyword for example "few" or "other"
61 * @return the plural form corresponding to the keyword, or null
63 public static final StandardPlural orNullFromString(CharSequence keyword) { in orNullFromString() argument
64 switch (keyword.length()) { in orNullFromString()
66 if ("one".contentEquals(keyword)) { in orNullFromString()
68 } else if ("two".contentEquals(keyword)) { in orNullFromString()
96 orOtherFromString(CharSequence keyword) orOtherFromString() argument
106 fromString(CharSequence keyword) fromString() argument
119 indexOrNegativeFromString(CharSequence keyword) indexOrNegativeFromString() argument
128 indexOrOtherIndexFromString(CharSequence keyword) indexOrOtherIndexFromString() argument
138 indexFromString(CharSequence keyword) indexFromString() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_keyword.py1 import keyword namespace
7 self.assertTrue(keyword.iskeyword('True'))
10 self.assertFalse(keyword.iskeyword('TRUE'))
13 self.assertFalse(keyword.iskeyword(None))
18 oldlist = keyword.kwlist
19 self.addCleanup(setattr, keyword, 'kwlist', oldlist)
20 keyword.kwlist = ['its', 'all', 'eggs', 'beans', 'and', 'a', 'slice']
21 self.assertFalse(keyword.iskeyword('eggs'))
24 oldlist = keyword.softkwlist
25 self.addCleanup(setattr, keyword, "softkwlis
[all...]
/third_party/gn/misc/vim/syntax/
H A Dgn.vim15 syn keyword gnConditional if else
19 syn keyword gnPredefVar current_cpu current_os current_toolchain
20 syn keyword gnPredefVar default_toolchain host_cpu host_os
21 syn keyword gnPredefVar root_build_dir root_gen_dir root_out_dir
22 syn keyword gnPredefVar target_cpu target_gen_dir target_out_dir
23 syn keyword gnPredefVar target_os
24 syn keyword gnPredefVar true false
28 syn keyword gnTarget action action_foreach copy executable group
29 syn keyword gnTarget shared_library source_set static_library
30 syn keyword gnTarge
[all...]
/third_party/node/deps/v8/tools/torque/vim-torque/syntax/
H A Dtorque.vim22 syn keyword torqueAssert assert check debug unreachable
23 syn keyword torqueAtom True False Undefined TheHole Null
24 syn keyword torqueBoolean true false
25 syn keyword torqueBranch break continue goto
26 syn keyword torqueConditional if else typeswitch otherwise
29 syn keyword torqueFunction macro builtin runtime intrinsic
30 syn keyword torqueKeyword cast convert from_constexpr min max unsafe_cast js-implicit implicit
31 syn keyword torqueLabel case
32 syn keyword torqueMatching try label catch
33 syn keyword torqueModifie
[all...]
/third_party/cups-filters/cupsfilters/
H A Dppdgenerator.c1492 int is_colordevice(const char *keyword,ipp_attribute_t *attr) in is_colordevice() argument
1494 if (!strcasecmp(keyword, "sgray_16") || !strncmp(keyword, "W8-16", 5) || in is_colordevice()
1495 !strncmp(keyword, "W16", 3)) in is_colordevice()
1497 else if (!strcasecmp(keyword, "srgb_8") || !strncmp(keyword, "SRGB24", 6) || in is_colordevice()
1498 !strcmp(keyword, "color")) in is_colordevice()
1500 else if ((!strcasecmp(keyword, "srgb_16") || in is_colordevice()
1501 !strncmp(keyword, "SRGB48", 6)) && in is_colordevice()
1504 else if (!strcasecmp(keyword, "adob in is_colordevice()
1633 const char *keyword; /* Keyword value */ ppdCreateFromIPP2() local
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DPluralSamples.java90 String keyword = pluralRules.select(s); in PluralSamples()
91 addRelation(foundKeywords, keyword, s); in PluralSamples()
104 System.out.println("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + mentioned); in PluralSamples()
113 String keyword = pluralRules.select(s); in PluralSamples()
114 Set<FixedDecimal> list = sampleFractionMap.get(keyword); in PluralSamples()
117 sampleFractionMap.put(keyword, list); in PluralSamples()
147 String keyword = pluralRules.select(val); in addSimpleSamples()
148 boolean keyIsLimited = _keyLimitedMap.get(keyword); in addSimpleSamples()
150 List<Double> list = sampleMap.get(keyword); in addSimpleSamples()
153 sampleMap.put(keyword, lis in addSimpleSamples()
165 addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecimal s) addRelation() argument
231 getDifferentCategory(List<Integer> ints, String keyword) getDifferentCategory() argument
247 getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) getStatus() argument
315 getAllKeywordValues(String keyword) getAllKeywordValues() argument
[all...]
H A DPluralRules.java44 * method examines each condition in order and returns the keyword for the first condition that matches the number. If
68 * keyword "other" by the default rule.
75 * This illustrates that the same keyword can be defined multiple times. Each rule is examined in order, and the first
76 * keyword whose condition passes is the one returned. Also notes that a modulus is applied to n in the last rule. Thus
94 * rule = keyword ':' condition
95 * keyword = &lt;identifier&gt;
1519 * rule : keyword ':' condition
1520 * keyword: <identifier>
1535 String keyword = description.substring(0, x).trim(); in parseRule()
1536 if (!isValidKeyword(keyword)) { in parseRule()
1789 private final String keyword; global() field in PluralRules.Rule
1794 Rule(String keyword, Constraint constraint, FixedDecimalSamples integerSamples, FixedDecimalSamples decimalSamples) Rule() argument
1903 isLimited(String keyword, SampleType sampleType) isLimited() argument
1912 computeLimited(String keyword, SampleType sampleType) computeLimited() argument
1939 getRules(String keyword) getRules() argument
1948 select(IFixedDecimal sample, String keyword) select() argument
1957 getDecimalSamples(String keyword, SampleType sampleType) getDecimalSamples() argument
2162 matches(FixedDecimal sample, String keyword) matches() argument
2183 getUniqueKeywordValue(String keyword) getUniqueKeywordValue() argument
2199 getAllKeywordValues(String keyword) getAllKeywordValues() argument
2217 getAllKeywordValues(String keyword, SampleType type) getAllKeywordValues() argument
2234 getSamples(String keyword) getSamples() argument
2254 getSamples(String keyword, SampleType sampleType) getSamples() argument
2293 addSample(String keyword, Number sample, int maxCount, Set<Double> result) addSample() argument
2319 getDecimalSamples(String keyword, SampleType sampleType) getDecimalSamples() argument
2432 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) getKeywordStatus() argument
2456 getKeywordStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue, SampleType sampleType) getKeywordStatus() argument
2513 getRules(String keyword) getRules() argument
2545 isLimited(String keyword) isLimited() argument
2555 isLimited(String keyword, SampleType sampleType) isLimited() argument
2565 computeLimited(String keyword, SampleType sampleType) computeLimited() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/scripts/
H A Dgen-keywords.py115 for keyword in KEYWORDS:
116 keywords.append(IdentifierCase(keyword, keyword, False)) # Keywords
118 for keyword in RESERVED_KEYWORDS:
119 reservedKeywords.append(IdentifierCase(keyword, keyword, False)) # Reserved keywords
121 for keyword in ALLOWED_KEYWORDS:
122 allowedKeywords.append(IdentifierCase(keyword, keyword, True)) # Allowed keywords
/third_party/glslang/glslang/MachineIndependent/
H A DScan.cpp935 keyword = it->second; in tokenizeIdentifier()
937 switch (keyword) { in tokenizeIdentifier()
954 return keyword; in tokenizeIdentifier()
959 return keyword; in tokenizeIdentifier()
965 return keyword; in tokenizeIdentifier()
973 return keyword; in tokenizeIdentifier()
977 return keyword; in tokenizeIdentifier()
984 return keyword; in tokenizeIdentifier()
1005 return keyword; in tokenizeIdentifier()
1012 return keyword; in tokenizeIdentifier()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DPluralRulesTest.java194 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, in checkOldSamples() argument
196 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); in checkOldSamples()
197 if (!assertEquals("getOldSamples; " + keyword + "; " + description, new HashSet(Arrays.asList(expected)), in checkOldSamples()
199 rules.getSamples(keyword, sampleType); in checkOldSamples()
203 public void checkNewSamples(String description, PluralRules test, String keyword, SampleType sampleType, in checkNewSamples() argument
206 FixedDecimalSamples samples = test.getDecimalSamples(keyword, sampleType); in checkNewSamples()
212 assertEquals("limited: " + title, isBounded, test.isLimited(keyword, sampleType)); in checkNewSamples()
337 for (String keyword : rules.getKeywords()) { in testUniqueRules()
339 FixedDecimalSamples samples2 = rules.getDecimalSamples(keyword, sampleType); in testUniqueRules()
344 if (keyword in testUniqueRules()
721 getAssertMessage(String message, ULocale locale, PluralRules rules, String keyword) getAssertMessage() argument
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcpluralrulestest.c88 UChar keyword[kKeywordBufLen]; in TestPluralRules() local
90 int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status); in TestPluralRules()
92 keyword[kKeywordBufLen-1] = 0; in TestPluralRules()
96 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
99 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); in TestPluralRules()
109 keywdLen = uplrules_selectWithFormat(uplrules, testItemPtr->number, unumfmt, keyword, kKeywordBufLen, &status); in TestPluralRules()
111 keyword[kKeywordBufLen-1] = 0; in TestPluralRules()
115 if ( u_strcmp(keyword, keywordExpected) != 0 ) { in TestPluralRules()
118 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpectedForDecimals, u_austrcpy(bcharBuf,keyword) ); in TestPluralRules()
138 UChar keyword[ in TestOrdinalRules() local
170 getKeywordIndex(const char* keyword) getKeywordIndex() argument
235 const char* keyword; TestGetKeywords() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DPluralRules.java47 * method examines each condition in order and returns the keyword for the first condition that matches the number. If
71 * keyword "other" by the default rule.
78 * This illustrates that the same keyword can be defined multiple times. Each rule is examined in order, and the first
79 * keyword whose condition passes is the one returned. Also notes that a modulus is applied to n in the last rule. Thus
97 * rule = keyword ':' condition
98 * keyword = &lt;identifier&gt;
1284 // This results in test failures with values mapping back to a different keyword. in addSamples()
1599 * rule : keyword ':' condition
1600 * keyword: <identifier>
1615 String keyword in parseRule()
1869 private final String keyword; global() field in PluralRules.Rule
1874 Rule(String keyword, Constraint constraint, DecimalQuantitySamples integerSamples, DecimalQuantitySamples decimalSamples) Rule() argument
1984 isLimited(String keyword, SampleType sampleType) isLimited() argument
1993 computeLimited(String keyword, SampleType sampleType) computeLimited() argument
2020 getRules(String keyword) getRules() argument
2029 select(IFixedDecimal sample, String keyword) select() argument
2038 getDecimalSamples(String keyword, SampleType sampleType) getDecimalSamples() argument
2275 matches(FixedDecimal sample, String keyword) matches() argument
2298 getUniqueKeywordValue(String keyword) getUniqueKeywordValue() argument
2316 getUniqueKeywordDecimalQuantityValue(String keyword) getUniqueKeywordDecimalQuantityValue() argument
2333 getAllKeywordValues(String keyword) getAllKeywordValues() argument
2358 getAllKeywordDecimalQuantityValues(String keyword) getAllKeywordDecimalQuantityValues() argument
2375 getAllKeywordValues(String keyword, SampleType type) getAllKeywordValues() argument
2392 getSamples(String keyword) getSamples() argument
2408 getDecimalQuantitySamples(String keyword) getDecimalQuantitySamples() argument
2427 getSamples(String keyword, SampleType sampleType) getSamples() argument
2455 getDecimalQuantitySamples(String keyword, SampleType sampleType) getDecimalQuantitySamples() argument
2494 addSample(String keyword, DecimalQuantity sample, int maxCount, Set<DecimalQuantity> result) addSample() argument
2519 getDecimalSamples(String keyword, SampleType sampleType) getDecimalSamples() argument
2634 getKeywordStatus(String keyword, int offset, Set<DecimalQuantity> explicits, Output<DecimalQuantity> uniqueValue) getKeywordStatus() argument
2657 getKeywordStatus(String keyword, int offset, Set<DecimalQuantity> explicits, Output<DecimalQuantity> uniqueValue, SampleType sampleType) getKeywordStatus() argument
2716 getRules(String keyword) getRules() argument
2744 isLimited(String keyword) isLimited() argument
2753 isLimited(String keyword, SampleType sampleType) isLimited() argument
2762 computeLimited(String keyword, SampleType sampleType) computeLimited() argument
[all...]
/third_party/vk-gl-cts/modules/gles2/scripts/
H A Dgen-keywords.py97 for keyword in KEYWORDS:
98 keywords.append(IdentifierCase(keyword, keyword)) # Keywords
100 for keyword in RESERVED_KEYWORDS:
101 reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords
/third_party/curl/lib/
H A Dcurl_fnmatch.c78 char keyword[KEYLEN] = { 0 }; in parsekeyword() local
89 keyword[i] = c; in parsekeyword()
105 if(strcmp(keyword, "digit") == 0) in parsekeyword()
107 else if(strcmp(keyword, "alnum") == 0) in parsekeyword()
109 else if(strcmp(keyword, "alpha") == 0) in parsekeyword()
111 else if(strcmp(keyword, "xdigit") == 0) in parsekeyword()
113 else if(strcmp(keyword, "print") == 0) in parsekeyword()
115 else if(strcmp(keyword, "graph") == 0) in parsekeyword()
117 else if(strcmp(keyword, "space") == 0) in parsekeyword()
119 else if(strcmp(keyword, "blan in parsekeyword()
[all...]

Completed in 20 milliseconds

123456789