Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 70) sorted by relevance

123

/system/core/toolbox/
Dmodprobe.cpp100 int opt; in modprobe_main() local
118 while ((opt = getopt_long(argc, argv, "a::bd:Dhlqrsv", long_options, &option_index)) != -1) { in modprobe_main()
119 switch (opt) { in modprobe_main()
172 LOG(ERROR) << "Unrecognized option: " << opt; in modprobe_main()
179 for (opt = optind; opt < argc; opt++) { in modprobe_main()
180 if (!strchr(argv[opt], '=')) { in modprobe_main()
181 modules.emplace_back(argv[opt]); in modprobe_main()
185 module_parameters = argv[opt]; in modprobe_main()
187 module_parameters = module_parameters + " " + argv[opt]; in modprobe_main()
/system/logging/logd/
Dauditctl.cpp44 int opt; in main() local
46 while ((opt = getopt(argc, argv, "r:")) != -1) { in main()
47 switch (opt) { in main()
/system/bt/gd/common/
Dmetric_id_manager.cc164 auto opt = temporary_device_cache_.extract(mac_address); in SaveDevice() local
165 if (!opt) { in SaveDevice()
169 int id = opt->second; in SaveDevice()
184 auto opt = paired_device_cache_.extract(mac_address); in ForgetDevice() local
185 if (!opt) { in ForgetDevice()
189 ForgetDevicePostprocess(mac_address, opt->second); in ForgetDevice()
/system/core/storaged/
Dmain.cpp72 int opt; in main() local
86 opt = getopt_long(argc, argv, ":pstu", long_options, &opt_idx); in main()
87 if (opt == -1) { in main()
91 switch (opt) { in main()
/system/extras/boottime_tools/bootio/
Dbootio.cpp122 int opt = 0; in main() local
124 while ((opt = getopt_long(argc, argv, "hlpr:", longOptions, &optionIndex)) != -1) { in main()
125 switch (opt) { in main()
145 DCHECK_EQ(opt, '?'); in main()
/system/tools/sysprop/
DJavaMain.cpp55 int opt = getopt_long_only(argc, argv, "", long_options, nullptr); in ParseArgs() local
56 if (opt == -1) break; in ParseArgs()
58 switch (opt) { in ParseArgs()
DCppMain.cpp60 int opt = getopt_long_only(argc, argv, "", long_options, nullptr); in ParseArgs() local
61 if (opt == -1) break; in ParseArgs()
63 switch (opt) { in ParseArgs()
DTypeCheckerMain.cpp56 int opt = getopt_long_only(argc, argv, "", long_options, nullptr); in ParseArgs() local
57 if (opt == -1) break; in ParseArgs()
59 switch (opt) { in ParseArgs()
/system/core/trusty/utils/spiproxyd/
Dmain.c82 int opt; in parse_args() local
83 while ((opt = getopt(argc, argv, "ht:s:p:")) != -1) { in parse_args()
84 switch (opt) { in parse_args()
/system/extras/slideshow/
Dslideshow.cpp89 int opt; in main() local
93 while ((opt = getopt(argc, argv, "t:")) != -1) { in main()
94 switch (opt) { in main()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp247 int opt; in main() local
248 while ((opt = getopt(argc, argv, "s:c:d:?")) != -1) { in main()
251 switch (opt) { in main()
257 cerr << "Invalid cpu specified for -" << (char) opt in main()
270 *((opt == 'c') ? &options.clientCPU : &options.serverCPU) = cpu; in main()
/system/libziparchive/
Dziptool.cpp465 static void HandleCommonOption(int opt) { in HandleCommonOption() argument
466 switch (opt) { in HandleCommonOption()
514 int opt; in main() local
515 while ((opt = getopt_long(argc, argv, "-Dd:hjlnopqtvx", opts, nullptr)) != -1) { in main()
516 switch (opt) { in main()
553 HandleCommonOption(opt); in main()
558 int opt; in main() local
559 while ((opt = getopt_long(argc, argv, "-1hx", opts, nullptr)) != -1) { in main()
560 switch (opt) { in main()
565 HandleCommonOption(opt); in main()
/system/core/trusty/storage/proxy/
Dproxy.c199 int opt; in parse_args() local
202 while ((opt = getopt_long(argc, argv, _sopts, _lopts, &oidx)) != -1) { in parse_args()
203 switch (opt) { in parse_args()
225 ALOGE("unrecognized option (%c):\n", opt); in parse_args()
/system/extras/tests/icachetest/
Dicache_main.cpp53 int opt; in handleCommandLineArgments() local
55 while ((opt = getopt_long(argc, argv, OPTSTR, OPTIONS, &option_index)) >= 0) { in handleCommandLineArgments()
57 switch (opt) { in handleCommandLineArgments()
/system/memory/libmeminfo/tools/
Dprocmem.cpp127 int opt; in main() local
141 while ((opt = getopt(argc, argv, "himpuWw")) != -1) { in main()
142 switch (opt) { in main()
/system/netd/server/
DOffloadUtils.cpp41 static int doSIOCGIF(const std::string& interface, int opt) { in doSIOCGIF() argument
59 if (ioctl(ufd, opt, &ifr, sizeof(ifr))) return -errno; in doSIOCGIF()
61 if (opt == SIOCGIFHWADDR) return ifr.ifr_hwaddr.sa_family; in doSIOCGIF()
62 if (opt == SIOCGIFMTU) return ifr.ifr_mtu; in doSIOCGIF()
/system/bt/test/headless/connect/
Dconnect.cc71 std::string opt = options.front(); in do_connect() local
73 auto v = bluetooth::test::headless::GetOpt::Split(opt); in do_connect()
/system/extras/puncture_fs/
Dpuncture_fs.cpp203 int opt; in main() local
213 while ((opt = getopt(argc, argv, "s:h:t:")) != -1) { in main()
214 switch(opt) { in main()
/system/core/sdcard/
Dsdcard.cpp253 int opt; in main() local
254 while ((opt = getopt(argc, argv, "u:g:U:mwGio")) != -1) { in main()
255 switch (opt) { in main()
282 LOG(ERROR) << "Unknown option: '" << opt << "'"; in main()
/system/connectivity/wificond/
Druntests.sh30 MODULES-IN-frameworks-opt-net-wifi-libwifi_system
/system/core/libnetutils/
Ddhcpclient.c167 unsigned int opt; in decode_dhcp_msg() local
183 opt = *x++; in decode_dhcp_msg()
184 if (opt == OPT_PAD) { in decode_dhcp_msg()
188 if (opt == OPT_END) { in decode_dhcp_msg()
196 switch(opt) { in decode_dhcp_msg()
/system/sepolicy/public/
Dephemeral_app.te9 ### applications may also opt-in to ephemeral to take advantage of the
/system/sepolicy/prebuilts/api/30.0/public/
Dephemeral_app.te9 ### applications may also opt-in to ephemeral to take advantage of the
/system/sepolicy/prebuilts/api/26.0/public/
Dephemeral_app.te9 ### applications may also opt-in to ephemeral to take advantage of the
/system/sepolicy/prebuilts/api/28.0/public/
Dephemeral_app.te9 ### applications may also opt-in to ephemeral to take advantage of the

123