Lines Matching defs:slot
15 // An aligned slot allocator. Allocates groups of 1, 2, or 4 slots such that the
16 // first slot of the group is aligned to the group size. The allocator can also
19 // reusing alignment padding slots in subsequent smaller slot allocations.
40 // Allocates the given number of slots at the current end of the slot area,
43 // AllocateUnaligned(0) can be used to partition the slot area, for example
47 // Aligns the slot area so that future allocations begin at the alignment.
48 // Returns the number of slots needed to align the slot area.
51 // Returns the size of the slot area, in slots. This will be greater than any
52 // already allocated slot index.
58 static bool IsValid(int slot) { return slot > kInvalidSlot; }