Searched refs:positional_args (Results 1 – 11 of 11) sorted by relevance
73 std::vector<const char*> positional_args; in Main() local113 positional_args.push_back(argv[i]); in Main()117 if (positional_args.empty()) in Main()122 if (positional_args.size() > 1) { in Main()123 const char* file_path = positional_args[1]; in Main()142 if (positional_args.size() > 2) { in Main()143 const char* file_path = positional_args[2]; in Main()152 std::string format(positional_args[0]); in Main()
593 std::vector<char*> positional_args; in ParseCommandLineImpl() local639 positional_args.push_back(argv[curr_list.FrontIndex()]); in ParseCommandLineImpl()741 for (auto arg : positional_args) { in ParseCommandLineImpl()
623 std::vector<char*> positional_args; in ParseCommandLineImpl() local676 positional_args.push_back(argv[curr_list.FrontIndex()]); in ParseCommandLineImpl()782 for (auto arg : positional_args) { in ParseCommandLineImpl()
156 positional_args = []170 positional_args.append(p.name)196 if len(positional_args) <= i:200 var_kwargs[positional_args[i]] = a213 if len(positional_args) <= i:217 nonvar_kwargs[positional_args[i]] = a
628 std::vector<char*> positional_args; in ParseCommandLineImpl() local681 positional_args.push_back(argv[curr_list.FrontIndex()]); in ParseCommandLineImpl()792 for (auto arg : positional_args) { in ParseCommandLineImpl()
2540 positional_args = fullargspec.args[:-len(fullargspec.defaults)]2542 positional_args = fullargspec.args2543 if 'training' in positional_args:2544 positional_args.remove('training')2547 if len(positional_args) > 2:2548 extra_args = positional_args[2:]
1325 positional_args = fullargspec.args[:-len(fullargspec.defaults)]1327 positional_args = fullargspec.args1328 if 'training' in positional_args:1329 positional_args.remove('training')1332 if len(positional_args) > 2:1333 extra_args = positional_args[2:]
61 (options, positional_args) = self.parser.parse_args(args)70 self.assertEqual(positional_args, expected_positional_args,76 return (options, positional_args)
63 (options, positional_args) = self.parser.parse_args(args)72 self.assertEqual(positional_args, expected_positional_args,78 return (options, positional_args)