Home
last modified time | relevance | path

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

123

/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt654 fun fromArgument(arg: String): StrictInputFileMode { in <lambda>()
655 return when (arg) { in <lambda>()
733 when (val arg = args[index]) { in <lambda>() variable in com.android.tools.metalava.Options
765 … "$arg should point to a source root directory, not a source file ($path)" in <lambda>()
847 unimplemented(arg) in <lambda>()
935 val builder = getBaselineBuilderForArg(arg) in <lambda>()
949 val builder = getBaselineBuilderForArg(arg) in <lambda>()
950 builder.merge = (arg == ARG_MERGE_BASELINE) in <lambda>()
1056 arg in <lambda>()
1061 arg in <lambda>()
[all …]
DCommandArgsPreprocessor.kt54 modifiedArgs.forEach { arg -> in <lambda>() method
55 when (arg) { in <lambda>()
118 args.forEach { arg -> in dumpArgv() method
119 out.println(" argv[${i++}]: $arg") in dumpArgv()
122 if (fullDump && arg.startsWith("@")) { in dumpArgv()
123 val file = arg.substring(1) in dumpArgv()
DPackageFilter.kt44 for (arg in path.split(File.pathSeparatorChar)) { in addPackages() method
45 val treatAsPositiveMatch = !arg.startsWith("-") in addPackages()
46 val pkg = arg.removePrefix("-").removePrefix("+") in addPackages()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiGenerator.java44 String arg = args[i]; in main() local
46 if (arg.equals("--pattern")) { in main()
51 System.err.println("Missing argument after " + arg); in main()
54 } else if (arg.equals("--current-version")) { in main()
63 System.err.println("Missing number >= 1 after " + arg); in main()
66 } else if (arg.equals("--current-codename")) { in main()
71 System.err.println("Missing codename after " + arg); in main()
74 } else if (arg.equals("--current-jar")) { in main()
84 System.err.println("Missing argument after " + arg); in main()
87 } else if (arg.equals("--min-api")) { in main()
[all …]
/tools/asuite/atest-py2/test_runners/
Datest_tf_test_runner.py351 for arg in extra_args:
352 if constants.WAIT_FOR_DEBUGGER == arg:
355 if constants.DISABLE_INSTALL == arg:
358 if constants.SERIAL == arg:
360 args_to_append.append(extra_args[arg])
362 if constants.SHARDING == arg:
364 args_to_append.append(str(extra_args[arg]))
366 if constants.DISABLE_TEARDOWN == arg:
369 if constants.HOST == arg:
374 if constants.CUSTOM_ARGS == arg:
[all …]
Dsuite_plan_test_runner.py87 for arg in extra_args:
88 if constants.SERIAL == arg:
90 args_to_append.append(extra_args[arg])
92 if constants.CUSTOM_ARGS == arg:
93 args_to_append.extend(extra_args[arg])
95 if constants.DRY_RUN == arg:
97 args_not_supported.append(arg)
Dvts_tf_test_runner.py92 for arg in extra_args:
93 if constants.SERIAL == arg:
95 args_to_append.append(extra_args[arg])
97 if constants.CUSTOM_ARGS == arg:
98 args_to_append.extend(extra_args[arg])
100 if constants.DRY_RUN == arg:
102 args_not_supported.append(arg)
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java198 final String arg = args.next(); in parseOptions() local
199 if (arg.equals(OPTION_NAME_PREFIX)) { in parseOptions()
202 } else if (arg.startsWith(OPTION_NAME_PREFIX)) { in parseOptions()
204 parseLongOption(arg, args); in parseOptions()
205 } else if (arg.startsWith(SHORT_NAME_PREFIX)) { in parseOptions()
207 parseGroupedShortOptions(arg, args); in parseOptions()
210 leftovers.add(arg); in parseOptions()
222 private void parseLongOption(String arg, ListIterator<String> args) in parseLongOption() argument
225 String name = arg.replaceFirst("^" + OPTION_NAME_PREFIX, ""); in parseLongOption()
260 private void parseGroupedShortOptions(String arg, ListIterator<String> args) in parseGroupedShortOptions() argument
[all …]
/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner.py107 for arg in extra_args:
108 if constants.SERIAL == arg:
110 args_to_append.append(extra_args[arg])
112 if constants.CUSTOM_ARGS == arg:
113 args_to_append.extend(extra_args[arg])
115 if constants.INVOCATION_ID == arg:
117 % extra_args[arg])
118 if constants.WORKUNIT_ID == arg:
120 % extra_args[arg])
121 if arg in (constants.DRY_RUN,
[all …]
Dvts_tf_test_runner.py91 for arg in extra_args:
92 if constants.SERIAL == arg:
94 args_to_append.append(extra_args[arg])
96 if constants.CUSTOM_ARGS == arg:
97 args_to_append.extend(extra_args[arg])
99 if constants.DRY_RUN == arg:
101 args_not_supported.append(arg)
Datest_tf_test_runner.py801 extracted_options = ['{} {}'.format(arg, extra_args[arg])
802 for arg in extra_args
803 if arg in self._RERUN_OPTION_GROUP]
1049 for arg in extra_args:
1050 if arg in supported_tf_args:
1051 tf_args = supported_tf_args[arg](extra_args[arg], mod_info,
1057 if arg in (constants.TF_TEMPLATE,
1070 unsupported_args.append(arg)
/tools/dexter/slicer/
Ddex_bytecode.cc254 dec.arg[4] = InstA(inst); in DecodeInstruction()
257 dec.arg[3] = (regList >> 12) & 0x0f; in DecodeInstruction()
260 dec.arg[2] = (regList >> 8) & 0x0f; in DecodeInstruction()
263 dec.arg[1] = (regList >> 4) & 0x0f; in DecodeInstruction()
266 dec.vC = dec.arg[0] = regList & 0x0f; in DecodeInstruction()
288 dec.arg[0] = (regList >> 4) & 0xf; // vD in DecodeInstruction()
289 dec.arg[1] = (regList >> 8) & 0xf; // vE in DecodeInstruction()
290 dec.arg[2] = (regList >> 12); // vF in DecodeInstruction()
291 dec.arg[3] = InstA(inst); // vG in DecodeInstruction()
292 dec.arg[4] = bytecode[3]; // vH proto@HHHH in DecodeInstruction()
[all …]
Dreader.cc476 dex::u1 arg = header >> dex::kEncodedValueArgShift; in ParseEncodedValue() local
482 ir_encoded_value->u.byte_value = ParseIntValue<int8_t>(pptr, arg + 1); in ParseEncodedValue()
486 ir_encoded_value->u.short_value = ParseIntValue<int16_t>(pptr, arg + 1); in ParseEncodedValue()
490 ir_encoded_value->u.char_value = ParseIntValue<uint16_t>(pptr, arg + 1); in ParseEncodedValue()
494 ir_encoded_value->u.int_value = ParseIntValue<int32_t>(pptr, arg + 1); in ParseEncodedValue()
498 ir_encoded_value->u.long_value = ParseIntValue<int64_t>(pptr, arg + 1); in ParseEncodedValue()
502 ir_encoded_value->u.float_value = ParseFloatValue<float>(pptr, arg + 1); in ParseEncodedValue()
506 ir_encoded_value->u.double_value = ParseFloatValue<double>(pptr, arg + 1); in ParseEncodedValue()
510 dex::u4 index = ParseIntValue<dex::u4>(pptr, arg + 1); in ParseEncodedValue()
515 dex::u4 index = ParseIntValue<dex::u4>(pptr, arg + 1); in ParseEncodedValue()
[all …]
/tools/ndkports/
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\""
/tools/asuite/asuite_plugin/
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\""
/tools/trebuchet/
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\""
/tools/metalava/
Dgradlew141 for arg in "$@" ; do
142 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
143 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
146 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
148 eval `echo args$i`="\"$arg\""
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/
Dandroid_api.py59 for arg in args:
60 if isinstance(arg, AndroidDevice):
61 return arg.sdk_api_level()
/tools/security/remote_provisioning/cert_validator/src/
Dbcc_main.rs14 .arg(Arg::with_name("dump").long("dump")) in main()
15 .arg(Arg::with_name("chain")), in main()
19 .arg(Arg::with_name("certs").multiple(true).min_values(1)), in main()
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/
DAdHocPortTask.kt25 fun arg(arg: String) = cmd.add(arg) in arg() method in com.android.ndkports.RunBuilder
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt952 val arg = suffix.substring(argBegin, index - 1).trim() in expandArgumentList() constant
953 val space = arg.indexOf(' ') in expandArgumentList()
957 arg in expandArgumentList()
959 if (space < arg.length - 1 && !arg[space + 1].isJavaIdentifierStart()) { in expandArgumentList()
961 arg in expandArgumentList()
964 arg.substring(0, space) in expandArgumentList()
967 var insert = arg in expandArgumentList()
/tools/asuite/atest/
Dbazel_mode.py1167 for arg in _SUPPORTED_BAZEL_ARGS:
1168 if arg not in extra_args_copy:
1171 self.map_to_bazel_args(arg, extra_args_copy[arg]))
1174 del extra_args_copy[arg]
1189 def map_to_bazel_args(arg: str, arg_value: Any) -> List[str]:
1190 return _SUPPORTED_BAZEL_ARGS[arg](
1191 arg_value) if arg in _SUPPORTED_BAZEL_ARGS else []
/tools/trebuchet/trebuchet/user-switch-analyzer/src/
DUserSwitchAnalyzer.kt101 var arg = args[nextArg++] in main() variable
103 when (arg) { in main()
/tools/ndkports/googletest/
Dbuild.gradle.kts23 arg("-Dgtest_build_tests=ON") in <lambda>()
24 arg("-Dgmock_build_tests=ON") in <lambda>()
/tools/trebuchet/trebuchet/system-server-analyzer/src/
DSystemServerAnalyzer.kt115 var arg = args[nextArg++] in main() variable
117 when (arg) { in main()

123