/frameworks/base/opengl/java/android/opengl/ |
D | GLLogWrapper.java | 74 private void arg(String name, String value) { in arg() method in GLLogWrapper 97 private void arg(String name, boolean value) { in arg() method in GLLogWrapper 98 arg(name, Boolean.toString(value)); in arg() 101 private void arg(String name, int value) { in arg() method in GLLogWrapper 102 arg(name, Integer.toString(value)); in arg() 105 private void arg(String name, float value) { in arg() method in GLLogWrapper 106 arg(name, Float.toString(value)); in arg() 118 private void arg(String name, int n, int[] arr, int offset) { in arg() method in GLLogWrapper 119 arg(name, toString(n, FORMAT_INT, arr, offset)); in arg() 122 private void arg(String name, int n, short[] arr, int offset) { in arg() method in GLLogWrapper [all …]
|
D | EGLLogWrapper.java | 50 arg("display", display); in eglChooseConfig() 51 arg("attrib_list", attrib_list); in eglChooseConfig() 52 arg("config_size", config_size); in eglChooseConfig() 57 arg("configs", configs); in eglChooseConfig() 58 arg("num_config", num_config); in eglChooseConfig() 67 arg("display", display); in eglCopyBuffers() 68 arg("surface", surface); in eglCopyBuffers() 69 arg("native_pixmap", native_pixmap); in eglCopyBuffers() 81 arg("display", display); in eglCreateContext() 82 arg("config", config); in eglCreateContext() [all …]
|
/frameworks/native/cmds/installd/ |
D | installd.c | 29 static int do_ping(char **arg, char reply[REPLY_MAX]) in do_ping() argument 34 static int do_install(char **arg, char reply[REPLY_MAX]) in do_install() argument 36 return install(arg[0], atoi(arg[1]), atoi(arg[2]), arg[3]); /* pkgname, uid, gid, seinfo */ in do_install() 39 static int do_dexopt(char **arg, char reply[REPLY_MAX]) in do_dexopt() argument 42 return dexopt(arg[0], atoi(arg[1]), atoi(arg[2]), arg[3], arg[4], atoi(arg[5]), 0); in do_dexopt() 45 static int do_mark_boot_complete(char **arg, char reply[REPLY_MAX]) in do_mark_boot_complete() argument 47 return mark_boot_complete(arg[0] /* instruction set */); in do_mark_boot_complete() 50 static int do_move_dex(char **arg, char reply[REPLY_MAX]) in do_move_dex() argument 52 return move_dex(arg[0], arg[1], arg[2]); /* src, dst, instruction_set */ in do_move_dex() 55 static int do_rm_dex(char **arg, char reply[REPLY_MAX]) in do_rm_dex() argument [all …]
|
/frameworks/rs/api/ |
D | rs_core_math.spec | 22 arg: #2#1 v compatible(#3) 34 arg: #2#1 v compatible(#3) 46 arg: #2#1 v compatible(#3) 58 arg: #2#1 v compatible(#3) 70 arg: #2#1 v range(-1,1) 81 arg: #2#1 92 arg: #2#1 v range(-1,1) 103 arg: #2#1 v range(-1,1) 114 arg: #2#1 125 arg: #2#1 v range(-1,1) [all …]
|
/frameworks/base/cmds/bu/src/com/android/commands/bu/ |
D | Backup.java | 54 String arg = nextArg(); in run() local 55 if (arg.equals("backup")) { in run() 57 } else if (arg.equals("restore")) { in run() 60 Log.e(TAG, "Invalid operation '" + arg + "'"); in run() 74 String arg; in doFullBackup() local 75 while ((arg = nextArg()) != null) { in doFullBackup() 76 if (arg.startsWith("-")) { in doFullBackup() 77 if ("-apk".equals(arg)) { in doFullBackup() 79 } else if ("-noapk".equals(arg)) { in doFullBackup() 81 } else if ("-obb".equals(arg)) { in doFullBackup() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BaseCommand.java | 97 String arg = mArgs[mNextArg]; in nextOption() local 98 if (!arg.startsWith("-")) { in nextOption() 102 if (arg.equals("--")) { in nextOption() 105 if (arg.length() > 1 && arg.charAt(1) != '-') { in nextOption() 106 if (arg.length() > 2) { in nextOption() 107 mCurArgData = arg.substring(2); in nextOption() 108 return arg.substring(0, 2); in nextOption() 111 return arg; in nextOption() 115 return arg; in nextOption() 124 String arg = mCurArgData; in nextArg() local [all …]
|
D | ZygoteConnection.java | 435 String arg = args[curArg]; in parseArgs() local 437 if (arg.equals("--")) { in parseArgs() 440 } else if (arg.startsWith("--setuid=")) { in parseArgs() 447 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 448 } else if (arg.startsWith("--setgid=")) { in parseArgs() 455 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 456 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs() 463 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 464 } else if (arg.equals("--enable-debugger")) { in parseArgs() 466 } else if (arg.equals("--enable-safemode")) { in parseArgs() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 65 String arg; in run() local 67 while ((arg = nextArg()) != null) { in run() 68 if ("--user".equals(arg)) { in run() 75 if ("get".equalsIgnoreCase(arg)) { in run() 77 } else if ("put".equalsIgnoreCase(arg)) { in run() 79 } else if ("delete".equalsIgnoreCase(arg)) { in run() 83 System.err.println("Invalid command: " + arg); in run() 87 if (!"system".equalsIgnoreCase(arg) in run() 88 && !"secure".equalsIgnoreCase(arg) in run() 89 && !"global".equalsIgnoreCase(arg)) { in run() [all …]
|
/frameworks/base/tools/aidl/ |
D | generate_java_binder.cpp | 253 arg_type* arg; in generate_method() local 279 arg = method->args; in generate_method() 280 while (arg != NULL) { in generate_method() 282 NAMES.Search(arg->type.type.data), arg->name.data, in generate_method() 283 arg->type.dimension)); in generate_method() 284 arg = arg->next; in generate_method() 304 arg = method->args; in generate_method() 305 while (arg != NULL) { in generate_method() 306 Type* t = NAMES.Search(arg->type.type.data); in generate_method() 308 v->dimension = arg->type.dimension; in generate_method() [all …]
|
D | generate_java_rpc.cpp | 155 arg_type* arg; in AddMethod() local 176 arg = method->args; in AddMethod() 177 while (arg != NULL) { in AddMethod() 178 Type* t = NAMES.Search(arg->type.type.data); in AddMethod() 180 v->dimension = arg->type.dimension; in AddMethod() 184 if (convert_direction(arg->direction.data) & IN_PARAMETER) { in AddMethod() 185 generate_create_from_data(t, block, arg->name.data, v, in AddMethod() 188 if (arg->type.dimension == 0) { in AddMethod() 191 else if (arg->type.dimension == 1) { in AddMethod() 203 arg = arg->next; in AddMethod() [all …]
|
D | aidl_language_y.y | 220 method->args = $4.arg; 238 method->args = $5.arg; 256 method->args = $4.arg; 274 method->args = $5.arg; 286 { $$.arg = NULL; } 287 | arg { $$ = $1; } 288 | arg_list ',' arg { 289 if ($$.arg != NULL) { 292 arg_type *p = $1.arg; 296 $3.arg->comma_token = $2.buffer; [all …]
|
D | aidl.cpp | 457 arg_type* arg = m->args; local 458 while (arg) { 459 Type* t = NAMES.Search(arg->type.type.data); 464 filename, m->type.type.lineno, arg->name.data, index, 465 arg->type.type.data); 472 filename, m->type.type.lineno, arg->name.data, index, 473 arg->type.type.data); 481 arg->type.type.data, arg->name.data); 486 && convert_direction(arg->direction.data) != IN_PARAMETER) { 489 arg->type.type.data, arg->name.data); [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | trace.cpp | 69 static const char* GLbooleanToString(GLboolean arg) { in GLbooleanToString() argument 70 return arg ? "GL_TRUE" : "GL_FALSE"; in GLbooleanToString() 245 const void* arg = va_arg(argp, const void*); in TraceGL() local 246 builder.append("(%s) 0x%08x", type, (size_t) arg); in TraceGL() 248 size_t arg = va_arg(argp, size_t); in TraceGL() local 252 if (b->e & arg) { in TraceGL() 259 arg &= ~b->e; in TraceGL() 262 if (first || arg != 0) { in TraceGL() 266 builder.append("0x%08x", arg); in TraceGL() 269 GLboolean arg = va_arg(argp, int); in TraceGL() local [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 264 int arg, filename=0; in main() local 288 for (arg = 1; arg < argc; arg++) { in main() 289 if (argv [arg] [0] == '+') { in main() 290 if(argv[arg][1] == 'M') in main() 292 switch(argv[arg][2]) in main() 314 printf ("Invalid parameter '%s'.\n", argv [arg]); in main() 317 }else if(argv[arg][1] == 'F') in main() 319 switch(argv[arg][2]) in main() 329 printf ("Invalid parameter '%s'.\n", argv [arg]); in main() 334 }else if(strcmp (argv[arg], "+DTX") == 0) in main() [all …]
|
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 166 String arg = mArgs[mNextArg]; in nextOption() local 167 if (!arg.startsWith("-")) { in nextOption() 171 if (arg.equals("--")) { in nextOption() 174 if (arg.length() > 1 && arg.charAt(1) != '-') { in nextOption() 175 if (arg.length() > 2) { in nextOption() 176 mCurArgData = arg.substring(2); in nextOption() 177 return arg.substring(0, 2); in nextOption() 180 return arg; in nextOption() 184 return arg; in nextOption() 189 String arg = mCurArgData; in nextArg() local [all …]
|
/frameworks/base/core/jni/ |
D | android_animation_PropertyValuesHolder.cpp | 77 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jint arg) in android_animation_PropertyValuesHolder_callIntMethod() argument 79 env->CallVoidMethod(target, reinterpret_cast<jmethodID>(methodID), arg); in android_animation_PropertyValuesHolder_callIntMethod() 83 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jfloat arg) in android_animation_PropertyValuesHolder_callFloatMethod() argument 85 env->CallVoidMethod(target, reinterpret_cast<jmethodID>(methodID), arg); in android_animation_PropertyValuesHolder_callFloatMethod() 102 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jfloatArray arg) in android_animation_PropertyValuesHolder_callMultipleFloatMethod() argument 104 jsize parameterCount = env->GetArrayLength(arg); in android_animation_PropertyValuesHolder_callMultipleFloatMethod() 105 jfloat *floatValues = env->GetFloatArrayElements(arg, NULL); in android_animation_PropertyValuesHolder_callMultipleFloatMethod() 112 env->ReleaseFloatArrayElements(arg, floatValues, JNI_ABORT); in android_animation_PropertyValuesHolder_callMultipleFloatMethod() 129 JNIEnv* env, jclass pvhObject, jobject target, jlong methodID, jintArray arg) in android_animation_PropertyValuesHolder_callMultipleIntMethod() argument 131 jsize parameterCount = env->GetArrayLength(arg); in android_animation_PropertyValuesHolder_callMultipleIntMethod() [all …]
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
D | Ime.java | 190 String arg = mArgs[mNextArg]; in nextOption() local 191 if (!arg.startsWith("-")) { in nextOption() 195 if (arg.equals("--")) { in nextOption() 198 if (arg.length() > 1 && arg.charAt(1) != '-') { in nextOption() 199 if (arg.length() > 2) { in nextOption() 200 mCurArgData = arg.substring(2); in nextOption() 201 return arg.substring(0, 2); in nextOption() 204 return arg; in nextOption() 208 return arg; in nextOption() 227 String arg = mArgs[mNextArg]; in nextArg() local [all …]
|
/frameworks/compile/slang/tests/ |
D | test.py | 94 for arg in args: 95 print arg, 191 for arg in sys.argv[1:]: 192 if arg in ('-h', '--help'): 195 elif arg in ('-n', '--no-cleanup'): 197 elif arg in ('-u', '--update-cts'): 199 elif arg in ('-v', '--verbose'): 203 if os.path.isdir(arg): 204 files.append(arg) 206 print >> sys.stderr, 'Invalid test or option: %s' % arg
|
/frameworks/wilhelm/tests/sandbox/ |
D | playbq.cpp | 133 static void *file_reader_loop(void *arg __unused) in file_reader_loop() 212 char *arg = argv[i]; in main() local 213 if (arg[0] != '-') { in main() 216 if (!strcmp(arg, "-b")) { in main() 218 } else if (!strcmp(arg, "-l")) { in main() 220 } else if (!strcmp(arg, "-8")) { in main() 222 } else if (!strcmp(arg, "-24")) { in main() 224 } else if (!strcmp(arg, "-32")) { in main() 226 } else if (!strcmp(arg, "-32f")) { in main() 228 } else if (!strncmp(arg, "-f", 2)) { in main() [all …]
|
D | playbq.c | 133 static void *file_reader_loop(void *arg __unused) in file_reader_loop() 212 char *arg = argv[i]; in main() local 213 if (arg[0] != '-') { in main() 216 if (!strcmp(arg, "-b")) { in main() 218 } else if (!strcmp(arg, "-l")) { in main() 220 } else if (!strcmp(arg, "-8")) { in main() 222 } else if (!strcmp(arg, "-24")) { in main() 224 } else if (!strcmp(arg, "-32")) { in main() 226 } else if (!strcmp(arg, "-32f")) { in main() 228 } else if (!strncmp(arg, "-f", 2)) { in main() [all …]
|
D | reverb.c | 231 char *arg = argv[i]; in main() local 232 if (arg[0] != '-') in main() 235 if (!strncmp(arg, "--mix-preset", 12)) { in main() 236 if ('\0' == arg[12]) { in main() 238 } else if ('=' == arg[12]) { in main() 239 outputMixPresetNumber = atoi(&arg[13]); in main() 244 } else if (!strncmp(arg, "--mix-name", 10)) { in main() 245 if ('\0' == arg[10]) { in main() 247 } else if ('=' == arg[10]) { in main() 248 outputMixEnvironmentalName = &arg[11]; in main() [all …]
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 131 String arg = nextArg(); in doEnable() local 132 if (arg == null) { in doEnable() 138 boolean enable = Boolean.parseBoolean(arg); in doEnable() 236 String arg = nextArg(); // sets, transports, packages set# in doList() local 237 if ("transports".equals(arg)) { in doList() 250 if ("sets".equals(arg)) { in doList() 252 } else if ("transports".equals(arg)) { in doList() 351 String arg = nextArg(); in doRestore() local 352 if (arg == null) { in doRestore() 357 if (arg.indexOf('.') >= 0 || arg.equals("android")) { in doRestore() [all …]
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 247 const char* arg = argv[i++]; in main() local 248 if (strcmp(arg, "--zygote") == 0) { in main() 251 } else if (strcmp(arg, "--start-system-server") == 0) { in main() 253 } else if (strcmp(arg, "--application") == 0) { in main() 255 } else if (strncmp(arg, "--nice-name=", 12) == 0) { in main() 256 niceName.setTo(arg + 12); in main() 257 } else if (strncmp(arg, "--", 2) != 0) { in main() 258 className.setTo(arg); in main()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 403 static int[] parseStateList(String[] states, int mult, String arg, boolean[] outSep, in parseStateList() argument 407 for (int i=0; i<=arg.length(); i++) { in parseStateList() 408 char c = i < arg.length() ? arg.charAt(i) : 0; in parseStateList() 421 String str = arg.substring(lastPos, i); in parseStateList() 655 String arg = args[i]; 656 if ("--checkin".equals(arg)) { 658 } else if ("-c".equals(arg)) { 660 } else if ("--csv".equals(arg)) { 662 } else if ("--csv-screen".equals(arg)) { 679 } else if ("--csv-mem".equals(arg)) { [all …]
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 311 char *arg = argv[i]; in main() local 314 if (!strncmp(arg, "-m", 2)) { in main() 315 double mval = atof(&arg[2]); in main() 319 fprintf(stderr, "%s: invalid value %s\n", argv[0], arg); in main() 322 if (!strncmp(arg, "-s", 2)) { in main() 323 double sval = atof(&arg[2]); in main() 327 fprintf(stderr, "%s: invalid value %s\n", argv[0], arg); in main() 330 if (!strncmp(arg, "-r", 2)) { in main() 331 srand(atoi(&arg[2])); in main() 338 permute(arg); in main()
|