Home
last modified time | relevance | path

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

/system/nvram/core/tests/
Dgtest_stubs.cpp28 for (TestDeclarationBase* decl = tests_; decl; decl = decl->next) { in RunAllTests() local
29 TestInstanceBase* instance = decl->create_function(); in RunAllTests()
30 fprintf(stderr, "[ %s ] Starting...\n", decl->name); in RunAllTests()
35 fprintf(stderr, "[ %s ] %s\n", decl->name, g_test_status ? "PASS" : "FAIL"); in RunAllTests()
/system/tools/hidl/c2hal/
DNote.cpp25 Note::Note(Declaration *decl) in Note() argument
27 mDecl(decl) in Note()
DNote.h34 Note(Declaration *decl);
DCompositeDeclaration.cpp41 for(auto* decl : *mFieldDeclarations) { in ~CompositeDeclaration()
42 delete decl; in ~CompositeDeclaration()
DAST.cpp51 for(auto* decl : *mDeclarations) { in ~AST()
52 delete decl; in ~AST()
/system/tools/aidl/
Dast_cpp_unittest.cpp263 LiteralDecl decl(literal); in TEST_F() local
264 std::string actual = decl.ToString(); in TEST_F()
267 decl.Write(CodeWriter::ForString(&written).get()); in TEST_F()
Daidl.cpp304 bool ParsePreprocessedLine(const string& line, string* decl, std::string* package, in ParsePreprocessedLine() argument
315 decl->clear(); in ParsePreprocessedLine()
322 if (decl->empty()) { in ParsePreprocessedLine()
323 *decl = std::move(piece); in ParsePreprocessedLine()
370 string decl; in parse_preprocessed_file() local
373 if (!ParsePreprocessedLine(line, &decl, &package, &class_name)) { in parse_preprocessed_file()
381 if (decl == "parcelable") { in parse_preprocessed_file()
390 } else if (decl == "structured_parcelable") { in parse_preprocessed_file()
395 } else if (decl == "interface") { in parse_preprocessed_file()
Dgenerate_java_binder.cpp402 auto decl = std::make_shared<Method>(); in generate_interface_method() local
403 decl->comment = method.GetComments(); in generate_interface_method()
404 decl->modifiers = PUBLIC; in generate_interface_method()
405 decl->returnType = JavaSignatureOf(method.GetType(), typenames); in generate_interface_method()
406 decl->name = method.GetName(); in generate_interface_method()
407 decl->annotations = generate_java_annotations(method.GetType()); in generate_interface_method()
412 decl->parameters.push_back(var); in generate_interface_method()
415 decl->exceptions.push_back("android.os.RemoteException"); in generate_interface_method()
417 return decl; in generate_interface_method()
767 std::shared_ptr<ClassElement> decl; in generate_methods() local
[all …]
Daidl_language_y.yy153 %type<declaration> decl
246 : decl
252 | decls decl
259 decl
265 // copy comments from annotation to decl
Dgenerate_cpp.cpp217 std::vector<unique_ptr<Declaration>> NestInNamespaces(unique_ptr<Declaration> decl, in NestInNamespaces() argument
220 decls.push_back(std::move(decl)); in NestInNamespaces()