Lines Matching refs:std
24 std::cerr << "Usage: hidl_metadata_parser *.json" << std::endl; in main()
27 const std::string path = argv[1]; in main()
32 std::ifstream stream(path); in main()
33 std::string errorMessage; in main()
35 std::cerr << "Failed to read interface inheritance hierarchy file: " << path << std::endl in main()
36 << errorMessage << std::endl; in main()
40 std::cout << "#include <hidl/metadata.h>" << std::endl; in main()
41 std::cout << "namespace android {" << std::endl; in main()
42 std::cout << "std::vector<HidlInterfaceMetadata> HidlInterfaceMetadata::all() {" << std::endl; in main()
43 std::cout << "return std::vector<HidlInterfaceMetadata>{" << std::endl; in main()
45 std::cout << "HidlInterfaceMetadata{" << std::endl; in main()
47 std::cout << "std::string(\"" << entry["interface"].asString() << "\")," << std::endl; in main()
48 std::cout << "std::vector<std::string>{" << std::endl; in main()
50 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main()
52 std::cout << "}," << std::endl; in main()
53 std::cout << "}," << std::endl; in main()
55 std::cout << "};" << std::endl; in main()
56 std::cout << "}" << std::endl; in main()
57 std::cout << "} // namespace android" << std::endl; in main()