Searched refs:returnType (Results 1 - 25 of 109) sorted by relevance

12345

/external/webkit/Source/WebCore/bridge/jni/
H A Djni_objc.mm39 - (jvalue)webPlugInCallJava:(jobject)object method:(jmethodID)method returnType:(JavaType)returnType arguments:(jvalue*)args;
42 returnType:(JavaType)returnType
49 bool JSC::Bindings::dispatchJNICall(ExecState* exec, const void* targetAppletView, jobject obj, bool isStatic, JavaType returnType, jmethodID methodID, jvalue* args, jvalue &result, const char*, JSValue& exceptionDescription)
54 if (returnType == JavaTypeArray)
55 returnType = JavaTypeObject;
57 if ([view respondsToSelector:@selector(webPlugInCallJava:isStatic:returnType:method:arguments:callingURL:exceptionDescription:)]) {
66 result = [view webPlugInCallJava:obj isStatic:isStatic returnType:returnType metho
[all...]
H A DJavaMethod.h51 virtual JavaType returnType() const = 0;
H A DJavaMethodJobject.cpp47 if (jobject returnType = callJNIMethod<jobject>(aMethod, "getReturnType", "()Ljava/lang/Class;")) {
48 returnTypeName = static_cast<jstring>(callJNIMethod<jobject>(returnType, "getName", "()Ljava/lang/String;"));
51 env->DeleteLocalRef(returnType);
145 const char* returnType = m_returnTypeClassName.utf8(); local
147 appendClassName(signatureBuilder, returnType);
155 appendClassName(signatureBuilder, returnType);
H A DJavaMethodJobject.h51 virtual JavaType returnType() const { return m_returnType; } function in class:JSC::Bindings::JavaMethodJobject
/external/smali/dexlib/src/main/java/org/jf/dexlib/
H A DProtoIdItem.java38 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/apache-xml/src/main/java/org/apache/xpath/jaxp/
H A DXPathExpressionImpl.java97 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 DXPathImpl.java232 * <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 DMethodId.java33 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...]
/external/webkit/Source/JavaScriptCore/assembler/
H A DMacroAssemblerCodeRef.h68 template<typename returnType>
69 FunctionPtr(returnType(*value)())
75 template<typename returnType, typename argType1>
76 FunctionPtr(returnType(*value)(argType1))
82 template<typename returnType, typename argType1, typename argType2>
83 FunctionPtr(returnType(*value)(argType1, argType2))
89 template<typename returnType, typename argType1, typename argType2, typename argType3>
90 FunctionPtr(returnType(*value)(argType1, argType2, argType3))
96 template<typename returnType, typename argType1, typename argType2, typename argType3, typename argType4>
97 FunctionPtr(returnType(*valu
[all...]
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/
H A Djunit.stg58 testTreeRuleMethod2(methodName,testTreeRuleName,testRuleName,test,returnType,expecting) ::= <<
61 <returnType> retval = (<returnType>)execTreeParser(<testTreeRuleName>, <testRuleName>, "<test.inputEscaped>", <test.isFile>);
78 testRuleMethod2(methodName,testRuleName,test,returnType,expecting) ::= <<
81 <returnType> retval = (<returnType>)execParser(<testRuleName>, <test.line>, "<test.inputEscaped>", <test.isFile>);
/external/webkit/Source/WebKit/mac/Plugins/
H A DWebJavaPlugIn.h61 @method webPlugInCallJava:isStatic:returnType:method:arguments:callingURL:exceptionDescription:
64 @param returnType The return type of the Java method.
73 the call. webPlugInCallJava:isStatic:returnType:method:arguments:callingURL:exceptionDescription: must
79 returnType:(WebJNIReturnType)returnType
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingTestCase.java107 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/dexmaker/src/dx/java/com/android/dx/rop/type/
H A DPrototype.java35 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/webkit/Source/WebCore/bridge/jni/jsc/
H A DJNIUtilityPrivate.h45 bool dispatchJNICall(ExecState*, const void* targetAppletView, jobject, bool isStatic, JavaType returnType, jmethodID, jvalue* args, jvalue& result, const char* callingURL, JSValue& exceptionDescription);
H A DJavaFieldJSC.h55 jvalue dispatchValueFromInstance(ExecState*, const JavaInstance*, const char* name, const char* sig, JavaType returnType) const;
/external/easymock/src/org/easymock/internal/
H A DRecordState.java226 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/
H A DCtNewMethod.java88 * @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 DCtNewWrappedMethod.java27 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
/external/webkit/Source/WebCore/bindings/scripts/
H A DCodeGeneratorCPP.pm472 my $returnType = GetCPPType($function->signature->type, 0);
477 my $functionSig = "$returnType $functionName(";
545 my $returnType = shift;
547 if (!defined($returnType) or $returnType eq "void") {
548 $returnType = "";
549 } elsif ($codeGenerator->IsPrimitiveType($returnType)) {
550 $returnType = " 0";
551 } elsif ($returnType eq "bool") {
552 $returnType
[all...]
/external/proguard/src/proguard/classfile/util/
H A DInternalTypeEnumeration.java112 public String returnType() method in class:InternalTypeEnumeration
195 System.out.println(" Return type ["+enumeration.returnType()+"]");
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
H A DDeodexUtil.java254 public final String returnType; field in class:DeodexUtil.InlineMethod
259 String returnType) {
264 this.returnType = returnType;
277 this.methodIdItem = parseAndResolveMethod(classDef, methodName, parameters, returnType);
281 return String.format("%s->%s(%s)%s", classType, methodName, parameters, returnType);
258 InlineMethod(int methodType, String classType, String methodName, String parameters, String returnType) argument
/external/javassist/src/main/javassist/compiler/
H A DJvstTypeChecker.java111 CtClass returnType = codeGen.returnType;
114 compileUnwrapValue(returnType);
115 else if (returnType instanceof CtPrimitiveType) {
116 CtPrimitiveType pt = (CtPrimitiveType)returnType;
/external/jdiff/src/jdiff/
H A DMethodAPI.java55 public MethodAPI(String name, String returnType, boolean isAbstract, argument
59 returnType_ = returnType;
/external/webkit/Source/WebCore/bridge/jni/v8/
H A DJavaInstanceJobjectV8.cpp90 jvalue result = callJNIMethod(javaInstance(), method->returnType(), method->name().utf8().data(), method->signature(), jvalueArgs.get());
100 return jvalueToJavaValue(result, method->returnType(), m_requireAnnotation);
/external/dexmaker/src/main/java/com/google/dexmaker/stock/
H A DProxyBuilder.java413 Class<?> returnType = method.getReturnType();
414 TypeId<?> resultType = TypeId.get(returnType);
429 Class<?> aBoxedClass = PRIMITIVE_TO_BOXED.get(returnType);
460 generateCodeForReturnStatement(code, returnType, invokeResult, resultHolder,
470 if (void.class.equals(returnType)) {
495 if (void.class.equals(returnType)) {
536 String returnType = method.getReturnType().getName();
538 + returnType.replace('.', '_').replace('[', '_').replace(';', '_');
734 private final Class<?> returnType; field in class:ProxyBuilder.MethodSetEntry
741 returnType
[all...]

Completed in 503 milliseconds

12345