Home
last modified time | relevance | path

Searched refs:arg_index (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DNdcDispatcher.cpp440 for (int arg_index = 2; arg_index < argc; arg_index++) { in runCommand() local
441 dhcpRanges.push_back(argv[arg_index]); in runCommand()
473 for (int arg_index = 4; arg_index < argc; arg_index++) { in runCommand() local
474 tetherDnsAddrs.push_back(argv[arg_index]); in runCommand()
588 for (int arg_index = 2; arg_index < argc; arg_index++) { in runCommand() local
590 PARSE_UINT_RETURN_IF_FAIL(cli, argv[arg_index], uid, "Bandwidth command failed", false); in runCommand()
603 for (int arg_index = 2; arg_index < argc; arg_index++) { in runCommand() local
605 PARSE_UINT_RETURN_IF_FAIL(cli, argv[arg_index], uid, "Bandwidth command failed", false); in runCommand()
618 for (int arg_index = 2; arg_index < argc; arg_index++) { in runCommand() local
620 PARSE_UINT_RETURN_IF_FAIL(cli, argv[arg_index], uid, "Bandwidth command failed", false); in runCommand()
[all …]
/system/core/fs_mgr/tools/
Ddmctl.cpp222 int arg_index = 1; in parse_table_args() local
223 while (arg_index < argc && argv[arg_index][0] == '-') { in parse_table_args()
224 if (strcmp(argv[arg_index], "-ro") == 0) { in parse_table_args()
226 arg_index++; in parse_table_args()
227 } else if (strcmp(argv[arg_index], "-suspended") == 0) { in parse_table_args()
229 arg_index++; in parse_table_args()
231 std::cerr << "Unrecognized option: " << argv[arg_index] << std::endl; in parse_table_args()
237 TargetParser parser(argc - arg_index, argv + arg_index); in parse_table_args()