Lines Matching defs:offset
50 if offsetToDir is not-null, set it to the offset to the beginning of the
66 size_t offset = 0;
84 // this is the offset to the local SkSFNTHeader
85 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]);
87 if (!skip(stream, offset)) {
97 *offsetToDir = offset + sizeof(SkSFNTHeader);
173 size_t offset, size_t length, void* data) {
183 if (offset >= realLength) {
188 // hostile file might choose a value which would overflow offset +
190 if (offset + length < offset) {
193 if (length > realLength - offset) {
194 length = realLength - offset;
199 size_t bytesToSkip = realOffset + offset;