Lines Matching refs:inTrie
29 const UTrieHeader *inTrie; in utrie_swap() local
48 inTrie=(const UTrieHeader *)inData; in utrie_swap()
49 trie.signature=ds->readUInt32(inTrie->signature); in utrie_swap()
50 trie.options=ds->readUInt32(inTrie->options); in utrie_swap()
51 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); in utrie_swap()
52 trie.dataLength=udata_readInt32(ds, inTrie->dataLength); in utrie_swap()
81 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap()
85 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie_swap()
86 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, in utrie_swap()
89 … ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap()
100 const UTrie2Header *inTrie; in utrie2_swap() local
119 inTrie=(const UTrie2Header *)inData; in utrie2_swap()
120 trie.signature=ds->readUInt32(inTrie->signature); in utrie2_swap()
121 trie.options=ds->readUInt16(inTrie->options); in utrie2_swap()
122 trie.indexLength=ds->readUInt16(inTrie->indexLength); in utrie2_swap()
123 trie.shiftedDataLength=ds->readUInt16(inTrie->shiftedDataLength); in utrie2_swap()
161 ds->swapArray32(ds, &inTrie->signature, 4, &outTrie->signature, pErrorCode); in utrie2_swap()
162 ds->swapArray16(ds, &inTrie->options, 12, &outTrie->options, pErrorCode); in utrie2_swap()
167 ds->swapArray16(ds, inTrie+1, (trie.indexLength+dataLength)*2, outTrie+1, pErrorCode); in utrie2_swap()
170 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in utrie2_swap()
171 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, dataLength*4, in utrie2_swap()
187 const UCPTrieHeader *inTrie; in ucptrie_swap() local
206 inTrie=(const UCPTrieHeader *)inData; in ucptrie_swap()
207 trie.signature=ds->readUInt32(inTrie->signature); in ucptrie_swap()
208 trie.options=ds->readUInt16(inTrie->options); in ucptrie_swap()
209 trie.indexLength=ds->readUInt16(inTrie->indexLength); in ucptrie_swap()
210 trie.dataLength = ds->readUInt16(inTrie->dataLength); in ucptrie_swap()
256 ds->swapArray32(ds, &inTrie->signature, 4, &outTrie->signature, pErrorCode); in ucptrie_swap()
257 ds->swapArray16(ds, &inTrie->options, 12, &outTrie->options, pErrorCode); in ucptrie_swap()
262 ds->swapArray16(ds, inTrie+1, (trie.indexLength+dataLength)*2, outTrie+1, pErrorCode); in ucptrie_swap()
265 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in ucptrie_swap()
266 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, dataLength*4, in ucptrie_swap()
270 ds->swapArray16(ds, inTrie+1, trie.indexLength*2, outTrie+1, pErrorCode); in ucptrie_swap()
271 if(inTrie!=outTrie) { in ucptrie_swap()
272 uprv_memmove((outTrie+1)+trie.indexLength, (inTrie+1)+trie.indexLength, dataLength); in ucptrie_swap()