Lines Matching refs:newBlock
407 int32_t newBlock = dataLength; in allocDataBlock() local
408 int32_t newTop = newBlock + blockLength; in allocDataBlock()
431 return newBlock; in allocDataBlock()
445 int32_t newBlock = allocDataBlock(UCPTRIE_FAST_DATA_BLOCK_LENGTH); in getDataBlock() local
446 if (newBlock < 0) { return newBlock; } in getDataBlock()
451 writeBlock(data + newBlock, index[iStart]); in getDataBlock()
453 index[iStart++] = newBlock; in getDataBlock()
454 newBlock += UCPTRIE_SMALL_DATA_BLOCK_LENGTH; in getDataBlock()
458 int32_t newBlock = allocDataBlock(UCPTRIE_SMALL_DATA_BLOCK_LENGTH); in getDataBlock() local
459 if (newBlock < 0) { return newBlock; } in getDataBlock()
460 writeBlock(data + newBlock, index[i]); in getDataBlock()
462 index[i] = newBlock; in getDataBlock()
463 return newBlock; in getDataBlock()