Home
last modified time | relevance | path

Searched refs:leadUnitValue (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharTrie.java62 public CharTrie(int initialValue, int leadUnitValue, DataManipulate dataManipulate) { in CharTrie() argument
72 if(leadUnitValue!=initialValue) { in CharTrie()
89 if(leadUnitValue!=initialValue) { in CharTrie()
101 m_data_[i]=(char)leadUnitValue; in CharTrie()
DIntTrie.java66 public IntTrie(int initialValue, int leadUnitValue, DataManipulate dataManipulate) { in IntTrie() argument
76 if(leadUnitValue!=initialValue) { in IntTrie()
93 if(leadUnitValue!=initialValue) { in IntTrie()
105 m_data_[i]=leadUnitValue; in IntTrie()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharTrie.java61 public CharTrie(int initialValue, int leadUnitValue, DataManipulate dataManipulate) { in CharTrie() argument
71 if(leadUnitValue!=initialValue) { in CharTrie()
88 if(leadUnitValue!=initialValue) { in CharTrie()
100 m_data_[i]=(char)leadUnitValue; in CharTrie()
DIntTrie.java65 public IntTrie(int initialValue, int leadUnitValue, DataManipulate dataManipulate) { in IntTrie() argument
75 if(leadUnitValue!=initialValue) { in IntTrie()
92 if(leadUnitValue!=initialValue) { in IntTrie()
104 m_data_[i]=leadUnitValue; in IntTrie()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieTest.java482 final int initialValue=0x313, leadUnitValue=0xaffe; in TestDummyCharTrie() local
485 trie=new CharTrie(initialValue, leadUnitValue, new DummyGetFoldingOffset()); in TestDummyCharTrie()
498 if(value!=leadUnitValue) { in TestDummyCharTrie()
499 …("CharTrie/dummy.getLeadValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(leadUnitValue)); in TestDummyCharTrie()
507 final int initialValue=0x01234567, leadUnitValue=0x89abcdef; in TestDummyIntTrie() local
510 trie=new IntTrie(initialValue, leadUnitValue, new DummyGetFoldingOffset()); in TestDummyIntTrie()
523 if(value!=leadUnitValue) { in TestDummyIntTrie()
524 …n("IntTrie/dummy.getLeadValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(leadUnitValue)); in TestDummyIntTrie()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java481 final int initialValue=0x313, leadUnitValue=0xaffe; in TestDummyCharTrie() local
484 trie=new CharTrie(initialValue, leadUnitValue, new DummyGetFoldingOffset()); in TestDummyCharTrie()
497 if(value!=leadUnitValue) { in TestDummyCharTrie()
498 …("CharTrie/dummy.getLeadValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(leadUnitValue)); in TestDummyCharTrie()
506 final int initialValue=0x01234567, leadUnitValue=0x89abcdef; in TestDummyIntTrie() local
509 trie=new IntTrie(initialValue, leadUnitValue, new DummyGetFoldingOffset()); in TestDummyIntTrie()
522 if(value!=leadUnitValue) { in TestDummyIntTrie()
523 …n("IntTrie/dummy.getLeadValue(c)(U+"+hex(c)+")=0x"+hex(value)+" instead of 0x"+hex(leadUnitValue)); in TestDummyIntTrie()
/external/icu/icu4c/source/common/
Dutrie.cpp51 uint32_t initialValue, uint32_t leadUnitValue, in utrie_open() argument
107 trie->leadUnitValue=leadUnitValue; in utrie_open()
138 other->data[0], other->leadUnitValue, in utrie_clone()
430 if(trie->leadUnitValue==trie->data[0]) { in utrie_fold()
440 …utrie_fillBlock(trie->data+block, 0, UTRIE_DATA_BLOCK_LENGTH, trie->leadUnitValue, trie->data[0], … in utrie_fold()
934 uint32_t initialValue, uint32_t leadUnitValue, in utrie_unserializeDummy() argument
952 if(leadUnitValue!=initialValue) { in utrie_unserializeDummy()
984 if(leadUnitValue!=initialValue) { in utrie_unserializeDummy()
1003 if(leadUnitValue!=initialValue) { in utrie_unserializeDummy()
1006 p16[i]=(uint16_t)leadUnitValue; in utrie_unserializeDummy()
[all …]
Dutrie.h531 uint32_t initialValue, uint32_t leadUnitValue,
562 uint32_t leadUnitValue; member
626 uint32_t initialValue, uint32_t leadUnitValue,
/external/icu/icu4c/source/test/cintltst/
Dtrietest.c829 uint32_t value, initialValue, leadUnitValue; in dummyTest() local
833 leadUnitValue=0xaffe; in dummyTest()
836 leadUnitValue=0x89abcdef; in dummyTest()
840 …utrie_unserializeDummy(&trie, mem, sizeof(mem), initialValue, leadUnitValue, make16BitTrie, &error… in dummyTest()
867 if(value!=leadUnitValue) { in dummyTest()
869 make16BitTrie ? "16" : "32", (long)c, (long)value, (long)leadUnitValue); in dummyTest()