Lines Matching refs:indexes
57 int32_t indexes[CollationDataReader::IX_TOTAL_SIZE + 1];
59 *tailoring, *settings, indexes, dest, capacity,
80 int32_t indexes[], uint8_t *dest, int32_t capacity,
85 indexes, dest, capacity, errorCode);
90 int32_t indexes[], uint8_t *dest, int32_t capacity,
95 indexes, dest, capacity, errorCode);
102 int32_t indexes[], uint8_t *dest, int32_t capacity,
111 // the indexes length and writing offsets.
113 // so the indexes length must be at least index-of-start-offset + 2.
128 // For the root collator, we write an even number of indexes
215 indexes[CollationDataReader::IX_INDEXES_LENGTH] = indexesLength;
217 indexes[CollationDataReader::IX_OPTIONS] =
219 indexes[CollationDataReader::IX_RESERVED2] = 0;
220 indexes[CollationDataReader::IX_RESERVED3] = 0;
222 // Byte offsets of data items all start from the start of the indexes.
227 indexes[CollationDataReader::IX_JAMO_CE32S_START] = data.jamoCE32s - data.ce32s;
229 indexes[CollationDataReader::IX_JAMO_CE32S_START] = -1;
232 indexes[CollationDataReader::IX_REORDER_CODES_OFFSET] = totalSize;
235 indexes[CollationDataReader::IX_REORDER_TABLE_OFFSET] = totalSize;
240 indexes[CollationDataReader::IX_TRIE_OFFSET] = totalSize;
260 indexes[CollationDataReader::IX_RESERVED8_OFFSET] = totalSize;
261 indexes[CollationDataReader::IX_CES_OFFSET] = totalSize;
267 indexes[CollationDataReader::IX_RESERVED10_OFFSET] = totalSize;
268 indexes[CollationDataReader::IX_CE32S_OFFSET] = totalSize;
273 indexes[CollationDataReader::IX_ROOT_ELEMENTS_OFFSET] = totalSize;
276 indexes[CollationDataReader::IX_CONTEXTS_OFFSET] = totalSize;
281 indexes[CollationDataReader::IX_UNSAFE_BWD_OFFSET] = totalSize;
299 indexes[CollationDataReader::IX_FAST_LATIN_TABLE_OFFSET] = totalSize;
303 indexes[CollationDataReader::IX_SCRIPTS_OFFSET] = totalSize;
311 indexes[CollationDataReader::IX_COMPRESSIBLE_BYTES_OFFSET] = totalSize;
316 indexes[CollationDataReader::IX_RESERVED18_OFFSET] = totalSize;
317 indexes[CollationDataReader::IX_TOTAL_SIZE] = totalSize;
324 uprv_memcpy(dest, indexes, indexesLength * 4);
325 copyData(indexes, CollationDataReader::IX_REORDER_CODES_OFFSET, reorderCodes, dest);
326 copyData(indexes, CollationDataReader::IX_REORDER_TABLE_OFFSET, settings.reorderTable, dest);
328 copyData(indexes, CollationDataReader::IX_CES_OFFSET, data.ces, dest);
329 copyData(indexes, CollationDataReader::IX_CE32S_OFFSET, data.ce32s, dest);
330 copyData(indexes, CollationDataReader::IX_ROOT_ELEMENTS_OFFSET, rootElements, dest);
331 copyData(indexes, CollationDataReader::IX_CONTEXTS_OFFSET, data.contexts, dest);
333 copyData(indexes, CollationDataReader::IX_FAST_LATIN_TABLE_OFFSET, data.fastLatinTable, dest);
334 copyData(indexes, CollationDataReader::IX_SCRIPTS_OFFSET, scripts.getBuffer(), dest);
335 copyData(indexes, CollationDataReader::IX_COMPRESSIBLE_BYTES_OFFSET, data.compressibleBytes, dest);
341 CollationDataWriter::copyData(const int32_t indexes[], int32_t startIndex,
343 int32_t start = indexes[startIndex];
344 int32_t limit = indexes[startIndex + 1];