Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dmain.cc101 bool generate_cpp_headers_one_file(const Declarations& decls, const std::filesystem::path& input_fi… in generate_cpp_headers_one_file() argument
144 for (const auto& c : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
157 for (const auto& c : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
180 for (const auto& e : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
188 for (const auto& e : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
196 for (const auto& ch : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
204 for (const auto& c : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
208 custom_field_def->GenCustomFieldCheck(out_file, decls.is_little_endian); in generate_cpp_headers_one_file()
217 for (auto& s : decls.type_defs_queue_) { in generate_cpp_headers_one_file()
226 StructParserGenerator spg(decls); in generate_cpp_headers_one_file()
[all …]
Dlanguage_y.yy22 %parse-param { Declarations* decls }
104 decls->is_little_endian = ($1 == 1);
105 if (decls->is_little_endian) {
120 decls->AddTypeDef($1->name_, $1);
125 decls->AddPacketDef($1->name_, std::move(*$1));
131 decls->AddTypeDef($1->name_, $1);
188 decls->AddGroupDef(*$2, $4);
196 decls->AddTypeDef(*$2, new ChecksumDef(*$2, *$5, $4));
204 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$5, $4));
210 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()
/system/tools/aidl/
Dgenerate_cpp.cpp205 std::vector<unique_ptr<Declaration>> NestInNamespaces(vector<unique_ptr<Declaration>> decls, in NestInNamespaces() argument
210 inner.emplace_back(unique_ptr<Declaration>{new CppNamespace{*it, std::move(decls)}}); in NestInNamespaces()
212 decls = std::move(inner); in NestInNamespaces()
214 return decls; in NestInNamespaces()
219 vector<unique_ptr<Declaration>> decls; in NestInNamespaces() local
220 decls.push_back(std::move(decl)); in NestInNamespaces()
221 return NestInNamespaces(std::move(decls), package); in NestInNamespaces()
751 vector<unique_ptr<Declaration>> decls; in BuildServerSource() local
752 decls.push_back(std::move(constructor)); in BuildServerSource()
753 decls.push_back(std::move(on_transact)); in BuildServerSource()
[all …]
Daidl_language_y.yy182 %type<declarations> decls
188 : package imports decls
245 decls
252 | decls decl
/system/apex/apexd/
DAndroid.bp26 "misc-unused-using-decls",
38 "readability-avoid-const-params-in-decls",
51 "-Wredundant-decls",
/system/tools/hidl/c2hal/
Dc2hal_l.ll186 // decls/macros we want to preserve