/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Options.kt | 690 fun fromArgument(arg: String): StrictInputFileMode { in <lambda>() 691 return when (arg) { in <lambda>() 770 when (val arg = args[index]) { in <lambda>() variable in com.android.tools.metalava.Options 804 … "$arg should point to a source root directory, not a source file ($path)" in <lambda>() 886 unimplemented(arg) in <lambda>() 964 val builder = getBaselineBuilderForArg(arg) in <lambda>() 978 val builder = getBaselineBuilderForArg(arg) in <lambda>() 979 builder.merge = (arg == ARG_MERGE_BASELINE) in <lambda>() 1137 arg in <lambda>() 1142 arg in <lambda>() [all …]
|
D | CommandArgsPreprocessor.kt | 62 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()
|
D | ApiLint.kt | 1140 val arg = node.valueArguments.firstOrNull() in <lambda>() constant 1141 if (arg is UThisExpression || in <lambda>() 1142 arg is UClassLiteralExpression || in <lambda>() 1143 … arg is UQualifiedReferenceExpression && arg.receiver is UClassLiteralExpression in <lambda>() 1145 reportError(method, arg.sourcePsi ?: node.sourcePsi ?: node.javaPsi) in <lambda>() 1372 for (arg in constructor.parameters()) { in <lambda>() method 1373 if (arg.modifiers.isNullable()) { in <lambda>() 1375 OPTIONAL_BUILDER_CONSTRUCTOR_ARGUMENT, arg, in <lambda>()
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 387 for arg in extra_args: 388 if constants.WAIT_FOR_DEBUGGER == arg: 391 if constants.DISABLE_INSTALL == arg: 394 if constants.SERIAL == arg: 396 args_to_append.append(extra_args[arg]) 398 if constants.SHARDING == arg: 400 args_to_append.append(str(extra_args[arg])) 402 if constants.DISABLE_TEARDOWN == arg: 405 if constants.HOST == arg: 410 if constants.CUSTOM_ARGS == arg: [all …]
|
D | suite_plan_test_runner.py | 86 for arg in extra_args: 87 if constants.SERIAL == arg: 89 args_to_append.append(extra_args[arg]) 91 if constants.CUSTOM_ARGS == arg: 92 args_to_append.extend(extra_args[arg]) 94 if constants.DRY_RUN == arg: 96 args_not_supported.append(arg)
|
D | vts_tf_test_runner.py | 91 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)
|
/tools/tradefederation/core/atest/test_runners/ |
D | atest_tf_test_runner.py | 351 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 …]
|
D | suite_plan_test_runner.py | 87 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)
|
D | vts_tf_test_runner.py | 92 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/ |
D | ApiGenerator.java | 44 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/tradefederation/core/src/com/android/tradefed/config/ |
D | ArgsOptionParser.java | 246 final String arg = argsIter.next(); in parseBestEffort() local 249 if (!parseArg(arg, argsIter, leftovers)) { in parseBestEffort() 263 leftovers.add(arg); in parseBestEffort() 293 private boolean parseArg(String arg, ListIterator<String> args, List<String> leftovers) in parseArg() argument 295 if (arg.equals(OPTION_NAME_PREFIX)) { in parseArg() 299 } else if (arg.startsWith(OPTION_NAME_PREFIX)) { in parseArg() 301 parseLongOption(arg, args); in parseArg() 304 } else if (arg.startsWith(SHORT_NAME_PREFIX)) { in parseArg() 306 parseGroupedShortOptions(arg, args); in parseArg() 311 leftovers.add(arg); in parseArg() [all …]
|
D | ConfigurationFactory.java | 977 String arg; in reorderArgs() local 987 arg = args[i]; in reorderArgs() 988 if (arg.equals("--template:map")) { in reorderArgs() 992 reorderedArgs.add(arg); in reorderArgs() 1002 nonTemplateArgs.add(arg); in reorderArgs()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | ArgsOptionParser.java | 198 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/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 50 public static MissingArgException fromArg(String arg) { in fromArg() argument 52 String.format("Error: missing mandatory argument '%s'", arg)); in fromArg() 95 private String expectString(String arg) throws MissingArgException { in expectString() argument 96 String val = mArguments.getString(arg); in expectString() 98 throw MissingArgException.fromArg(arg); in expectString() 112 private String getString(String arg, String defaultValue) { in getString() argument 113 String val = mArguments.getString(arg); in getString() 129 private int expectInteger(String arg) throws MissingArgException { in expectInteger() argument 130 String val = expectString(arg); in expectInteger() 135 final String msg = String.format("Couldn't parse arg '%s': %s", arg, in expectInteger() [all …]
|
/tools/dexter/slicer/ |
D | reader.cc | 475 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 …]
|
D | dex_bytecode.cc | 252 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 …]
|
D | writer.cc | 41 static void WriteEncodedValueHeader(dex::u1 type, int arg, Section& data) { in WriteEncodedValueHeader() argument 43 assert(arg >= 0 && arg < 8); in WriteEncodedValueHeader() 44 dex::u1 header = dex::u1(type | (arg << dex::kEncodedValueArgShift)); in WriteEncodedValueHeader() 169 int arg = ir_value->u.bool_value ? 1 : 0; in WriteEncodedValue() local 170 WriteEncodedValueHeader(type, arg, data); in WriteEncodedValue()
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 3400 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/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | Javadoc.kt | 950 val arg = suffix.substring(argBegin, index - 1).trim() in expandArgumentList() constant 951 val space = arg.indexOf(' ') in expandArgumentList() 955 arg in expandArgumentList() 957 if (space < arg.length - 1 && !arg[space + 1].isJavaIdentifierStart()) { in expandArgumentList() 959 arg in expandArgumentList() 962 arg.substring(0, space) in expandArgumentList() 965 var insert = arg in expandArgumentList()
|
/tools/metalava/ |
D | gradlew | 132 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/ |
D | gradlew | 132 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/ |
D | gradlew | 132 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/repohooks/rh/ |
D | hooks.py | 71 for arg in args: 72 if arg.endswith('${PREUPLOAD_FILES_PREFIXED}'): 73 if arg == '${PREUPLOAD_FILES_PREFIXED}': 82 prefix = arg[0:-len('${PREUPLOAD_FILES_PREFIXED}')] 89 if arg == var: 104 replace, arg))
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 1178 for (String arg : args) { in isCommandSandboxed() 1179 if (("--" + CommandOptions.USE_SANDBOX).equals(arg)) { in isCommandSandboxed() 1181 } else if (("--no-" + CommandOptions.USE_SANDBOX).equals(arg)) { in isCommandSandboxed() 2055 for (String arg : args) { in dumpCommandsXml() 2056 if ("--template:map".equals(arg)) { in dumpCommandsXml() 2058 } else if (templateIncludeFound && "test".equals(arg)) { in dumpCommandsXml() 2062 xmlPrefix = "config__" + arg.replace("/", "__") + "__"; in dumpCommandsXml()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_sign.txt | 177 --ks-provider-arg Value to pass into the constructor of the JCA Provider 180 default, the no-arg provider's constructor is used. 199 --provider-arg Value to pass into the constructor of the JCA Provider 202 no-arg provider's constructor is used. 227 --provider-arg token.cfg --ks NONE --ks-type PKCS11 app.apk
|