/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeResolverTest.java | 35 assertEquals(t, new TypeResolver().resolveType(t)); in testWhere_noMapping() 40 assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t)); in testWhere_typeVariableMapping() 47 String.class, new TypeResolver().where(t1, t2).where(t2, String.class).resolveType(t1)); in testWhere_indirectMapping() 51 TypeResolver resolver = new TypeResolver(); in testWhere_typeVariableSelfMapping() 57 TypeResolver resolver = new TypeResolver(); in testWhere_parameterizedSelfMapping() 63 TypeResolver resolver = new TypeResolver(); in testWhere_genericArraySelfMapping() 69 TypeResolver resolver = new TypeResolver(); in testWhere_rawClassSelfMapping() 75 TypeResolver resolver = new TypeResolver(); in testWhere_wildcardSelfMapping() 82 TypeResolver resolver = new TypeResolver().where(t, String.class); in testWhere_duplicateMapping() 93 assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1)); in testWhere_recursiveMapping() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | TypeResolverTest.java | 35 assertEquals(t, new TypeResolver().resolveType(t)); in testWhere_noMapping() 40 assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t)); in testWhere_typeVariableMapping() 47 String.class, new TypeResolver().where(t1, t2).where(t2, String.class).resolveType(t1)); in testWhere_indirectMapping() 51 TypeResolver resolver = new TypeResolver(); in testWhere_typeVariableSelfMapping() 57 TypeResolver resolver = new TypeResolver(); in testWhere_parameterizedSelfMapping() 63 TypeResolver resolver = new TypeResolver(); in testWhere_genericArraySelfMapping() 69 TypeResolver resolver = new TypeResolver(); in testWhere_rawClassSelfMapping() 75 TypeResolver resolver = new TypeResolver(); in testWhere_wildcardSelfMapping() 82 TypeResolver resolver = new TypeResolver().where(t, String.class); in testWhere_duplicateMapping() 93 assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1)); in testWhere_recursiveMapping() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | variant_encode_decode.h | 47 struct TypeResolver {}; struct 51 void EncodeVariantImpl(const T& value, TypeResolver<T, true /* is_pod */>, in EncodeVariantImpl() 59 TypeResolver<T, false /* is_pod */, true /* Tensor */>, in EncodeVariantImpl() 68 TypeResolver<T, false /* is_pod */, false /* Tensor */, in EncodeVariantImpl() 77 TypeResolver<T, false /* is_pod */, false /* Tensor */, in EncodeVariantImpl() 86 TypeResolver<T, true /* is_pod */, false /* Tensor */, in DecodeVariantImpl() 95 TypeResolver<T, false /* is_pod */, true /* Tensor */, in DecodeVariantImpl() 105 TypeResolver<T, false /* is_pod */, false /* Tensor */, in DecodeVariantImpl() 116 TypeResolver<T, false /* is_pod */, false /* Tensor */, in DecodeVariantImpl() 223 EncodeVariantImpl(value, TypeResolver<T>(), data); [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | json_util.h | 122 TypeResolver* resolver, const std::string& type_url, 127 TypeResolver* resolver, const std::string& type_url, in BinaryToJsonStream() 135 TypeResolver* resolver, const std::string& type_url, 139 inline util::Status BinaryToJsonString(TypeResolver* resolver, in BinaryToJsonString() 153 TypeResolver* resolver, const std::string& type_url, 158 TypeResolver* resolver, const std::string& type_url, in JsonToBinaryStream() 166 TypeResolver* resolver, const std::string& type_url, 170 inline util::Status JsonToBinaryString(TypeResolver* resolver, in JsonToBinaryString()
|
D | type_resolver.h | 52 class PROTOBUF_EXPORT TypeResolver { 54 TypeResolver() {} in TypeResolver() function 55 virtual ~TypeResolver() {} in ~TypeResolver() 66 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeResolver);
|
D | json_util.cc | 85 util::Status BinaryToJsonStream(TypeResolver* resolver, in BinaryToJsonStream() 113 util::Status BinaryToJsonString(TypeResolver* resolver, in BinaryToJsonString() 176 util::Status JsonToBinaryStream(TypeResolver* resolver, in JsonToBinaryStream() 207 util::Status JsonToBinaryString(TypeResolver* resolver, in JsonToBinaryString() 220 TypeResolver* generated_type_resolver_ = NULL; 236 TypeResolver* GetGeneratedTypeResolver() { in GetGeneratedTypeResolver() 246 TypeResolver* resolver = in MessageToJsonString() 262 TypeResolver* resolver = in JsonStringToMessage()
|
D | type_resolver_util.h | 42 class TypeResolver; variable 48 PROTOBUF_EXPORT TypeResolver* NewTypeResolverForDescriptorPool(
|
D | type_resolver_util.cc | 71 class DescriptorPoolTypeResolver : public TypeResolver { 366 TypeResolver* NewTypeResolverForDescriptorPool(const std::string& url_prefix, in NewTypeResolverForDescriptorPool()
|
D | json_util_test.cc | 85 std::unique_ptr<TypeResolver> resolver_; 626 TypeResolver* resolver = NewTypeResolverForDescriptorPool( in TEST_F()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 55 public final class TypeResolver { class 59 public TypeResolver() { in TypeResolver() method in TypeResolver 63 private TypeResolver(TypeTable typeTable) { in TypeResolver() method in TypeResolver 74 static TypeResolver covariantly(Type contextType) { in covariantly() 75 return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(contextType)); in covariantly() 89 static TypeResolver invariantly(Type contextType) { in invariantly() 91 return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(invariantContext)); in invariantly() 113 public TypeResolver where(Type formal, Type actual) { in where() 120 TypeResolver where(Map<TypeVariableKey, ? extends Type> mappings) { in where() 121 return new TypeResolver(typeTable.where(mappings)); in where() [all …]
|
D | TypeToken.java | 106 private transient @Nullable TypeResolver invariantTypeResolver; 109 private transient @Nullable TypeResolver covariantTypeResolver; 159 this.runtimeType = TypeResolver.covariantly(declaringClass).resolveType(captured); in TypeToken() 224 TypeResolver resolver = in where() 225 new TypeResolver() in where() 228 new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType)); in where() 841 return of(new TypeResolver().resolveType(runtimeType)); 1178 private TypeResolver getCovariantTypeResolver() { 1179 TypeResolver resolver = covariantTypeResolver; 1181 resolver = (covariantTypeResolver = TypeResolver.covariantly(runtimeType)); [all …]
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | TypeResolver.java | 55 public final class TypeResolver { class 59 public TypeResolver() { in TypeResolver() method in TypeResolver 63 private TypeResolver(TypeTable typeTable) { in TypeResolver() method in TypeResolver 74 static TypeResolver covariantly(Type contextType) { in covariantly() 75 return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(contextType)); in covariantly() 89 static TypeResolver invariantly(Type contextType) { in invariantly() 91 return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(invariantContext)); in invariantly() 113 public TypeResolver where(Type formal, Type actual) { in where() 120 TypeResolver where(Map<TypeVariableKey, ? extends Type> mappings) { in where() 121 return new TypeResolver(typeTable.where(mappings)); in where() [all …]
|
D | TypeToken.java | 106 @NullableDecl private transient TypeResolver invariantTypeResolver; 109 @NullableDecl private transient TypeResolver covariantTypeResolver; 159 this.runtimeType = TypeResolver.covariantly(declaringClass).resolveType(captured); in TypeToken() 224 TypeResolver resolver = in where() 225 new TypeResolver() in where() 228 new TypeResolver.TypeVariableKey(typeParam.typeVariable), typeArg.runtimeType)); in where() 844 return of(new TypeResolver().resolveType(runtimeType)); 1182 private TypeResolver getCovariantTypeResolver() { 1183 TypeResolver resolver = covariantTypeResolver; 1185 resolver = (covariantTypeResolver = TypeResolver.covariantly(runtimeType)); [all …]
|
/external/tensorflow/tensorflow/java/src/gen/cc/ |
D | op_specs.cc | 44 class TypeResolver { class 46 explicit TypeResolver(const OpDef& op_def) : op_def_(op_def) {} in TypeResolver() function in tensorflow::java::__anon373d94720111::TypeResolver 92 Type TypeResolver::TypeOf(const OpDef_ArgDef& arg_def, bool* iterable_out) { in TypeOf() 128 std::pair<Type, Type> TypeResolver::TypesOf(const OpDef_AttrDef& attr_def, in TypesOf() 287 TypeResolver* type_resolver) { in CreateInput() 303 TypeResolver* type_resolver) { in CreateAttribute() 322 TypeResolver* type_resolver) { in CreateOutput() 357 TypeResolver type_resolver(op_def); in Create()
|
/external/grpc-grpc/test/cpp/qps/ |
D | parse_json.cc | 32 std::unique_ptr<google::protobuf::util::TypeResolver> type_resolver( in ParseJson() 51 std::unique_ptr<google::protobuf::util::TypeResolver> type_resolver( in SerializeJson()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | type_info.cc | 53 explicit TypeInfoForTypeResolver(TypeResolver* type_resolver) in TypeInfoForTypeResolver() 160 TypeResolver* type_resolver_; 174 TypeInfo* TypeInfo::NewTypeInfo(TypeResolver* type_resolver) { in NewTypeInfo()
|
D | type_info.h | 83 static TypeInfo* NewTypeInfo(TypeResolver* type_resolver);
|
D | type_info_test_helper.h | 87 std::unique_ptr<TypeResolver> type_resolver_;
|
D | default_value_objectwriter.h | 81 DefaultValueObjectWriter(TypeResolver* type_resolver,
|
D | protostream_objectsource.h | 75 TypeResolver* type_resolver,
|
D | protostream_objectwriter.h | 116 ProtoStreamObjectWriter(TypeResolver* type_resolver,
|
/external/protobuf/conformance/ |
D | conformance_cpp.cc | 55 using google::protobuf::util::TypeResolver; 97 TypeResolver* type_resolver;
|
D | binary_json_conformance_suite.h | 113 std::unique_ptr<google::protobuf::util::TypeResolver>
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | SyntaxTreeBuilder.java | 73 protected final Switch typeResolver = new TypeResolver();
|
D | TypeResolver.java | 75 public class TypeResolver extends DepthFirstAdapter { class
|