HomeSort by relevance Sort by last modified time
    Searched refs:reorderCodes (Results 1 - 25 of 26) sorted by null

1 2

  /external/icu/icu4c/source/i18n/
collationsettings.cpp 30 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0),
38 aliasReordering(other.reorderCodes, length, other.reorderTable);
40 setReordering(other.reorderCodes, length, other.reorderTable);
50 uprv_free(const_cast<int32_t *>(reorderCodes));
60 if(reorderCodes[i] != other.reorderCodes[i]) { return FALSE; }
71 h ^= (reorderCodes[i] << i);
80 // Keep the memory via reorderCodes and its capacity.
92 uprv_free(const_cast<int32_t *>(reorderCodes));
96 reorderCodes = codes
    [all...]
collationsettings.h 106 reorderCodes(NULL), reorderCodesLength(0), reorderCodesCapacity(0),
200 const int32_t *reorderCodes;
204 * Capacity of reorderCodes.
206 * Otherwise, this object owns the memory via the reorderCodes pointer;
collationdatareader.cpp 105 const int32_t *reorderCodes = NULL;
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)) {
collationruleparser.cpp 691 UVector32 reorderCodes(errorCode);
705 reorderCodes.addElement(code, errorCode);
709 int32_t length = reorderCodes.size();
710 if(length == 1 && reorderCodes.elementAti(0) == UCOL_REORDER_CODE_DEFAULT) {
716 baseData->makeReorderTable(reorderCodes.getBuffer(), length, table, errorCode);
718 if(!settings->setReordering(reorderCodes.getBuffer(), length, table)) {
rulebasedcollator.cpp 637 uprv_memcpy(dest, settings->reorderCodes, length * 4);
642 RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes, int32_t length,
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)) {
    [all...]
ucol.cpp 383 const int32_t* reorderCodes,
390 Collator::fromUCollator(coll)->setReorderCodes(reorderCodes, reorderCodesLength, *status);
collationdatawriter.cpp 302 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, settings.reorderCodes, dest);
  /external/icu/icu4c/source/test/intltest/
alphaindextst.cpp 317 int32_t reorderCodes[20];
319 if (index->getCollator().getReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status) > 0) {
563 int32_t reorderCodes[] = { USCRIPT_HAN };
564 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
592 int32_t reorderCodes[] = { USCRIPT_HAN };
593 coll->setReorderCodes(reorderCodes, LENGTHOF(reorderCodes), status);
collationtest.cpp     [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucol_res.cpp 273 reorderRes = ures_getByKey(collElem, "%%ReorderCodes", NULL, &intStatus);
276 const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status);
277 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status);
600 if(source->reorderCodes[i] != target->reorderCodes[i]) {
    [all...]
ucol_tok.h 140 int32_t* reorderCodes;
tblcoll.cpp 597 void RuleBasedCollator::setReorderCodes(const int32_t *reorderCodes,
601 ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
ucol_tok.cpp 666 src->reorderCodes = (int32_t*)uprv_malloc(codeCount * sizeof(int32_t));
684 src->reorderCodes[codeIndex] = ucol_findReorderingEntry(conversion);
685 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) {
686 src->reorderCodes[codeIndex] = u_getPropertyValueEnum(UCHAR_SCRIPT, conversion);
688 if (src->reorderCodes[codeIndex] == USCRIPT_INVALID_CODE) {
    [all...]
ucol.cpp 679 if(coll->reorderCodes != NULL) {
680 uprv_free(coll->reorderCodes);
869 result->reorderCodes = NULL;
    [all...]
coll.cpp 846 void Collator::setReorderCodes(const int32_t *reorderCodes,
ucol_imp.h     [all...]
  /external/icu/icu4c/source/test/cintltst/
cmsccoll.c     [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
coll.h 615 * @param reorderCodes An array of reorder codes in the new order.
616 * @param reorderCodesLength The length of reorderCodes.
620 virtual void setReorderCodes(const int32_t* reorderCodes,
    [all...]
tblcoll.h 684 * @param reorderCodes An array of script codes in the new order.
685 * @param reorderCodesLength The length of reorderCodes.
689 virtual void setReorderCodes(const int32_t* reorderCodes,
    [all...]
ucol.h 557 * @param reorderCodes An array of script codes in the new order.
558 * @param reorderCodesLength The length of reorderCodes.
565 const int32_t* reorderCodes,
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
coll.h 631 * @param reorderCodes An array of script codes in the new order. This can be NULL if the
633 * @param reorderCodesLength The length of reorderCodes.
641 virtual void setReorderCodes(const int32_t* reorderCodes,
    [all...]
tblcoll.h 656 * @param reorderCodes An array of script codes in the new order. This can be NULL if the
658 * @param reorderCodesLength The length of reorderCodes.
664 virtual void setReorderCodes(const int32_t* reorderCodes,
    [all...]
ucol.h 726 * @param reorderCodes An array of script codes in the new order. This can be NULL if the
728 * @param reorderCodesLength The length of reorderCodes.
739 const int32_t* reorderCodes,
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
cmsccoll.c     [all...]
  /external/chromium_org/third_party/icu/source/tools/genrb/
parse.c 905 int32_t reorderCodes[USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST)];
940 coll, reorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &intStatus);
942 struct SResource *reorderCodeRes = intvector_open(state->bundle, "%%ReorderCodes", NULL, status);
944 intvector_add(reorderCodeRes, reorderCodes[reorderCodeIndex], status);
    [all...]

Completed in 573 milliseconds

1 2