Lines Matching refs:totalSize
1067 uint32_t totalSize = offsetof(CompactTrieHeader,offsets); in compactMutableTrieDictionary() local
1088 totalSize += node->size(); in compactMutableTrieDictionary()
1099 totalSize += nodeCount*sizeof(uint32_t); in compactMutableTrieDictionary()
1106 fprintf(stderr, "%d nodes, %d unique, %d bytes\n", nodes.size(), nodeCount, totalSize); in compactMutableTrieDictionary()
1108 uint8_t *bytes = (uint8_t *)uprv_malloc(totalSize); in compactMutableTrieDictionary()
1115 header->size = totalSize; in compactMutableTrieDictionary()
1324 uint32_t totalSize = ds->readUInt32(header->size); in triedict_swap() local
1325 int32_t sizeWithUData = (int32_t)totalSize + headerSize; in triedict_swap()
1335 totalSize); in triedict_swap()
1353 uprv_memset(outBytes, 0, totalSize); in triedict_swap()
1391 ds->swapArray16(ds, inBytes+nodesOff, totalSize-nodesOff, outBytes+nodesOff, status); in triedict_swap()
1394 ds->writeUInt32(&outputHeader->size, totalSize); in triedict_swap()