Home
last modified time | relevance | path

Searched refs:dataCapacity (Results 1 – 17 of 17) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTrie2Writable.java41 this.dataCapacity = UNEWTRIE2_INITIAL_DATA_LENGTH; in init()
215 if(newTop>dataCapacity) { in allocDataBlock()
220 if(dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
222 } else if(dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
235 dataCapacity=capacity; in allocDataBlock()
334 this.dataCapacity = tempTrie.dataCapacity; in uncompact()
1195 private int dataCapacity; field in Trie2Writable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java39 this.dataCapacity = UNEWTRIE2_INITIAL_DATA_LENGTH; in init()
213 if(newTop>dataCapacity) { in allocDataBlock()
218 if(dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
220 } else if(dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
233 dataCapacity=capacity; in allocDataBlock()
332 this.dataCapacity = tempTrie.dataCapacity; in uncompact()
1193 private int dataCapacity; field in Trie2Writable
/third_party/icu/icu4c/source/common/
Dutrie2_builder.cpp150 newTrie->dataCapacity=UNEWTRIE2_INITIAL_DATA_LENGTH; in utrie2_open()
257 trie->data=(uint32_t *)uprv_malloc(other->dataCapacity*4); in cloneBuilder()
270 trie->dataCapacity=other->dataCapacity; in cloneBuilder()
563 if(newTop>trie->dataCapacity) { in allocDataBlock()
568 if(trie->dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
570 } else if(trie->dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
587 trie->dataCapacity=capacity; in allocDataBlock()
Dutrie2_impl.h151 int32_t index2Length, dataCapacity, dataLength; member
Dumutablecptrie.cpp111 int32_t dataCapacity = 0; member in __anonad8ca0090111::MutableCodePointTrie
145 dataCapacity = INITIAL_DATA_LENGTH; in MutableCodePointTrie()
161 data = (uint32_t *)uprv_malloc(other.dataCapacity * 4); in MutableCodePointTrie()
167 dataCapacity = other.dataCapacity; in MutableCodePointTrie()
409 if (newTop > dataCapacity) { in allocDataBlock()
411 if (dataCapacity < MEDIUM_DATA_LENGTH) { in allocDataBlock()
413 } else if (dataCapacity < MAX_DATA_LENGTH) { in allocDataBlock()
428 dataCapacity = capacity; in allocDataBlock()
1550 dataCapacity = newDataCapacity; in compactTrie()
Dutrie.cpp109 trie->dataCapacity=maxDataLength; in utrie_open()
126 if(aliasData!=NULL && aliasDataCapacity>=other->dataCapacity) { in utrie_clone()
129 aliasDataCapacity=other->dataCapacity; in utrie_clone()
130 aliasData=(uint32_t *)uprv_malloc(other->dataCapacity*4); in utrie_clone()
181 if(newTop>trie->dataCapacity) { in utrie_allocDataBlock()
Dutrie.h563 int32_t indexLength, dataCapacity, dataLength; member
/third_party/skia/third_party/externals/icu/source/common/
Dutrie2_builder.cpp150 newTrie->dataCapacity=UNEWTRIE2_INITIAL_DATA_LENGTH; in utrie2_open()
257 trie->data=(uint32_t *)uprv_malloc(other->dataCapacity*4); in cloneBuilder()
270 trie->dataCapacity=other->dataCapacity; in cloneBuilder()
563 if(newTop>trie->dataCapacity) { in allocDataBlock()
568 if(trie->dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
570 } else if(trie->dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
587 trie->dataCapacity=capacity; in allocDataBlock()
Dutrie2_impl.h151 int32_t index2Length, dataCapacity, dataLength; member
Dumutablecptrie.cpp111 int32_t dataCapacity = 0; member in __anon5b4be1d70111::MutableCodePointTrie
145 dataCapacity = INITIAL_DATA_LENGTH; in MutableCodePointTrie()
161 data = (uint32_t *)uprv_malloc(other.dataCapacity * 4); in MutableCodePointTrie()
167 dataCapacity = other.dataCapacity; in MutableCodePointTrie()
409 if (newTop > dataCapacity) { in allocDataBlock()
411 if (dataCapacity < MEDIUM_DATA_LENGTH) { in allocDataBlock()
413 } else if (dataCapacity < MAX_DATA_LENGTH) { in allocDataBlock()
428 dataCapacity = capacity; in allocDataBlock()
1550 dataCapacity = newDataCapacity; in compactTrie()
Dutrie.cpp109 trie->dataCapacity=maxDataLength; in utrie_open()
126 if(aliasData!=NULL && aliasDataCapacity>=other->dataCapacity) { in utrie_clone()
129 aliasDataCapacity=other->dataCapacity; in utrie_clone()
130 aliasData=(uint32_t *)uprv_malloc(other->dataCapacity*4); in utrie_clone()
181 if(newTop>trie->dataCapacity) { in utrie_allocDataBlock()
Dutrie.h563 int32_t indexLength, dataCapacity, dataLength; member
/third_party/node/deps/icu-small/source/common/
Dutrie2_builder.cpp150 newTrie->dataCapacity=UNEWTRIE2_INITIAL_DATA_LENGTH; in utrie2_open()
257 trie->data=(uint32_t *)uprv_malloc(other->dataCapacity*4); in cloneBuilder()
270 trie->dataCapacity=other->dataCapacity; in cloneBuilder()
563 if(newTop>trie->dataCapacity) { in allocDataBlock()
568 if(trie->dataCapacity<UNEWTRIE2_MEDIUM_DATA_LENGTH) { in allocDataBlock()
570 } else if(trie->dataCapacity<UNEWTRIE2_MAX_DATA_LENGTH) { in allocDataBlock()
587 trie->dataCapacity=capacity; in allocDataBlock()
Dutrie2_impl.h151 int32_t index2Length, dataCapacity, dataLength; member
Dumutablecptrie.cpp111 int32_t dataCapacity = 0; member in __anon8ffebab80111::MutableCodePointTrie
145 dataCapacity = INITIAL_DATA_LENGTH; in MutableCodePointTrie()
161 data = (uint32_t *)uprv_malloc(other.dataCapacity * 4); in MutableCodePointTrie()
167 dataCapacity = other.dataCapacity; in MutableCodePointTrie()
409 if (newTop > dataCapacity) { in allocDataBlock()
411 if (dataCapacity < MEDIUM_DATA_LENGTH) { in allocDataBlock()
413 } else if (dataCapacity < MAX_DATA_LENGTH) { in allocDataBlock()
428 dataCapacity = capacity; in allocDataBlock()
1550 dataCapacity = newDataCapacity; in compactTrie()
Dutrie.cpp109 trie->dataCapacity=maxDataLength; in utrie_open()
126 if(aliasData!=nullptr && aliasDataCapacity>=other->dataCapacity) { in utrie_clone()
129 aliasDataCapacity=other->dataCapacity; in utrie_clone()
130 aliasData=(uint32_t *)uprv_malloc(other->dataCapacity*4); in utrie_clone()
181 if(newTop>trie->dataCapacity) { in utrie_allocDataBlock()
Dutrie.h563 int32_t indexLength, dataCapacity, dataLength; member