Home
last modified time | relevance | path

Searched refs:CPP (Results 1 – 10 of 10) sorted by relevance

/system/core/code_coverage/seccomp_policy/
Dgenerate.sh8 CPP='cpp -undef -E -P code_coverage.policy.def'
9 $CPP -D__arm__ -o code_coverage.arm.policy
10 $CPP -D__aarch64__ -D__LP64__ -o code_coverage.arm64.policy
11 $CPP -D__i386__ -o code_coverage.x86.policy
12 $CPP -D__x86_64__ -D__LP64__ -o code_coverage.x86_64.policy
/system/core/debuggerd/seccomp_policy/
Dgenerate.sh6 CPP='cpp -undef -E -P crash_dump.policy.def'
7 $CPP -D__arm__ -o crash_dump.arm.policy
8 $CPP -D__aarch64__ -D__LP64__ -o crash_dump.arm64.policy
9 $CPP -D__i386__ -o crash_dump.x86.policy
10 $CPP -D__x86_64__ -D__LP64__ -o crash_dump.x86_64.policy
/system/tools/aidl/
Daidl_unittest.cpp172 if (lang == Options::Language::CPP) {
217 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", typenames_, Options::Language::CPP)); in TEST_F()
225 Parse("IFoo.aidl", "interface IFoo { } // foo", typenames_, Options::Language::CPP)); in TEST_F()
238 EXPECT_EQ(nullptr, Parse(path, contents, typenames_, Options::Language::CPP)); in TEST_F()
245 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", interface_list, typenames_, Options::Language::CPP)); in TEST_F()
249 EXPECT_EQ(nullptr, Parse("a/IBaz.aidl", interface_ibinder, typenames_, Options::Language::CPP)); in TEST_F()
259 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, typenames_, Options::Language::CPP)); in TEST_F()
263 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, typenames_, Options::Language::CPP)); in TEST_F()
270 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, Options::Language::CPP)); in TEST_F()
277 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, typenames_, Options::Language::CPP)); in TEST_F()
[all …]
Doptions.cpp63 } else if (language_ == Options::Language::CPP) { in GetUsage()
155 lang = Options::Language::CPP; in From()
205 if (language_ == Options::Language::CPP) { in Options()
217 language_ = Options::Language::CPP; in Options()
443 if (gen_log_ && (language_ != Options::Language::CPP && language_ != Options::Language::NDK)) { in Options()
Doptions_unittest.cpp171 unique_ptr<Options> options = GetOptions(kCompileCppCommand, Options::Language::CPP); in TEST()
191 options = GetOptions(argv, Options::Language::CPP); in TEST()
203 unique_ptr<Options> options = GetOptions(kCompileCppCommandNinja, Options::Language::CPP); in TEST()
276 EXPECT_EQ(Options::Language::CPP, options->TargetLanguage()); in TEST()
Doptions.h62 enum class Language { UNSPECIFIED, JAVA, CPP, NDK }; enumerator
83 bool IsCppOutput() const { return language_ == Language::CPP || language_ == Language::NDK; } in IsCppOutput()
Dmain.cpp26 constexpr Options::Language kDefaultLang = Options::Language::CPP;
Daidl.cpp754 if (lang == Options::Language::CPP) { in compile_aidl()
Daidl_language.cpp806 if (lang == Options::Language::CPP) { in LanguageSpecificCheckValid()
/system/tools/hidl/c2hal/
Dc2hal_l.ll115 "__BEGIN_DECLS" { /* macro'd 'extern "C" {' if CPP or nothing */ }