/external/icu/icu4c/source/i18n/unicode/ |
coll.h | 12 * \brief C++ API: Collation Service. 23 * 02/5/97 aliu Modified createDefault to load collation data from 28 * Moved cache out of Collation class. 91 * specific collation strategies. One subclass, 100 * understand the details of a particular collation strategy or if you need to 152 * orders for the same set of strings. Locales have specific collation rules, 285 * @return the collation object of the default locale.(for example, en_US) 292 * Gets the collation object for the desired locale. The 295 * Locale::getRoot() is the base collation table and all other languages are 298 * For some languages, multiple collation types are available [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cg7coll.c | 117 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 119 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 121 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 208 log_verbose("Demo Test 1 : Create a new table collation with rules \" & Z < p, P \" \n"); 214 log_err_status(status, "Demo Test 1 Rule collation object creation failed. : %s\n", myErrorName(status)); 239 log_verbose("Demo Test 2 : Create a new table collation with rules \"& C < ch , cH, Ch, CH\""); 245 log_err_status(status, "Demo Test 2 Rule collation object creation failed.: %s\n", myErrorName(status)); 268 log_verbose("Demo Test 3 : Create a new table collation with rules \"& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'\" \n"); 274 log_err_status(status, "Demo Test 3 Rule collation object creation failed.: %s\n", myErrorName(status)); 298 log_verbose("Demo Test 4 : Create a new table collation with rules \" & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' \"\n") [all...] |
cjaptst.h | 23 * collation rules as its sorting sequence.
|
capitst.c | 241 binColl=ures_getByKey(res, "%%Collation", binColl, &status); 248 log_err("ERROR: ures_getByKey(locale(default), %%Collation) failed"); 350 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); 351 doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference"); 355 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary difference"); 356 doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary difference"); 357 doAssert( (ucol_getStrength(col) == UCOL_SECONDARY), "collation object has the wrong strength"); 360 log_verbose("Get display name for the default collation in German : \n"); 367 log_verbose("the display name for default collation in german: %s\n", austrdup(disName) ); 374 log_verbose("Default collation getDisplayName ended.\n") [all...] |
/external/icu/icu4c/source/test/intltest/ |
g7coll.cpp | 70 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 72 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 74 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 125 errln("Recreate %s collation failed - %s", locale.getName(), u_errorName(status)); 151 logln("Demo Test 1 : Create a new table collation with rules \"& Z < p, P\""); 166 errln( "Demo Test 1 Table Collation object creation failed."); 185 logln("Demo Test 2 : Create a new table collation with rules \"& C < ch , cH, Ch, CH\""); 200 errln("Demo Test 2 Table Collation object creation failed."); 219 logln("Demo Test 3 : Create a new table collation with rules \"& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'\""); 234 errln("Demo Test 3 Table Collation object creation failed.") [all...] |
encoll.h | 13 * collation rules as its sorting sequence.
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CollationKey.java | 12 import android.icu.impl.coll.Collation; 31 * Note that collation keys are often less efficient than simply doing comparison. 142 * @param key array of bytes that represent the collation order of argument 168 * @param key RawCollationKey object that represents the collation order of 236 * collation rules of the Collator that created this key are 269 * equality. The collation rules of the Collator that created 295 * The collation 360 * Produces a bound for the sort order of a given collation key and a 380 * Collation keys produced may be compared using the <TT>compare</TT> API. 391 * collation key can have [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
CollationKey.java | 11 import com.ibm.icu.impl.coll.Collation; 30 * Note that collation keys are often less efficient than simply doing comparison. 145 * @param key array of bytes that represent the collation order of argument 172 * @param key RawCollationKey object that represents the collation order of 242 * collation rules of the Collator that created this key are 276 * equality. The collation rules of the Collator that created 303 * The collation 370 * Produces a bound for the sort order of a given collation key and a 390 * Collation keys produced may be compared using the <TT>compare</TT> API. 401 * collation key can have [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/CustomizedDisplayLib/ |
Colors.h | 15 // Unicode collation protocol in
|
/external/icu/icu4c/source/i18n/ |
collationdatawriter.h | 28 * Collation-related code for tools & demos.
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
IterCollationIterator.java | 19 * UCharIterator-based collation element and character iterator.
|
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 61 * @return hash value of collation key. Hash value is never 0.
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 58 // Test to verify that very large collation keys are not truncated. 72 assertTrue("Collation key not 0 terminated", arr[arr.length - 1] == 0); 78 assertTrue("Collation key not 0 terminated", arr[arr.length - 1] == 0); 82 assertTrue("Collation keys should differ", foo.equals(bar));
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/text/ |
RbnfScannerProviderImpl.java | 46 * Returns a collation-based scanner. 64 * on construction may supply additional collation rules that are appended to the 114 // collation rules, which hopefully won't happen 222 // Create two collation element iterators, one over the target string 234 // match collation elements between the strings 263 // match collation elements from the two strings 273 // collation elements in the prefix)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
G7CollationTest.java | 47 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 49 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 51 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 65 logln("Demo Test 1 : Create a new table collation with rules \"& Z < p, P\""); 93 logln("Demo Test 2 : Create a new table collation with rules \"& C < ch , cH, Ch, CH\""); 121 // logln("Demo Test 3 : Create a new table collation with rules \"& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'\""); 149 logln("Demo Test 4 : Create a new table collation with rules \" & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' \"");
|
CollationMiscTest.java | 152 * Note: Starting with UCA 6.0, the [variable top] collation element 166 * Note: Starting with UCA 6.0, the [last regular] collation element 699 // See CLDR ticket #7246 "root collation: remove Cyrillic contractions". [all...] |
CollationAPITest.java | 44 * This tests the collation key related APIs. 48 * - comparison between collation keys 49 * - creating collation key with a byte array and vice versa 66 "Empty string should return a collation key with empty levels"); 72 "Completely ignorable string should return a collation key with empty levels"); 78 doAssert(sortk1 == null, "Error code should return bogus collation key"); 99 errln("Default collation did not have tertiary strength"); 235 errln("vi_VN collation did not have cannonical decomposition for normalization!"); 240 errln("el_GR collation did not have cannonical decomposition for normalization!"); 245 errln("en_US collation had cannonical decomposition for normalization!") [all...] |
/external/icu/icu4c/source/common/unicode/ |
uconfig.h | 208 * This switch turns off modules that are not needed for collation. 212 * If you want "only collation" and do not build for EBCDIC, 228 # error Contradictory collation switches in uconfig.h. 317 * collation and IDNA. 332 # error Contradictory collation switches in uconfig.h. 373 * This switch turns off collation and collation-based string search.
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/ |
RbnfScannerProviderImpl.java | 44 * Returns a collation-based scanner. 62 * on construction may supply additional collation rules that are appended to the 112 // collation rules, which hopefully won't happen 220 // Create two collation element iterators, one over the target string 232 // match collation elements between the strings 261 // match collation elements from the two strings 271 // collation elements in the prefix)
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
G7CollationTest.java | 46 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 48 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 50 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 64 logln("Demo Test 1 : Create a new table collation with rules \"& Z < p, P\""); 92 logln("Demo Test 2 : Create a new table collation with rules \"& C < ch , cH, Ch, CH\""); 120 // logln("Demo Test 3 : Create a new table collation with rules \"& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'\""); 148 logln("Demo Test 4 : Create a new table collation with rules \" & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' \"");
|
CollationMiscTest.java | 151 * Note: Starting with UCA 6.0, the [variable top] collation element 165 * Note: Starting with UCA 6.0, the [last regular] collation element 698 // See CLDR ticket #7246 "root collation: remove Cyrillic contractions". [all...] |
CollationAPITest.java | 43 * This tests the collation key related APIs. 47 * - comparison between collation keys 48 * - creating collation key with a byte array and vice versa 65 "Empty string should return a collation key with empty levels"); 71 "Completely ignorable string should return a collation key with empty levels"); 77 doAssert(sortk1 == null, "Error code should return bogus collation key"); 98 errln("Default collation did not have tertiary strength"); 234 errln("vi_VN collation did not have cannonical decomposition for normalization!"); 239 errln("el_GR collation did not have cannonical decomposition for normalization!"); 244 errln("en_US collation had cannonical decomposition for normalization!") [all...] |
/external/python/cpython2/Lib/sqlite3/test/ |
hooks.py | 99 self.assertEqual(e.args[0].lower(), "no such collation sequence: mycoll") 122 Register two different collation functions under the same name. 132 self.fail("wrong collation function is used") 136 Register a collation, then deregister it. Make sure an error is raised if we try 146 if not e.args[0].startswith("no such collation sequence"):
|
/external/icu/icu4c/source/common/ |
ucol_swp.cpp | 18 * Swap collation binaries. 132 * The collation binary must contain at least the UCATableHeader, 163 /* swap a header-less collation formatVersion=3 binary, inside a resource bundle or ucadata.icu */ 193 * The collation binary must contain at least the UCATableHeader, 202 udata_printError(ds, "ucol_swap(formatVersion=3): too few bytes (%d after header) for collation data\n", 214 udata_printError(ds, "ucol_swap(formatVersion=3): magic 0x%08x or format version %02x.%02x is not a collation binary\n", 393 "(%d after header) for collation data\n", 402 "(%d after header) for collation data\n", 429 "(%d after header) for collation data\n", 549 /* swap ICU collation data like ucadata.icu * [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/ |
UnicodeCollationEng.c | 2 Driver to implement English version of Unicode Collation Protocol.
57 // EFI Unicode Collation Protocol supporting ISO 639-2 language code
86 Collation & Unicode Collation 2 Protocols based on the feature flags.
161 // This module must support to produce at least one of Unicode Collation Protocol
162 // and Unicode Collation 2 Protocol.
|