Lines Matching full:offsets
360 uint16_t nodeCount; // Number of entries in offsets[]
362 uint32_t offsets[1]; // Offsets to nodes from start of data
461 return (const CompactTrieNode *)((const uint8_t *)header + header->offsets[node]);
1068 uint32_t totalSize = offsetof(CompactTrieHeader,offsets);
1099 // Add enough room for the offsets.
1118 header->offsets[0] = 0; // Sentinel
1125 uint32_t offset = offsetof(CompactTrieHeader,offsets)+(nodeCount*sizeof(uint32_t));
1131 header->offsets[nodeCount++] = offset;
1156 vSize += previousOff-header->offsets[nodeIdx];
1161 hSize += previousOff-header->offsets[nodeIdx];
1163 previousOff = header->offsets[nodeIdx];
1361 uint32_t nodeOff = ds->readUInt32(header->offsets[i]);
1391 uint32_t nodesOff = offsetof(CompactTrieHeader,offsets)+((uint32_t)nodeCount*sizeof(uint32_t));
1401 ds->swapArray32(ds, inBytes+offsetof(CompactTrieHeader,offsets),
1403 outBytes+offsetof(CompactTrieHeader,offsets), status);