Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/common/
Ducol_swp.cpp36 const UTrieHeader *inTrie; in utrie_swap()
37 UTrieHeader trie; in utrie_swap()
50 if(length>=0 && (uint32_t)length<sizeof(UTrieHeader)) { in utrie_swap()
55 inTrie=(const UTrieHeader *)inData; in utrie_swap()
75 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap()
78 UTrieHeader *outTrie; in utrie_swap()
85 outTrie=(UTrieHeader *)outData; in utrie_swap()
88 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap()
Dutrie.cpp744 UTrieHeader *header; in utrie_serialize()
786 length=sizeof(UTrieHeader)+2*trie->indexLength; in utrie_serialize()
803 header=(UTrieHeader *)data; in utrie_serialize()
804 data+=sizeof(UTrieHeader); in utrie_serialize()
856 const UTrieHeader *header; in utrie_unserialize()
865 if(length<(int32_t)sizeof(UTrieHeader)) { in utrie_unserialize()
871 header=(const UTrieHeader *)data; in utrie_unserialize()
891 length-=(int32_t)sizeof(UTrieHeader); in utrie_unserialize()
911 length=(int32_t)sizeof(UTrieHeader)+2*trie->indexLength+4*trie->dataLength; in utrie_unserialize()
921 length=(int32_t)sizeof(UTrieHeader)+2*trie->indexLength+2*trie->dataLength; in utrie_unserialize()
Dutrie.h752 typedef struct UTrieHeader { struct
770 } UTrieHeader; argument
Dutrie2_builder.cpp350 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths()
/external/icu/icu4c/source/common/
Ducol_swp.cpp37 const UTrieHeader *inTrie; in utrie_swap()
38 UTrieHeader trie; in utrie_swap()
51 if(length>=0 && (uint32_t)length<sizeof(UTrieHeader)) { in utrie_swap()
56 inTrie=(const UTrieHeader *)inData; in utrie_swap()
76 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); in utrie_swap()
79 UTrieHeader *outTrie; in utrie_swap()
86 outTrie=(UTrieHeader *)outData; in utrie_swap()
89 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); in utrie_swap()
Dutrie.cpp744 UTrieHeader *header; in utrie_serialize()
786 length=sizeof(UTrieHeader)+2*trie->indexLength; in utrie_serialize()
803 header=(UTrieHeader *)data; in utrie_serialize()
804 data+=sizeof(UTrieHeader); in utrie_serialize()
856 const UTrieHeader *header; in utrie_unserialize()
865 if(length<(int32_t)sizeof(UTrieHeader)) { in utrie_unserialize()
871 header=(const UTrieHeader *)data; in utrie_unserialize()
891 length-=(int32_t)sizeof(UTrieHeader); in utrie_unserialize()
911 length=(int32_t)sizeof(UTrieHeader)+2*trie->indexLength+4*trie->dataLength; in utrie_unserialize()
921 length=(int32_t)sizeof(UTrieHeader)+2*trie->indexLength+2*trie->dataLength; in utrie_unserialize()
Dutrie.h752 typedef struct UTrieHeader { struct
770 } UTrieHeader; typedef
Dutrie2_builder.cpp350 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths()