Home
last modified time | relevance | path

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

12

/development/python-packages/fastboot/
Ddevice.py190 if os.name != 'nt' or all(not isinstance(arg, unicode) for arg in args[0]):
193 def escape_arg(arg): argument
196 arg = subprocess.list2cmdline([arg])
199 arg = arg.replace(u"'", u"''")
201 arg = u"'" + arg + u"'"
202 return arg
/development/tools/winscope/src/
Dtransform.js18 function call(fn, arg) { argument
19 return (typeof fn == 'function') ? fn(arg) : fn;
21 function handle_children(arg, transform) { argument
22 return [].concat(...arg.map((item) => {
36 function concat(arg, args, argsmap) { argument
37 var validArg = arg !== undefined && arg !== null;
41 return [arg].concat(...args.map(argsmap));
46 return [arg];
/development/tools/winscope/
Dcapture_sf_trace.sh25 for arg in "$@"; do
26 case $arg in
29 -*) echo "Unknown option: $arg"; help=1;;
30 *) outfile="$arg";;
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java72 for (String arg : args) { in run()
73 if (arg.equals("--help") || arg.equals("-h")) { in run()
76 } else if (arg.equals("-q") || arg.equals("--quiet") || arg.equals("--silent")) { in run()
78 } else if (arg.equals("-v") || arg.equals("--verbose")) { in run()
80 } else if (arg.equals("-n") || arg.equals("--dry-run")) { in run()
82 } else if (arg.startsWith("-")) { in run()
83 System.err.println("Unknown argument " + arg); in run()
89 File file = new File(arg); in run()
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java146 for (String arg : args) { in processArgs()
147 if (arg.startsWith("--")) { in processArgs()
148 if (arg.startsWith("--v")) { in processArgs()
150 } else if (arg.startsWith("--s")) { in processArgs()
152 } else if (arg.startsWith("--h")) { in processArgs()
155 usage("Unknown argument: " + arg); in processArgs()
158 p.setInputJarPath(arg); in processArgs()
160 p.setOutputJarPath(arg); in processArgs()
162 addString(p, arg); in processArgs()
/development/tools/mkstubs/tests/data/
DTestBaseClass.java31 public TestBaseClass(String arg) { in TestBaseClass() argument
32 mArg = arg; in TestBaseClass()
DTestInnerClass.java40 public TestInnerClass(String arg) { in TestInnerClass() argument
41 mArg = arg; in TestInnerClass()
/development/samples/training/testingfun/
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\""
/development/samples/devbytes/telephony/SmsSampleProject/
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\""
/development/tools/checkcolor/
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\""
/development/python-packages/adb/
Ddevice.py163 if os.name != 'nt' or all(not isinstance(arg, unicode) for arg in args[0]):
166 def escape_arg(arg): argument
169 arg = subprocess.list2cmdline([arg])
172 arg = arg.replace(u"'", u"''")
174 arg = u"'" + arg + u"'"
175 return arg
/development/samples/devbytes/telephony/SmsSampleProject/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/samples/training/testingfun/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/tools/checkcolor/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/development/ide/emacs/
Dandroid-host.el100 (defun android-fastboot-flashall (arg)
110 (if arg
/development/vndk/tools/header-checker/tests/input/
Dexample2.h58 bool End ( float arg = 2.0) {
59 bool ret = Begin(arg, 2, 2);
/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py62 command_in_log = ' '.join(arg for arg in command)
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyActivityEvent.java38 public MonkeyActivityEvent(ComponentName app, long arg) { in MonkeyActivityEvent() argument
41 mAlarmTime = arg; in MonkeyActivityEvent()
DMonkey.java1365 String arg = mArgs[mNextArg]; in nextOption() local
1366 if (!arg.startsWith("-")) { in nextOption()
1370 if (arg.equals("--")) { in nextOption()
1373 if (arg.length() > 1 && arg.charAt(1) != '-') { in nextOption()
1374 if (arg.length() > 2) { in nextOption()
1375 mCurArgData = arg.substring(2); in nextOption()
1376 return arg.substring(0, 2); in nextOption()
1379 return arg; in nextOption()
1383 Logger.err.println("arg=\"" + arg + "\" mCurArgData=\"" + mCurArgData + "\" mNextArg=" in nextOption()
1386 return arg; in nextOption()
[all …]
/development/cmds/monkey/
Dmonkey8 echo " bash arg:" $a
/development/tools/idegen/src/com/android/idegen/
DIntellijProject.java198 String arg = args[argIndex]; in main() local
199 while (arg.startsWith("--")) { in main()
200 if (arg.equals("--no-framework")) { in main()
204 arg = args[argIndex]; in main()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js29 let arg = arguments[i];
30 if (typeof(arg) == 'string' || typeof(arg) == 'number') {
31 arg = domNewText(arg)
33 dom.appendChild(arg);
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutListFragment.java83 final UserHandle arg = getArguments().getParcelable(ARG_USER); in getTargetUsers() local
84 if (arg == null) { in getTargetUsers()
88 ret.add(arg); in getTargetUsers()
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp449 #define CASE_ARG0(arg) case arg: desc = # arg; break in DumpMessageArg0() argument
/development/vndk/tools/header-checker/header-abi-dumper/src/
Dabi_wrappers.cpp399 const clang::TemplateArgument &arg = (*tl)[i]; in SetupTemplateArguments() local
401 if (arg.getKind() != clang::TemplateArgument::Type) { in SetupTemplateArguments()
404 clang::QualType type = arg.getAsType(); in SetupTemplateArguments()

12