Lines Matching refs:ds

26 utrie_swap(const UDataSwapper *ds,  in utrie_swap()  argument
37 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { 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()
89ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode); in utrie_swap()
97 utrie2_swap(const UDataSwapper *ds, in utrie2_swap() argument
108 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { 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()
184 ucptrie_swap(const UDataSwapper *ds, in ucptrie_swap() argument
195 if(ds==nullptr || inData==nullptr || (length>=0 && outData==nullptr)) { 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()
329 utrie_swapAnyVersion(const UDataSwapper *ds, in utrie_swapAnyVersion() argument
335 return utrie_swap(ds, inData, length, outData, pErrorCode); in utrie_swapAnyVersion()
337 return utrie2_swap(ds, inData, length, outData, pErrorCode); in utrie_swapAnyVersion()
339 return ucptrie_swap(ds, inData, length, outData, pErrorCode); in utrie_swapAnyVersion()