/fuchsia/zircon/system/host/fidl/include/fidl/ |
H A D | attributes.h | 12 bool HasSimpleLayout(const flat::Decl* decl);
|
H A D | json_generator.h | 30 explicit JSONGenerator(const flat::Library* library) 63 void Generate(const flat::Decl* decl); 83 void Generate(const flat::Ordinal& value); 84 void Generate(const flat::Name& value); 85 void Generate(const flat::Type& value); 86 void Generate(const flat::Constant& value); 87 void Generate(const flat::Const& value); 88 void Generate(const flat::Enum& value); 89 void Generate(const flat::Enum::Member& value); 90 void Generate(const flat [all...] |
H A D | tables_generator.h | 33 explicit TablesGenerator(const flat::Library* library) 72 const coded::Type* CompileType(const flat::Type* type); 73 void CompileFields(const flat::Decl* decl); 74 void Compile(const flat::Decl* decl); 76 const flat::Library* library_; 78 // All flat::Types and flat::Names here are owned by library_, and 81 using TypeMap = std::map<const FlatType*, const CodedType*, flat::PtrCompare<FlatType>>; 82 TypeMap<flat::PrimitiveType, coded::PrimitiveType> primitive_type_map_; 83 TypeMap<flat [all...] |
H A D | c_generator.h | 29 explicit CGenerator(const flat::Library* library) 39 flat::Type::Kind kind; 40 flat::Decl::Kind decl_kind; 51 const std::vector<flat::Interface::Method::Parameter>& parameters; 67 const flat::Const& const_info; 72 const flat::Enum& enum_info; 84 const flat::Struct& struct_info; 90 const flat::Table& table_info; 95 const flat::Union& union_info; 110 std::map<const flat [all...] |
H A D | names.h | 21 std::string NameName(const flat::Name& name, StringView library_separator, StringView separator); 34 std::string NameFlatConstantKind(flat::Constant::Kind kind); 35 std::string NameFlatTypeKind(flat::Type::Kind kind); 36 std::string NameUnionTag(StringView union_name, const flat::Union::Member& member); 37 std::string NameFlatCType(const flat::Type* type, flat::Decl::Kind decl_kind); 38 std::string NameInterface(const flat::Interface& interface); 39 std::string NameDiscoverable(const flat::Interface& interface); 40 std::string NameMethod(StringView interface_name, const flat::Interface::Method& method); 44 const flat [all...] |
H A D | flat_ast.h | 23 namespace flat { namespace in namespace:fidl 616 Decl* LookupDeclByType(const flat::Type* type, LookupOption option) const; 783 } // namespace flat
|
/fuchsia/zircon/system/host/fidl/lib/ |
H A D | attributes.cpp | 9 bool HasSimpleLayout(const flat::Decl* decl) {
|
H A D | c_generator.cpp | 37 flat::Type::Kind::kIdentifier, 38 flat::Decl::Kind::kStruct, 89 case flat::Type::Kind::kArray: 95 case flat::Type::Kind::kVector: 99 case flat::Type::Kind::kString: 103 case flat::Type::Kind::kHandle: 104 case flat::Type::Kind::kRequestHandle: 105 case flat::Type::Kind::kPrimitive: 108 case flat::Type::Kind::kIdentifier: 110 case flat [all...] |
H A D | names.cpp | 177 std::string NameFlatTypeKind(flat::Type::Kind kind) { 179 case flat::Type::Kind::kArray: 181 case flat::Type::Kind::kVector: 183 case flat::Type::Kind::kString: 185 case flat::Type::Kind::kHandle: 187 case flat::Type::Kind::kRequestHandle: 189 case flat::Type::Kind::kPrimitive: 191 case flat::Type::Kind::kIdentifier: 196 std::string NameFlatConstantKind(flat::Constant::Kind kind) { 198 case flat [all...] |
H A D | json_generator.cpp | 160 void JSONGenerator::Generate(const flat::Decl* decl) { 240 void JSONGenerator::Generate(const flat::Constant& value) { 245 case flat::Constant::Kind::kIdentifier: { 246 auto type = static_cast<const flat::IdentifierConstant*>(&value); 250 case flat::Constant::Kind::kLiteral: { 251 auto type = static_cast<const flat::LiteralConstant*>(&value); 259 void JSONGenerator::Generate(const flat::Type& value) { 264 case flat::Type::Kind::kArray: { 265 auto type = static_cast<const flat::ArrayType*>(&value); 270 case flat [all...] |
H A D | tables_generator.cpp | 328 const coded::Type* TablesGenerator::CompileType(const flat::Type* type) { 330 case flat::Type::Kind::kArray: { 331 auto array_type = static_cast<const flat::ArrayType*>(type); 345 case flat::Type::Kind::kVector: { 346 auto vector_type = static_cast<const flat::VectorType*>(type); 361 case flat::Type::Kind::kString: { 362 auto string_type = static_cast<const flat::StringType*>(type); 374 case flat::Type::Kind::kHandle: { 375 auto handle_type = static_cast<const flat::HandleType*>(type); 386 case flat [all...] |
H A D | flat_ast.cpp | 21 namespace flat { namespace in namespace:fidl 152 TypeShape CUnionTypeShape(const std::vector<flat::Union::Member>& members) { 1105 case flat::Type::Kind::kString: 1106 case flat::Type::Kind::kHandle: 1107 case flat::Type::Kind::kRequestHandle: 1108 case flat::Type::Kind::kPrimitive: 1110 case flat::Type::Kind::kVector: { 1111 type = static_cast<const flat::VectorType*>(type)->element_type.get(); 1114 case flat::Type::Kind::kArray: { 1115 type = static_cast<const flat [all...] |
/fuchsia/zircon/system/uapp/namespace/ |
H A D | namespace.c | 18 void print_namespace(fdio_flat_namespace_t* flat) { argument 19 for (size_t n = 0; n < flat->count; n++) { 21 flat->handle[n], flat->type[n], flat->path[n]); 79 fdio_flat_namespace_t* flat; local 81 status = fdio_ns_export(ns, &flat); 89 print_namespace(flat); 91 fdio_spawn_action_t actions[flat->count + 1]; 93 for (size_t i = 0; i < flat 134 fdio_flat_namespace_t* flat; local [all...] |
/fuchsia/zircon/system/ulib/launchpad/ |
H A D | fdio.c | 40 fdio_flat_namespace_t* flat; local 41 status = fdio_ns_export_root(&flat); 43 launchpad_set_nametable(lp, flat->count, flat->path); 44 launchpad_add_handles(lp, flat->count, flat->handle, flat->type); 45 free(flat);
|
/fuchsia/zircon/system/utest/fidl-compiler/ |
H A D | test_library.h | 27 library_(std::make_unique<fidl::flat::Library>(&all_libraries_, &error_reporter_)) { 35 if (!all_libraries_.Insert(std::unique_ptr<fidl::flat::Library>(dependent_library.library_.get()))) { 71 const fidl::flat::Struct* LookupStruct(const std::string& name) { 80 const fidl::flat::Table* LookupTable(const std::string& name) { 89 const fidl::flat::Union* LookupUnion(const std::string& name) { 98 const fidl::flat::Interface* LookupInterface(const std::string& name) { 121 fidl::flat::Libraries all_libraries_; 122 std::unique_ptr<fidl::flat::Library> library_;
|
H A D | flat_ast_tests.cpp | 16 using fidl::flat::HandleType;
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | spawn.c | 276 fdio_flat_namespace_t* flat, size_t action_count, 298 if (flat) { 299 while (n < flat->count) { 300 size_t size = strlen(flat->path[n]); 304 memcpy(payload + offset, flat->path[n], size); 306 handles[h++] = flat->handle[n]; 386 fdio_flat_namespace_t* flat = NULL; local 457 status = fdio_ns_export_root(&flat); 458 name_count += flat->count; 459 for (size_t i = 0; i < flat 275 send_namespace(zx_handle_t launcher, size_t name_count, size_t name_len, fdio_flat_namespace_t* flat, size_t action_count, const fdio_spawn_action_t* actions, char* err_msg) argument [all...] |
H A D | namespace.c | 712 fdio_flat_namespace_t* flat = malloc(es.bytes); local 713 if (flat == NULL) { 717 // We've allocated enough memory for the flat struct 722 es.handle = (zx_handle_t*) (flat + 1); 735 free(flat); 737 flat->count = es.count; 738 flat->handle = es.handle; 739 flat->type = es.type; 740 flat->path = (const char* const*) es.path; 741 *out = flat; [all...] |
/fuchsia/zircon/system/ulib/virtio/include/virtio/ |
H A D | input.h | 75 uint32_t flat; member in struct:virtio_input_absinfo
|
/fuchsia/zircon/system/host/fidl/compiler/ |
H A D | main.cpp | 223 fidl::ErrorReporter* error_reporter, fidl::flat::Library* library) { 320 fidl::flat::Libraries all_libraries; 321 const fidl::flat::Library* final_library = nullptr; 326 auto library = std::make_unique<fidl::flat::Library>(&all_libraries, &error_reporter);
|
/fuchsia/zircon/third_party/ulib/jemalloc/bin/ |
H A D | jeprof.in | 62 # annotated with the flat and cumulative sample counts at each line. 67 # annotated with the flat and cumulative sample counts at each PC value. 602 my $flat = FlatProfile($reduced); 608 PrintDisassembly($libs, $flat, $cumulative, $main::opt_disasm); 610 PrintListing($total, $libs, $flat, $cumulative, $main::opt_list, 0); 620 PrintText($symbols, $flat, $cumulative, -1); 626 if (PrintDot($main::prog, $symbols, $profile, $flat, $cumulative, $total)) { 884 my $flat = FlatProfile($reduced); 887 PrintText($symbols, $flat, $cumulative, $line_limit); 919 my $flat [all...] |