Searched refs:kIcoDirEntryBytes (Results 1 – 2 of 2) sorted by relevance
33 constexpr uint32_t kIcoDirEntryBytes = 16; in MakeFromStream() local69 uint8_t entryBuffer[kIcoDirEntryBytes]; in MakeFromStream()70 if (stream->read(entryBuffer, kIcoDirEntryBytes) != kIcoDirEntryBytes) { in MakeFromStream()111 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream()
50 constexpr uint32_t kIcoDirEntryBytes = 16; in MakeFromStream() local85 const uint8_t* entryBuffer = data->bytes() + kIcoDirectoryBytes + i * kIcoDirEntryBytes; in MakeFromStream()86 if (data->size() < kIcoDirectoryBytes + (i+1) * kIcoDirEntryBytes) { in MakeFromStream()127 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream()