/external/parameter-framework/asio-1.10.6/include/asio/ |
handler_type.hpp | 70 template <typename ReturnType, typename Signature> 71 struct handler_type<ReturnType(), Signature> 72 : handler_type<ReturnType(*)(), Signature> {}; 74 template <typename ReturnType, typename Arg1, typename Signature> 75 struct handler_type<ReturnType(Arg1), Signature> 76 : handler_type<ReturnType(*)(Arg1), Signature> {}; 78 template <typename ReturnType, typename Arg1, typename Arg2, typename Signature> 79 struct handler_type<ReturnType(Arg1, Arg2), Signature> 80 : handler_type<ReturnType(*)(Arg1, Arg2), Signature> {}; 82 template <typename ReturnType, typename Arg1, typename Arg2, typename Arg3 [all...] |
/external/r8/src/main/java/com/android/tools/r8/graph/ |
DexProto.java | 12 public final DexType returnType; 15 DexProto(DexString shorty, DexType returnType, DexTypeList parameters) { 17 this.returnType = returnType; 23 + returnType.hashCode() * 7 31 && returnType.equals(o.returnType) 38 return "Proto " + shorty + " " + returnType + " " + parameters; 45 returnType.collectIndexedItems(indexedItems); 62 int result = returnType.slowCompareTo(other.returnType) [all...] |
/external/sfntly/cpp/src/sfntly/port/ |
java_iterator.h | 27 template <typename ReturnType, typename ContainerBase> 38 template <typename ReturnType, typename Container, 40 class PODIterator : public Iterator<ReturnType, ContainerBase>, 41 public RefCounted< PODIterator<ReturnType, Container> > { 50 virtual ReturnType Next() = 0; 65 template <typename ReturnType, typename Container, 67 class RefIterator : public Iterator<ReturnType, ContainerBase>, 68 public RefCounted< RefIterator<ReturnType, Container> > { 77 CALLER_ATTACH virtual ReturnType* Next() = 0;
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
function_traits.h | 41 template <typename ReturnType, typename... Params> 43 SignatureType<ConditionalRewrite<Return_, ReturnType>( 46 template <template <typename> class Wrapper, typename ReturnType, 49 SignatureType<Wrapper<ConditionalRewrite<Return_, ReturnType>>( 52 template <typename ReturnType> 54 SignatureType<ConditionalRewrite<Return_, ReturnType>(Args_...)>;
|
remote_method_type.h | 30 template <typename ReturnType, typename... Params> 32 typename Traits::template RewriteSignature<ReturnType, Params...>; 34 template <template <typename> class Wrapper, typename ReturnType, 37 typename Traits::template RewriteSignatureWrapReturn<Wrapper, ReturnType, 40 template <typename ReturnType> 41 using RewriteReturn = typename Traits::template RewriteReturn<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...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
TypeWriter.java | 49 public MethodWriter addMethod(TypeWriter returnType, String name) { 50 MethodWriter methodWriter = new MethodWriter(returnType.name, name); 55 public MethodWriter addMethod(TypeMirror returnType, String name) { 57 new MethodWriter(TypeNames.forTypeMirror(returnType), name); 62 public MethodWriter addMethod(TypeName returnType, String name) { 63 MethodWriter methodWriter = new MethodWriter(returnType, name); 68 public MethodWriter addMethod(Class<?> returnType, String name) { 70 new MethodWriter(ClassName.fromClass(returnType), name);
|
MethodWriter.java | 33 private final TypeName returnType; 39 MethodWriter(TypeName returnType, String name) { 40 this.returnType = returnType; 51 public TypeName returnType() { 52 return returnType; 97 returnType.write(appendable, context); 115 .append(returnType)
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
SerializableMethod.java | 21 private final Class<?> returnType; 33 returnType = method.getReturnType(); 44 return returnType; 109 if (returnType == null) { 110 if (other.returnType != null) 112 } else if (!returnType.equals(other.returnType))
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
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); 106 && ((MethodId<?, ?>) o).returnType.equals(returnType); 115 result = 31 * result + returnType.hashCode() [all...] |
/external/r8/src/main/java/com/android/tools/r8/ir/code/ |
Return.java | 19 final private MoveType returnType; 23 returnType = null; 26 public Return(Value value, MoveType returnType) { 28 this.returnType = returnType; 36 return returnType; 50 assert returnType == MoveType.OBJECT; 53 if (returnType == MoveType.OBJECT) { 56 assert returnType == MoveType.SINGLE; 60 assert returnType == MoveType.WIDE [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...] |
/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...] |
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/ |
InsertionMethodProcessor.kt | 50 val returnType = delegate.extractReturnType() 51 val returnTypeName = TypeName.get(returnType) 61 var insertionType = getInsertionType(returnType) 79 returnType = returnType, 88 private fun getInsertionType(returnType: TypeMirror): InsertionMethod.Type? { 99 return if (returnType.kind == VOID) { 101 } else if (returnType.kind == TypeKind.ARRAY) { 102 val arrayType = MoreTypes.asArray(returnType) 111 } else if (MoreTypes.isType(returnType) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/ |
ImmutableMethodReference.java | 47 @Nonnull protected final String returnType; 52 @Nonnull String returnType) { 56 this.returnType = returnType; 62 @Nonnull String returnType) { 66 this.returnType = returnType; 84 @Nonnull @Override public String getReturnType() { return returnType; }
|
ImmutableMethodProtoReference.java | 46 @Nonnull protected final String returnType; 49 @Nonnull String returnType) { 51 this.returnType = returnType; 70 return returnType;
|
/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/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaFinderProxy.java | 74 if (JpaFinderProxy.ReturnType.PLAIN.equals(finderDescriptor.returnType)) { 76 } else if (JpaFinderProxy.ReturnType.COLLECTION.equals(finderDescriptor.returnType)) { 78 } else if (JpaFinderProxy.ReturnType.ARRAY.equals(finderDescriptor.returnType)) { 162 finderDescriptor.returnType = determineReturnType(finderDescriptor.returnClass); 200 if (JpaFinderProxy.ReturnType.COLLECTION.equals(finderDescriptor.returnType) 231 private JpaFinderProxy.ReturnType determineReturnType(Class<?> returnClass) [all...] |
/external/mockito/src/main/java/org/mockito/internal/handler/ |
NullResultGuardian.java | 33 Class<?> returnType = invocation.getMethod().getReturnType(); 34 if(result == null && returnType.isPrimitive()) { 36 return defaultValue(returnType);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderMethodProtoReference.java | 49 @Nonnull final BuilderTypeReference returnType; 53 @Nonnull BuilderTypeReference returnType) { 56 this.returnType = returnType; 64 return returnType.getType();
|
/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));
|
/external/eigen/Eigen/src/Core/ |
ReturnByValue.h | 20 : public traits<typename traits<Derived>::ReturnType> 26 Flags = (traits<typename traits<Derived>::ReturnType>::Flags 41 typedef typename traits<Derived>::ReturnType type; 54 typedef typename internal::traits<Derived>::ReturnType ReturnType; 96 : public evaluator<typename internal::traits<Derived>::ReturnType> 99 typedef typename internal::traits<Derived>::ReturnType PlainObject;
|
/art/test/044-proxy/src/ |
ReturnsAndArgPassing.java | 55 Class<?> returnType = null; 84 return returnType.getField("MAX_VALUE").get(null); 87 return returnType.getField("MIN_VALUE").get(null); 90 throw new Error("return type = " + returnType, e); 112 myHandler.returnType = Boolean.class; 121 myHandler.returnType = Byte.class; 130 myHandler.returnType = Character.class; 139 myHandler.returnType = Short.class; 148 myHandler.returnType = Integer.class; 157 myHandler.returnType = Long.class [all...] |
/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>);
|