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()
33 std::string errorMessage; in main()
35 std::cerr << "Failed to read interface metadata file: " << path << std::endl in main()
36 << errorMessage << std::endl; in main()
40 std::cout << "#include <aidl/metadata.h>" << std::endl; in main()
41 std::cout << "namespace android {" << std::endl; in main()
42 std::cout << "std::vector<AidlInterfaceMetadata> AidlInterfaceMetadata::all() {" << std::endl; in main()
43 std::cout << "return std::vector<AidlInterfaceMetadata>{" << std::endl; in main()
45 std::cout << "AidlInterfaceMetadata{" << std::endl; in main()
47 std::cout << "std::string(\"" << entry["name"].asString() << "\")," << std::endl; in main()
48 std::cout << "std::string(\"" << entry["stability"].asString() << "\")," << std::endl; in main()
49 std::cout << "std::vector<std::string>{" << std::endl; in main()
51 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main()
53 std::cout << "}," << std::endl; in main()
54 std::cout << "std::vector<std::string>{" << std::endl; in main()
56 std::cout << "std::string(\"" << intf.asString() << "\")," << std::endl; in main()
58 std::cout << "}," << std::endl; in main()
59 std::cout << "}," << std::endl; in main()
61 std::cout << "};" << std::endl; in main()
62 std::cout << "}" << std::endl; in main()
63 std::cout << "} // namespace android" << std::endl; in main()