/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/base/cmds/installd/ |
D | installd.c | 27 static int do_ping(char **arg, char reply[REPLY_MAX]) in do_ping() argument 32 static int do_install(char **arg, char reply[REPLY_MAX]) in do_install() argument 34 return install(arg[0], atoi(arg[1]), atoi(arg[2])); /* pkgname, uid, gid */ in do_install() 37 static int do_dexopt(char **arg, char reply[REPLY_MAX]) in do_dexopt() argument 40 return dexopt(arg[0], atoi(arg[1]), atoi(arg[2])); in do_dexopt() 43 static int do_move_dex(char **arg, char reply[REPLY_MAX]) in do_move_dex() argument 45 return move_dex(arg[0], arg[1]); /* src, dst */ in do_move_dex() 48 static int do_rm_dex(char **arg, char reply[REPLY_MAX]) in do_rm_dex() argument 50 return rm_dex(arg[0]); /* pkgname */ in do_rm_dex() 53 static int do_remove(char **arg, char reply[REPLY_MAX]) in do_remove() argument [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() 71 String arg; in doFullBackup() local 72 while ((arg = nextArg()) != null) { in doFullBackup() 73 if (arg.startsWith("-")) { in doFullBackup() 74 if ("-apk".equals(arg)) { in doFullBackup() 76 } else if ("-noapk".equals(arg)) { in doFullBackup() 78 } else if ("-shared".equals(arg)) { in doFullBackup() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 63 String arg; in run() local 65 while ((arg = nextArg()) != null) { in run() 66 if ("--user".equals(arg)) { in run() 73 if ("get".equalsIgnoreCase(arg)) { in run() 75 } else if ("put".equalsIgnoreCase(arg)) { in run() 79 System.err.println("Invalid command: " + arg); in run() 83 if (!"system".equalsIgnoreCase(arg) in run() 84 && !"secure".equalsIgnoreCase(arg) in run() 85 && !"global".equalsIgnoreCase(arg)) { in run() 86 System.err.println("Invalid namespace '" + 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 | 219 method->args = $4.arg; 234 method->args = $5.arg; 243 { $$.arg = NULL; } 244 | arg { $$ = $1; } 245 | arg_list ',' arg { 246 if ($$.arg != NULL) { 249 arg_type *p = $1.arg; 253 $3.arg->comma_token = $2.buffer; 254 p->next = $3.arg; 259 $$.arg = NULL; [all …]
|
D | aidl.cpp | 450 arg_type* arg = m->args; local 451 while (arg) { 452 Type* t = NAMES.Search(arg->type.type.data); 457 filename, m->type.type.lineno, arg->name.data, index, 458 arg->type.type.data); 465 filename, m->type.type.lineno, arg->name.data, index, 466 arg->type.type.data); 474 arg->type.type.data, arg->name.data); 479 && convert_direction(arg->direction.data) != IN_PARAMETER) { 482 arg->type.type.data, arg->name.data); [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | trace.cpp | 70 static const char* GLbooleanToString(GLboolean arg) { in GLbooleanToString() argument 71 return arg ? "GL_TRUE" : "GL_FALSE"; in GLbooleanToString() 246 const void* arg = va_arg(argp, const void*); in TraceGL() local 247 builder.append("(%s) 0x%08x", type, (size_t) arg); in TraceGL() 249 size_t arg = va_arg(argp, size_t); in TraceGL() local 253 if (b->e & arg) { in TraceGL() 260 arg &= ~b->e; in TraceGL() 263 if (first || arg != 0) { in TraceGL() 267 builder.append("0x%08x", arg); in TraceGL() 270 GLboolean arg = va_arg(argp, int); in TraceGL() local [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 401 String arg = args[curArg]; in parseArgs() local 403 if (arg.equals("--")) { in parseArgs() 406 } else if (arg.startsWith("--setuid=")) { in parseArgs() 413 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 414 } else if (arg.startsWith("--setgid=")) { in parseArgs() 421 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 422 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs() 429 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 430 } else if (arg.equals("--enable-debugger")) { in parseArgs() 432 } else if (arg.equals("--enable-safemode")) { in parseArgs() [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/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/base/cmds/app_process/ |
D | app_main.cpp | 163 const char* arg = argv[i++]; in main() local 165 parentDir = arg; in main() 166 } else if (strcmp(arg, "--zygote") == 0) { in main() 169 } else if (strcmp(arg, "--start-system-server") == 0) { in main() 171 } else if (strcmp(arg, "--application") == 0) { in main() 173 } else if (strncmp(arg, "--nice-name=", 12) == 0) { in main() 174 niceName = arg + 12; in main() 176 className = arg; in main()
|
/frameworks/wilhelm/tests/sandbox/ |
D | playbq.c | 130 char *arg = argv[i]; in main() local 131 if (arg[0] != '-') { in main() 134 if (!strcmp(arg, "-b")) { in main() 136 } else if (!strcmp(arg, "-l")) { in main() 138 } else if (!strcmp(arg, "-8")) { in main() 140 } else if (!strncmp(arg, "-f", 2)) { in main() 141 framesPerBuffer = atoi(&arg[2]); in main() 142 } else if (!strncmp(arg, "-n", 2)) { in main() 143 numBuffers = atoi(&arg[2]); in main() 144 } else if (!strncmp(arg, "-p", 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 …]
|
D | multiplay.c | 116 const char *arg; in main() local 121 arg = argv[i]; in main() 122 if (arg[0] != '-') in main() 124 if (!strncmp(arg, "-n", 2)) in main() 125 numPlayers = atoi(&arg[2]); in main() 126 else if (!strncmp(arg, "-v", 2)) in main() 127 mixVolumeLevel = atoi(&arg[2]); in main() 128 else if (!strncmp(arg, "-t", 2)) in main() 129 playTimeInMilliseconds = atoi(&arg[2]) * 1000; in main() 131 fprintf(stderr, "unknown option: %s\n", arg); in main()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestFeedback.cpp | 179 char *arg = argv[i]; in main() local 180 if (arg[0] != '-') { in main() 184 if (!strncmp(arg, "-r", 2)) { in main() 185 rxBufCount = atoi(&arg[2]); in main() 191 } else if (!strncmp(arg, "-t", 2)) { in main() 192 txBufCount = atoi(&arg[2]); in main() 198 } else if (!strncmp(arg, "-f", 2)) { in main() 199 bufSizeInFrames = atoi(&arg[2]); in main() 205 } else if (!strncmp(arg, "-c", 2)) { in main() 206 channels = atoi(&arg[2]); in main() [all …]
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 125 String arg = nextArg(); in doEnable() local 126 if (arg == null) { in doEnable() 132 boolean enable = Boolean.parseBoolean(arg); in doEnable() 206 String arg = nextArg(); // sets, transports, packages set# in doList() local 207 if ("transports".equals(arg)) { in doList() 220 if ("sets".equals(arg)) { in doList() 222 } else if ("transports".equals(arg)) { in doList() 321 String arg = nextArg(); in doRestore() local 322 if (arg == null) { in doRestore() 327 if (arg.indexOf('.') >= 0) { in doRestore() [all …]
|
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
D | runtime.c | 286 static void *_Block_copy_internal(const void *arg, const int flags) { in _Block_copy_internal() argument 291 if (!arg) return NULL; in _Block_copy_internal() 295 aBlock = (struct Block_layout *)arg; in _Block_copy_internal() 369 static void _Block_byref_assign_copy(void *dest, const void *arg, const int flags) { in _Block_byref_assign_copy() argument 371 struct Block_byref *src = (struct Block_byref *)arg; in _Block_byref_assign_copy() 415 static void _Block_byref_release(const void *arg) { in _Block_byref_release() argument 416 struct Block_byref *shared_struct = (struct Block_byref *)arg; in _Block_byref_release() 430 printf("_Block_byref_release: Block byref data structure at %p underflowed\n", arg); in _Block_byref_release() 454 void *_Block_copy(const void *arg) { in _Block_copy() argument 455 return _Block_copy_internal(arg, WANTS_ONE); in _Block_copy() [all …]
|
/frameworks/base/tools/aapt/ |
D | ResourceFilter.cpp | 10 ResourceFilter::parse(const char* arg) in parse() argument 12 if (arg == NULL) { in parse() 16 const char* p = arg; in parse() 33 fprintf(stderr, "Invalid configuration: %s\n", arg); in parse() 35 for (int i=0; i<p-arg; i++) { in parse()
|
/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()
|
/frameworks/base/core/jni/ |
D | android_animation_PropertyValuesHolder.cpp | 51 JNIEnv* env, jclass pvhObject, jobject target, jmethodID methodID, int arg) in android_animation_PropertyValuesHolder_callIntMethod() argument 53 env->CallVoidMethod(target, methodID, arg); in android_animation_PropertyValuesHolder_callIntMethod() 57 JNIEnv* env, jclass pvhObject, jobject target, jmethodID methodID, float arg) in android_animation_PropertyValuesHolder_callFloatMethod() argument 59 env->CallVoidMethod(target, methodID, arg); in android_animation_PropertyValuesHolder_callFloatMethod()
|