Home
last modified time | relevance | path

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

/external/chromium_org/media/audio/sounds/
Dwav_audio_handler.cc27 const size_t kChunkHeaderSize = 8; variable
113 if (data.size() < kChunkHeaderSize) in ParseSubChunk()
117 if (!ParseFmtChunk(data.substr(kChunkHeaderSize, chunk_length))) in ParseSubChunk()
120 if (!ParseDataChunk(data.substr(kChunkHeaderSize, chunk_length))) in ParseSubChunk()
125 return chunk_length + kChunkHeaderSize; in ParseSubChunk()
/external/compiler-rt/lib/asan/
Dasan_allocator2.cc149 static const uptr kChunkHeaderSize = sizeof(ChunkHeader); variable
150 static const uptr kChunkHeader2Size = sizeof(ChunkBase) - kChunkHeaderSize;
151 COMPILER_CHECK(kChunkHeaderSize == 16);
155 uptr Beg() { return reinterpret_cast<uptr>(this) + kChunkHeaderSize; } in Beg()
177 CHECK_LE(RZLog2Size(rz_log), kChunkHeaderSize); in AllocStackSize()
178 return (RZLog2Size(rz_log) - kChunkHeaderSize) / sizeof(u32); in AllocStackSize()
349 uptr chunk_beg = user_beg - kChunkHeaderSize; in Allocate()
471 uptr chunk_beg = p - kChunkHeaderSize; in Deallocate()
482 uptr chunk_beg = p - kChunkHeaderSize; in Reallocate()
712 metadata_ = reinterpret_cast<void *>(chunk - __asan::kChunkHeaderSize); in LsanMetadata()