Home
last modified time | relevance | path

Searched refs:Arg (Results 1 – 25 of 28) sorted by relevance

12

/build/make/tools/aconfig/aconfig/src/
Dmain.rs20 use clap::{builder::ArgAction, builder::EnumValueParser, Arg, ArgMatches, Command};
51 .arg(Arg::new("package").long("package").required(true)) in cli()
53 .arg(Arg::new("container").long("container")) in cli()
54 .arg(Arg::new("declarations").long("declarations").action(ArgAction::Append)) in cli()
55 .arg(Arg::new("values").long("values").action(ArgAction::Append)) in cli()
57 Arg::new("default-permission") in cli()
64 .arg(Arg::new("cache").long("cache").required(true)), in cli()
68 .arg(Arg::new("cache").long("cache").required(true)) in cli()
69 .arg(Arg::new("out").long("out").required(true)) in cli()
71 Arg::new("mode") in cli()
[all …]
/build/make/tools/aconfig/aconfig_storage_file/src/
Dmain.rs24 use clap::{builder::ArgAction, Arg, Command};
31 .arg(Arg::new("file").long("file").required(true).action(ArgAction::Set)) in cli()
33 Arg::new("type") in cli()
42 Arg::new("package-map") in cli()
47 .arg(Arg::new("flag-map").long("flag-map").required(true).action(ArgAction::Set)) in cli()
48 .arg(Arg::new("flag-val").long("flag-val").required(true).action(ArgAction::Set)) in cli()
50 Arg::new("flag-info").long("flag-info").required(false).action(ArgAction::Set), in cli()
/build/soong/cmd/diff_target_files/
Ddiff_target_files.go56 priZip, err := NewLocalZipArtifact(flag.Arg(0))
58 fmt.Fprintf(os.Stderr, "Error opening zip file %v: %v\n", flag.Arg(0), err)
63 refZip, err := NewLocalZipArtifact(flag.Arg(1))
65 fmt.Fprintf(os.Stderr, "Error opening zip file %v: %v\n", flag.Arg(1), err)
/build/soong/cmd/dep_fixer/
Dmain.go68 if *output == "" || *output == flag.Arg(0) {
70 err := ioutil.WriteFile(flag.Arg(0), new, 0666)
/build/soong/androidmk/cmd/
Dandroidmk.go40 filePathToRead := flag.Arg(0)
/build/soong/partner/androidmk/
Dandroidmk.go42 filePathToRead := flag.Arg(0)
/build/bazel/mkcompare/cmd/
Dmkcompare.go231 chRef := goParse(flag.Arg(0))
232 chNew := goParse(flag.Arg(1))
240 refMkFile.Path = flag.Arg(0)
241 newMkFile.Path = flag.Arg(1)
/build/soong/cmd/extract_linker/
Dmain.go40 f, err := os.Open(flag.Arg(0))
42 log.Fatalf("Error opening %q: %v", flag.Arg(0), err)
/build/soong/ui/tracer/
Dtracer.go81 Arg interface{} `json:"args,omitempty"` member
199 Arg: &nameArg{
294 Arg: countersMarshaller(counters),
Dstatus.go103 Arg: &statsArg{
/build/blueprint/gotestrunner/
Dgotestrunner.go58 test, err := filepath.Abs(flag.Arg(0))
/build/bazel/mkcompare/elfdiff/
Delfdiff.go47 elfRef := elfRead(flag.Arg(0))
48 elfOur := elfRead(flag.Arg(1))
/build/soong/cmd/run_with_timeout/
Drun_with_timeout.go54 err := runWithTimeout(flag.Arg(0), flag.Args()[1:], *timeout, *onTimeoutCmd,
/build/soong/bpfix/cmd_lib/
Dbpfix.go149 path := flag.Arg(i)
/build/blueprint/bpfmt/
Dbpfmt.go154 path := flag.Arg(i)
/build/bazel/compliance/cmd/bazel_notice_gen/
Dbazel_notice_gen.go145 inputFile = flag.Arg(0)
/build/soong/cmd/symbols_map/
Dsymbols_map.go110 output := flags.Arg(0)
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go72 usage("unrecognized argument " + flag.Arg(0))
/build/soong/cmd/release_config/build_flag/
Dmain.go388 if cmd, ok := commandMap[flag.Arg(0)]; ok {
/build/soong/android/
Dmodule.go2174 if ty, ok := ctx.Config().productVariables.BuildFlagTypes[condition.Arg(0)]; ok {
2175 v := ctx.Config().productVariables.BuildFlags[condition.Arg(0)]
2193 variable := condition.Arg(0)
2207 namespace := condition.Arg(0)
2208 variable := condition.Arg(1)
/build/soong/cmd/extract_apks/
Dmain.go610 apkSet, err := newApkSet(flag.Arg(0))
/build/soong/cmd/pom2mk/
Dpom2mk.go415 dir := flag.Arg(0)
/build/blueprint/bpmodify/
Dbpmodify.go386 path := flag.Arg(i)
/build/soong/cmd/soong_ui/
Dmain.go325 varName := flags.Arg(0)
/build/blueprint/proptools/
Dconfigurable.go95 func (c ConfigurableCondition) Arg(i int) string { func

12