Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 74) sorted by relevance

123

/device/google/gs-common/insmod/4k/
Dinsmod.sh63 while IFS="|" read -r action arg
66 "insmod") insmod $arg ;;
67 "setprop") setprop $arg 1 ;;
68 "enable") echo 1 > $arg ;;
70 prop=$(echo $arg | cut -d '|' -f 1)
71 module1=$(echo $arg | cut -d '|' -f 2)
72 module2=$(echo $arg | cut -d '|' -f 3)
81 case ${arg} in
84 arg="-b --all=${system_modules_dir}/modules.load" ;;
87 arg="--all=${system_modules_dir}/modules.load" ;;
[all …]
/device/google/gs-common/insmod/16k/
Dinsmod.sh80 while IFS="|" read -r action arg
83 "insmod") insmod $arg ;;
84 "setprop") setprop $arg 1 ;;
85 "enable") echo 1 > $arg ;;
87 prop=$(echo $arg | cut -d '|' -f 1)
88 module1=$(echo $arg | cut -d '|' -f 2)
89 module2=$(echo $arg | cut -d '|' -f 3)
98 case ${arg} in
101 arg="-b --all=${system_modules_dir}/modules.load" ;;
104 arg="--all=${system_modules_dir}/modules.load" ;;
[all …]
/device/google/sunfish/
Dinit.insmod.sh31 while IFS="|" read -r action arg
34 "insmod") insmod $arg ;;
35 "setprop") setprop $arg 1 ;;
36 "enable") echo 1 > $arg ;;
38 case ${arg} in
40 arg="-b $(cat /vendor/lib/modules/modules.load)" ;;
42 arg="$(cat /vendor/lib/modules/modules.load)" ;;
44 modprobe -a -d /vendor/lib/modules $arg ;;
45 "wait") wait_for_file $arg ;;
/device/google/redbull/
Dinit.insmod.sh31 while IFS="|" read -r action arg
34 "insmod") insmod $arg ;;
35 "setprop") setprop $arg 1 ;;
36 "enable") echo 1 > $arg ;;
38 case ${arg} in
40 arg="-b $(cat /vendor/lib/modules/modules.load)" ;;
42 arg="$(cat /vendor/lib/modules/modules.load)" ;;
44 modprobe -a -d /vendor/lib/modules $arg ;;
45 "wait") wait_for_file $arg ;;
/device/google/coral/
Dinit.insmod.sh31 while IFS="|" read -r action arg
34 "insmod") insmod $arg ;;
35 "setprop") setprop $arg 1 ;;
36 "enable") echo 1 > $arg ;;
38 case ${arg} in
40 arg="-b $(cat /vendor/lib/modules/modules.load)" ;;
42 arg="$(cat /vendor/lib/modules/modules.load)" ;;
44 modprobe -a -d /vendor/lib/modules $arg ;;
45 "wait") wait_for_file $arg ;;
/device/generic/opengl-transport/host/commands/emugen/
Dgetopt.c20 const char* arg = argv[optind]; in getopt() local
21 if (arg[0] != '-') { in getopt()
25 if (arg[1] == '-' && !arg[2]) { in getopt()
29 if (!arg[1]) { in getopt()
36 place = arg + 1; in getopt()
38 optopt = arg[1]; in getopt()
39 place = arg + 2; in getopt()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs271 let arg = format!("--variable={}", variable); in get_variable() localVariable
273 let out = run(cfg.command(package, &[&arg]))?; in get_variable()
337 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Config { in arg() method
338 self.extra_args.push(arg.as_ref().to_os_string()); in arg()
483 cmd.arg("--static"); in command()
502 cmd.arg(name); in command()
505 cmd.arg(&format!("{} >= {}", name, version)); in command()
508 cmd.arg(&format!("{} > {}", name, version)); in command()
514 cmd.arg(&format!("{} <= {}", name, version)); in command()
517 cmd.arg(&format!("{} < {}", name, version)); in command()
[all …]
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.cpp344 for (const auto& arg : android::base::Split(casimir_args, " ")) { in set_casimir_args() local
345 if (!arg.empty()) { in set_casimir_args()
346 args_json_obj.append(arg); in set_casimir_args()
353 for (const Json::Value& arg : (*dictionary_)[kCasimirArgs]) { in casimir_args()
354 casimir_args.push_back(arg.asString()); in casimir_args()
411 for (const auto& arg : android::base::Tokenize(netsim_args, " ")) { in set_netsim_args() local
412 args_json_obj.append(arg); in set_netsim_args()
418 for (const Json::Value& arg : (*dictionary_)[kNetsimArgs]) { in netsim_args()
419 netsim_args.push_back(arg.asString()); in netsim_args()
473 for (const auto& arg : android::base::Split(extra_cmdline, " ")) { in set_extra_kernel_cmdline() local
[all …]
/device/google/cuttlefish/common/libs/utils/
Dflag_parser.cpp150 const std::string& arg, const std::optional<std::string>& next_arg) const { in Process() argument
152 auto normalized_arg = StringReplace(arg, "-", "_", true); in Process()
164 CF_EXPECTF((*setter_)({arg, ""}), "Processing \"{}\" failed", arg); in Process()
167 CF_EXPECTF((*setter_)({arg, *next_arg}), in Process()
168 "Processing \"{}\" \"{}\" failed", arg, *next_arg); in Process()
175 arg); in Process()
176 CF_EXPECTF((*setter_)({arg, *next_arg}), in Process()
177 "Processing \"{}\" \"{}\" failed", arg, *next_arg); in Process()
183 CF_EXPECTF((*setter_)({arg, arg}), "Processing \"{}\" failed", arg); in Process()
189 CF_EXPECTF((*setter_)({alias.name, arg.substr(alias.name.size())}), in Process()
[all …]
Dresult_matchers.h28 auto& result = arg;
38 auto& result = arg;
47 auto& result = arg;
56 auto& result = arg;
/device/sample/apps/tv/SetupCustomizationSample/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/device/sample/apps/tv/SetupValidation/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/device/linaro/poplar/wifi/wifi_hal/
Dcpp_bindings.cpp595 static int no_seq_check(struct nl_msg *msg, void *arg) in no_seq_check() argument
693 int WifiCommand::response_handler(struct nl_msg *msg, void *arg) { in response_handler() argument
695 WifiCommand *cmd = (WifiCommand *)arg; in response_handler()
707 int WifiCommand::event_handler(struct nl_msg *msg, void *arg) { in event_handler() argument
708 WifiCommand *cmd = (WifiCommand *)arg; in event_handler()
723 int WifiCommand::valid_handler(struct nl_msg *msg, void *arg) { in valid_handler() argument
725 int *err = (int *)arg; in valid_handler()
730 int WifiCommand::ack_handler(struct nl_msg *msg, void *arg) { in ack_handler() argument
732 int *err = (int *)arg; in ack_handler()
737 int WifiCommand::finish_handler(struct nl_msg *msg, void *arg) { in finish_handler() argument
[all …]
Dcommon.cpp70 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler() argument
84 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
86 arg, func, cmd, info->num_event_cb); in wifi_register_handler()
96 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument
110 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_vendor_handler()
112 arg, func, id, subcmd, info->num_event_cb); in wifi_register_vendor_handler()
Dcpp_bindings.h349 static int response_handler(struct nl_msg *msg, void *arg);
351 static int event_handler(struct nl_msg *msg, void *arg);
354 static int valid_handler(struct nl_msg *msg, void *arg);
356 static int ack_handler(struct nl_msg *msg, void *arg);
358 static int finish_handler(struct nl_msg *msg, void *arg);
360 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg);
/device/google/trout/tools/
Dbpttool116 def ParseNumber(arg): argument
136 if isinstance(arg, numbers.Integral):
137 return arg
138 return int(arg, 0)
141 def ParseGuid(arg): argument
153 return str(uuid.UUID(arg))
156 def ParseSize(arg): argument
170 if isinstance(arg, numbers.Integral):
171 return arg
173 ws_index = arg.find(' ')
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs212 .arg("--crate-name") in probe()
213 .arg(format!("probe{}", id)) in probe()
214 .arg("--crate-type=lib") in probe()
215 .arg("--out-dir") in probe()
216 .arg(&self.out_dir) in probe()
217 .arg("--emit=llvm-ir"); in probe()
220 command.arg("--target").arg(target); in probe()
225 command.arg("-").stdin(Stdio::piped()); in probe()
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c366 int halCmd(uint8_t cmd, char *arg) in halCmd() argument
369 char *endptr = arg + strlen(arg); in halCmd()
371 if (strcmp(arg, UNINSTALL_CMD) == 0) { in halCmd()
372 printf("%s is not a valid app name\n", arg); in halCmd()
376 if ((findAppIdByName(arg, &appId) == 1) || (appId = strtoull(arg, &endptr, 16)) > 0) { in halCmd()
378 printf("Couldn't find nanoapp '%s' in napp_list.cfg\n", arg); in halCmd()
396 printf("Couldn't find nanoapp '%s' in napp_list.cfg\n", arg); in halCmd()
/device/sample/apps/tv/SetupCustomizationSample/
Dgradlew128 for arg in "$@" ; do
129 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
133 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
135 eval `echo args$i`="\"$arg\""
/device/sample/apps/tv/SetupValidation/
Dgradlew128 for arg in "$@" ; do
129 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
133 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
135 eval `echo args$i`="\"$arg\""
/device/google/cuttlefish/shared/minidroid/sample/
Dclient.rs29 std::env::args().nth(1).and_then(|arg| arg.parse::<u32>().ok()).expect("invalid CID"); in main()
31 std::env::args().nth(2).and_then(|arg| arg.parse::<u32>().ok()).expect("invalid port"); in main()
/device/google/cuttlefish/host/commands/append_squashfs_overlay/src/
Dmain.rs76 .arg(Arg::new("src").value_parser(ValueParser::path_buf()).required(true)) in clap_command()
77 .arg(Arg::new("overlay").value_parser(ValueParser::path_buf()).required(true)) in clap_command()
78 .arg(Arg::new("dest").value_parser(ValueParser::path_buf()).required(true)) in clap_command()
79 .arg( in clap_command()
/device/google/cuttlefish_vmm/
Drebuild-docker.sh91 --build-arg USER=${_user} \
92 --build-arg UID=${_uid} --load
103 --build-arg USER=${_user} \
104 --build-arg UID=${_uid}
/device/google/cuttlefish/common/libs/net/
Dnetlink_request_test.cpp71 if (offset + length != arg.RequestLength()) {
73 << arg.RequestLength() - offset << " vs " << length;
81 const uint8_t* act_data = static_cast<const uint8_t*>(arg.RequestData());
88 nlmsghdr* header = static_cast<nlmsghdr*>(arg.RequestData());
89 if (arg.RequestLength() < sizeof(header)) {
/device/google/cuttlefish/host/commands/run_cvd/
Dserver_loop_impl_snapshot.cpp213 for (const auto& arg : openwrt_crosvm_command_args) { in TakeCrosvmGuestSnapshot() local
214 LOG(DEBUG) << arg << " "; in TakeCrosvmGuestSnapshot()
229 for (const auto& arg : crosvm_command_args) { in TakeCrosvmGuestSnapshot() local
230 LOG(DEBUG) << arg << " "; in TakeCrosvmGuestSnapshot()

123