Home
last modified time | relevance | path

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

12345

/build/bazel/
Dlib.sh33 arg=$1
35 if echo "$BAZEL_COMMAND_LIST" | "grep" -ws -e "$arg"; then
57 for arg in $@; do
58 bazel_args_with_config+=("$arg ")
59 arg_is_command=$(is_command $arg)
/build/bazel/json_module_graph/
Dquery.sh23 while getopts "C" arg; do
24 case "$arg" in
54 jq $JQARGS -L "$LIBDIR" -f "$LIBDIR/$COMMAND".jq "$GRAPH" --arg arg "$ARG" --arg arg2 "$ARG2"
DreverseDeps.jq1 # CMD: Returns the modules containing $arg as a dependency
5 reverseDeps($arg)
DmodulesOfType.jq1 # CMD: Returns the names of modules of type $arg
5 modulesOfType($arg)
DfullTransitiveModuleTypeDeps.jq1 # CMD: Returns all modules of type $arg and all modules in their transitive closure.
5 fullTransitiveDeps(modulesOfType($arg))
DfullTransitiveDeps.jq1 # CMD: Returns the modules in the transitive closure of module(s) $arg, splits on ","
5 fullTransitiveDeps($arg | split(","))
Dproperties.jq1 # CMD: Returns the names of properties used by $arg
4 select (.Name == $arg) |
DdirectDeps.jq1 # CMD: Returns the names of the direct dependencies of the module named $arg
5 [.[] | select(.Name == $arg) | .Deps | map(.Name)] | flatten | unique | sort
DtransitiveDeps.jq1 # CMD: Returns the names of the transitive dependencies of the module(s) $arg, splits on ","
6 ($arg | split(",")) |
DfilterSubtree.jq1 # CMD: Returns modules defined under the directory $arg
11 [.[] | select(isBlueprintPrefix($arg))]
DfindModulesWithSrcType.jq1 # CMD: Finds all modules whose input files contain the specific file type $arg.
8 [.[] | select(nonNullAction) | select(isActionInputMatch($arg)) | .Name] | sort_by(.) | unique
DfindModulesWithProperty.jq1 # CMD: Returns the modules of type $arg that have property $arg2
10 select(.Type == $arg) |
DmoduleTypeStats.jq5 def moduleTypeStats($arg):
15 moduleTypeStats($arg)
DprintModule.jq1 # CMD: Prints the module named $arg in a slightly more concise way
15 printModule($arg)
/build/make/tools/product_config/src/com/android/build/config/
DOptions.java113 final String arg = mArgs[mIndex]; in parse() local
115 if ("--ckati_bin".equals(arg)) { in parse()
116 mResult.mCKatiBin = requireNextStringArg(arg); in parse()
117 } else if ("--hide".equals(arg)) { in parse()
118 handleErrorCode(arg, Errors.Level.HIDDEN); in parse()
119 } else if ("--error".equals(arg)) { in parse()
120 handleErrorCode(arg, Errors.Level.ERROR); in parse()
121 } else if ("--help".equals(arg) || "-h".equals(arg)) { in parse()
128 } else if ("--warning".equals(arg)) { in parse()
129 handleErrorCode(arg, Errors.Level.WARNING); in parse()
[all …]
/build/make/tools/aconfig/aconfig/src/
Dmain.rs51 .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()
56 .arg( 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()
70 .arg( in cli()
79 .arg(Arg::new("cache").long("cache").required(true)) in cli()
[all …]
/build/bazel/scripts/difftool/
Dcommands.py154 for arg in arglist:
155 if len(arg) > 4 and arg[-4:] == ".rsp":
156 if arg[0] == "@":
157 arg = arg[1:]
158 with open(arg) as f:
161 expanded_command.append(arg)
165 def should_ignore_path_argument(arg) -> bool: argument
166 if arg.startswith("bazel-out"):
168 if arg.startswith("out/soong/.intermediates"):
178 for arg in args:
[all …]
/build/make/tools/droiddoc/test/generics/src/com/android/generics/
DFooBar.java33 public K bar(K arg) { in bar() argument
37 public FooBar<K,? extends Foo,L> a(K arg) { in a() argument
41 public FooBar<V,K,L> b(Bar<? extends K> arg) { in b() argument
45 public <L extends C & Iface> void f(L arg) { in f() argument
/build/make/tools/
Dfindleaves.py93 arg = argv[i]
94 if arg.startswith("--mindepth="):
96 mindepth = int(arg[len("--mindepth="):])
99 elif arg.startswith("--prune="):
100 p = arg[len("--prune="):]
104 elif arg.startswith("--dir="):
105 d = arg[len("--dir="):]
Djava-event-log-tags.py144 args = [arg.strip("() ").split("|") for arg in t.description.split(",")]
147 argTypesNames = ", ".join([javaTypes[int(arg[1])] + " " + javaName(arg[0]) for arg in args])
148 argNames = "".join([", " + javaName(arg[0]) for arg in args])
/build/soong/cmd/dep_fixer/
Dmain.go47 for i, arg := range flag.Args() {
48 input, err := ioutil.ReadFile(arg)
50 log.Fatalf("Error opening %q: %v", arg, err)
53 deps, err := makedeps.Parse(arg, bytes.NewBuffer(append([]byte(nil), input...)))
/build/make/tools/aconfig/aconfig_storage_file/src/
Dmain.rs31 .arg(Arg::new("file").long("file").required(true).action(ArgAction::Set)) in cli()
32 .arg( in cli()
41 .arg( 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()
49 .arg( in cli()
/build/soong/scripts/
Dgen-kotlin-build-file.py28 for arg in arg_line.split():
29 if arg.startswith('#'):
31 if not arg.strip():
33 yield arg
/build/soong/cmd/release_config/build_flag/
Dmain.go129 for _, arg := range relFlags.Args() {
131 config, err := configs.GetReleaseConfig(arg)
175 for _, arg := range args {
176 maxVariableNameLen = max(len(arg), maxVariableNameLen)
201 for _, arg := range args {
202 if _, ok := configs.FlagArtifacts[arg]; !ok {
203 return fmt.Errorf("%s is not a defined build flag", arg)
207 for _, arg := range args {
219 defaultValue, err := MarshalFlagDefaultValue(config, arg)
223 outputOneLine(arg, "<default>", defaultValue, valueFormat)
[all …]
/build/soong/ui/build/
Dconfig.go687 for _, arg := range args {
689 if strings.IndexRune(arg, '-') == 0 || strings.IndexRune(arg, '=') != -1 {
690 newArgs = append(newArgs, arg)
694 if _, ok := specialArgs[arg]; ok {
695 newArgs = append(newArgs, arg)
699 dirs = append(dirs, arg)
756 arg := strings.TrimSpace(args[i])
757 if arg == "showcommands" {
759 } else if arg == "--empty-ninja-file" {
761 } else if arg == "--skip-ninja" {
[all …]

12345