Home
last modified time | relevance | path

Searched refs:kIcoDirEntryBytes (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/codec/
DSkCodec_libico.cpp41 static const uint32_t kIcoDirEntryBytes = 16; in NewFromStream() local
61 SkNEW_ARRAY(uint8_t, numImages*kIcoDirEntryBytes)); in NewFromStream()
62 if (inputStream.get()->read(entryBuffer.get(), numImages*kIcoDirEntryBytes) != in NewFromStream()
63 numImages*kIcoDirEntryBytes) { in NewFromStream()
86 uint32_t size = get_int(entryBuffer.get(), 8 + i*kIcoDirEntryBytes); in NewFromStream()
91 uint32_t offset = get_int(entryBuffer.get(), 12 + i*kIcoDirEntryBytes); in NewFromStream()
112 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in NewFromStream()