Lines Matching refs:reorderCodes
278 … const int32_t* reorderCodes = ures_getIntVector(reorderRes, &reorderCodesLen, status); in ucol_open_internal() local
280 ucol_setReorderCodes(result, reorderCodes, reorderCodesLen, status); in ucol_open_internal()
284 …uprv_memcpy(result->defaultReorderCodes, result->reorderCodes, result->defaultReorderCodesLength *… in ucol_open_internal()
613 if(source->reorderCodes[i] != target->reorderCodes[i]) { in ucol_equals()
1051 if (parser->reorderCodesLength == 0 || parser->reorderCodes == NULL) { in ucol_setReorderCodesFromParser()
1056 if (coll->reorderCodes != NULL && coll->freeReorderCodesOnClose == TRUE) { in ucol_setReorderCodesFromParser()
1057 uprv_free(coll->reorderCodes); in ucol_setReorderCodesFromParser()
1069 …uprv_memcpy(coll->defaultReorderCodes, parser->reorderCodes, coll->defaultReorderCodesLength * siz… in ucol_setReorderCodesFromParser()
1073 coll->reorderCodes = (int32_t*) uprv_malloc(coll->reorderCodesLength * sizeof(int32_t)); in ucol_setReorderCodesFromParser()
1074 if (coll->reorderCodes == NULL) { in ucol_setReorderCodesFromParser()
1078 … uprv_memcpy(coll->reorderCodes, parser->reorderCodes, coll->reorderCodesLength * sizeof(int32_t)); in ucol_setReorderCodesFromParser()
1187 if (coll->reorderCodes == NULL || coll->reorderCodesLength == 0 in ucol_buildPermutationTable()
1188 || (coll->reorderCodesLength == 1 && coll->reorderCodes[0] == UCOL_REORDER_CODE_NONE)) { in ucol_buildPermutationTable()
1200 if (coll->reorderCodes[0] == UCOL_REORDER_CODE_DEFAULT) { in ucol_buildPermutationTable()
1206 uprv_free(coll->reorderCodes); in ucol_buildPermutationTable()
1208 coll->reorderCodes = NULL; in ucol_buildPermutationTable()
1219 … coll->reorderCodes = (int32_t*)uprv_malloc(coll->defaultReorderCodesLength * sizeof(int32_t)); in ucol_buildPermutationTable()
1221 if (coll->reorderCodes == NULL) { in ucol_buildPermutationTable()
1226 …uprv_memcpy(coll->defaultReorderCodes, coll->reorderCodes, coll->reorderCodesLength * sizeof(int32… in ucol_buildPermutationTable()
1253 uint32_t reorderCodesCode = coll->reorderCodes[codeIndex]; in ucol_buildPermutationTable()