Lines Matching refs:freePartitionOffset
74 UInt32 freePartitionOffset, freePartitionSize;
89 freePartitionOffset = 0xFFFFFFFF;
115 freePartitionOffset = currentOffset;
157 _nvramImage[freePartitionOffset] = 0xa1;
159 _nvramImage[freePartitionOffset + 1] = 0;
161 strncpy((char *)(_nvramImage + freePartitionOffset + 4),
165 _piPartitionOffset = freePartitionOffset + 0x10;
176 *(UInt16 *)(_nvramImage + freePartitionOffset + 2) =
180 _nvramImage[freePartitionOffset + 1] =
181 calculatePartitionChecksum(_nvramImage + freePartitionOffset);
184 freePartitionOffset += _piPartitionSize + 0x10;
188 _nvramImage[freePartitionOffset] = 0x7f;
190 _nvramImage[freePartitionOffset + 1] = 0;
192 strncpy((char *)(_nvramImage + freePartitionOffset + 4),
195 *(UInt16 *)(_nvramImage + freePartitionOffset + 2) =
198 _nvramImage[freePartitionOffset + 1] =
199 calculatePartitionChecksum(_nvramImage + freePartitionOffset);