Searched defs:reorderCodes (Results 1 - 13 of 13) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Dcollationdatareader.cpp105 const int32_t *reorderCodes = NULL; local
117 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset);
376 uprv_memcmp(reorderCodes, ts.reorderCodes, reorderCodesLength * 4) == 0 &&
399 settings->aliasReordering(reorderCodes, reorderCodesLength, reorderTable);
402 baseData->makeReorderTable(reorderCodes, reorderCodesLength, table, errorCode);
404 if(!settings->setReordering(reorderCodes, reorderCodesLength,table)) {
H A Dcollationsettings.h106 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0),
200 const int32_t *reorderCodes; member in struct:CollationSettings
204 * Capacity of reorderCodes.
206 * Otherwise, this object owns the memory via the reorderCodes pointer;
H A Ducol.cpp383 const int32_t* reorderCodes,
390 Collator::fromUCollator(coll)->setReorderCodes(reorderCodes, reorderCodesLength, *status);
382 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument
H A Drulebasedcollator.cpp637 uprv_memcpy(dest, settings->reorderCodes, length * 4);
642 RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, int32_t length, argument
645 if(length < 0 || (reorderCodes == NULL && length > 0)) {
650 uprv_memcmp(reorderCodes, settings->reorderCodes, length * 4) == 0) {
654 if(length == 1 && reorderCodes[0] == UCOL_REORDER_CODE_DEFAULT) {
661 ownedSettings->aliasReordering(defaultSettings.reorderCodes,
677 data->makeReorderTable(reorderCodes, length, reorderTable, errorCode);
679 if(!ownedSettings->setReordering(reorderCodes, length, reorderTable)) {
/external/chromium_org/third_party/icu/source/i18n/
H A Dtblcoll.cpp541 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, argument
546 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
H A Ducol_tok.h140 int32_t* reorderCodes; member in struct:__anon12128
H A Ducol_res.cpp271 const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); local
273 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status);
277 uprv_memcpy(result->defaultReorderCodes, result->reorderCodes, result->defaultReorderCodesLength * sizeof(int32_t));
606 if(source->reorderCodes[i] != target->reorderCodes[i]) {
1044 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) {
1049 if (coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) {
1050 uprv_free(coll->reorderCodes);
1052 coll->reorderCodes = NULL;
1065 uprv_memcpy(coll->defaultReorderCodes, parser->reorderCodes, col
[all...]
H A Ducol_imp.h981 int32_t* reorderCodes; member in struct:UCollator
H A Ducol.cpp571 int32_t* reorderCodes; local
593 if (coll->reorderCodes) {
620 reorderCodes = (int32_t*)((uint8_t*)defaultReorderCodes + defaultReorderCodesSize);
621 leadBytePermutationTable = (uint8_t*)reorderCodes + reorderCodesSize;
664 if (coll->reorderCodes) {
665 localCollator->reorderCodes =
666 (int32_t*)uprv_memcpy(reorderCodes, coll->reorderCodes, coll->reorderCodesLength * sizeof(int32_t));
726 if(coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) {
727 uprv_free(coll->reorderCodes);
6718 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dalphaindextst.cpp315 int32_t reorderCodes[20]; local
317 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) {
561 int32_t reorderCodes[] = { USCRIPT_HAN }; local
562 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
590 int32_t reorderCodes[] = { USCRIPT_HAN }; local
591 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
/external/icu/icu4c/source/test/intltest/
H A Dalphaindextst.cpp317 int32_t reorderCodes[20]; local
319 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) {
563 int32_t reorderCodes[] = { USCRIPT_HAN }; local
564 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
592 int32_t reorderCodes[] = { USCRIPT_HAN }; local
593 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcmsccoll.c657 uprv_free(src.reorderCodes);
1011 uprv_free(src.reorderCodes);
1305 uprv_free(src.reorderCodes);
5886 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
5932 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status);
5961 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
5984 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
6013 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes),
6041 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6148 static const int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6362 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
6607 int32_t reorderCodes[] = {UCOL_REORDER_CODE_SPACE, UCOL_REORDER_CODE_PUNCTUATION, UCOL_REORDER_CODE_SYMBOL, UCOL_REORDER_CODE_DIGIT, USCRIPT_GREEK,USCRIPT_LATIN, USCRIPT_HEBREW, UCOL_REORDER_CODE_OTHERS}; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcmsccoll.c4536 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
4582 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status);
4611 int32_t reorderCodes[1] = {USCRIPT_GREEK}; local
4634 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
4663 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
4691 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
4712 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes),
4798 static const int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
5012 int32_t reorderCodes[3] = {USCRIPT_GREEK, USCRIPT_HAN, UCOL_REORDER_CODE_PUNCTUATION}; local
5257 int32_t reorderCodes[] = {UCOL_REORDER_CODE_SPACE, UCOL_REORDER_CODE_PUNCTUATION, UCOL_REORDER_CODE_SYMBOL, UCOL_REORDER_CODE_DIGIT, USCRIPT_GREEK,USCRIPT_LATIN, USCRIPT_HEBREW, UCOL_REORDER_CODE_OTHERS}; local
[all...]

Completed in 332 milliseconds