Searched refs:arg (Results 1 - 25 of 92) sorted by relevance

1234

/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dsupport_macros.h26 class_name(class_name& arg) // Do not implement
32 void operator=(class_name& arg) // Do not implement
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java74 private void arg(String name, String value) { method in class:GLLogWrapper
97 private void arg(String name, boolean value) { method in class:GLLogWrapper
98 arg(name, Boolean.toString(value));
101 private void arg(String name, int value) { method in class:GLLogWrapper
102 arg(name, Integer.toString(value));
105 private void arg(String name, float value) { method in class:GLLogWrapper
106 arg(name, Float.toString(value));
118 private void arg(String name, int n, int[] arr, int offset) { method in class:GLLogWrapper
119 arg(name, toString(n, FORMAT_INT, arr, offset));
122 private void arg(Strin method in class:GLLogWrapper
126 private void arg(String name, int n, float[] arr, int offset) { method in class:GLLogWrapper
230 private void arg(String name, int n, FloatBuffer buf) { method in class:GLLogWrapper
234 private void arg(String name, int n, IntBuffer buf) { method in class:GLLogWrapper
238 private void arg(String name, int n, ShortBuffer buf) { method in class:GLLogWrapper
[all...]
H A DEGLLogWrapper.java50 arg("display", display);
51 arg("attrib_list", attrib_list);
52 arg("config_size", config_size);
57 arg("configs", configs);
58 arg("num_config", num_config);
67 arg("display", display);
68 arg("surface", surface);
69 arg("native_pixmap", native_pixmap);
81 arg("display", display);
82 arg("confi
397 private void arg(String name, String value) { method in class:EGLLogWrapper
420 private void arg(String name, int value) { method in class:EGLLogWrapper
424 private void arg(String name, Object object) { method in class:EGLLogWrapper
428 private void arg(String name, EGLDisplay object) { method in class:EGLLogWrapper
438 private void arg(String name, EGLContext object) { method in class:EGLLogWrapper
446 private void arg(String name, EGLSurface object) { method in class:EGLLogWrapper
479 private void arg(String name, int[] arr) { method in class:EGLLogWrapper
487 private void arg(String name, Object[] arr) { method in class:EGLLogWrapper
[all...]
/frameworks/base/cmds/bu/src/com/android/commands/bu/
H A DBackup.java54 String arg = nextArg();
55 if (arg.equals("backup")) {
57 } else if (arg.equals("restore")) {
60 Log.e(TAG, "Invalid operation '" + arg + "'");
71 String arg;
72 while ((arg = nextArg()) != null) {
73 if (arg.startsWith("-")) {
74 if ("-apk".equals(arg)) {
76 } else if ("-noapk".equals(arg)) {
78 } else if ("-shared".equals(arg)) {
[all...]
/frameworks/base/cmds/installd/
H A Dinstalld.c27 static int do_ping(char **arg, char reply[REPLY_MAX]) argument
32 static int do_install(char **arg, char reply[REPLY_MAX]) argument
34 return install(arg[0], atoi(arg[1]), atoi(arg[2])); /* pkgname, uid, gid */
37 static int do_dexopt(char **arg, char reply[REPLY_MAX]) argument
40 return dexopt(arg[0], atoi(arg[1]), atoi(arg[2]));
43 static int do_move_dex(char **arg, cha argument
48 do_rm_dex(char **arg, char reply[REPLY_MAX]) argument
53 do_remove(char **arg, char reply[REPLY_MAX]) argument
58 do_rename(char **arg, char reply[REPLY_MAX]) argument
63 do_fixuid(char **arg, char reply[REPLY_MAX]) argument
68 do_free_cache(char **arg, char reply[REPLY_MAX]) argument
73 do_rm_cache(char **arg, char reply[REPLY_MAX]) argument
78 do_get_size(char **arg, char reply[REPLY_MAX]) argument
99 do_rm_user_data(char **arg, char reply[REPLY_MAX]) argument
104 do_mk_user_data(char **arg, char reply[REPLY_MAX]) argument
109 do_rm_user(char **arg, char reply[REPLY_MAX]) argument
114 do_clone_user_data(char **arg, char reply[REPLY_MAX]) argument
119 do_movefiles(char **arg, char reply[REPLY_MAX]) argument
124 do_linklib(char **arg, char reply[REPLY_MAX]) argument
201 char *arg[TOKEN_MAX+1]; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DPropertyValuesHolder_Delegate.java51 /*package*/ static void nCallIntMethod(Object target, int methodID, int arg) { argument
56 /*package*/ static void nCallFloatMethod(Object target, int methodID, float arg) { argument
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java63 String arg;
65 while ((arg = nextArg()) != null) {
66 if ("--user".equals(arg)) {
73 if ("get".equalsIgnoreCase(arg)) {
75 } else if ("put".equalsIgnoreCase(arg)) {
79 System.err.println("Invalid command: " + arg);
83 if (!"system".equalsIgnoreCase(arg)
84 && !"secure".equalsIgnoreCase(arg)
85 && !"global".equalsIgnoreCase(arg)) {
86 System.err.println("Invalid namespace '" + arg
[all...]
/frameworks/native/opengl/libs/tools/
H A Dgltracegen79 my $arg = $args[$num];
80 if ($arg =~ /(\S+\s)+\**\s*([\w]+)/) {
82 if ($arg =~ /((const )*(\S+\s)+\**)\s*([\w]+)/) {
/frameworks/base/tools/aidl/
H A Dgenerate_java_binder.cpp253 arg_type* arg; local
279 arg = method->args;
280 while (arg != NULL) {
282 NAMES.Search(arg->type.type.data), arg->name.data,
283 arg->type.dimension));
284 arg = arg->next;
304 arg = method->args;
305 while (arg !
[all...]
H A Dgenerate_java_rpc.cpp155 arg_type* arg; local
176 arg = method->args;
177 while (arg != NULL) {
178 Type* t = NAMES.Search(arg->type.type.data);
180 v->dimension = arg->type.dimension;
184 if (convert_direction(arg->direction.data) & IN_PARAMETER) {
185 generate_create_from_data(t, block, arg->name.data, v,
188 if (arg->type.dimension == 0) {
191 else if (arg->type.dimension == 1) {
203 arg
634 arg_type* arg; local
680 arg_type* arg; local
743 arg_type* arg; local
800 arg_type* arg; local
845 arg_type* arg; local
[all...]
H A Daidl_language_y.y219 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
263 arg: label
[all...]
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp151 // Everything up to '--' or first non '-' arg goes to the vm
163 const char* arg = argv[i++]; local
165 parentDir = arg;
166 } else if (strcmp(arg, "--zygote") == 0) {
169 } else if (strcmp(arg, "--start-system-server") == 0) {
171 } else if (strcmp(arg, "--application") == 0) {
173 } else if (strncmp(arg, "--nice-name=", 12) == 0) {
174 niceName = arg + 12;
176 className = arg;
/frameworks/native/opengl/libs/EGL/
H A Dtrace.cpp70 static const char* GLbooleanToString(GLboolean arg) { argument
71 return arg ? "GL_TRUE" : "GL_FALSE";
246 const void* arg = va_arg(argp, const void*);
247 builder.append("(%s) 0x%08x", type, (size_t) arg);
249 size_t arg = va_arg(argp, size_t);
253 if (b->e & arg) {
260 arg &= ~b->e;
263 if (first || arg != 0) {
267 builder.append("0x%08x", arg);
270 GLboolean arg
[all...]
/frameworks/base/core/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp51 JNIEnv* env, jclass pvhObject, jobject target, jmethodID methodID, int arg)
53 env->CallVoidMethod(target, methodID, arg);
57 JNIEnv* env, jclass pvhObject, jobject target, jmethodID methodID, float arg)
59 env->CallVoidMethod(target, methodID, arg);
50 android_animation_PropertyValuesHolder_callIntMethod( JNIEnv* env, jclass pvhObject, jobject target, jmethodID methodID, int arg) argument
56 android_animation_PropertyValuesHolder_callFloatMethod( JNIEnv* env, jclass pvhObject, jobject target, jmethodID methodID, float arg) argument
/frameworks/compile/libbcc/tests/
H A Dbccarm49 for arg in sys.argv[1:]:
50 if arg.startswith('-'):
51 remoteArgs.append(arg)
53 fileName = arg
/frameworks/compile/slang/tests/
H A Dtest.py94 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
[all...]
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp10 ResourceFilter::parse(const char* arg) argument
12 if (arg == NULL) {
16 const char* p = arg;
33 fprintf(stderr, "Invalid configuration: %s\n", arg);
35 for (int i=0; i<p-arg; i++) {
H A DResourceFilter.h20 status_t parse(const char* arg);
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c264 int arg, filename=0; local
288 for (arg = 1; arg < argc; arg++) {
289 if (argv [arg] [0] == '+') {
290 if(argv[arg][1] == 'M')
292 switch(argv[arg][2])
314 printf ("Invalid parameter '%s'.\n", argv [arg]);
317 }else if(argv[arg][1] == 'F')
319 switch(argv[arg][
[all...]
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
H A DRequestSync.java166 String arg = mArgs[mNextArg];
167 if (!arg.startsWith("-")) {
171 if (arg.equals("--")) {
174 if (arg.length() > 1 && arg.charAt(1) != '-') {
175 if (arg.length() > 2) {
176 mCurArgData = arg.substring(2);
177 return arg.substring(0, 2);
180 return arg;
184 return arg;
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteConnection.java310 * <li> --runtime-init indicates that the remaining arg list should
374 * Any args after and including the first non-option arg
401 String arg = args[curArg];
403 if (arg.equals("--")) {
406 } else if (arg.startsWith("--setuid=")) {
409 "Duplicate arg specified");
413 arg.substring(arg.indexOf('=') + 1));
414 } else if (arg.startsWith("--setgid=")) {
417 "Duplicate arg specifie
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DMediaBufferPuller.h62 static int acquireThreadStart(void* arg);
65 static int releaseThreadStart(void* arg);
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java190 String arg = mArgs[mNextArg];
191 if (!arg.startsWith("-")) {
195 if (arg.equals("--")) {
198 if (arg.length() > 1 && arg.charAt(1) != '-') {
199 if (arg.length() > 2) {
200 mCurArgData = arg.substring(2);
201 return arg.substring(0, 2);
204 return arg;
208 return arg;
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c130 char *arg = argv[i]; local
131 if (arg[0] != '-') {
134 if (!strcmp(arg, "-b")) {
136 } else if (!strcmp(arg, "-l")) {
138 } else if (!strcmp(arg, "-8")) {
140 } else if (!strncmp(arg, "-f", 2)) {
141 framesPerBuffer = atoi(&arg[2]);
142 } else if (!strncmp(arg, "-n", 2)) {
143 numBuffers = atoi(&arg[2]);
144 } else if (!strncmp(arg, "
[all...]
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c230 * version 3, 4 arg, but changed 1st arg
286 static void *_Block_copy_internal(const void *arg, const int flags) { argument
290 //printf("_Block_copy_internal(%p, %x)\n", arg, flags);
291 if (!arg) return NULL;
295 aBlock = (struct Block_layout *)arg;
369 static void _Block_byref_assign_copy(void *dest, const void *arg, const int flags) { argument
371 struct Block_byref *src = (struct Block_byref *)arg;
415 static void _Block_byref_release(const void *arg) { argument
416 struct Block_byref *shared_struct = (struct Block_byref *)arg;
454 _Block_copy(const void *arg) argument
460 _Block_release(void *arg) argument
488 _Block_destroy(const void *arg) argument
514 Block_size(void *arg) argument
[all...]

Completed in 326 milliseconds

1234