Home
last modified time | relevance | path

Searched refs:UCollator (Results 1 – 25 of 50) sorted by relevance

12

/external/icu/icu4c/source/i18n/unicode/
Ducol.h52 struct UCollator;
56 typedef struct UCollator UCollator; typedef
388 U_STABLE UCollator* U_EXPORT2
416 U_STABLE UCollator* U_EXPORT2
458 U_DEPRECATED UCollator* U_EXPORT2
480 ucol_getContractions( const UCollator *coll,
497 ucol_getContractionsAndExpansions( const UCollator *coll,
512 ucol_close(UCollator *coll);
527 U_DEFINE_LOCAL_OPEN_POINTER(LocalUCollatorPointer, UCollator, ucol_close);
549 ucol_strcoll( const UCollator *coll,
[all …]
Dcoll.h1161 static inline Collator *fromUCollator(UCollator *uc) { in fromUCollator()
1165 static inline const Collator *fromUCollator(const UCollator *uc) { in fromUCollator()
1169 inline UCollator *toUCollator() { in toUCollator()
1170 return reinterpret_cast<UCollator *>(this); in toUCollator()
1173 inline const UCollator *toUCollator() const { in toUCollator()
1174 return reinterpret_cast<const UCollator *>(this); in toUCollator()
Dusearch.h333 const UCollator *collator,
571 U_STABLE UCollator * U_EXPORT2 usearch_getCollator(
585 const UCollator *collator,
/external/icu/icu4c/source/i18n/
Ducol.cpp39 U_CAPI UCollator* U_EXPORT2
41 const UCollator *base, in ucol_openBinary()
61 ucol_cloneBinary(const UCollator *coll, in ucol_cloneBinary()
76 U_CAPI UCollator* U_EXPORT2
77 ucol_safeClone(const UCollator *coll, void * /*stackBuffer*/, int32_t * pBufferSize, UErrorCode *st… in ucol_safeClone()
103 ucol_close(UCollator *coll) in ucol_close()
189 ucol_getSortKey(const UCollator *coll, in ucol_getSortKey()
210 ucol_nextSortKeyPart(const UCollator *coll, in ucol_nextSortKeyPart()
303 ucol_setMaxVariable(UCollator *coll, UColReorderCode group, UErrorCode *pErrorCode) { in ucol_setMaxVariable()
309 ucol_getMaxVariable(const UCollator *coll) { in ucol_getMaxVariable()
[all …]
Ducol_imp.h46 ucol_equals(const UCollator *source, const UCollator *target);
Ducol_sit.cpp487 U_CAPI UCollator* U_EXPORT2
524 UCollator *result = ucol_open(buffer, status); in ucol_openFromShortString()
561 ucol_getShortDefinitionString(const UCollator *coll, in ucol_getShortDefinitionString()
612 ucol_getContractions( const UCollator *coll, in ucol_getContractions()
631 ucol_getContractionsAndExpansions( const UCollator *coll, in ucol_getContractionsAndExpansions()
/external/sqlite/android/
Dsqlite3_android.cpp39 UCollator *coll = (UCollator *) p; in collate16()
54 UCollator *coll = (UCollator *) p; in collate8()
226 UCollator* collator;
280 UCollator* collator = (UCollator*)sqlite3_user_data(context); in tokenize()
406 static void localized_collator_dtor(UCollator* collator) in localized_collator_dtor()
422 UCollator* collator = ucol_open(systemLocale, &status); in register_localized_collators()
500 UCollator * collator = ucol_open(NULL, &status); in register_android_functions()
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c146 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer,… in sortKeyToString()
230 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials()
268 static void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UColl… in doTestVariant()
450 void doTest(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult re… in doTest()
594 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollati… in genericOrderingTestWithResult()
625 void genericOrderingTest(UCollator *coll, const char * const s[], uint32_t size) { in genericOrderingTest()
631 UCollator *coll = ucol_open(locale, &status); in genericLocaleStarter()
648 UCollator *coll = ucol_open(locale, &status); in genericLocaleStarterWithResult()
670 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); in genericRulesStarterWithOptionsAndResult()
691 UCollator *coll = ucol_open(locale, &status); in genericLocaleStarterWithOptionsAndResult()
[all …]
Dcg7coll.c138 UCollator *myCollation; in TestG7Locales()
166 UCollator *tblColl1; in TestG7Locales()
198 UCollator *myCollation; in TestDemo1()
229 UCollator *myCollation; in TestDemo2()
258 UCollator *myCollation; in TestDemo3()
288 UCollator *myCollation; in TestDemo4()
Dcallcoll.h41 void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
47 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollati…
48 void genericOrderingTest(UCollator *coll, const char * const s[], uint32_t size);
Dcmsccoll.c88 UCollator *coll = NULL; in IncompleteCntTest()
191 UCollator *coll = ucol_open("en_US", &status); in BlackBirdTest()
265 UCollator *myCollation; in FunkyATest()
338 UCollator *coll = ucol_open("en_US", &status);
443 UCollator *coll = ucol_open("cs", &status); in TestChMove()
539 UCollator *coll = ucol_open("", &status); in TestFCDProblem()
579 UCollator *coll = NULL; in TestComposeDecompose()
695 UCollator *coll = ucol_openRules(rulez, 0, UCOL_OFF, UCOL_TERTIARY,NULL, &status); in TestEmptyRule()
705 UCollator *UCAfromRules = NULL; in TestUCARules()
706 UCollator *coll = ucol_open("", &status); in TestUCARules()
[all …]
Dcapitst.c42 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *bu… in ucol_sortKeyToString()
94 UCollator *coll = ucol_open(NULL, &status); in TestGetSetAttr()
175 static void doStrcoll(const UCollator* coll, const UChar* src, int32_t srcLen, const UChar* tgt, in… in doStrcoll()
214 UCollator *coll=NULL;
270 UCollator *col, *ruled; in TestProperty()
448 UCollator *col1, *col2, *col3, *col4; in TestRuleBasedColl()
562 UCollator *col; in TestCompare()
611 UCollator *en_US, *el_GR, *vi_VN; in TestDecomposition()
653 UCollator * someCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone()
654 UCollator * someClonedCollators [CLONETEST_COLLATOR_COUNT]; in TestSafeClone()
[all …]
Dcitertst.c75 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672()
148 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize()
219 UCollator *en_us; in TestUnicodeChar()
285 UCollator *th_th; in TestNormalizedUnicodeChar()
351 UCollator *coll; in TestNormalization()
419 UCollator *coll=NULL; in TestPrevious()
422 UCollator *c1, *c2, *c3; in TestPrevious()
560 UCollator *en_us=NULL; in TestOffset()
706 UCollator *en_us=NULL; in TestSetText()
778 UCollator *coll ;/*= ucol_open("en_US", &status);*/ in TestMaxExpansion()
[all …]
Dsorttest.c125 const UCollator *coll=(const UCollator *)context; in linesComparator()
134 UCollator *coll; in StableSortTest()
Dusrchtst.c25 static UCollator *EN_US_;
26 static UCollator *FR_FR_;
27 static UCollator *DE_;
28 static UCollator *ES_;
159 static UCollator *getCollator(const char *collator) in getCollator()
547 UCollator *collator = getCollator(search.collator); in assertEqual()
578 UCollator *collator = getCollator(search.collator); in assertCanonicalEqual()
619 UCollator *collator = getCollator(search.collator); in assertEqualWithAttribute()
775 UCollator *collator = getCollator(search->collator); in TestBreakIterator()
882 UCollator *collator = getCollator(search->collator); in TestOverlap()
[all …]
Dcfrtst.c36 static UCollator *myCollation;
307 UCollator *pCollator; in TestGetSortKey()
Dcestst.c36 static UCollator *myCollation;
Dcturtst.c36 static UCollator *myCollation;
/external/icu/icu4c/source/test/perf/collperf2/
Dcollperf2.cpp57 Strcoll(const UCollator* coll, const CA_uchar* source, UBool useLen);
63 const UCollator *coll;
69 Strcoll::Strcoll(const UCollator* coll, const CA_uchar* source, UBool useLen) in Strcoll()
117 Strcoll_2(const UCollator* coll, const CA_uchar* source, const CA_uchar* target, UBool useLen);
123 const UCollator *coll;
129 Strcoll_2::Strcoll_2(const UCollator* coll, const CA_uchar* source, const CA_uchar* target, UBool u… in Strcoll_2()
169 StrcollUTF8(const UCollator* coll, const CA_char* source, UBool useLen);
175 const UCollator *coll;
181 StrcollUTF8::StrcollUTF8(const UCollator* coll, const CA_char* source, UBool useLen) in StrcollUTF8()
229 … StrcollUTF8_2(const UCollator* coll, const CA_char* source, const CA_char* target, UBool useLen);
[all …]
/external/icu/icu4c/source/test/intltest/
Dcolldata.h68 CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status);
216 CollData(UCollator *collator, UErrorCode &status);
228 UCollator *getCollator() const;
292 UCollator *coll;
Dssearch.cpp334 OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0);
359 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) in OrderList()
725 UCollator *coll = NULL; in sharpSTest()
782 UCollator *coll = NULL; in goodSuffixTest()
1042 StringSetMonkey(const USet *theSet, UCollator *theCollator, CollData *theCollData);
1051 UCollator *coll;
1055 StringSetMonkey::StringSetMonkey(const USet *theSet, UCollator *theCollator, CollData *theCollData) in StringSetMonkey()
1154 static void generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString… in generateTestCase()
1178 static UBool simpleSearch(UCollator *coll, const UnicodeString &target, int32_t offset, const Unico… in simpleSearch()
1305 int32_t SSearchTest::monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeSt… in monkeyTestCase()
[all …]
Dssearch.h42 …virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const Unicode…
/external/icu/icu4c/source/samples/legacy/
Dnewcol.cpp29 UCollator *coll = ucol_open(locale, &status); in getSortKey_current()
40 static UCollator *compareCollator = NULL;
Doldcol.cpp30 UCollator *coll = ucol_open(locale, &status); in getSortKey_legacy()
41 static UCollator *compareCollator = NULL;
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp65 static UCollator * col; // for qsort callback function
77 UCollator * DataIndex::col;
84 UCollator * col;
96 …CmdKeyGen(UErrorCode, UCollator * col,DWORD win_langid, int32_t count, DataIndex * data,Func fn,in… in CmdKeyGen()
141 …CmdIter(UErrorCode & status, UCollator * col, int32_t count, CA_uchar *data, Func fn, int32_t,int3… in CmdIter()
196 …CmdIterAll(UErrorCode & status, UCollator * col, int32_t count, UChar * data, CALL call,int32_t,i… in CmdIterAll()
396 UCollator * col;
404 …CmdBinSearch(UErrorCode, UCollator * col,DWORD win_langid,int32_t count,DataIndex * rnd,DataIndex … in CmdBinSearch()
489 UCollator * col;

12