Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dgen_cpp.cc58 const Declarations& decls, in generate_cpp_headers_one_file() argument
108 for (const auto& c : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
121 for (const auto& c : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
148 for (const auto& e : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
156 for (const auto& e : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
164 for (const auto& ch : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
172 for (const auto& c : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
176 custom_field_def->GenCustomFieldCheck(out_file, decls.is_little_endian); in generate_cpp_headers_one_file()
185 for (auto& s : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
194 StructParserGenerator spg(decls); in generate_cpp_headers_one_file()
[all …]
Dgen_rust.cc63 const Declarations& decls, in generate_rust_source_one_file() argument
95 for (const auto& packet_def : decls.packet_defs_queue_) { in generate_rust_source_one_file()
105 for (const auto& other_packet_def : decls.packet_defs_queue_) { in generate_rust_source_one_file()
127 for (const auto& e : decls.type_defs_queue_) { in generate_rust_source_one_file()
144 for (const auto& e : decls.type_defs_queue_) { in generate_rust_source_one_file()
153 for (auto& s : decls.type_defs_queue_) { in generate_rust_source_one_file()
161 for (const auto& packet_def : decls.packet_defs_queue_) { in generate_rust_source_one_file()
Dlanguage_y.yy22 %parse-param { Declarations* decls }
112 decls->is_little_endian = ($1 == 1);
113 if (decls->is_little_endian) {
128 decls->AddTypeDef($1->name_, $1);
133 decls->AddPacketDef($1->name_, $1);
138 decls->AddTypeDef($1->name_, $1);
199 decls->AddGroupDef(*$2, $4);
207 decls->AddTypeDef(*$2, new ChecksumDef(*$2, *$5, $4));
215 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$5, $4));
221 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$3));
[all …]
Dstruct_parser_generator.cc19 StructParserGenerator::StructParserGenerator(const Declarations& decls) { in StructParserGenerator() argument
20 is_little_endian = decls.is_little_endian; in StructParserGenerator()
21 for (const auto& s : decls.type_defs_queue_) { in StructParserGenerator()
Dmain.cc41 const Declarations& decls,
48 const Declarations& decls,
56 const Declarations& decls,
/system/tools/aidl/
Dgenerate_cpp.cpp211 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces() argument
216 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
218 decls = std::move(inner); in NestInNamespaces()
220 return decls; in NestInNamespaces()
225 vector<unique_ptr<Declaration>> decls; in NestInNamespaces() local
226 decls.push_back(std::move(decl)); in NestInNamespaces()
227 return NestInNamespaces(std::move(decls), package); in NestInNamespaces()
520 vector<unique_ptr<Declaration>>& decls) { in BuildConstantDefinitions() argument
532 decls.push_back(std::move(getter)); in BuildConstantDefinitions()
803 vector<unique_ptr<Declaration>> decls; in BuildServerSource() local
[all …]
Daidl_language_y.yy182 %type<declarations> decls
188 : package imports decls {
257 decls
264 | decls decl
/system/security/ondevice-signing/
DAndroid.bp34 "misc-unused-using-decls",
58 "-Wredundant-decls",
/system/apex/apexd/
DAndroid.bp31 "misc-unused-using-decls",
43 // "readability-avoid-const-params-in-decls", // found in apexd.h
56 "-Wredundant-decls",
/system/tools/hidl/c2hal/
Dc2hal_l.ll186 // decls/macros we want to preserve