Home
last modified time | relevance | path

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

12

/development/tools/cargo_embargo/src/cargo/
Dcargo_out.rs245 .map(|arg| match (arg.chars().next(), arg.chars().skip(1).last()) { in from_rustc_invocation()
246 (Some('"'), Some('"')) => &arg[1..arg.len() - 1], in from_rustc_invocation()
247 (Some('\''), Some('\'')) => &arg[1..arg.len() - 1], in from_rustc_invocation()
250 _ => arg, in from_rustc_invocation()
253 while let Some(arg) = arg_iter.next() { in from_rustc_invocation()
254 match arg { in from_rustc_invocation()
263 let arg = arg_iter.next().unwrap(); in from_rustc_invocation() localVariable
265 arg.strip_prefix("feature=\"").and_then(|s| s.strip_suffix('\"')) in from_rustc_invocation()
269 out.cfgs.push(arg.to_string()); in from_rustc_invocation()
275 let arg = arg_iter.next().unwrap(); in from_rustc_invocation() localVariable
[all …]
/development/python-packages/fastboot/
Ddevice.py190 if os.name != 'nt' or all(not isinstance(arg, unicode) for arg in args[0]):
193 def escape_arg(arg): argument
196 arg = subprocess.list2cmdline([arg])
199 arg = arg.replace(u"'", u"''")
201 arg = u"'" + arg + u"'"
202 return arg
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java72 for (String arg : args) { in run()
73 if (arg.equals("--help") || arg.equals("-h")) { in run()
76 } else if (arg.equals("-q") || arg.equals("--quiet") || arg.equals("--silent")) { in run()
78 } else if (arg.equals("-v") || arg.equals("--verbose")) { in run()
80 } else if (arg.equals("-n") || arg.equals("--dry-run")) { in run()
82 } else if (arg.startsWith("-")) { in run()
83 System.err.println("Unknown argument " + arg); in run()
89 File file = new File(arg); in run()
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java146 for (String arg : args) { in processArgs()
147 if (arg.startsWith("--")) { in processArgs()
148 if (arg.startsWith("--v")) { in processArgs()
150 } else if (arg.startsWith("--s")) { in processArgs()
152 } else if (arg.startsWith("--h")) { in processArgs()
155 usage("Unknown argument: " + arg); in processArgs()
158 p.setInputJarPath(arg); in processArgs()
160 p.setOutputJarPath(arg); in processArgs()
162 addString(p, arg); in processArgs()
/development/tools/winscope/src/parsers/perfetto/
Dfake_proto_builder_test.ts131 args.forEach((arg) => {
133 arg.key,
134 arg.value_type,
135 arg.int_value,
136 arg.real_value,
137 arg.string_value,
/development/scripts/
Dcargo2rulesmk.py299 arg = args[i]
300 if arg == "--crate-name":
303 elif arg == "--crate-type":
309 elif arg == "--test":
311 elif arg == "--target":
314 elif arg == "--cfg":
322 elif arg == "--extern":
325 elif arg == "-C": # codegen options
328 elif arg.startswith("-C"):
331 self.add_codegens_flag(arg[2:])
[all …]
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/development/tools/checkcolor/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/development/samples/training/testingfun/
Dgradlew132 for arg in "$@" ; do
133 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
139 eval `echo args$i`="\"$arg\""
/development/samples/NsdManagerSample/
Dgradlew150 for arg in "$@" ; do
151 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
152 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
155 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
157 eval `echo args$i`="\"$arg\""
/development/apps/ShareTest/
Dgradlew150 for arg in "$@" ; do
151 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
152 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
155 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
157 eval `echo args$i`="\"$arg\""
/development/samples/PictureInPicture/ComposePip/
Dgradlew150 for arg in "$@" ; do
151 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
152 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
155 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
157 eval `echo args$i`="\"$arg\""
/development/tools/external_crates/crate_health/src/
Dmain.rs29 #[arg(long, default_value_os_t=default_repo_root().unwrap_or(PathBuf::from(".")))]
33 #[arg(long, default_value_t = false)]
237 .arg(pair.source.path().rel()) in main()
238 .arg(pair.dest.staging_path().rel()) in main()
252 .arg(pair.source.path().rel()) in main()
253 .arg(pair.dest.staging_path().rel()) in main()
Dlib.rs102 Command::new("cp").arg("--archive").arg(src.as_ref()).arg(dst.as_ref()).output()?; in copy_dir()
/development/tools/mkstubs/tests/data/
DTestBaseClass.java31 public TestBaseClass(String arg) { in TestBaseClass() argument
32 mArg = arg; in TestBaseClass()
DTestInnerClass.java40 public TestInnerClass(String arg) { in TestInnerClass() argument
41 mArg = arg; in TestInnerClass()
/development/samples/training/testingfun/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/samples/devbytes/telephony/SmsSampleProject/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/tools/checkcolor/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/tools/external_crates/crate_health/src/bin/
Dmigration_report.rs29 #[arg(long, default_value_os_t=default_repo_root().unwrap_or(PathBuf::from(".")))]
33 #[arg(long, default_value_os_t=default_output_dir("crate-migration-report.html"))]
Dhealth_report.rs29 #[arg(long, default_value_os_t=default_repo_root().unwrap_or(PathBuf::from(".")))]
33 #[arg(long, default_value_os_t=default_output_dir("crate-health-report.html"))]
/development/samples/NsdManagerSample/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/apps/ShareTest/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/samples/PictureInPicture/ComposePip/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/vndk/tools/header-checker/src/utils/
Dsource_path_utils.cpp69 for (const std::string_view arg : args) { in ParseRootDirs() local
72 size_t colon_index = arg.find(":"); in ParseRootDirs()
74 path = arg.substr(0, colon_index); in ParseRootDirs()
75 replacement = arg.substr(colon_index + 1); in ParseRootDirs()
77 path = arg; in ParseRootDirs()

12