Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dutrie_swap.cpp29 const UTrieHeader *inTrie; in utrie_swap()
30 UTrieHeader trie; in utrie_swap()
43 if(length>=0 && (uint32_t)length<sizeof(UTrieHeader)) { in utrie_swap()
48 inTrie=(const UTrieHeader *)inData; in utrie_swap()
68 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap()
71 UTrieHeader *outTrie; in utrie_swap()
78 outTrie=(UTrieHeader *)outData; in utrie_swap()
81 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap()
Dutrie.cpp746 UTrieHeader *header; in utrie_serialize()
788 length=sizeof(UTrieHeader)+2*trie->indexLength; in utrie_serialize()
805 header=(UTrieHeader *)data; in utrie_serialize()
806 data+=sizeof(UTrieHeader); in utrie_serialize()
858 const UTrieHeader *header; in utrie_unserialize()
867 if(length<(int32_t)sizeof(UTrieHeader)) { in utrie_unserialize()
873 header=(const UTrieHeader *)data; in utrie_unserialize()
893 length-=(int32_t)sizeof(UTrieHeader); in utrie_unserialize()
913 length=(int32_t)sizeof(UTrieHeader)+2*trie->indexLength+4*trie->dataLength; in utrie_unserialize()
923 length=(int32_t)sizeof(UTrieHeader)+2*trie->indexLength+2*trie->dataLength; in utrie_unserialize()
Dutrie.h749 typedef struct UTrieHeader { struct
767 } UTrieHeader; argument
Dutrie2_builder.cpp387 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths()