/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingTestCase.java | 107 private static Object getDefaultValue(Class<?> returnType) { argument 108 if (returnType == boolean.class || returnType == Boolean.class) { 110 } else if (returnType == int.class || returnType == Integer.class) { 112 } else if ((returnType == Set.class) || (returnType == Collection.class)) { 114 } else if (returnType == Iterator.class){ 116 } else if (returnType.isArray()) { 117 return Array.newInstance(returnType [all...] |
/external/proguard/src/proguard/classfile/util/ |
H A D | InternalTypeEnumeration.java | 112 public String returnType() method in class:InternalTypeEnumeration 195 System.out.println(" Return type ["+enumeration.returnType()+"]");
|
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
H A D | XPathExpressionImpl.java | 97 public Object eval(Object item, QName returnType) argument 100 return getResultAsType( resultObject, returnType ); 142 * <p>If <code>returnType</code> is not one of the types defined 149 * If <code>returnType</code> is <code>null</code>, then a 153 * @param returnType The desired return type. 157 * <code>returnType</code>. 160 * @throws IllegalArgumentException If <code>returnType</code> is not one 162 * @throws NullPointerException If <code>returnType</code> is 165 public Object evaluate(Object item, QName returnType) argument 168 if ( returnType 272 evaluate(InputSource source, QName returnType) argument [all...] |
H A D | XPathImpl.java | 232 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants} ( 243 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a 248 * @param returnType The desired return type. 250 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>. 253 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}. 254 * @throws NullPointerException If <code>expression</code> or <code>returnType</code> is <code>null</code>. 256 public Object evaluate(String expression, Object item, QName returnType) argument 264 if ( returnType == null ) { 267 new Object[] {"returnType"} ); 270 // Checking if requested returnType i 441 evaluate(String expression, InputSource source, QName returnType) argument [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
H A D | MethodId.java | 33 final TypeId<R> returnType; field in class:MethodId 41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { argument 42 if (declaringType == null || returnType == null || name == null || parameters == null) { 46 this.returnType = returnType; 58 return returnType; 92 result.append(returnType.name); 105 && ((MethodId<?, ?>) o).returnType.equals(returnType); 113 result = 31 * result + returnType [all...] |
H A D | TypeId.java | 128 public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) { argument 129 return new MethodId<T, R>(this, returnType, name, new TypeList(parameters));
|
/external/javassist/src/main/javassist/ |
H A D | CtNewMethod.java | 88 * @param returnType the type of the returned value. 99 public static CtMethod make(CtClass returnType, argument 105 return make(Modifier.PUBLIC, returnType, mname, parameters, exceptions, 114 * @param returnType the type of the returned value. 126 public static CtMethod make(int modifiers, CtClass returnType, argument 134 = new CtMethod(returnType, mname, parameters, declaring); 192 * @param returnType the type of the returned value 200 public static CtMethod abstractMethod(CtClass returnType, argument 207 CtMethod cm = new CtMethod(returnType, mname, parameters, declaring); 388 * type to the type specified by <code>returnType</cod 459 wrapped(CtClass returnType, String mname, CtClass[] parameterTypes, CtClass[] exceptionTypes, CtMethod body, ConstParameter constParam, CtClass declaring) argument [all...] |
H A D | CtNewWrappedMethod.java | 27 public static CtMethod wrapped(CtClass returnType, String mname, argument 34 CtMethod mt = new CtMethod(returnType, mname, parameterTypes, 45 parameterTypes, returnType, constParam); 53 CtClass returnType, 60 parameters, returnType, cparam, code); 72 CtClass returnType, ConstParameter cparam, 115 compileReturn(code, returnType); // consumes 2 stack entries 50 makeBody(CtClass clazz, ClassFile classfile, CtMethod wrappedBody, CtClass[] parameters, CtClass returnType, ConstParameter cparam) argument 69 makeBody0(CtClass clazz, ClassFile classfile, CtMethod wrappedBody, boolean isStatic, CtClass[] parameters, CtClass returnType, ConstParameter cparam, Bytecode code) argument
|
H A D | CtMethod.java | 46 * @param returnType the type of the returned value 52 public CtMethod(CtClass returnType, String mname, argument 56 String desc = Descriptor.ofMethod(returnType, parameters);
|
/external/jdiff/src/jdiff/ |
H A D | MethodAPI.java | 55 public MethodAPI(String name, String returnType, boolean isAbstract, argument 59 returnType_ = returnType;
|
H A D | XMLToAPI.java | 291 * @param returnType The return type of the method, null if it is void. 294 public static void addMethod(String name, String returnType, argument 297 String rt = returnType;
|
/external/mockito/src/org/mockito/internal/invocation/ |
H A D | SerializableMethod.java | 20 private Class<?> returnType;
field in class:SerializableMethod 28 returnType = method.getReturnType();
38 return returnType;
95 if (returnType == null) {
96 if (other.returnType != null)
98 } else if (!returnType.equals(other.returnType))
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | ChromeBrowserProviderClient.java | 173 private static <T extends Object> T chromeBrowserProviderCall(Class returnType, String name, argument 179 if (Parcelable.class.isAssignableFrom(returnType)) {
|
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
H A D | Prototype.java | 35 private final Type returnType; field in class:Prototype 100 Type returnType = Type.internReturnType(descriptor.substring(at)); 107 result = new Prototype(descriptor, returnType, parameterTypes); 187 * @param returnType {@code non-null;} the return type 191 public static Prototype internInts(Type returnType, int count) { argument 203 sb.append(returnType.getDescriptor()); 215 private Prototype(String descriptor, Type returnType, argument 221 if (returnType == null) { 222 throw new NullPointerException("returnType == null"); 230 this.returnType [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
H A D | DeodexUtil.java | 286 public final String returnType; field in class:DeodexUtil.InlineMethod 291 String returnType) { 296 this.returnType = returnType; 310 returnType); 314 return String.format("%s->%s(%s)%s", classType, methodName, parameters, returnType); 290 InlineMethod(int methodType, String classType, String methodName, String parameters, String returnType) argument
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
H A D | ProtoIdItem.java | 38 private TypeIdItem returnType; field in class:ProtoIdItem 52 * @param returnType the return type 55 private ProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) { argument 58 String shortyString = returnType.toShorty(); 63 this.returnType = returnType; 71 * @param returnType the return type 76 public static ProtoIdItem internProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) { argument 77 ProtoIdItem protoIdItem = new ProtoIdItem(dexFile, returnType, parameters); 85 * @param returnType th 90 lookupProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | es_generator.py | 230 returnType = apiutil.ReturnType(funcName) variable 237 if returnType == "void": 239 elif returnType == "GLboolean": 242 errorReturn = "return (%s) 0" % returnType 588 print "extern %s GL_APIENTRY %s(%s);" % (returnType, passthroughFuncName, passthroughDeclarationString) 641 print "static %s GL_APIENTRY %s(%s)" % (returnType, fullFuncName, declarationString) 662 # that return a value (i.e. returnType is not "void"), and that 667 if returnType == "void":
|
H A D | uniform_query.cpp | 264 GLsizei bufSize, enum glsl_base_type returnType, 288 assert(returnType == GLSL_TYPE_FLOAT || returnType == GLSL_TYPE_INT || 289 returnType == GLSL_TYPE_UINT); 306 if (returnType == uni->type->base_type 307 || ((returnType == GLSL_TYPE_INT 308 || returnType == GLSL_TYPE_UINT 309 || returnType == GLSL_TYPE_SAMPLER) 324 switch (returnType) { 263 _mesa_get_uniform(struct gl_context *ctx, GLuint program, GLint location, GLsizei bufSize, enum glsl_base_type returnType, GLvoid *paramsOut) argument
|
/external/easymock/src/org/easymock/internal/ |
H A D | RecordState.java | 226 private Object createNumberObject(Object value, Class<?> returnType) {
argument 231 if (returnType.equals(Byte.TYPE)) {
233 } else if (returnType.equals(Short.TYPE)) {
235 } else if (returnType.equals(Character.TYPE)) {
237 } else if (returnType.equals(Integer.TYPE)) {
239 } else if (returnType.equals(Long.TYPE)) {
241 } else if (returnType.equals(Float.TYPE)) {
243 } else if (returnType.equals(Double.TYPE)) {
251 Class<?> returnType = lastInvocation.getMethod().getReturnType();
252 return createNumberObject(o, returnType);
[all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | Descriptor.java | 288 * @param returnType return type 291 public static String ofMethod(CtClass returnType, CtClass[] paramTypes) { argument 301 if (returnType != null) 302 toDescriptor(desc, returnType);
|
/external/mesa3d/src/mesa/main/ |
H A D | es_generator.py | 230 returnType = apiutil.ReturnType(funcName) variable 237 if returnType == "void": 239 elif returnType == "GLboolean": 242 errorReturn = "return (%s) 0" % returnType 588 print "extern %s GL_APIENTRY %s(%s);" % (returnType, passthroughFuncName, passthroughDeclarationString) 641 print "static %s GL_APIENTRY %s(%s)" % (returnType, fullFuncName, declarationString) 662 # that return a value (i.e. returnType is not "void"), and that 667 if returnType == "void":
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
H A D | GenericMetadataSupport.java | 441 private final Class<?> returnType;
field in class:GenericMetadataSupport.NotGenericReturnTypeSupport 444 returnType = (Class<?>) genericReturnType;
449 return returnType;
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | utrace.c | 43 utrace_exit(int32_t fnNumber, int32_t returnType, ...) { argument 48 switch (returnType) { 69 va_start(args, returnType);
|
/external/emma/core/java12/com/vladium/jcd/lib/ |
H A D | Types.java | 144 public static String signatureToDescriptor (Class [] parameterTypes, Class returnType) argument 146 return new signatureCompiler ().signatureDescriptor (parameterTypes, returnType); 407 emit ('('); parameterTypes (_parameterTypes); emit (')'); returnType (_returnType); 432 private void returnType (Class _returnType) method in class:Types.signatureCompiler
|
/external/icu4c/common/ |
H A D | utrace.c | 43 utrace_exit(int32_t fnNumber, int32_t returnType, ...) { argument 48 switch (returnType) { 69 va_start(args, returnType);
|