Lines Matching refs:options
114 void populateArgv(std::vector<const char*> options, char** argv) { in populateArgv() argument
115 for (int i = 0; i < options.size(); i++) { in populateArgv()
116 argv[i] = const_cast<char*>(options.at(i)); in populateArgv()
124 std::vector<const char*> options = {"hidl-gen", "-p", "~/"}; in TEST_F() local
125 char* argv[options.size()]; in TEST_F()
127 populateArgv(options, argv); in TEST_F()
128 coordinator.parseOptions(options.size(), argv, "", [&](int /* res */, char* /* arg */) { in TEST_F()
140 std::vector<const char*> options = {"hidl-gen", "-p", "~/", "-p", "."}; in TEST_F() local
141 char* argv[options.size()]; in TEST_F()
143 populateArgv(options, argv); in TEST_F()
144 EXPECT_DEATH(coordinator.parseOptions(options.size(), argv, "", in TEST_F()
156 std::vector<const char*> options = {"hidl-gen", "-R"}; in TEST_F() local
157 char* argv[options.size()]; in TEST_F()
159 populateArgv(options, argv); in TEST_F()
160 coordinator.parseOptions(options.size(), argv, "", [&](int /* res */, char* /* arg */) { in TEST_F()
177 std::vector<const char*> options = {"hidl-gen", "-y", "yvalue", "-x"}; in TEST_F() local
178 char* argv[options.size()]; in TEST_F()
180 populateArgv(options, argv); in TEST_F()
184 coordinator.parseOptions(options.size(), argv, optstring, [&](int res, char* arg) { in TEST_F()