Searched refs:kIcoDirectoryBytes (Results 1 – 2 of 2) sorted by relevance
32 constexpr uint32_t kIcoDirectoryBytes = 6; in MakeFromStream() local36 std::unique_ptr<uint8_t[]> dirBuffer(new uint8_t[kIcoDirectoryBytes]); in MakeFromStream()37 if (stream->read(dirBuffer.get(), kIcoDirectoryBytes) != kIcoDirectoryBytes) { in MakeFromStream()111 uint32_t bytesRead = kIcoDirectoryBytes + numImages * kIcoDirEntryBytes; in MakeFromStream()
49 constexpr uint32_t kIcoDirectoryBytes = 6; in MakeFromStream() local53 if (data->size() < kIcoDirectoryBytes) { in MakeFromStream()85 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()