Lines Matching refs:newBlock
514 int32_t newBlock, newTop; in allocIndex2Block() local
516 newBlock=trie->index2Length; in allocIndex2Block()
517 newTop=newBlock+UTRIE2_INDEX_2_BLOCK_LENGTH; in allocIndex2Block()
527 …uprv_memcpy(trie->index2+newBlock, trie->index2+trie->index2NullOffset, UTRIE2_INDEX_2_BLOCK_LENGT… in allocIndex2Block()
528 return newBlock; in allocIndex2Block()
553 int32_t newBlock, newTop; in allocDataBlock() local
557 newBlock=trie->firstFreeBlock; in allocDataBlock()
558 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
561 newBlock=trie->dataLength; in allocDataBlock()
562 newTop=newBlock+UTRIE2_DATA_BLOCK_LENGTH; in allocDataBlock()
591 uprv_memcpy(trie->data+newBlock, trie->data+copyBlock, UTRIE2_DATA_BLOCK_LENGTH*4); in allocDataBlock()
592 trie->map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock()
593 return newBlock; in allocDataBlock()
628 int32_t i2, oldBlock, newBlock; in getDataBlock() local
642 newBlock=allocDataBlock(trie, oldBlock); in getDataBlock()
643 if(newBlock<0) { in getDataBlock()
647 setIndex2Entry(trie, i2, newBlock); in getDataBlock()
648 return newBlock; in getDataBlock()