Home
last modified time | relevance | path

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

/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h166 RopePieceBTree Chunks; variable
177 : Chunks(RHS.Chunks), AllocBuffer(nullptr), AllocOffs(AllocChunkSize) { in RewriteRope()
182 iterator begin() const { return Chunks.begin(); } in begin()
183 iterator end() const { return Chunks.end(); } in end()
184 unsigned size() const { return Chunks.size(); } in size()
187 Chunks.clear(); in clear()
193 Chunks.insert(0, MakeRopeString(Start, End)); in assign()
199 Chunks.insert(Offset, MakeRopeString(Start, End)); in insert()
205 Chunks.erase(Offset, NumBytes); in erase()
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp189 CodeCompletionString::CodeCompletionString(const Chunk *Chunks, in CodeCompletionString() argument
206 StoredChunks[I] = Chunks[I]; in CodeCompletionString()
330 sizeof(CodeCompletionString) + sizeof(Chunk) * Chunks.size() in TakeString()
334 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(), in TakeString()
338 Chunks.clear(); in TakeString()
343 Chunks.push_back(Chunk(CodeCompletionString::CK_TypedText, Text)); in AddTypedTextChunk()
347 Chunks.push_back(Chunk::CreateText(Text)); in AddTextChunk()
351 Chunks.push_back(Chunk::CreateOptional(Optional)); in AddOptionalChunk()
355 Chunks.push_back(Chunk::CreatePlaceholder(Placeholder)); in AddPlaceholderChunk()
359 Chunks.push_back(Chunk::CreateInformative(Text)); in AddInformativeChunk()
[all …]
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h447 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks,
557 SmallVector<Chunk, 4> Chunks;