Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc122 static_assert((kAllChunksComplete & kChunkMask) == kChunkComplete, in Initialize()
179 auto cur_chunk_state = (layout >> (chunk_idx * kChunkShift)) & kChunkMask; in TryAcquireChunk()
184 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()
223 res |= ((layout & kChunkMask) == kChunkFree) ? (1 << i) : 0; in GetFreeChunks()
253 ((layout >> (chunk_idx * kChunkShift)) & kChunkMask); in ReleaseChunk()
269 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h256 static constexpr uint32_t kChunkMask = 0x3; variable
541 kChunkMask); in GetChunkStateFromLayout()
556 res |= ((page_layout & kChunkMask) != kChunkFree) ? (1 << i) : 0; in GetUsedChunks()
/external/v8/src/
Dreloc-info.cc78 const int kChunkMask = (1 << kChunkBits) - 1; variable
93 byte b = pc_jump & kChunkMask; in WriteLongPCJump()