Home
last modified time | relevance | path

Searched refs:TypeKind (Results 1 – 25 of 68) sorted by relevance

123

/external/clang/bindings/python/tests/cindex/
Dtest_type.py5 from clang.cindex import TypeKind
38 assert fields[0].type.kind == TypeKind.INT
39 assert fields[0].type.get_canonical().kind == TypeKind.INT
43 assert fields[1].type.kind == TypeKind.TYPEDEF
44 assert fields[1].type.get_canonical().kind == TypeKind.INT
49 assert fields[2].type.kind == TypeKind.LONG
50 assert fields[2].type.get_canonical().kind == TypeKind.LONG
54 assert fields[3].type.kind == TypeKind.ULONG
55 assert fields[3].type.get_canonical().kind == TypeKind.ULONG
59 assert fields[4].type.kind == TypeKind.LONG
[all …]
Dtest_cursor.py7 from clang.cindex import TypeKind
56 assert s0_nodes[0].type.kind == TypeKind.INT
59 assert s0_nodes[1].type.kind == TypeKind.INT
265 assert underlying.kind == TypeKind.INT
298 assert enum_type.kind == TypeKind.UINT
306 assert enum.enum_type.kind == TypeKind.LONGLONG
370 assert t.kind == TypeKind.INT
417 assert foos[1].get_template_argument_type(1).kind == TypeKind.FLOAT
/external/clang/bindings/python/clang/
Dcindex.py1414 if underlying_type.kind == TypeKind.ENUM:
1416 if underlying_type.kind in (TypeKind.CHAR_U,
1417 TypeKind.UCHAR,
1418 TypeKind.CHAR16,
1419 TypeKind.CHAR32,
1420 TypeKind.USHORT,
1421 TypeKind.UINT,
1422 TypeKind.ULONG,
1423 TypeKind.ULONGLONG,
1424 TypeKind.UINT128):
[all …]
/external/dagger2/java/dagger/internal/codegen/
DBindsInstanceParameterValidator.java21 import static javax.lang.model.type.TypeKind.DECLARED;
22 import static javax.lang.model.type.TypeKind.TYPEVAR;
30 import javax.lang.model.type.TypeKind;
61 TypeKind returnKind = method.getReturnType().getKind(); in checkAdditionalProperties()
DTypeProtoConverter.java29 import javax.lang.model.type.TypeKind;
50 while (type.getKind().equals(TypeKind.ARRAY)) { in toProto()
57 } else if (type.getKind().equals(TypeKind.WILDCARD)) { in toProto()
70 if (enclosingType.getKind().equals(TypeKind.NONE)) { in toProto()
94 typeMirror = types.getPrimitiveType(TypeKind.valueOf(type.getPrimitiveKind().name())); in fromProto()
DBindingDeclarationFormatter.java23 import static javax.lang.model.type.TypeKind.DECLARED;
24 import static javax.lang.model.type.TypeKind.EXECUTABLE;
33 import javax.lang.model.type.TypeKind;
39 private static final ImmutableSet<TypeKind> FORMATTABLE_ELEMENT_TYPE_KINDS =
DBindingElementValidator.java25 import static javax.lang.model.type.TypeKind.ARRAY;
26 import static javax.lang.model.type.TypeKind.DECLARED;
27 import static javax.lang.model.type.TypeKind.TYPEVAR;
28 import static javax.lang.model.type.TypeKind.VOID;
48 import javax.lang.model.type.TypeKind;
195 TypeKind kind = keyType.getKind(); in checkKeyType()
DKeys.java29 import javax.lang.model.type.TypeKind;
38 && key.type().getKind().equals(TypeKind.DECLARED); in isValidMembersInjectionKey()
76 if (arg.getKind() != TypeKind.DECLARED) { in isValidImplicitProvisionKey()
DMapKeyValidator.java28 import javax.lang.model.type.TypeKind;
51 } else if (members.get(0).getReturnType().getKind() == TypeKind.ARRAY) { in validate()
DMissingBindingValidator.java36 import javax.lang.model.type.TypeKind;
78 verify(!key.type().getKind().equals(TypeKind.WILDCARD), "unexpected wildcard request: %s", key); in missingBindingErrorMessage()
DInjectValidator.java27 import static javax.lang.model.type.TypeKind.DECLARED;
45 import javax.lang.model.type.TypeKind;
264 if (!superclass.getKind().equals(TypeKind.NONE)) { in validateMembersInjectionType()
DConfigurationAnnotations.java49 import javax.lang.model.type.TypeKind;
148 && superclass.getKind().equals(TypeKind.DECLARED)) { in addIncludesFromSuperclasses()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java42 import javax.lang.model.type.TypeKind;
170 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.BOOLEAN))) in getPrimitiveTypeMirror()
172 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.BYTE))) in getPrimitiveTypeMirror()
174 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.SHORT))) in getPrimitiveTypeMirror()
176 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.INT))) in getPrimitiveTypeMirror()
178 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.LONG))) in getPrimitiveTypeMirror()
180 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.CHAR))) in getPrimitiveTypeMirror()
182 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.FLOAT))) in getPrimitiveTypeMirror()
184 assertThat(TypeName.get(getTypes().getPrimitiveType(TypeKind.DOUBLE))) in getPrimitiveTypeMirror()
194 assertThat(TypeName.get(getTypes().getNoType(TypeKind.VOID))) in getVoidTypeMirror()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java49 import javax.lang.model.type.TypeKind;
104 builder.put(int.class, typeUtils.getPrimitiveType(TypeKind.INT)); in init()
105 builder.put(double.class, typeUtils.getPrimitiveType(TypeKind.DOUBLE)); in init()
106 builder.put(boolean.class, typeUtils.getPrimitiveType(TypeKind.BOOLEAN)); in init()
107 builder.put(long.class, typeUtils.getPrimitiveType(TypeKind.LONG)); in init()
182 if (optionType.getKind() != TypeKind.DECLARED) { in getAcceptedConverterReturnTypes()
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dstring.go18 func (t TypeKind) String() string {
66 k := t.TypeKind()
/external/llvm/bindings/go/llvm/
Dstring.go18 func (t TypeKind) String() string {
66 k := t.TypeKind()
/external/googletest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h114 enum TypeKind {
155 static_cast< ::testing::internal::TypeKind>( \
167 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-internal-utils.h126 enum TypeKind {
169 static_cast< ::testing::internal::TypeKind>( \
184 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h126 enum TypeKind {
169 static_cast< ::testing::internal::TypeKind>( \
184 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
/external/dagger2/javatests/dagger/internal/codegen/javapoet/
DExpressionTest.java26 import javax.lang.model.type.TypeKind;
67 PrimitiveType primitiveInt = types.getPrimitiveType(TypeKind.INT); in box()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DTypeRecordMapping.cpp85 assert(!TypeKind.hasValue() && "Already in a type mapping!"); in visitTypeBegin()
96 TypeKind = CVR.Type; in visitTypeBegin()
101 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitTypeEnd()
106 TypeKind.reset(); in visitTypeEnd()
111 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitMemberBegin()
127 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitMemberEnd()
429 const bool IsFromOverloadList = (TypeKind == LF_METHODLIST); in visitKnownMember()
/external/compiler-rt/lib/ubsan/
Dubsan_value.h86 u16 TypeKind; variable
114 return static_cast<Kind>(TypeKind); in getKind()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerTypes.java44 import javax.lang.model.type.TypeKind;
184 } else if (type.getKind().equals(TypeKind.DECLARED) in accessibleType()
319 public PrimitiveType getPrimitiveType(TypeKind kind) {
329 public NoType getNoType(TypeKind kind) {
/external/dagger2/java/dagger/android/processor/
DDuplicateAndroidInjectorsChecker.java48 import javax.lang.model.type.TypeKind;
122 || !valueType.getKind().equals(TypeKind.DECLARED)) { in injectorMapDependencies()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DDwarf.h135 enum TypeKind : uint8_t { enum
474 unsigned AttributeEncodingVersion(TypeKind E);
488 unsigned AttributeEncodingVendor(TypeKind E);

123