Lines Matching refs:std
24 std::cerr << "Usage: aidl_metadata_parser *.json" << std::endl; in main()
27 const std::string path = argv[1]; in main()
32 std::ifstream stream(path); in main()
34 std::cerr << "Failed to read interface metadata file: " << path << std::endl in main()
35 << reader.getFormattedErrorMessages() << std::endl; in main()
39 std::cout << "#include <aidl/metadata.h>" << std::endl; in main()
40 std::cout << "namespace android {" << std::endl; in main()
41 std::cout << "std::vector<AidlInterfaceMetadata> AidlInterfaceMetadata::all() {" << std::endl; in main()
42 std::cout << "return std::vector<AidlInterfaceMetadata>{" << std::endl; in main()
44 std::cout << "AidlInterfaceMetadata{" << std::endl; in main()
46 std::cout << "std::string(\"" << entry["name"].asString() << "\")," << std::endl; in main()
47 std::cout << "std::string(\"" << entry["stability"].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::vector<std::string>{" << std::endl; in main()
55 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main()
57 std::cout << "}," << std::endl; in main()
58 std::cout << "}," << std::endl; in main()
60 std::cout << "};" << std::endl; in main()
61 std::cout << "}" << std::endl; in main()
62 std::cout << "} // namespace android" << std::endl; in main()