Lines Matching full:indexes
62 * int32_t indexes[_SPREP_INDEX_TOP]; -- _SPREP_INDEX_TOP=16, see enum in sprpimpl.h file
64 * UTrie stringPrepTrie; -- size in bytes=indexes[_SPREP_INDEX_TRIE_SIZE]
67 …* size in bytes = indexes[_SPREP_INDEX_MAPPING_DAT…
69 * The indexes array contains the following values:
70 * indexes[_SPREP_INDEX_TRIE_SIZE] -- The size of the StringPrep trie in bytes
71 * indexes[_SPREP_INDEX_MAPPING_DATA_SIZE] -- The size of the mappingTable in bytes
72 …* indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION] -- The index of Unicode version of last entry …
73 …* indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] -- The starting index of 1 UChar mapping inde…
74 …* indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] -- The starting index of 2 UChars mapping inde…
75 …* indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] -- The starting index of 3 UChars mapping inde…
76 …* indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START] -- The starting index of 4 UChars mapping inde…
77 …* indexes[_SPREP_OPTIONS] -- Bit set of options to turn on in the profil…
110 * is compared with start indexes of sequence length start to figure out the length according to
113 * if( index >= indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] &&
114 * index < indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START]){
116 * }else if(index >= indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] &&
117 * index < indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START]){
119 * }else if(index >= indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] &&
120 * index < indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START]){
132 /* indexes[] value names */
153 static int32_t indexes[_SPREP_INDEX_TOP]={ 0 }; variable
188 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION] = univer; in setUnicodeVersionNC()
267 /* store the start of indexes */ in storeMappingData()
271 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
345 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex+1; in storeMappingData()
347 indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START] = limitIndex; in storeMappingData()
353 indexes[_SPREP_OPTIONS] = options; in setOptions()
575 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); in generateData()
598 indexes[_SPREP_INDEX_TRIE_SIZE]=sprepTrieSize; in generateData()
599 indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]=mappingDataCapacity*U_SIZEOF_UCHAR; in generateData()
601 udata_writeBlock(pData, indexes, sizeof(indexes)); in generateData()
603 udata_writeBlock(pData, mappingData, indexes[_SPREP_INDEX_MAPPING_DATA_SIZE]); in generateData()