Home
last modified time | relevance | path

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

12

/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
183 assert underlying.kind == TypeKind.INT
216 assert enum_type.kind == TypeKind.UINT
224 assert enum.enum_type.kind == TypeKind.LONGLONG
288 assert t.kind == TypeKind.INT
335 assert foos[1].get_template_argument_type(1).kind == TypeKind.FLOAT
/external/clang/bindings/python/clang/
Dcindex.py1368 if underlying_type.kind == TypeKind.ENUM:
1370 if underlying_type.kind in (TypeKind.CHAR_U,
1371 TypeKind.UCHAR,
1372 TypeKind.CHAR16,
1373 TypeKind.CHAR32,
1374 TypeKind.USHORT,
1375 TypeKind.UINT,
1376 TypeKind.ULONG,
1377 TypeKind.ULONGLONG,
1378 TypeKind.UINT128):
[all …]
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java23 import javax.lang.model.type.TypeKind;
71 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BOOLEAN))) in forTypeMirror_primitive()
73 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BYTE))) in forTypeMirror_primitive()
75 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.SHORT))) in forTypeMirror_primitive()
77 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.INT))) in forTypeMirror_primitive()
79 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.LONG))) in forTypeMirror_primitive()
81 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.CHAR))) in forTypeMirror_primitive()
83 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.FLOAT))) in forTypeMirror_primitive()
85 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.DOUBLE))) in forTypeMirror_primitive()
97 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getNoType(TypeKind.VOID))) in forTypeMirror_void()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvidesMethodValidator.java29 import javax.lang.model.type.TypeKind;
52 import static javax.lang.model.type.TypeKind.ARRAY;
53 import static javax.lang.model.type.TypeKind.DECLARED;
54 import static javax.lang.model.type.TypeKind.VOID;
99 TypeKind returnTypeKind = returnType.getKind(); in validate()
180 TypeKind kind = type.getKind(); in validateKeyType()
DProducesMethodValidator.java31 import javax.lang.model.type.TypeKind;
53 import static javax.lang.model.type.TypeKind.ARRAY;
54 import static javax.lang.model.type.TypeKind.DECLARED;
55 import static javax.lang.model.type.TypeKind.VOID;
102 TypeKind returnTypeKind = returnType.getKind(); in validate()
167 TypeKind kind = type.getKind(); in validateKeyType()
DMapKeyValidator.java23 import javax.lang.model.type.TypeKind;
46 } else if (members.get(0).getReturnType().getKind() == TypeKind.ARRAY) { in validate()
DDependencyRequest.java43 import javax.lang.model.type.TypeKind;
51 import static javax.lang.model.type.TypeKind.DECLARED;
339 if (type.getKind().equals(TypeKind.ERROR)) { in extractKindAndType()
346 if (type.getKind().equals(TypeKind.TYPEVAR)) { in extractKindAndType()
DMethodSignatureFormatter.java29 import javax.lang.model.type.TypeKind;
109 } else if (type.getKind() == TypeKind.VOID) { in nameOfType()
DModuleDescriptor.java25 import static javax.lang.model.type.TypeKind.DECLARED;
26 import static javax.lang.model.type.TypeKind.NONE;
DProductionBinding.java32 import javax.lang.model.type.TypeKind;
110 checkArgument(contributedBy.getKind().equals(TypeKind.DECLARED)); in forProducesMethod()
DBuilderValidator.java33 import javax.lang.model.type.TypeKind;
131 } else if (returnType.getKind() != TypeKind.VOID in validate()
DKey.java43 import javax.lang.model.type.TypeKind;
94 TypeKind kind = type.getKind(); in normalize()
134 if (arg.getKind() != TypeKind.DECLARED) { in isValidImplicitProvisionKey()
DConfigurationAnnotations.java43 import javax.lang.model.type.TypeKind;
229 && superclass.getKind().equals(TypeKind.DECLARED)) { in addIncludesFromSuperclasses()
DProvisionBinding.java32 import javax.lang.model.type.TypeKind;
161 checkArgument(contributedBy.getKind().equals(TypeKind.DECLARED)); in forProvidesMethod()
DAbstractComponentWriter.java75 import javax.lang.model.type.TypeKind;
116 import static javax.lang.model.type.TypeKind.DECLARED;
117 import static javax.lang.model.type.TypeKind.VOID;
437 returnType.getKind().equals(TypeKind.VOID) in addBuilderMethodFromSpec()
1079 if (requestType.getKind() == TypeKind.TYPEVAR) { in typeMirrorAsMemberOf()
DComponentDescriptor.java61 import static javax.lang.model.type.TypeKind.DECLARED;
62 import static javax.lang.model.type.TypeKind.VOID;
/external/llvm/bindings/go/llvm/
Dstring.go18 func (t TypeKind) String() string {
66 k := t.TypeKind()
Dir.go63 TypeKind C.LLVMTypeKind type
242 VoidTypeKind TypeKind = C.LLVMVoidTypeKind
243 FloatTypeKind TypeKind = C.LLVMFloatTypeKind
244 DoubleTypeKind TypeKind = C.LLVMDoubleTypeKind
245 X86_FP80TypeKind TypeKind = C.LLVMX86_FP80TypeKind
246 FP128TypeKind TypeKind = C.LLVMFP128TypeKind
247 PPC_FP128TypeKind TypeKind = C.LLVMPPC_FP128TypeKind
248 LabelTypeKind TypeKind = C.LLVMLabelTypeKind
249 IntegerTypeKind TypeKind = C.LLVMIntegerTypeKind
250 FunctionTypeKind TypeKind = C.LLVMFunctionTypeKind
[all …]
/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/compiler-rt/lib/ubsan/
Dubsan_value.h86 u16 TypeKind; variable
114 return static_cast<Kind>(TypeKind); in getKind()
/external/gmock/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/android-mock/tests/com/google/android/testing/mocking/
DUsesMocksProcessorTest.java44 import javax.lang.model.type.TypeKind;
132 public TypeKind getKind() { in getMockAnnotationType()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp219 auto TypeKind = ast_type_traits::ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo() local
222 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
/external/llvm/bindings/python/llvm/
Dcore.py90 class TypeKind(LLVMEnumeration): class
96 super(TypeKind, self).__init__(name, value)
595 (TypeKind, enumerations.TypeKinds),

12