Home
last modified time | relevance | path

Searched refs:argName (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/opengl/tools/glgen/src/
DCFunc.java57 public void addArgument(String argName, CType argType) { in addArgument() argument
58 argNames.add(argName); in addArgument()
156 String argName = ""; in parseCFunc() local
164 argName = tokens[i++]; in parseCFunc()
165 if (argName.startsWith("*")) { in parseCFunc()
167 argName = argName.substring(1, argName.length()); in parseCFunc()
169 if (argName.endsWith(",")) { in parseCFunc()
170 argName = argName.substring(0, argName.length() - 1); in parseCFunc()
173 cfunc.addArgument(argName, argType); in parseCFunc()
DJFunc.java80 public void addArgument(String argName, JType argType, int cindex) { in addArgument() argument
81 argNames.add(argName); in addArgument()
87 bufferArgNames.add(argName); in addArgument()
91 bufferArgNames.add(argName); in addArgument()
DJniCodeEmitter.java179 String argName = jfunc.getArgName(i); in emitFunctionCall() local
185 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),"); in emitFunctionCall()
186 out.print(iii + indent + "getOffset(" + argName + ")"); in emitFunctionCall()
188 out.print(iii + indent + argName); in emitFunctionCall()
193 out.println(iii + indent + argName + ".remaining()"); in emitFunctionCall()
633 String argName = jfunc.getArgName(i); in emitFunction() local
636 out.print(indent + indent + argType + " " + argName); in emitFunction()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java44 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { in checkBitFlags() argument
47 String.format("Argument '%s' must have flags '%s' set", argName, flagsName)); in checkBitFlags()
64 public static <T> T checkEquals(String argName, T arg, in checkEquals() argument
70 argName, expectedName, arg, expectedValue)); in checkEquals()
89 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() argument
91 throw new NullPointerException("Argument '" + argName + "' must not be null"); in checkNotNull()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DRequiresPermissionChecker.java338 final Name argName = ((IdentifierTree) arg).getName(); in parseBroadcastSourceRequiresPermission() local
350 if (Objects.equal(argName, name) in parseBroadcastSourceRequiresPermission()
362 if (Objects.equal(argName, name) in parseBroadcastSourceRequiresPermission()
373 if (Objects.equal(argName, name) in parseBroadcastSourceRequiresPermission()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java1817 private static String getStringArgRequired(String[] args, int index, String argName) { in getStringArgRequired() argument
1819 throw new IllegalArgumentException("Missing " + argName); in getStringArgRequired()
1824 private static int getIntArgRequired(String[] args, int index, String argName) { in getIntArgRequired() argument
1826 throw new IllegalArgumentException("Missing " + argName); in getIntArgRequired()
1832 throw new IllegalArgumentException("Invalid " + argName + ": " + args[index]); in getIntArgRequired()
1837 private static long getLongArgRequired(String[] args, int index, String argName) { in getLongArgRequired() argument
1839 throw new IllegalArgumentException("Missing " + argName); in getLongArgRequired()
1845 throw new IllegalArgumentException("Invalid " + argName + ": " + args[index]); in getLongArgRequired()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp193 const char* argName = "this") { in CameraMetadata_getPointerThrow() argument