Lines Matching refs:newBlock
402 int32_t newBlock = dataLength; in allocDataBlock() local
403 int32_t newTop = newBlock + blockLength; in allocDataBlock()
426 return newBlock; in allocDataBlock()
440 int32_t newBlock = allocDataBlock(UCPTRIE_FAST_DATA_BLOCK_LENGTH); in getDataBlock() local
441 if (newBlock < 0) { return newBlock; } in getDataBlock()
446 writeBlock(data + newBlock, index[iStart]); in getDataBlock()
448 index[iStart++] = newBlock; in getDataBlock()
449 newBlock += UCPTRIE_SMALL_DATA_BLOCK_LENGTH; in getDataBlock()
453 int32_t newBlock = allocDataBlock(UCPTRIE_SMALL_DATA_BLOCK_LENGTH); in getDataBlock() local
454 if (newBlock < 0) { return newBlock; } in getDataBlock()
455 writeBlock(data + newBlock, index[i]); in getDataBlock()
457 index[i] = newBlock; in getDataBlock()
458 return newBlock; in getDataBlock()