Home | History | Annotate | Download | only in Sema

Lines Matching refs:Index

33   /// The index of the first occupied byte in the buffer.
34 size_t Index;
46 : Buffer(InlineBuffer), Capacity(InlineCapacity), Index(InlineCapacity) {}
86 Index = Capacity;
110 size_t FullDataSize = Capacity - Index;
112 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize);
123 size_t FullDataSize = Capacity - Index;
125 memcpy(Mem, &Buffer[Index], FullDataSize);
139 if (LocalSize > Index) {
140 size_t RequiredCapacity = Capacity + (LocalSize - Index);
147 Index -= LocalSize;
158 unsigned NewIndex = Index + NewCapacity - Capacity;
160 &Buffer[Index],
161 Capacity - Index);
168 Index = NewIndex;
176 assert(Index == Capacity && "pushing full on non-empty TypeLocBuilder");
179 Index -= Size;
195 return TypeLoc(T, &Buffer[Index]);