Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt712 fun fromArgument(arg: String): StrictInputFileMode { in <lambda>()
713 return when (arg) { in <lambda>()
792 when (val arg = args[index]) { in <lambda>() variable in com.android.tools.metalava.Options
826 … "$arg should point to a source root directory, not a source file ($path)" in <lambda>()
909 unimplemented(arg) in <lambda>()
996 val builder = getBaselineBuilderForArg(arg) in <lambda>()
1010 val builder = getBaselineBuilderForArg(arg) in <lambda>()
1011 builder.merge = (arg == ARG_MERGE_BASELINE) in <lambda>()
1174 arg in <lambda>()
1179 arg in <lambda>()
[all …]
DCommandArgsPreprocessor.kt62 modifiedArgs.forEach { arg -> in <lambda>() method
63 when (arg) { in <lambda>()
126 args.forEach { arg -> in dumpArgv() method
127 out.println(" argv[${i++}]: $arg") in dumpArgv()
130 if (fullDump && arg.startsWith("@")) { in dumpArgv()
131 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/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/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/test_runners/
Datest_tf_test_runner.py544 for arg in extra_args:
545 if constants.WAIT_FOR_DEBUGGER == arg:
548 if constants.DISABLE_INSTALL == arg:
551 if constants.SERIAL == arg:
553 args_to_append.append(extra_args[arg])
555 if constants.SHARDING == arg:
557 args_to_append.append(str(extra_args[arg]))
559 if constants.DISABLE_TEARDOWN == arg:
562 if constants.HOST == arg:
567 if constants.CUSTOM_ARGS == arg:
[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)
Dsuite_plan_test_runner.py84 for arg in extra_args:
85 if constants.SERIAL == arg:
87 args_to_append.append(extra_args[arg])
89 if constants.CUSTOM_ARGS == arg:
90 args_to_append.extend(extra_args[arg])
92 if constants.DRY_RUN == arg:
94 args_not_supported.append(arg)
/tools/dexter/slicer/
Ddex_bytecode.cc252 dec.arg[4] = InstA(inst); in DecodeInstruction()
255 dec.arg[3] = (regList >> 12) & 0x0f; in DecodeInstruction()
258 dec.arg[2] = (regList >> 8) & 0x0f; in DecodeInstruction()
261 dec.arg[1] = (regList >> 4) & 0x0f; in DecodeInstruction()
264 dec.vC = dec.arg[0] = regList & 0x0f; in DecodeInstruction()
286 dec.arg[0] = (regList >> 4) & 0xf; // vD in DecodeInstruction()
287 dec.arg[1] = (regList >> 8) & 0xf; // vE in DecodeInstruction()
288 dec.arg[2] = (regList >> 12); // vF in DecodeInstruction()
289 dec.arg[3] = InstA(inst); // vG in DecodeInstruction()
290 dec.arg[4] = bytecode[3]; // vH proto@HHHH in DecodeInstruction()
[all …]
Dreader.cc475 dex::u1 arg = header >> dex::kEncodedValueArgShift; in ParseEncodedValue() local
481 ir_encoded_value->u.byte_value = ParseIntValue<int8_t>(pptr, arg + 1); in ParseEncodedValue()
485 ir_encoded_value->u.short_value = ParseIntValue<int16_t>(pptr, arg + 1); in ParseEncodedValue()
489 ir_encoded_value->u.char_value = ParseIntValue<uint16_t>(pptr, arg + 1); in ParseEncodedValue()
493 ir_encoded_value->u.int_value = ParseIntValue<int32_t>(pptr, arg + 1); in ParseEncodedValue()
497 ir_encoded_value->u.long_value = ParseIntValue<int64_t>(pptr, arg + 1); in ParseEncodedValue()
501 ir_encoded_value->u.float_value = ParseFloatValue<float>(pptr, arg + 1); in ParseEncodedValue()
505 ir_encoded_value->u.double_value = ParseFloatValue<double>(pptr, arg + 1); in ParseEncodedValue()
509 dex::u4 index = ParseIntValue<dex::u4>(pptr, arg + 1); in ParseEncodedValue()
514 dex::u4 index = ParseIntValue<dex::u4>(pptr, arg + 1); in ParseEncodedValue()
[all …]
/tools/ndkports/
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/
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/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/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/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/repohooks/tools/
Dcheckpatch.pl3400 for my $arg (split(/\s*,\s*/, $ctx)) {
3401 …if ($arg =~ /^(?:const\s+)?($Ident)(?:\s+$Sparse)*\s*\**\s*(:?\b$Ident)?$/s || $arg =~ /^($Ident)$…
5037 foreach my $arg (@def_args) {
5038 next if ($arg =~ /\.\.\./);
5039 next if ($arg =~ /^type$/i);
5041 …$tmp_stmt =~ s/\b(typeof|__typeof__|__builtin\w+|typecheck\s*\(\s*$Type\s*,|\#+)\s*\(*\s*$arg\s*\)…
5042 $tmp_stmt =~ s/\#+\s*$arg\b//g;
5043 $tmp_stmt =~ s/\b$arg\s*\#\#//g;
5044 my $use_cnt = () = $tmp_stmt =~ /\b$arg\b/g;
5047 "Macro argument reuse '$arg' - possible side-effects?\n" . "$herectx");
[all …]
/tools/repohooks/rh/
Dhooks.py69 for arg in args:
70 if arg.endswith('${PREUPLOAD_FILES_PREFIXED}'):
71 if arg == '${PREUPLOAD_FILES_PREFIXED}':
80 prefix = arg[0:-len('${PREUPLOAD_FILES_PREFIXED}')]
87 if arg == var:
102 replace, arg))
Dshell.py145 return ' '.join(shell_quote(arg) for arg in cmd)
/tools/acloud/create/
Dcreate_args.py561 def _PositiveInteger(arg): argument
564 value = int(arg)
566 raise argparse.ArgumentTypeError(arg + " is not an integer.") from e
568 raise argparse.ArgumentTypeError(arg + " is not positive.")
/tools/asuite/atest/
Datest.py116 for arg in argv[custom_args_index+1:]:
117 logging.debug('Quoting regex argument %s', arg)
118 args.custom_args.append(atest_utils.quote(arg))
373 for arg_value, arg in options_to_validate:
375 logging.error(OPTION_NOT_FOR_TEST_MAPPING, arg)
/tools/trebuchet/trebuchet/user-switch-analyzer/src/
DUserSwitchAnalyzer.kt101 var arg = args[nextArg++] in main() variable
103 when (arg) { in main()
/tools/acloud/public/
Dconfig.py284 scrubbed_args = [arg for arg in self.launch_args.split()
285 if _NUM_INSTANCES_ARG not in arg]

12