/external/guava/guava/src/com/google/common/base/ |
D | Throwables.java | 73 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf() argument 75 if (declaredType.isInstance(throwable)) { in throwIfInstanceOf() 76 throw declaredType.cast(throwable); in throwIfInstanceOf() 102 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfInstanceOf() argument 104 throwIfInstanceOf(throwable, declaredType); in propagateIfInstanceOf() 183 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfPossible() argument 184 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
|
/external/guava/android/guava/src/com/google/common/base/ |
D | Throwables.java | 73 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf() argument 75 if (declaredType.isInstance(throwable)) { in throwIfInstanceOf() 76 throw declaredType.cast(throwable); in throwIfInstanceOf() 102 @NullableDecl Throwable throwable, Class<X> declaredType) throws X { in propagateIfInstanceOf() argument 104 throwIfInstanceOf(throwable, declaredType); in propagateIfInstanceOf() 183 @NullableDecl Throwable throwable, Class<X> declaredType) throws X { in propagateIfPossible() argument 184 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
|
/external/dagger2/java/dagger/internal/codegen/langmodel/ |
D | DaggerTypes.java | 105 DeclaredType declaredType = MoreTypes.asDeclared(type); in unwrapTypeOrDefault() local 106 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in unwrapTypeOrDefault() 111 return getOnlyElement(declaredType.getTypeArguments(), defaultType); in unwrapTypeOrDefault() 207 public Void visitDeclared(DeclaredType declaredType, Void p) { in checkTypePresent() 208 declaredType.getTypeArguments().forEach(t -> t.accept(this, p)); in checkTypePresent() 236 public Boolean visitDeclared(DeclaredType declaredType, Void p) { in hasTypeVariable() argument 237 return declaredType.getTypeArguments().stream().anyMatch(type -> type.accept(this, p)); in hasTypeVariable()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | ProducesMethodValidator.java | 122 DeclaredType declaredType = MoreTypes.asDeclared(type); in unwrapListenableFuture() local 123 if (declaredType.getTypeArguments().isEmpty()) { in unwrapListenableFuture() 127 return Optional.of((TypeMirror) getOnlyElement(declaredType.getTypeArguments())); in unwrapListenableFuture()
|
D | KeyVariableNamer.java | 53 public Void visitDeclared(DeclaredType declaredType, StringBuilder builder) { 54 TypeElement element = MoreTypes.asTypeElement(declaredType); 62 declaredType.getTypeArguments().iterator();
|
D | BindingFactory.java | 476 DeclaredType declaredType, Optional<TypeMirror> resolvedType) { in membersInjectionBinding() argument 478 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in membersInjectionBinding() 482 types.isSameType(types.erasure(resolved), types.erasure(declaredType)), in membersInjectionBinding() 485 types.erasure(declaredType)); in membersInjectionBinding() 486 declaredType = resolved; in membersInjectionBinding() 489 injectionSiteFactory.getInjectionSites(declaredType); in membersInjectionBinding() 496 Key key = keyFactory.forMembersInjectedType(declaredType); in membersInjectionBinding() 497 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in membersInjectionBinding()
|
D | TypeProtoConverter.java | 68 DeclaredType declaredType = MoreTypes.asDeclared(type); in toProto() local 69 TypeMirror enclosingType = declaredType.getEnclosingType(); in toProto() 77 declaredType.getTypeArguments().stream() in toProto()
|
D | MembersInjectionValidator.java | 122 public Boolean visitDeclared(DeclaredType declaredType, Void p) { 123 for (TypeMirror arg : declaredType.getTypeArguments()) {
|
D | MethodSignatureFormatter.java | 53 Formatter<ExecutableElement> typedFormatter(DeclaredType declaredType) { in typedFormatter() argument 59 MoreTypes.asExecutable(types.asMemberOf(declaredType, method)), in typedFormatter()
|
D | InjectionSiteFactory.java | 95 ImmutableSortedSet<InjectionSite> getInjectionSites(DeclaredType declaredType) { in getInjectionSites() argument 99 for (Optional<DeclaredType> currentType = Optional.of(declaredType); in getInjectionSites()
|
D | ModuleValidator.java | 261 public Void visitDeclared(DeclaredType declaredType, Void aVoid) { in validateReferencedSubcomponents() 262 TypeElement attributeType = MoreTypes.asTypeElement(declaredType); in validateReferencedSubcomponents()
|
/external/guava/guava/src/com/google/common/io/ |
D | Closer.java | 166 public <X extends Exception> RuntimeException rethrow(Throwable e, Class<X> declaredType) in rethrow() argument 171 Throwables.propagateIfPossible(e, declaredType); in rethrow()
|
/external/guava/android/guava/src/com/google/common/io/ |
D | Closer.java | 166 public <X extends Exception> RuntimeException rethrow(Throwable e, Class<X> declaredType) in rethrow() argument 171 Throwables.propagateIfPossible(e, declaredType); in rethrow()
|
/external/turbine/javatests/com/google/turbine/lower/testdata/ |
D | genericexn.test | 6 Throwable throwable, Class<X> declaredType) throws X {
|
/external/angle/third_party/glslang/src/hlsl/ |
D | hlslGrammar.cpp | 364 TType declaredType; in acceptDeclaration() local 377 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration() 398 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration() 404 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration() 431 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType); in acceptDeclaration() 434 …if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel(… in acceptDeclaration() 435 declaredType.getQualifier().storage = EvqUniform; in acceptDeclaration() 444 variableType.shallowCopy(declaredType); in acceptDeclaration() 450 variableType.copyArrayInnerSizes(declaredType.getArraySizes()); in acceptDeclaration() 508 …if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel())… in acceptDeclaration()
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslGrammar.cpp | 364 TType declaredType; in acceptDeclaration() local 377 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration() 398 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration() 404 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration() 431 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType); in acceptDeclaration() 434 …if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel(… in acceptDeclaration() 435 declaredType.getQualifier().storage = EvqUniform; in acceptDeclaration() 444 variableType.shallowCopy(declaredType); in acceptDeclaration() 450 variableType.copyArrayInnerSizes(declaredType.getArraySizes()); in acceptDeclaration() 508 …if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel())… in acceptDeclaration()
|