Lines Matching refs:indexes
55 int32_t indexes[CollationDataReader::IX_TOTAL_SIZE + 1];
57 *tailoring, *settings, indexes, dest, capacity,
78 int32_t indexes[], uint8_t *dest, int32_t capacity,
83 indexes, dest, capacity, errorCode);
88 int32_t indexes[], uint8_t *dest, int32_t capacity,
93 indexes, dest, capacity, errorCode);
100 int32_t indexes[], uint8_t *dest, int32_t capacity,
109 // the indexes length and writing offsets.
111 // so the indexes length must be at least index-of-start-offset + 2.
126 // For the root collator, we write an even number of indexes
196 indexes[CollationDataReader::IX_INDEXES_LENGTH] = indexesLength;
198 indexes[CollationDataReader::IX_OPTIONS] =
200 indexes[CollationDataReader::IX_RESERVED2] = 0;
201 indexes[CollationDataReader::IX_RESERVED3] = 0;
203 // Byte offsets of data items all start from the start of the indexes.
208 indexes[CollationDataReader::IX_JAMO_CE32S_START] = data.jamoCE32s - data.ce32s;
210 indexes[CollationDataReader::IX_JAMO_CE32S_START] = -1;
213 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize;
216 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize;
221 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize;
241 indexes[CollationDataReader::IX_RESERVED8_OFFSET] = totalSize;
242 indexes[CollationDataReader::IX_CES_OFFSET] = totalSize;
248 indexes[CollationDataReader::IX_RESERVED10_OFFSET] = totalSize;
249 indexes[CollationDataReader::IX_CE32S_OFFSET] = totalSize;
254 indexes[CollationDataReader::IX_ROOT_ELEMENTS_OFFSET] = totalSize;
257 indexes[CollationDataReader::IX_CONTEXTS_OFFSET] = totalSize;
262 indexes[CollationDataReader::IX_UNSAFE_BWD_OFFSET] = totalSize;
280 indexes[CollationDataReader::IX_FAST_LATIN_TABLE_OFFSET] = totalSize;
283 indexes[CollationDataReader::IX_SCRIPTS_OFFSET] = totalSize;
288 indexes[CollationDataReader::IX_COMPRESSIBLE_BYTES_OFFSET] = totalSize;
293 indexes[CollationDataReader::IX_RESERVED18_OFFSET] = totalSize;
294 indexes[CollationDataReader::IX_TOTAL_SIZE] = totalSize;
301 uprv_memcpy(dest, indexes, indexesLength * 4);
302 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, settings.reorderCodes, dest);
303 copyData(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET, settings.reorderTable, dest);
305 copyData(indexes, CollationDataReader::IX_CES_OFFSET, data.ces, dest);
306 copyData(indexes, CollationDataReader::IX_CE32S_OFFSET, data.ce32s, dest);
307 copyData(indexes, CollationDataReader::IX_ROOT_ELEMENTS_OFFSET, rootElements, dest);
308 copyData(indexes, CollationDataReader::IX_CONTEXTS_OFFSET, data.contexts, dest);
310 copyData(indexes, CollationDataReader::IX_FAST_LATIN_TABLE_OFFSET, data.fastLatinTable, dest);
311 copyData(indexes, CollationDataReader::IX_SCRIPTS_OFFSET, data.scripts, dest);
312 copyData(indexes, CollationDataReader::IX_COMPRESSIBLE_BYTES_OFFSET, data.compressibleBytes, dest);
318 CollationDataWriter::copyData(const int32_t indexes[], int32_t startIndex,
320 int32_t start = indexes[startIndex];
321 int32_t limit = indexes[startIndex + 1];