Home
last modified time | relevance | path

Searched refs:TakeString (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DCodeCompletionStringsTests.cpp44 EXPECT_EQ(getReturnType(*Builder.TakeString()), "result"); in TEST_F()
49 EXPECT_EQ(formatDocumentation(*Builder.TakeString(), "Is this brief?"), in TEST_F()
56 EXPECT_EQ(formatDocumentation(*Builder.TakeString(), "Is this brief?"), in TEST_F()
73 EXPECT_EQ(formatDocumentation(*Builder.TakeString(), ""), in TEST_F()
80 computeSignature(*Builder.TakeString()); in TEST_F()
95 auto *CCS = Builder.TakeString(); in TEST_F()
106 auto *DefaultParam2 = Builder.TakeString(); in TEST_F()
111 auto *DefaultParam1 = Builder.TakeString(); in TEST_F()
120 auto *CCS = Builder.TakeString(); in TEST_F()
132 computeSignature(*Builder.TakeString()); in TEST_F()
[all …]
/external/clang/lib/Sema/
DSemaCodeComplete.cpp1324 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1335 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1349 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1355 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1432 Results.AddResult(CodeCompletionResult(Builder.TakeString())); in AddTypedefResult()
1527 Results.AddResult(CodeCompletionResult(Builder.TakeString())); in addThisCompletion()
1551 Results.AddResult(Result(Builder.TakeString())); in AddOrdinaryNameResults()
1560 Results.AddResult(Result(Builder.TakeString())); in AddOrdinaryNameResults()
1568 Results.AddResult(Result(Builder.TakeString())); in AddOrdinaryNameResults()
1575 Results.AddResult(Result(Builder.TakeString())); in AddOrdinaryNameResults()
[all …]
DCodeCompleteConsumer.cpp328 CodeCompletionString *CodeCompletionBuilder::TakeString() { in TakeString() function in CodeCompletionBuilder
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp1696 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1707 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1722 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1728 Results.AddResult(Result(Builder.TakeString())); in AddTypeSpecifierResults()
1756 Results.AddResult(Result(Builder.TakeString())); in AddStorageSpecifiers()
1818 Results.AddResult(CodeCompletionResult(Builder.TakeString())); in AddTypedefResult()
1830 Results.AddResult(CodeCompletionResult(Builder.TakeString())); in AddUsingAliasResult()
1928 Results.AddResult(CodeCompletionResult(Builder.TakeString())); in addThisCompletion()
1944 Results.AddResult(CodeCompletionResult(Builder.TakeString())); in AddStaticAssertResult()
2022 Results.AddResult(Result(Builder.TakeString())); in AddOrdinaryNameResults()
[all …]
DCodeCompleteConsumer.cpp419 CodeCompletionString *CodeCompletionBuilder::TakeString() { in TakeString() function in CodeCompletionBuilder
/external/libchrome/base/memory/
Dref_counted_memory_unittest.cc66 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
125 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST()
133 scoped_refptr<RefCountedMemory> mem3 = RefCountedString::TakeString(&s3); in TEST()
141 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
Dref_counted_memory.cc70 scoped_refptr<RefCountedString> RefCountedString::TakeString( in TakeString() function in base::RefCountedString
Dref_counted_memory.h127 static scoped_refptr<RefCountedString> TakeString(std::string* to_destroy);
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h586 CodeCompletionString *TakeString();
/external/llvm-project/clang/include/clang/Sema/
DCodeCompleteConsumer.h708 CodeCompletionString *TakeString();
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp2119 Completion = Builder.TakeString(); in ProcessCodeCompleteResults()
/external/clang/lib/Frontend/
DASTUnit.cpp2299 Completion = Builder.TakeString(); in ProcessCodeCompleteResults()