Searched refs:kIcoDirEntryBytes (Results 1 – 1 of 1) sorted by relevance
40 static const uint32_t kIcoDirEntryBytes = 16; in NewFromStream() local58 SkAutoTDeleteArray<uint8_t> entryBuffer(new uint8_t[numImages * kIcoDirEntryBytes]); in NewFromStream()59 if (inputStream.get()->read(entryBuffer.get(), numImages*kIcoDirEntryBytes) != in NewFromStream()60 numImages*kIcoDirEntryBytes) { in NewFromStream()83 uint32_t size = get_int(entryBuffer.get(), 8 + i*kIcoDirEntryBytes); in NewFromStream()88 uint32_t offset = get_int(entryBuffer.get(), 12 + i*kIcoDirEntryBytes); in NewFromStream()109 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in NewFromStream()