/development/python-packages/fastboot/ |
D | device.py | 190 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/ |
D | transform.js | 18 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/ |
D | capture_sf_trace.sh | 25 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/ |
D | RmTypeDefs.java | 72 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/ |
D | Main.java | 146 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/ |
D | TestBaseClass.java | 31 public TestBaseClass(String arg) { in TestBaseClass() argument 32 mArg = arg; in TestBaseClass()
|
D | TestInnerClass.java | 40 public TestInnerClass(String arg) { in TestInnerClass() argument 41 mArg = arg; in TestInnerClass()
|
/development/samples/devbytes/telephony/SmsSampleProject/ |
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\""
|
/development/samples/training/testingfun/ |
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\""
|
/development/tools/checkcolor/ |
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\""
|
/development/python-packages/adb/ |
D | device.py | 163 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/ide/emacs/ |
D | android-host.el | 100 (defun android-fastboot-flashall (arg) 110 (if arg
|
/development/vndk/tools/header-checker/tests/input/ |
D | example2.h | 58 bool End ( float arg = 2.0) { 59 bool ret = Begin(arg, 2, 2);
|
/development/gsi/gsi_util/gsi_util/utils/ |
D | cmd_utils.py | 62 command_in_log = ' '.join(arg for arg in command)
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyActivityEvent.java | 38 public MonkeyActivityEvent(ComponentName app, long arg) { in MonkeyActivityEvent() argument 41 mAlarmTime = arg; in MonkeyActivityEvent()
|
D | Monkey.java | 1365 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/ |
D | monkey | 8 echo " bash arg:" $a
|
/development/tools/idegen/src/com/android/idegen/ |
D | IntellijProject.java | 198 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/ |
D | insight.js | 29 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/ |
D | ShortcutListFragment.java | 83 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/ |
D | adb_winapi_test.cpp | 449 #define CASE_ARG0(arg) case arg: desc = # arg; break in DumpMessageArg0() argument
|
/development/vndk/tools/header-checker/header-abi-dumper/src/ |
D | abi_wrappers.cpp | 399 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()
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 244 arg = kwargs.get(field_names[i]) 245 if arg: 246 args.append(arg) 2127 def _parse_action_on_ineligible_lib(arg): argument 2130 for flag in arg.split(','):
|