Lines Matching defs:readPosition
74 size_t readPosition = 0;
79 if (memcmp(&initData[readPosition], &expectedSize,
83 readPosition += sizeof(expectedSize);
87 if (memcmp(&initData[readPosition], psshIdentifier,
91 readPosition += sizeof(psshIdentifier);
95 if (memcmp(&initData[readPosition], psshVersion1,
99 readPosition += sizeof(psshVersion1);
102 if (!isClearKeyUUID(&initData[readPosition])) {
105 readPosition += kSystemIdSize;
109 memcpy(&keyIdCount, &initData[readPosition], sizeof(keyIdCount));
111 readPosition += sizeof(keyIdCount);
112 if (readPosition + (keyIdCount * kKeyIdSize) !=
119 size_t keyIdPosition = readPosition + (i * kKeyIdSize);