HomeSort by relevance Sort by last modified time
    Searched refs:returnType (Results 1 - 25 of 218) sorted by null

1 2 3 4 5 6 7 8 9

  /external/smali/dexlib/src/main/java/org/jf/dexlib/
ProtoIdItem.java 38 private TypeIdItem returnType;
52 * @param returnType the return type
55 private ProtoIdItem(DexFile dexFile, TypeIdItem returnType, TypeListItem parameters) {
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) {
77 ProtoIdItem protoIdItem = new ProtoIdItem(dexFile, returnType, parameters);
85 * @param returnType the return typ
    [all...]
  /dalvik/tools/dexdeps/src/com/android/dexdeps/
MethodRef.java 26 public MethodRef(String declClass, String[] argTypes, String returnType,
30 mReturnType = returnType;
74 String returnType) {
83 builder.append(returnType);
  /external/apache-xml/src/main/java/org/apache/xpath/jaxp/
XPathExpressionImpl.java 97 public Object eval(Object item, QName returnType)
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)
168 if ( returnType == null )
    [all...]
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)
264 if ( returnType == null ) {
267 new Object[] {"returnType"} );
270 // Checking if requested returnType is supported. returnType need t
    [all...]
  /libcore/luni/src/main/java/javax/xml/xpath/
XPathExpression.java 90 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants},
96 * If <code>returnType</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p>
99 * @param returnType The desired return type.
102 * <code>returnType</code>.
105 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}.
106 * @throws NullPointerException If <code>returnType</code> is <code>null</code>.
108 public Object evaluate(Object item, QName returnType)
114 * <p>This method calls {@link #evaluate(Object item, QName returnType)} with a <code>returnType</code> of
139 * {@link #evaluate(Object item, QName returnType)} on the resulting document object.</p
    [all...]
XPath.java 189 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants} (
200 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a
205 * @param returnType The desired return type.
207 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>.
210 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}.
211 * @throws NullPointerException If <code>expression</code> or <code>returnType</code> is <code>null</code>.
213 public Object evaluate(String expression, Object item, QName returnType)
219 * <p>This method calls {@link #evaluate(String expression, Object item, QName returnType)} with a <code>returnType</code> of
247 * {@link #evaluate(String expression, Object item, QName returnType)} on the resulting document object.</p
    [all...]
  /external/dexmaker/src/main/java/com/google/dexmaker/
MethodId.java 33 final TypeId<R> returnType;
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) {
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.hashCode()
    [all...]
  /external/mockito/src/org/mockito/internal/invocation/
SerializableMethod.java 20 private Class<?> returnType;
28 returnType = method.getReturnType();
38 return returnType;
95 if (returnType == null) {
96 if (other.returnType != null)
98 } else if (!returnType.equals(other.returnType))
  /cts/tools/signature-tools/src/signature/model/impl/
SigMethod.java 30 private ITypeReference returnType = Uninitialized.unset();
38 return returnType;
41 public void setReturnType(ITypeReference returnType) {
42 this.returnType = returnType;
  /external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/
junit.stg 58 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/guava/guava-tests/test/com/google/common/collect/
ForwardingTestCase.java 107 private static Object getDefaultValue(Class<?> returnType) {
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.getComponentType(), 0)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/
GLAPISpecTest.java 31 String returnType = "void";
38 GLAPISpec spec = GLAPISpec.parseLine(createSpec(returnType, funcName, args));
41 assertEquals(returnType, spec.getReturnValue().getCType());
58 private String createSpec(String returnType, String funcName, List<String> args) {
60 sb.append(String.format("%s, %s", returnType, funcName));
  /dalvik/dexgen/src/com/android/dexgen/rop/type/
Prototype.java 35 private final Type returnType;
96 Type returnType = Type.internReturnType(descriptor.substring(at));
103 result = new Prototype(descriptor, returnType, parameterTypes);
183 * @param returnType {@code non-null;} the return type
187 public static Prototype internInts(Type returnType, int count) {
199 sb.append(returnType.getDescriptor());
211 private Prototype(String descriptor, Type returnType,
217 if (returnType == null) {
218 throw new NullPointerException("returnType == null");
226 this.returnType = returnType
    [all...]
  /dalvik/dx/src/com/android/dx/rop/type/
Prototype.java 35 private final Type returnType;
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) {
203 sb.append(returnType.getDescriptor());
215 private Prototype(String descriptor, Type returnType,
221 if (returnType == null) {
222 throw new NullPointerException("returnType == null");
230 this.returnType = returnType
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/rop/type/
Prototype.java 35 private final Type returnType;
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) {
203 sb.append(returnType.getDescriptor());
215 private Prototype(String descriptor, Type returnType,
221 if (returnType == null) {
222 throw new NullPointerException("returnType == null");
230 this.returnType = returnType
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiMethod.java 36 ApiMethod(String name, List<String> parameterTypes, String returnType, boolean deprecated) {
39 mReturnType = returnType;
  /external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
ReturnsMoreEmptyValues.java 62 Class<?> returnType = invocation.getMethod().getReturnType();
63 return returnValueFor(returnType);
  /external/mockito/src/org/mockito/internal/handler/
NullResultGuardian.java 30 Class<?> returnType = invocation.getMethod().getReturnType();
31 if(result == null && returnType.isPrimitive()) {
33 return new HandyReturnValues().returnFor(returnType);
  /art/test/044-proxy/src/
ReturnsAndArgPassing.java 55 Class<?> returnType = null;
82 return returnType.getField("MAX_VALUE").get(null);
85 return returnType.getField("MIN_VALUE").get(null);
88 throw new Error("return type = " + returnType, e);
110 myHandler.returnType = Boolean.class;
119 myHandler.returnType = Byte.class;
128 myHandler.returnType = Character.class;
137 myHandler.returnType = Short.class;
146 myHandler.returnType = Integer.class;
155 myHandler.returnType = Long.class
    [all...]
  /external/easymock/src/org/easymock/internal/
RecordState.java 226 private Object createNumberObject(Object value, Class<?> returnType) {
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...]
  /libcore/libdvm/src/main/java/java/lang/reflect/
Method.java 93 private Class<?> returnType;
110 genericReturnType = parser.returnType;
115 private Method(Class<?> declaring, Class<?>[] paramTypes, Class<?>[] exceptTypes, Class<?> returnType, String name, int slot, int methodDexIndex) {
121 this.returnType = returnType;
385 returnType.equals(rhs.returnType) &&
453 return returnType;
515 return invokeNative(receiver, args, declaringClass, parameterTypes, returnType, slot, flag);
519 Class<?>[] parameterTypes, Class<?> returnType, int slot, boolean noAccessCheck
    [all...]
  /development/tools/apkcheck/src/com/android/apkcheck/
MethodInfo.java 36 public MethodInfo(String name, String returnType) {
38 mReturn = returnType;
  /external/javassist/src/main/javassist/
CtNewMethod.java 88 * @param returnType the type of the returned value.
99 public static CtMethod make(CtClass returnType,
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,
134 = new CtMethod(returnType, mname, parameters, declaring);
192 * @param returnType the type of the returned value
200 public static CtMethod abstractMethod(CtClass returnType,
207 CtMethod cm = new CtMethod(returnType, mname, parameters, declaring);
388 * type to the type specified by <code>returnType</code>. Thus
    [all...]
CtNewWrappedMethod.java 27 public static CtMethod wrapped(CtClass returnType, String mname,
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
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
TransformClassAdapter.java 111 String returnType = t.getInternalName();
112 if (returnType != null) {
113 if (mDeleteReturns.contains(returnType)) {
149 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature,
173 Type returnType(String desc) {

Completed in 1009 milliseconds

1 2 3 4 5 6 7 8 9