Lines Matching defs:other
116 utrie_clone(UNewTrie *fillIn, const UNewTrie *other, uint32_t *aliasData, int32_t aliasDataCapacity) {
120 /* do not clone if other is not valid or already compacted */
121 if(other==nullptr || other->data==nullptr || other->isCompacted) {
126 if(aliasData!=nullptr && aliasDataCapacity>=other->dataCapacity) {
129 aliasDataCapacity=other->dataCapacity;
130 aliasData=(uint32_t *)uprv_malloc(other->dataCapacity*4);
138 other->data[0], other->leadUnitValue,
139 other->isLatin1Linear);
143 uprv_memcpy(trie->index, other->index, sizeof(trie->index));
144 uprv_memcpy(trie->data, other->data, (size_t)other->dataLength*4);
145 trie->dataLength=other->dataLength;
641 /* found an identical block, set the other block's index value for the current block */