Home
last modified time | relevance | path

Searched refs:scriptStarts (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationData.java197 return index == 0 ? 0 : (long)scriptStarts[index] << 16; in getFirstPrimaryForGroup()
211 long limit = scriptStarts[index + 1]; in getLastPrimaryForGroup()
221 if(p < scriptStarts[1] || scriptStarts[scriptStarts.length - 1] <= p) { in getGroupForPrimary()
225 while(p >= scriptStarts[index + 1]) { ++index; } in getGroupForPrimary()
306 short[] table = new short[scriptStarts.length - 1]; // C++: uint8_t[] in makeReorderRanges()
323 assert(scriptStarts.length >= 2); in makeReorderRanges()
324 assert(scriptStarts[0] == 0); in makeReorderRanges()
325 int lowStart = scriptStarts[1]; in makeReorderRanges()
327 int highLimit = scriptStarts[scriptStarts.length - 1]; in makeReorderRanges()
355 int start = scriptStarts[index]; in makeReorderRanges()
[all …]
DCollationDataReader.java419 inChars.get(data.scriptStarts = new char[scriptStartsLength]); in read()
420 if(!(data.scriptStarts[0] == 0 && in read()
421 data.scriptStarts[1] == ((Collation.MERGE_SEPARATOR_BYTE + 1) << 8) && in read()
422 data.scriptStarts[scriptStartsLength - 1] == in read()
431 data.scriptStarts = baseData.scriptStarts; in read()
DCollationDataBuilder.java316 data.scriptStarts = base.scriptStarts; in build()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationData.java195 return index == 0 ? 0 : (long)scriptStarts[index] << 16; in getFirstPrimaryForGroup()
209 long limit = scriptStarts[index + 1]; in getLastPrimaryForGroup()
219 if(p < scriptStarts[1] || scriptStarts[scriptStarts.length - 1] <= p) { in getGroupForPrimary()
223 while(p >= scriptStarts[index + 1]) { ++index; } in getGroupForPrimary()
304 short[] table = new short[scriptStarts.length - 1]; // C++: uint8_t[] in makeReorderRanges()
321 assert(scriptStarts.length >= 2); in makeReorderRanges()
322 assert(scriptStarts[0] == 0); in makeReorderRanges()
323 int lowStart = scriptStarts[1]; in makeReorderRanges()
325 int highLimit = scriptStarts[scriptStarts.length - 1]; in makeReorderRanges()
353 int start = scriptStarts[index]; in makeReorderRanges()
[all …]
DCollationDataReader.java418 inChars.get(data.scriptStarts = new char[scriptStartsLength]); in read()
419 if(!(data.scriptStarts[0] == 0 && in read()
420 data.scriptStarts[1] == ((Collation.MERGE_SEPARATOR_BYTE + 1) << 8) && in read()
421 data.scriptStarts[scriptStartsLength - 1] == in read()
430 data.scriptStarts = baseData.scriptStarts; in read()
DCollationDataBuilder.java315 data.scriptStarts = base.scriptStarts; in build()
/external/icu/icu4c/source/i18n/
Dcollationdata.cpp119 return index == 0 ? 0 : (uint32_t)scriptStarts[index] << 16; in getFirstPrimaryForGroup()
128 uint32_t limit = scriptStarts[index + 1]; in getLastPrimaryForGroup()
135 if(p < scriptStarts[1] || scriptStarts[scriptStartsLength - 1] <= p) { in getGroupForPrimary()
139 while(p >= scriptStarts[index + 1]) { ++index; } in getGroupForPrimary()
239 U_ASSERT(scriptStarts[0] == 0); in makeReorderRanges()
240 int32_t lowStart = scriptStarts[1]; in makeReorderRanges()
242 int32_t highLimit = scriptStarts[scriptStartsLength - 1]; in makeReorderRanges()
270 int32_t start = scriptStarts[index]; in makeReorderRanges()
320 int32_t start = scriptStarts[i]; in makeReorderRanges()
349 nextOffset = newLeadByte - (scriptStarts[i] >> 8); in makeReorderRanges()
[all …]
Dcollationdatareader.cpp378 data->scriptStarts = scripts + 1 + data->numScripts + 16; in read()
379 if(!(data->scriptStarts[0] == 0 && in read()
380 data->scriptStarts[1] == ((Collation::MERGE_SEPARATOR_BYTE + 1) << 8) && in read()
381 data->scriptStarts[data->scriptStartsLength - 1] == in read()
391 data->scriptStarts = baseData->scriptStarts; in read()
Dcollationdata.h63 numScripts(0), scriptsIndex(NULL), scriptStarts(NULL), scriptStartsLength(0), in CollationData()
237 const uint16_t *scriptStarts; member
Dcollationdatawriter.cpp305 scripts.append(reinterpret_cast<const UChar *>(data.scriptStarts), data.scriptStartsLength); in write()
Dcollationdatabuilder.cpp1218 data.scriptStarts = base->scriptStarts; in build()