/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
language.cc | 31 // Character '-' is the separator for subtags in the BCP 47. However, some 47 std::vector<std::string> subtags; local 48 SplitString(lowercase, kSubtagsSeparator, &subtags); 52 (subtags.size() > 1 && subtags[1] == kLowercaseLatinScript) || 53 (subtags.size() > 2 && subtags[2] == kLowercaseLatinScript);
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
make_element_lookup_trie.py | 59 subtags = list(subtags_iter) # need list for len 60 if len(subtags) == 1: # terminal node, no subtrie 62 tag = subtags[0] 65 subtrie = _trie(subtags, index + 1) 76 # FIXME: if all subtags have a common prefix, merge with child 79 return (trie_node(char, subtags) for char, subtags in char_subtags)
|
/libcore/luni/src/main/java/java/util/ |
Locale.java | 463 String[] subTags = normalizedVariant.split("_"); 465 for (String subTag : subTags) { 476 // - Subtags can be between [5, 8] alphanumeric chars in length. 477 // - Subtags that start with a number are allowed to be 4 chars in length. 647 * In the general case, {@code value} must be a series of subtags separated 686 final String[] subtags = normalizedValue.split("-"); local 688 // Lengths for subtags in the private use extension should be [1, 8] chars. 693 for (String subtag : subtags) { 707 parseUnicodeExtension(subtags, keywords, attributes); 734 * {#code type} can either be empty, or a series of one or more subtags 2169 final String[] subtags = converted.split("-"); local [all...] |
/frameworks/base/tools/aapt/ |
AaptAssets.cpp | 286 Vector<String8> subtags = AaptUtil::splitAndLowerCase(part, '+'); local 287 subtags.removeItemsAt(0); 288 if (subtags.size() == 1) { 289 setLanguage(subtags[0]); 290 } else if (subtags.size() == 2) { 291 setLanguage(subtags[0]); 294 switch (subtags[1].size()) { 297 setRegion(subtags[1]); 300 setScript(subtags[1]); 306 setVariant(subtags[1]) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
loclikely.cpp | 16 * Code for likely and minimized locale subtags, separated out from other .cpp files 17 * that then do not depend on resource bundle code and likely-subtags data. 48 UResourceBundle* subtags = ures_openDirect(NULL, "likelySubtags", &tmpErr); local 50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); 70 ures_close(subtags); 433 * Parse the language, script, and region subtags from a tag string, and copy the 442 * If the length of any of the output subtags exceeds the capacity of the corresponding 444 * the error U_BUFFER_OVERFLOW_ERROR. It will not parse any more subtags once overflow 1129 * since trying with all three subtags would only yield the [all...] |
/external/icu/icu4c/source/common/ |
loclikely.cpp | 16 * Code for likely and minimized locale subtags, separated out from other .cpp files 17 * that then do not depend on resource bundle code and likely-subtags data. 48 UResourceBundle* subtags = ures_openDirect(NULL, "likelySubtags", &tmpErr); local 50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); 70 ures_close(subtags); 433 * Parse the language, script, and region subtags from a tag string, and copy the 442 * If the length of any of the output subtags exceeds the capacity of the corresponding 444 * the error U_BUFFER_OVERFLOW_ERROR. It will not parse any more subtags once overflow 1129 * since trying with all three subtags would only yield the [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
com.ibm.icu_4.2.1.v20100412.jar | |
/prebuilts/misc/common/icu4j/ |
icu4j.jar | |