Home
last modified time | relevance | path

Searched refs:tempTrie (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dutrie2.cpp136 UTrie2 tempTrie; in utrie2_openFromSerialized() local
170 uprv_memset(&tempTrie, 0, sizeof(tempTrie)); in utrie2_openFromSerialized()
171 tempTrie.indexLength=header->indexLength; in utrie2_openFromSerialized()
172 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_openFromSerialized()
173 tempTrie.index2NullOffset=header->index2NullOffset; in utrie2_openFromSerialized()
174 tempTrie.dataNullOffset=header->dataNullOffset; in utrie2_openFromSerialized()
176 tempTrie.highStart=header->shiftedHighStart<<UTRIE2_SHIFT_1; in utrie2_openFromSerialized()
177 tempTrie.highValueIndex=tempTrie.dataLength-UTRIE2_DATA_GRANULARITY; in utrie2_openFromSerialized()
179 tempTrie.highValueIndex+=tempTrie.indexLength; in utrie2_openFromSerialized()
183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized()
[all …]
Ducptrie.cpp71 UCPTrie tempTrie; in ucptrie_openFromBinary() local
72 uprv_memset(&tempTrie, 0, sizeof(tempTrie)); in ucptrie_openFromBinary()
73 tempTrie.indexLength = header->indexLength; in ucptrie_openFromBinary()
74 tempTrie.dataLength = in ucptrie_openFromBinary()
76 tempTrie.index3NullOffset = header->index3NullOffset; in ucptrie_openFromBinary()
77 tempTrie.dataNullOffset = in ucptrie_openFromBinary()
80 tempTrie.highStart = header->shiftedHighStart << UCPTRIE_SHIFT_2; in ucptrie_openFromBinary()
81 tempTrie.shifted12HighStart = (tempTrie.highStart + 0xfff) >> 12; in ucptrie_openFromBinary()
82 tempTrie.type = type; in ucptrie_openFromBinary()
83 tempTrie.valueWidth = valueWidth; in ucptrie_openFromBinary()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java327 Trie2Writable tempTrie = new Trie2Writable(this); in uncompact() local
330 this.index1 = tempTrie.index1; in uncompact()
331 this.index2 = tempTrie.index2; in uncompact()
332 this.data = tempTrie.data; in uncompact()
333 this.index2Length = tempTrie.index2Length; in uncompact()
334 this.dataCapacity = tempTrie.dataCapacity; in uncompact()
335 this.isCompacted = tempTrie.isCompacted; in uncompact()
338 this.header = tempTrie.header; in uncompact()
339 this.index = tempTrie.index; in uncompact()
340 this.data16 = tempTrie.data16; in uncompact()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java325 Trie2Writable tempTrie = new Trie2Writable(this); in uncompact() local
328 this.index1 = tempTrie.index1; in uncompact()
329 this.index2 = tempTrie.index2; in uncompact()
330 this.data = tempTrie.data; in uncompact()
331 this.index2Length = tempTrie.index2Length; in uncompact()
332 this.dataCapacity = tempTrie.dataCapacity; in uncompact()
333 this.isCompacted = tempTrie.isCompacted; in uncompact()
336 this.header = tempTrie.header; in uncompact()
337 this.index = tempTrie.index; in uncompact()
338 this.data16 = tempTrie.data16; in uncompact()
[all …]