Home
last modified time | relevance | path

Searched defs:Code (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/external/llvm-project/clang-tools-extra/unittests/clang-change-namespace/
DChangeNamespaceTests.cpp34 std::string runChangeNamespaceOnCode(llvm::StringRef Code) { in runChangeNamespaceOnCode()
53 std::string format(llvm::StringRef Code) { in format()
73 std::string Code = "namespace na {\n" in TEST_F() local
87 std::string Code = "namespace na {\n" in TEST_F() local
103 std::string Code = "namespace na {\n" in TEST_F() local
120 std::string Code = "namespace na {\n" in TEST_F() local
141 std::string Code = "namespace na {\n" in TEST_F() local
161 std::string Code = "namespace na {\n" in TEST_F() local
184 std::string Code = "namespace na {\n" in TEST_F() local
200 std::string Code = "namespace na {\n" in TEST_F() local
[all …]
/external/llvm-project/clang/unittests/Tooling/
DHeaderIncludesTest.cpp23 std::string insert(llvm::StringRef Code, llvm::StringRef Header) { in insert()
34 std::string remove(llvm::StringRef Code, llvm::StringRef Header) { in remove()
48 std::string Code = "int main() {}"; in TEST_F() local
55 std::string Code = "#ifndef A_H\n" in TEST_F() local
71 std::string Code = "#ifndef A_H\n" in TEST_F() local
95 std::string Code = "#include \"fix.h\"\n" in TEST_F() local
117 std::string Code = "#include <memory>\n" in TEST_F() local
128 std::string Code = "#include <memory>\n" in TEST_F() local
141 std::string Code = "#include \"x/fix.h\"\n" in TEST_F() local
156 std::string Code = "#include \"x/fix.h\"\n" in TEST_F() local
[all …]
DRangeSelectorTest.cpp43 template <typename M> TestMatch matchCode(StringRef Code, M Matcher) { in matchCode()
89 StringRef Code = R"cc( in selectFromAssorted() local
132 StringRef Code = R"cc( in TEST() local
151 StringRef Code = R"cc( in TEST() local
171 StringRef Code = R"cc( in TEST() local
209 StringRef Code = R"cc( in TEST() local
225 StringRef Code = R"cc( in TEST() local
240 StringRef Code = R"cc( in TEST() local
256 StringRef Code = R"cc( in TEST() local
268 StringRef Code = R"cc( in TEST() local
[all …]
DRefactoringCallbacksTest.cpp21 void expectRewritten(const std::string &Code, const std::string &Expected, in expectRewritten()
38 std::string Code = "void f() { int i = 1; }"; in TEST() local
45 std::string Code = "#define A void f() { int i = 1; }\nA"; in TEST() local
52 std::string Code = "#define A void f() { int i = 1; }"; in TEST() local
59 std::string Code = "void f() { int i = 1; }"; in TEST() local
66 std::string Code = "void f() { int i = false ? 1 : i * 2; }"; in TEST() local
78 std::string Code = "bool a; void f() { if (a) f(); else a = true; }"; in TEST() local
89 std::string Code = "void f() { if (false) int i = 0; }"; in TEST() local
98 std::string Code = "void f() { int i = 1; }"; in TEST() local
106 std::string Code = "void f() { int i = 1; }"; in TEST() local
[all …]
/external/llvm-project/clang/unittests/Format/
DCleanupTest.cpp25 std::string cleanup(llvm::StringRef Code, in cleanup()
37 llvm::StringRef Code, in cleanupAroundOffsets()
47 std::string Code = "namespace A {\n" in TEST_F() local
62 std::string Code = "namespace A {\n" in TEST_F() local
78 std::string Code = "namespace A {\n\n" in TEST_F() local
89 std::string Code = "namespace A {\n" in TEST_F() local
103 std::string Code = "namespace A\n" in TEST_F() local
122 std::string Code = "#ifdef A\n" in TEST_F() local
140 std::string Code = "class A {\nA() : , {} };"; in TEST_F() local
155 std::string Code = "class A {\nA() try : , {} };"; in TEST_F() local
[all …]
DTestLexer.h68 TokenList lex(llvm::StringRef Code) { in lex()
74 TokenList annotate(llvm::StringRef Code) { in annotate()
89 FormatToken *id(llvm::StringRef Code) { in id()
101 FormatTokenLexer getNewLexer(StringRef Code) { in getNewLexer()
DSortIncludesTest.cpp23 std::vector<tooling::Range> GetCodeRange(StringRef Code) { in GetCodeRange()
27 std::string sort(StringRef Code, std::vector<tooling::Range> Ranges, in sort()
41 std::string sort(StringRef Code, StringRef FileName = "input.cpp", in sort()
46 unsigned newCursor(llvm::StringRef Code, unsigned Cursor) { in newCursor()
145 std::string Code = "#include <a>\n" in TEST_F() local
155 std::string Code = "#include <string>\n" in TEST_F() local
704 std::string Code = "#include <ccc>\n" // Start of line: 0 in TEST_F() local
789 std::string Code = "#include <b>\n" // Start of line: 0 in TEST_F() local
826 std::string Code = "#include <a>\n" in TEST_F() local
854 std::string Code = R"( in TEST_F() local
[all …]
DFormatTestTableGen.cpp21 static std::string format(llvm::StringRef Code, unsigned Offset, in format()
33 static std::string format(llvm::StringRef Code) { in format()
39 static void verifyFormat(llvm::StringRef Code) { in verifyFormat()
/external/clang/unittests/Format/
DCleanupTest.cpp23 std::string cleanup(llvm::StringRef Code, in cleanup()
35 std::string Code = "namespace A {\n" in TEST_F() local
55 std::string Code = "namespace A {\n" in TEST_F() local
72 std::string Code = "namespace A {\n\n" in TEST_F() local
85 std::string Code = "namespace A {\n" in TEST_F() local
99 std::string Code = "namespace A\n" in TEST_F() local
118 std::string Code = "class A {\nA() : , {} };"; in TEST_F() local
142 std::string Code = "void f() { std::vector<int> v = {1,2,,,3,{4,5}}; }"; in TEST_F() local
159 std::string Code = "class A {\nA() : x({1}),, {} };"; in TEST_F() local
169 std::string Code = in TEST_F() local
[all …]
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTest.h144 matchesConditionally(const Twine &Code, const T &AMatcher, bool ExpectMatch, in matchesConditionally()
181 testing::AssertionResult matchesC(const Twine &Code, const T &AMatcher) { in matchesC()
187 testing::AssertionResult notMatchesObjC(const Twine &Code, const T &AMatcher) { in notMatchesObjC()
195 matchesConditionallyWithCuda(const Twine &Code, const T &AMatcher, in matchesConditionallyWithCuda()
251 testing::AssertionResult matchesWithCuda(const Twine &Code, const T &AMatcher) { in matchesWithCuda()
256 testing::AssertionResult notMatchesWithCuda(const Twine &Code, in notMatchesWithCuda()
262 testing::AssertionResult matchesWithOpenMP(const Twine &Code, in matchesWithOpenMP()
268 testing::AssertionResult notMatchesWithOpenMP(const Twine &Code, in notMatchesWithOpenMP()
274 testing::AssertionResult matchesWithOpenMP51(const Twine &Code, in matchesWithOpenMP51()
281 testing::AssertionResult notMatchesWithOpenMP51(const Twine &Code, in notMatchesWithOpenMP51()
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h108 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches()
113 testing::AssertionResult notMatches(const std::string &Code, in notMatches()
119 testing::AssertionResult matchesObjC(const std::string &Code, in matchesObjC()
127 testing::AssertionResult matchesC(const std::string &Code, const T &AMatcher) { in matchesC()
133 testing::AssertionResult matchesC99(const std::string &Code, in matchesC99()
140 testing::AssertionResult notMatchesC(const std::string &Code, in notMatchesC()
147 testing::AssertionResult notMatchesObjC(const std::string &Code, in notMatchesObjC()
159 const std::string &Code, const T &AMatcher, bool ExpectMatch, in matchesConditionallyWithCuda()
214 testing::AssertionResult matchesWithCuda(const std::string &Code, in matchesWithCuda()
220 testing::AssertionResult notMatchesWithCuda(const std::string &Code, in notMatchesWithCuda()
[all …]
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp22 void expectRewritten(const std::string &Code, in expectRewritten()
40 std::string Code = "void f() { int i = 1; }"; in TEST() local
47 std::string Code = "#define A void f() { int i = 1; }\nA"; in TEST() local
54 std::string Code = "#define A void f() { int i = 1; }"; in TEST() local
61 std::string Code = "void f() { int i = 1; }"; in TEST() local
69 std::string Code = "void f() { int i = false ? 1 : i * 2; }"; in TEST() local
80 std::string Code = "bool a; void f() { if (a) f(); else a = true; }"; in TEST() local
91 std::string Code = "void f() { if (false) int i = 0; }"; in TEST() local
/external/arm-trusted-firmware/docs/about/
Dmaintainers.rst58 Armv7-A architecture port
63 Build Definitions for CMake Build System
71 Software Delegated Exception Interface (SDEI)
79 Trusted Boot
89 Secure Partition Manager (SPM)
101 Exception Handling Framework (EHF)
113 Console API framework
121 coreboot support libraries
130 eMMC/UFS drivers
142 Power State Coordination Interface (PSCI)
[all …]
/external/llvm-project/clang/unittests/AST/
DNamedDeclPrinterTest.cpp65 StringRef Code, const std::vector<std::string> &Args, in PrintedDeclMatches()
97 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args, in PrintedNamedDeclMatches()
112 PrintedNamedDeclCXX98Matches(StringRef Code, StringRef DeclName, in PrintedNamedDeclCXX98Matches()
122 PrintedWrittenNamedDeclCXX11Matches(StringRef Code, StringRef DeclName, in PrintedWrittenNamedDeclCXX11Matches()
132 PrintedWrittenPropertyDeclObjCMatches(StringRef Code, StringRef DeclName, in PrintedWrittenPropertyDeclObjCMatches()
142 PrintedNestedNameSpecifierMatches(StringRef Code, StringRef DeclName, in PrintedNestedNameSpecifierMatches()
218 const char *Code = in TEST() local
234 const char *Code = in TEST() local
255 const char *Code = in TEST() local
271 const char *Code = in TEST() local
[all …]
/external/llvm-project/clang/unittests/Analysis/
DCFGTest.cpp28 const char *Code = "class Foo;\n" in TEST() local
38 const char *Code = "void f() {\n" in TEST() local
56 const char *Code = "template<class T>\n" in TEST() local
66 const char *Code = "template<class T> void f() {\n" in TEST() local
74 auto expectLinear = [](bool IsLinear, const char *Code) { in TEST()
91 const char *Code = R"(void f() { in TEST() local
224 const char *Code = "int f(bool cond) {\n" in TEST() local
/external/llvm-project/clang/unittests/Sema/
DCodeCompleteTest.cpp92 ParsedSourceLocation offsetToPosition(llvm::StringRef Code, size_t Offset) { in offsetToPosition()
102 CompletionContext runCompletion(StringRef Code, size_t Offset) { in runCompletion()
178 StringRef Code = R"cpp( in TEST() local
323 StringRef Code = R"cpp( in TEST() local
337 StringRef Code = R"cpp( in TEST() local
352 StringRef Code = R"cpp( in TEST() local
368 StringRef Code = R"cpp( in TEST() local
416 StringRef Code = R"cpp( in TEST() local
423 StringRef Code = R"cpp( in TEST() local
486 StringRef Code = R"cpp( in TEST() local
/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DCodeExpander.h33 StringRef Code; variable
43 : Code(Code), Expansions(Expansions), Loc(Loc), in Code() function
/external/protobuf/python/google/protobuf/pyext/
Dsafe_numerics.h48 #define BASE_NUMERIC_CAST_CASE_SPECIALIZATION(A, B, C, D, Code) \ argument
56 #define BASE_NUMERIC_CAST_CASE_SAME_SIZE(DestSigned, SourceSigned, Code) \ argument
62 #define BASE_NUMERIC_CAST_CASE_SOURCE_LARGER(DestSigned, SourceSigned, Code) \ argument
66 #define BASE_NUMERIC_CAST_CASE_DEST_LARGER(DestSigned, SourceSigned, Code) \ argument
/external/llvm-project/clang-tools-extra/clangd/unittests/
DTestWorkspace.h34 void addSource(llvm::StringRef Filename, llvm::StringRef Code) { in addSource()
37 void addMainFile(llvm::StringRef Filename, llvm::StringRef Code) { in addMainFile()
47 std::string Code; member
/external/clang/include/clang/ASTMatchers/Dynamic/
DParser.h190 static bool parseExpression(StringRef Code, Sema *S, in parseExpression()
194 static bool parseExpression(StringRef Code, VariantValue *Value, in parseExpression()
214 completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S) { in completeExpression()
218 completeExpression(StringRef Code, unsigned CompletionOffset) { in completeExpression()
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DOverlappingReplacementsTest.cpp138 const char Code[] = in TEST() local
157 const char Code[] = in TEST() local
180 const char Code[] = in TEST() local
205 const char Code[] = in TEST() local
231 const char Code[] = in TEST() local
273 const char Code[] = in TEST() local
330 const char Code[] = in TEST() local
360 const char Code[] = in TEST() local
389 const char Code[] = in TEST() local
/external/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
DParser.h193 static bool parseExpression(StringRef &Code, Sema *S, VariantValue *Value, in parseExpression()
197 static bool parseExpression(StringRef &Code, VariantValue *Value, in parseExpression()
217 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S) { in completeExpression()
221 completeExpression(StringRef &Code, unsigned CompletionOffset) { in completeExpression()
/external/llvm-project/clang/unittests/Index/
DIndexTests.cpp164 std::string Code = "#define INDEX_MAC 1"; in TEST() local
178 std::string Code = "void foo(int bar);"; in TEST() local
193 std::string Code = R"cpp( in TEST() local
214 std::string Code = R"cpp( in TEST() local
233 std::string Code = R"cpp( in TEST() local
262 std::string Code = R"cpp( in TEST() local
276 std::string Code = R"cpp( in TEST() local
302 std::string Code = R"cpp( in TEST() local
323 std::string Code = R"cpp( in TEST() local
338 std::string Code = R"cpp( in TEST() local
/external/clang/unittests/AST/
DStmtPrinterTest.cpp70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, in PrintedStmtMatches()
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches()
110 StringRef Code, in PrintedStmtCXX98Matches()
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches()
133 StringRef Code, in PrintedStmtMSMatches()
/external/llvm-project/clang/unittests/StaticAnalyzer/
DCheckerRegistration.h79 bool runCheckerOnCode(const std::string &Code, std::string &Diags) { in runCheckerOnCode()
87 bool runCheckerOnCode(const std::string &Code) { in runCheckerOnCode()
93 bool runCheckerOnCodeWithArgs(const std::string &Code, in runCheckerOnCodeWithArgs()
103 bool runCheckerOnCodeWithArgs(const std::string &Code, in runCheckerOnCodeWithArgs()

12345678910>>...20