/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.cpp | 178 static char* parse_null(char* arg) { in parse_null() argument 179 if (strcmp(arg, "!") == 0) { in parse_null() 182 return arg; in parse_null() 186 static int do_ping(char **arg ATTRIBUTE_UNUSED, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_ping() 191 static int do_create_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_create_app_data() argument 194 return create_app_data(parse_null(arg[0]), arg[1], atoi(arg[2]), atoi(arg[3]), in do_create_app_data() 195 atoi(arg[4]), arg[5], atoi(arg[6])); in do_create_app_data() 198 static int do_restorecon_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_restorecon_app_data() argument 201 …return restorecon_app_data(parse_null(arg[0]), arg[1], atoi(arg[2]), atoi(arg[3]), atoi(arg[4]), a… in do_restorecon_app_data() 204 static int do_migrate_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_migrate_app_data() argument [all …]
|
/frameworks/rs/api/ |
D | rs_debug.spec | 30 arg: const char* message 31 arg: #1 a 46 arg: const char* message 47 arg: #2#1 a 56 arg: const char* message 57 arg: #2#1 a 64 arg: const char* message 65 arg: float#1 a 73 arg: const char* message 74 arg: half#1 a [all …]
|
D | rs_quaternion.spec | 26 arg: rs_quaternion* q, "Destination quaternion to add to." 27 arg: const rs_quaternion* rhs, "Quaternion to add." 42 arg: rs_quaternion* q, "Quaternion to modify." 56 arg: const rs_quaternion* q0, "First quaternion." 57 arg: const rs_quaternion* q1, "Second quaternion." 69 arg: rs_matrix4x4* m, "Resulting matrix." 70 arg: const rs_quaternion* q, "Normalized quaternion." 102 arg: rs_quaternion* q, "Destination quaternion." 103 arg: float rot, "Angle to rotate by, in radians." 104 arg: float x, "X component of the vector." [all …]
|
D | rs_math.spec | 158 arg: #2#1 v 172 arg: #2#1 v, range(-1,1) 186 arg: #2#1 v, range(-1,1) 195 arg: #2#1 v 209 arg: #2#1 v 218 arg: #2#1 v, range(-1,1) 234 arg: #2#1 v, range(-1,1) 243 arg: #2#1 v, range(-1,1) 257 arg: #2#1 v, range(-1,1) 266 arg: #2#1 v [all …]
|
D | rs_graphics.spec | 189 arg: #1* dst 198 arg: #1 v 207 arg: #1* dst 208 arg: #1 src 216 arg: rs_allocation alloc 233 arg: rs_allocation alloc 234 arg: rs_allocation_usage_type source 242 arg: rs_allocation colorTarget 243 arg: uint slot 255 arg: rs_program_fragment ps, "program fragment object" [all …]
|
D | rs_matrix.spec | 51 arg: const rs_matrix4x4* viewProj, "Matrix to extract planes from." 52 arg: float4* left, "Left plane." 53 arg: float4* right, "Right plane." 54 arg: float4* top, "Top plane." 55 arg: float4* bottom, "Bottom plane." 56 arg: float4* near, "Near plane." 57 arg: float4* far, "Far plane." 112 arg: const rs_matrix4x4* viewProj 113 arg: float4* left 114 arg: float4* righ [all …]
|
D | rs_atomic.spec | 37 arg: volatile int32_t* addr, "Address of the value to modify." 38 arg: int32_t value, "Amount to add." 48 arg: volatile uint32_t* addr 49 arg: uint32_t value 56 arg: volatile int32_t* addr, "Address of the value to modify." 57 arg: int32_t value, "Value to and with." 68 arg: volatile uint32_t* addr 69 arg: uint32_t value 76 arg: volatile int32_t* addr, "Address of the value to compare and replace if the test passes." 77 arg: int32_t compareValue, "Value to test *addr against." [all …]
|
D | rs_allocation_create.spec | 30 arg: rs_data_type data_type, "Data type of the Element" 42 arg: rs_data_type data_type, "Data type of the Element" 43 arg: uint32_t vector_width, "Vector width (either 2, 3, or 4)" 55 arg: rs_data_type data_type, "Data type of the Element" 56 arg: rs_data_kind data_kind, "Data kind of the Element" 68 arg: int32_t data_type 69 arg: int32_t data_kind 70 arg: bool isNormalized 71 arg: uint32_t vecSize 78 arg: rs_element element, "Element to be associated with the Type" [all …]
|
D | rs_vector_math.spec | 43 arg: #2#1 left_vector 44 arg: #2#1 right_vector 57 arg: #2#1 left_vector 58 arg: #2#1 right_vector 68 arg: #2#1 left_vector 69 arg: #2#1 right_vector 84 arg: #2#1 left_vector 85 arg: #2#1 right_vector 95 arg: #2#1 left_vector 96 arg: #2#1 right_vector [all …]
|
D | rs_convert.spec | 31 arg: #2#1 v, compatible(#3) 53 arg: #2#1 v, compatible(#3) 63 arg: #2#1 v, compatible(#3) 73 arg: #2#1 v, compatible(#3) 83 arg: #2#1 v, compatible(#3) 93 arg: #2#1 v, compatible(#3) 99 arg: float r, "Red component." 100 arg: float g, "Green component." 101 arg: float b, "Blue component." 120 arg: float r [all …]
|
D | rs_for_each.spec | 98 arg: rs_script script, "Script to call." 99 arg: rs_allocation input, "Allocation to source data from." 100 arg: rs_allocation output, "Allocation to write date into." 101 arg: const void* usrData, "User defined data to pass to the script. May be NULL." 102 arg: const rs_script_call_t* sc, "Extra control information used to select a sub-region of the allo… 137 arg: rs_script script 138 arg: rs_allocation input 139 arg: rs_allocation output 140 arg: const void* usrData 147 arg: rs_script script [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/compile/mclinker/tools/mcld/ |
D | Main.cpp | 264 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_Color)) { in TranslateArguments() local 265 bool res = llvm::StringSwitch<bool>(arg->getValue()) in TranslateArguments() 281 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_Verbose)) { in TranslateArguments() local 282 llvm::StringRef value = arg->getValue(); in TranslateArguments() 285 mcld::errs() << "Invalid value for" << arg->getOption().getPrefixedName() in TranslateArguments() 286 << ": " << arg->getValue(); in TranslateArguments() 293 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_ErrorLimit)) { in TranslateArguments() local 294 llvm::StringRef value = arg->getValue(); in TranslateArguments() 297 mcld::errs() << "Invalid value for" << arg->getOption().getPrefixedName() in TranslateArguments() 298 << ": " << arg->getValue(); in TranslateArguments() [all …]
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterArguments.java | 101 KeymasterArgument arg = getArgumentByTag(tag); in getEnum() local 102 if (arg == null) { in getEnum() 105 return getEnumTagValue(arg); in getEnum() 118 for (KeymasterArgument arg : mArguments) { in getEnums() 119 if (arg.tag == tag) { in getEnums() 120 values.add(getEnumTagValue(arg)); in getEnums() 130 private int getEnumTagValue(KeymasterArgument arg) { in getEnumTagValue() argument 131 return ((KeymasterIntArgument) arg).value; in getEnumTagValue() 162 KeymasterArgument arg = getArgumentByTag(tag); in getUnsignedInt() local 163 if (arg == null) { in getUnsignedInt() [all …]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 71 String arg; in run() local 73 while ((arg = nextArg()) != null) { in run() 74 if ("--user".equals(arg)) { in run() 79 arg = nextArg(); in run() 80 if ("current".equals(arg) || "cur".equals(arg)) { in run() 83 mUser = Integer.parseInt(arg); in run() 86 if ("get".equalsIgnoreCase(arg)) { in run() 88 } else if ("put".equalsIgnoreCase(arg)) { in run() 90 } else if ("delete".equalsIgnoreCase(arg)) { in run() 92 } else if ("list".equalsIgnoreCase(arg)) { in run() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteConnection.java | 400 String arg = args[curArg]; in parseArgs() local 402 if (arg.equals("--")) { in parseArgs() 405 } else if (arg.startsWith("--setuid=")) { in parseArgs() 412 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 413 } else if (arg.startsWith("--setgid=")) { in parseArgs() 420 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 421 } else if (arg.startsWith("--target-sdk-version=")) { in parseArgs() 428 arg.substring(arg.indexOf('=') + 1)); in parseArgs() 429 } else if (arg.equals("--enable-debugger")) { in parseArgs() 431 } else if (arg.equals("--enable-safemode")) { in parseArgs() [all …]
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
D | Bpf2Apf.java | 39 private static int parseImm(String line, String arg) { in parseImm() argument 40 if (!arg.startsWith("#0x")) { in parseImm() 43 final long val_long = Long.parseLong(arg.substring(3), 16); in parseImm() 63 String arg = line.substring(15, Math.min(32, line.length())).trim(); in convertLine() local 72 if (arg.equals("4*([14]&0xf)")) { in convertLine() 79 if (arg.equals("#pktlen")) { in convertLine() 86 if (arg.startsWith("#0x")) { in convertLine() 90 gen.addLoadImmediate(dest, parseImm(line, arg)); in convertLine() 93 if (arg.startsWith("M[")) { in convertLine() 97 int memory_slot = Integer.parseInt(arg.substring(2, arg.length() - 1)); in convertLine() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | Preconditions.java | 44 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { in checkBitFlags() argument 45 if ((arg & flags) == 0) { in checkBitFlags() 50 return arg; in checkBitFlags() 64 public static <T> T checkEquals(String argName, T arg, in checkEquals() argument 66 if (!Objects.equals(arg, expectedValue)) { in checkEquals() 70 argName, expectedName, arg, expectedValue)); in checkEquals() 73 return arg; in checkEquals() 89 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() argument 90 if (arg == null) { in checkNotNull() 94 return arg; in checkNotNull() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Flags.cpp | 30 auto func = [value](const StringPiece& arg) -> bool { in requiredFlag() argument 31 *value = arg.toString(); in requiredFlag() 41 auto func = [value](const StringPiece& arg) -> bool { in requiredFlagList() argument 42 value->push_back(arg.toString()); in requiredFlagList() 52 auto func = [value](const StringPiece& arg) -> bool { in optionalFlag() argument 53 *value = arg.toString(); in optionalFlag() 63 auto func = [value](const StringPiece& arg) -> bool { in optionalFlagList() argument 64 value->push_back(arg.toString()); in optionalFlagList() 74 auto func = [value](const StringPiece& arg) -> bool { in optionalSwitch() argument 116 StringPiece arg = args[i]; in parse() local [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 179 int arg, filename = 0; in main() local 185 for (arg = 1; arg < argc; arg++) { in main() 186 if (argv[arg][0] == '+') { in main() 187 if (argv[arg][1] == 'M') { in main() 188 switch (argv[arg][2]) { in main() 207 fprintf(stderr, "Invalid parameter '%s'.\n", argv[arg]); in main() 213 fprintf(stderr, "Invalid parameter '%s'.\n", argv[arg]); in main() 219 inFileName = argv[arg]; in main() 222 outFileName = argv[arg]; in main() 226 fprintf(stderr, "Invalid parameter '%s'.\n", argv[arg]); in main()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelMethod.java | 78 ModelClass arg = args.get(i); in acceptsArguments() local 79 if (!parameterType.isAssignableFrom(arg) && !isImplicitConversion(arg, parameterType)) { in acceptsArguments() 91 final ModelClass arg = args.get(i); in isBetterArgMatchThan() local 94 final int diff = compareParameter(arg, thisParameter, thatParameter); in isBetterArgMatchThan() 111 private static int compareParameter(ModelClass arg, ModelClass thisParameter, in compareParameter() argument 113 if (thatParameter.equals(arg)) { in compareParameter() 115 } else if (thisParameter.equals(arg)) { in compareParameter() 117 } else if (isBoxingConversion(thatParameter, arg)) { in compareParameter() 119 } else if (isBoxingConversion(thisParameter, arg)) { in compareParameter() 123 int argConversionLevel = getImplicitConversionLevel(arg); in compareParameter()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 265 int arg, filename=0; in main() local 289 for (arg = 1; arg < argc; arg++) { in main() 290 if (argv [arg] [0] == '+') { in main() 291 if(argv[arg][1] == 'M') in main() 293 switch(argv[arg][2]) in main() 315 printf ("Invalid parameter '%s'.\n", argv [arg]); in main() 318 }else if(argv[arg][1] == 'F') in main() 320 switch(argv[arg][2]) in main() 330 printf ("Invalid parameter '%s'.\n", argv [arg]); in main() 335 }else if(strcmp (argv[arg], "+DTX") == 0) in main() [all …]
|
/frameworks/base/core/java/android/os/ |
D | ShellCommand.java | 200 String arg = mArgs[mArgPos]; in getNextOption() local 201 if (!arg.startsWith("-")) { in getNextOption() 205 if (arg.equals("--")) { in getNextOption() 208 if (arg.length() > 1 && arg.charAt(1) != '-') { in getNextOption() 209 if (arg.length() > 2) { in getNextOption() 210 mCurArgData = arg.substring(2); in getNextOption() 211 return arg.substring(0, 2); in getNextOption() 214 return arg; in getNextOption() 218 return arg; in getNextOption() 227 String arg = mCurArgData; in getNextArg() local [all …]
|