/external/icu/icu4c/source/i18n/ |
H A D | standardplural.cpp | 32 int32_t StandardPlural::indexOrNegativeFromString(const char *keyword) { argument 33 switch (*keyword++) { 35 if (uprv_strcmp(keyword, "ew") == 0) { 40 if (uprv_strcmp(keyword, "any") == 0) { 45 if (uprv_strcmp(keyword, "ther") == 0) { 47 } else if (uprv_strcmp(keyword, "ne") == 0) { 52 if (uprv_strcmp(keyword, "wo") == 0) { 57 if (uprv_strcmp(keyword, "ero") == 0) { 74 int32_t StandardPlural::indexOrNegativeFromString(const UnicodeString &keyword) { argument 75 switch (keyword 103 indexFromString(const char *keyword, UErrorCode &errorCode) argument 114 indexFromString(const UnicodeString &keyword, UErrorCode &errorCode) argument [all...] |
H A D | standardplural.h | 40 * @return the lowercase CLDR keyword string for the plural form 45 * @param keyword for example "few" or "other" 46 * @return the plural form corresponding to the keyword, or OTHER 48 static Form orOtherFromString(const char *keyword) { argument 49 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 53 * @param keyword for example "few" or "other" 54 * @return the plural form corresponding to the keyword, or OTHER 56 static Form orOtherFromString(const UnicodeString &keyword) { argument 57 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 61 * Sets U_ILLEGAL_ARGUMENT_ERROR if the keyword i 66 fromString(const char *keyword, UErrorCode &errorCode) argument 76 fromString(const UnicodeString &keyword, UErrorCode &errorCode) argument 96 indexOrOtherIndexFromString(const char *keyword) argument 105 indexOrOtherIndexFromString(const UnicodeString &keyword) argument [all...] |
H A D | upluralrules.cpp | 41 UChar *keyword, int32_t capacity, 47 if (keyword == NULL ? capacity != 0 : capacity < 0) { 52 return result.extract(keyword, capacity, *status); 39 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
|
H A D | selfmt.cpp | 86 SelectFormat::format(const UnicodeString& keyword, argument 93 // Check for the validity of the keyword 94 if (!PatternProps::isIdentifier(keyword.getBuffer(), keyword.length())) { 101 int32_t msgStart = findSubMessage(msgPattern, 0, keyword, status); 126 const UnicodeString& keyword, UErrorCode& ec) { 141 if(pattern.partSubstringMatches(part, keyword)) { 142 // keyword matches 125 findSubMessage(const MessagePattern& pattern, int32_t partIndex, const UnicodeString& keyword, UErrorCode& ec) argument
|
/external/autotest/client/cros/cellular/wardmodem/ |
H A D | global_state.py | 6 import keyword namespace 131 keyword.iskeyword(component_name): 145 keyword.iskeyword(component_name):
|
H A D | state_machine.py | 5 import keyword namespace 172 keyword.iskeyword(function):
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cpluralrulestest.c | 70 UChar keyword[kKeywordBufLen]; local 72 int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status); 74 keyword[kKeywordBufLen-1] = 0; 78 if ( u_strcmp(keyword, keywordExpected) != 0 ) { 81 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); 96 UChar keyword[8]; local 105 length = uplrules_select(upr, 2., keyword, 8, &errorCode); 106 if (U_FAILURE(errorCode) || u_strCompare(keyword, length, two, 3, FALSE) != 0) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowSQLiteQueryBuilder.java | 43 private static void conditionallyAppend(StringBuilder sb, String keyword, String value) { argument 45 sb.append(keyword);
|
/external/ImageMagick/coders/ |
H A D | vicar.c | 153 keyword[MagickPathExtent], 228 Determine a keyword and its value. 230 p=keyword; 233 if ((size_t) (p-keyword) < (MagickPathExtent-1)) 259 Assign a value to the specified keyword. 261 if (LocaleCompare(keyword,"Label_RECORDS") == 0) 263 if (LocaleCompare(keyword,"LBLSIZE") == 0) 265 if (LocaleCompare(keyword,"RECORD_BYTES") == 0) 267 if (LocaleCompare(keyword,"NS") == 0) 269 if (LocaleCompare(keyword,"LINE 149 keyword[MagickPathExtent], local [all...] |
/external/autotest/site_utils/suite_scheduler/ |
H A D | base_event.py | 21 def SectionName(keyword): 23 return keyword + _SECTION_SUFFIX 49 @var _keyword: the keyword/name of this event, e.g. new_build, nightly. 82 def __init__(self, keyword, manifest_versions, always_handle): 85 @param keyword: the keyword/name of this event, e.g. nightly. 89 self._keyword = keyword 96 def keyword(self): member in class:BaseEvent 118 keyword remains unchanged; the following take on values from to_merge: 191 logging.info('Handling %s for %s', self.keyword, boar [all...] |
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/ |
H A D | import_statement.py | 6 import keyword namespace 38 if keyword.iskeyword(value_part): 39 raise ValueError('%s is a reserved keyword.' % value_part) 81 if keyword.iskeyword(value): 82 raise ValueError('%s is a reserved keyword.' % value) 280 if keyword.iskeyword(value): 281 raise ValueError('%s is a reserved keyword.' % value)
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
H A D | phystokens.py | 7 import keyword namespace 116 if ttype == token.NAME and keyword.iskeyword(ttext):
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | StandardPlural.java | 44 private final String keyword; field in class:StandardPlural 47 keyword = kw; 51 * @return the lowercase CLDR keyword string for the plural form 54 return keyword; 58 * @param keyword for example "few" or "other" 59 * @return the plural form corresponding to the keyword, or null 61 public static final StandardPlural orNullFromString(CharSequence keyword) { argument 62 switch (keyword.length()) { 64 if ("one".contentEquals(keyword)) { 66 } else if ("two".contentEquals(keyword)) { 94 orOtherFromString(CharSequence keyword) argument 104 fromString(CharSequence keyword) argument 117 indexOrNegativeFromString(CharSequence keyword) argument 126 indexOrOtherIndexFromString(CharSequence keyword) argument 136 indexFromString(CharSequence keyword) argument [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | SelectFormat.java | 86 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 121 * for each user-defined keyword. 122 * The pattern is a sequence of (keyword, message) pairs. 123 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 127 * <p>You always have to define a phrase for the default keyword 128 * <code>other</code>; this phrase is returned when the keyword 130 * the <code>format</code> method matches no other keyword. 211 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message. 214 * @param keyword a keyword t 217 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument 247 format(String keyword) argument 309 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) argument [all...] |
H A D | PluralSamples.java | 88 String keyword = pluralRules.select(s); 89 addRelation(foundKeywords, keyword, s); 102 System.out.println("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + mentioned); 111 String keyword = pluralRules.select(s); 112 Set<FixedDecimal> list = sampleFractionMap.get(keyword); 115 sampleFractionMap.put(keyword, list); 145 String keyword = pluralRules.select(val); 146 boolean keyIsLimited = _keyLimitedMap.get(keyword); 148 List<Double> list = sampleMap.get(keyword); 151 sampleMap.put(keyword, lis 163 addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecimal s) argument 229 getDifferentCategory(List<Integer> ints, String keyword) argument 245 getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument 313 getAllKeywordValues(String keyword) argument [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | ICUResourceBundleCollationTest.java | 137 errln("Error - 'standard' is in the keyword list twice!"); 143 errln("Error - 'standard' was not in the collation tree as a keyword."); 145 logln("'standard' was found as a collation keyword."); 156 private void getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, argument 171 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | StandardPlural.java | 42 private final String keyword; field in class:StandardPlural 45 keyword = kw; 49 * @return the lowercase CLDR keyword string for the plural form 52 return keyword; 56 * @param keyword for example "few" or "other" 57 * @return the plural form corresponding to the keyword, or null 59 public static final StandardPlural orNullFromString(CharSequence keyword) { argument 60 switch (keyword.length()) { 62 if ("one".contentEquals(keyword)) { 64 } else if ("two".contentEquals(keyword)) { 92 orOtherFromString(CharSequence keyword) argument 102 fromString(CharSequence keyword) argument 115 indexOrNegativeFromString(CharSequence keyword) argument 124 indexOrOtherIndexFromString(CharSequence keyword) argument 134 indexFromString(CharSequence keyword) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | SelectFormat.java | 85 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 120 * for each user-defined keyword. 121 * The pattern is a sequence of (keyword, message) pairs. 122 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 126 * <p>You always have to define a phrase for the default keyword 127 * <code>other</code>; this phrase is returned when the keyword 129 * the <code>format</code> method matches no other keyword. 215 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message. 218 * @param keyword a keyword t 221 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument 252 format(String keyword) argument 315 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) argument [all...] |
H A D | PluralSamples.java | 86 String keyword = pluralRules.select(s); 87 addRelation(foundKeywords, keyword, s); 100 System.out.println("Failed to find sample for each keyword: " + foundKeywords + "\n\t" + pluralRules + "\n\t" + mentioned); 109 String keyword = pluralRules.select(s); 110 Set<FixedDecimal> list = sampleFractionMap.get(keyword); 113 sampleFractionMap.put(keyword, list); 143 String keyword = pluralRules.select(val); 144 boolean keyIsLimited = _keyLimitedMap.get(keyword); 146 List<Double> list = sampleMap.get(keyword); 149 sampleMap.put(keyword, lis 161 addRelation(Map<String, Set<FixedDecimal>> foundKeywords, String keyword, FixedDecimal s) argument 227 getDifferentCategory(List<Integer> ints, String keyword) argument 243 getStatus(String keyword, int offset, Set<Double> explicits, Output<Double> uniqueValue) argument 312 getAllKeywordValues(String keyword) argument [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleCollationTest.java | 133 errln("Error - 'standard' is in the keyword list twice!"); 139 errln("Error - 'standard' was not in the collation tree as a keyword."); 141 logln("'standard' was found as a collation keyword."); 152 private void getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, argument 167 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
|
/external/messageformat/java/com/ibm/icu/text/ |
H A D | SelectFormat.java | 85 * <p>The resulting keyword is provided to <code>MessageFormat</code> as a 120 * for each user-defined keyword. 121 * The pattern is a sequence of (keyword, message) pairs. 122 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+</p> 126 * <p>You always have to define a phrase for the default keyword 127 * <code>other</code>; this phrase is returned when the keyword 129 * the <code>format</code> method matches no other keyword. 216 * Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message. 219 * @param keyword a keyword t 222 findSubMessage(MessagePattern pattern, int partIndex, String keyword) argument 253 format(String keyword) argument 316 format(Object keyword, StringBuffer toAppendTo, FieldPosition pos) argument [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
H A D | Collator.java | 577 * collation. At this point, the only recognized keyword for this 589 * {@icu} Given a keyword, returns an array of all values for 590 * that keyword that are currently in use. 591 * @param keyword one of the keywords returned by getKeywords. 595 public static final String[] getKeywordValues(String keyword) { argument 604 // * plus input keyword and that value has different behavior than creation with the 622 // * requested locale, with respect to given keyword, for the 635 // * @param keyword a particular keyword as enumerated by 645 // public static final ULocale getFunctionalEquivalent(String keyword, [all...] |
/external/ImageMagick/MagickCore/ |
H A D | coder.c | 827 keyword[MagickPathExtent], 861 (void) CopyMagickString(keyword,token,MagickPathExtent); 862 if (LocaleNCompare(keyword,"<!DOCTYPE",9) == 0) 871 if (LocaleNCompare(keyword,"<!--",4) == 0) 880 if (LocaleCompare(keyword,"<include") == 0) 887 (void) CopyMagickString(keyword,token,MagickPathExtent); 892 if (LocaleCompare(keyword,"file") == 0) 923 if (LocaleCompare(keyword,"<coder") == 0) 939 if (LocaleCompare(keyword,"/>") == 0) 955 switch (*keyword) 813 keyword[MagickPathExtent], local [all...] |
H A D | configure.c | 1169 keyword[MagickPathExtent], 1201 (void) CopyMagickString(keyword,token,MagickPathExtent); 1202 if (LocaleNCompare(keyword,"<!DOCTYPE",9) == 0) 1211 if (LocaleNCompare(keyword,"<!--",4) == 0) 1220 if (LocaleCompare(keyword,"<include") == 0) 1227 (void) CopyMagickString(keyword,token,MagickPathExtent); 1232 if (LocaleCompare(keyword,"file") == 0) 1263 if (LocaleCompare(keyword,"<configure") == 0) 1280 if (LocaleCompare(keyword,"/>") == 0) 1298 switch (*keyword) 1150 keyword[MagickPathExtent], local [all...] |
H A D | magic.c | 848 keyword[MagickPathExtent], 882 (void) CopyMagickString(keyword,token,MagickPathExtent); 883 if (LocaleNCompare(keyword,"<!DOCTYPE",9) == 0) 892 if (LocaleNCompare(keyword,"<!--",4) == 0) 901 if (LocaleCompare(keyword,"<include") == 0) 908 (void) CopyMagickString(keyword,token,MagickPathExtent); 913 if (LocaleCompare(keyword,"file") == 0) 944 if (LocaleCompare(keyword,"<magic") == 0) 960 if (LocaleCompare(keyword,"/>") == 0) 976 switch (*keyword) 835 keyword[MagickPathExtent], local [all...] |