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.java199 return index == 0 ? 0 : (long)scriptStarts[index] << 16; in getFirstPrimaryForGroup()
213 long limit = scriptStarts[index + 1]; in getLastPrimaryForGroup()
223 if(p < scriptStarts[1] || scriptStarts[scriptStarts.length - 1] <= p) { in getGroupForPrimary()
227 while(p >= scriptStarts[index + 1]) { ++index; } in getGroupForPrimary()
308 short[] table = new short[scriptStarts.length - 1]; // C++: uint8_t[] in makeReorderRanges()
325 assert(scriptStarts.length >= 2); in makeReorderRanges()
326 assert(scriptStarts[0] == 0); in makeReorderRanges()
327 int lowStart = scriptStarts[1]; in makeReorderRanges()
329 int highLimit = scriptStarts[scriptStarts.length - 1]; in makeReorderRanges()
357 int start = scriptStarts[index]; in makeReorderRanges()
[all …]
DCollationDataReader.java421 inChars.get(data.scriptStarts = new char[scriptStartsLength]); in read()
422 if(!(data.scriptStarts[0] == 0 && in read()
423 data.scriptStarts[1] == ((Collation.MERGE_SEPARATOR_BYTE + 1) << 8) && in read()
424 data.scriptStarts[scriptStartsLength - 1] == in read()
433 data.scriptStarts = baseData.scriptStarts; in read()
DCollationDataBuilder.java318 data.scriptStarts = base.scriptStarts; in build()
/external/icu/icu4j/main/classes/collate/src/com/ibm/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.java420 inChars.get(data.scriptStarts = new char[scriptStartsLength]); in read()
421 if(!(data.scriptStarts[0] == 0 && in read()
422 data.scriptStarts[1] == ((Collation.MERGE_SEPARATOR_BYTE + 1) << 8) && in read()
423 data.scriptStarts[scriptStartsLength - 1] == in read()
432 data.scriptStarts = baseData.scriptStarts; in read()
DCollationDataBuilder.java317 data.scriptStarts = base.scriptStarts; in build()
/external/icu/icu4c/source/i18n/
Dcollationdata.cpp121 return index == 0 ? 0 : (uint32_t)scriptStarts[index] << 16; in getFirstPrimaryForGroup()
130 uint32_t limit = scriptStarts[index + 1]; in getLastPrimaryForGroup()
137 if(p < scriptStarts[1] || scriptStarts[scriptStartsLength - 1] <= p) { in getGroupForPrimary()
141 while(p >= scriptStarts[index + 1]) { ++index; } in getGroupForPrimary()
241 U_ASSERT(scriptStarts[0] == 0); in makeReorderRanges()
242 int32_t lowStart = scriptStarts[1]; in makeReorderRanges()
244 int32_t highLimit = scriptStarts[scriptStartsLength - 1]; in makeReorderRanges()
272 int32_t start = scriptStarts[index]; in makeReorderRanges()
322 int32_t start = scriptStarts[i]; in makeReorderRanges()
351 nextOffset = newLeadByte - (scriptStarts[i] >> 8); in makeReorderRanges()
[all …]
Dcollationdatareader.cpp380 data->scriptStarts = scripts + 1 + data->numScripts + 16; in read()
381 if(!(data->scriptStarts[0] == 0 && in read()
382 data->scriptStarts[1] == ((Collation::MERGE_SEPARATOR_BYTE + 1) << 8) && in read()
383 data->scriptStarts[data->scriptStartsLength - 1] == in read()
393 data->scriptStarts = baseData->scriptStarts; in read()
Dcollationdata.h65 numScripts(0), scriptsIndex(NULL), scriptStarts(NULL), scriptStartsLength(0), in CollationData()
239 const uint16_t *scriptStarts; member
Dcollationdatawriter.cpp307 scripts.append(reinterpret_cast<const UChar *>(data.scriptStarts), data.scriptStartsLength); in write()
Dcollationdatabuilder.cpp1220 data.scriptStarts = base->scriptStarts; in build()