Searched refs:TypeId (Results 1 - 25 of 83) sorted by relevance

1234

/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
H A DTypeIdTest.java26 assertEquals("Ljava/lang/String;", TypeId.get(String.class).getName());
27 assertEquals("[Ljava/lang/String;", TypeId.get(String[].class).getName());
28 assertEquals("[[Ljava/lang/String;", TypeId.get(String[][].class).getName());
29 assertEquals("I", TypeId.get(int.class).getName());
30 assertEquals("[I", TypeId.get(int[].class).getName());
31 assertEquals("[[I", TypeId.get(int[][].class).getName());
H A DDexMakerTest.java58 private static TypeId<DexMakerTest> TEST_TYPE = TypeId.get(DexMakerTest.class);
59 private static TypeId<?> INT_ARRAY = TypeId.get(int[].class);
60 private static TypeId<boolean[]> BOOLEAN_ARRAY = TypeId.get(boolean[].class);
61 private static TypeId<long[]> LONG_ARRAY = TypeId.get(long[].class);
62 private static TypeId<Object[]> OBJECT_ARRAY = TypeId
[all...]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
H A DTypeId.java29 * java.lang.Integer} have the same type parameter: {@code TypeId<Integer>}.
34 public final class TypeId<T> { class
36 public static final TypeId<Boolean> BOOLEAN = new TypeId<>(com.android.dx.rop.type.Type.BOOLEAN);
39 public static final TypeId<Byte> BYTE = new TypeId<>(com.android.dx.rop.type.Type.BYTE);
42 public static final TypeId<Character> CHAR = new TypeId<>(com.android.dx.rop.type.Type.CHAR);
45 public static final TypeId<Double> DOUBLE = new TypeId<>(co
87 TypeId(com.android.dx.rop.type.Type ropType) { method in class:TypeId
91 TypeId(String name, com.android.dx.rop.type.Type ropType) { method in class:TypeId
[all...]
H A DUnaryOp.java30 Rop rop(TypeId<?> type) {
38 Rop rop(TypeId<?> type) {
43 abstract Rop rop(TypeId<?> type);
H A DLocal.java26 final TypeId<T> type;
30 private Local(Code code, TypeId<T> type) {
35 static <T> Local<T> get(Code code, TypeId<T> type) {
67 public TypeId getType() {
H A DFieldId.java30 final TypeId<D> declaringType;
31 final TypeId<V> type;
38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) {
49 public TypeId<D> getDeclaringType() {
53 public TypeId<V> getType() {
H A DMethodId.java32 final TypeId<D> declaringType;
33 final TypeId<R> returnType;
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) {
53 public TypeId<D> getDeclaringType() {
57 public TypeId<R> getReturnType() {
75 public List<TypeId<?>> getParameters() {
88 for (TypeId t : parameters.types) {
H A DTypeList.java28 final TypeId<?>[] types;
31 TypeList(TypeId<?>[] types) {
42 public List<TypeId<?>> asList() {
H A DConstants.java41 * @param value null, a boxed primitive, String, Class, or TypeId.
65 return new CstType(TypeId.get((Class<?>) value).ropType);
66 } else if (value instanceof TypeId) {
67 return new CstType(((TypeId) value).ropType);
H A DDexMaker.java88 * <p>We start by creating a {@link TypeId} to identify the generated {@code
93 * TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;");
103 * dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT);
129 * takes the method's return type (possibly {@link TypeId#VOID}), its name and
135 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
147 * Local<Integer> i = code.getParameter(0, TypeId.INT);
148 * Local<Integer> constant1 = code.newLocal(TypeId.INT);
149 * Local<Integer> constant2 = code.newLocal(TypeId
[all...]
H A DCode.java128 * kind. Lookup a method on a type using {@link TypeId#getMethod
129 * TypeId.getMethod()}. This is more onerous than Java language invokes, which
206 private final List<TypeId<?>> catchTypes = new ArrayList<TypeId<?>>();
218 for (TypeId<?> parameter : method.parameters.types) {
230 public <T> Local<T> newLocal(TypeId<T> type) {
243 public <T> Local<T> getParameter(int index, TypeId<T> type) {
254 public <T> Local<T> getThis(TypeId<T> type) {
262 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) {
363 public void addCatchClause(TypeId<
[all...]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
H A DHelloWorldMaker.java22 import com.android.dx.TypeId;
36 TypeId<?> helloWorld = TypeId.get("LHelloWorld;");
37 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT);
61 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) {
63 TypeId<System> systemType = TypeId.get(System.class);
64 TypeId<PrintStream> printStreamType = TypeId.get(PrintStream.class);
67 MethodId hello = declaringType.getMethod(TypeId
[all...]
H A DFibonacciMaker.java25 import com.android.dx.TypeId;
34 TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;");
38 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT);
40 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
43 Local<Integer> i = code.getParameter(0, TypeId.INT);
44 Local<Integer> constant1 = code.newLocal(TypeId.INT);
45 Local<Integer> constant2 = code.newLocal(TypeId.INT);
46 Local<Integer> a = code.newLocal(TypeId
[all...]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
H A DProxyBuilder.java26 import com.android.dx.TypeId;
270 TypeId<? extends T> generatedType = TypeId.get("L" + generatedName + ";");
271 TypeId<T> superType = TypeId.get(baseClass);
387 TypeId<G> generatedType, Method[] methodsToProxy, TypeId<T> superclassType) {
388 TypeId<InvocationHandler> handlerType = TypeId.get(InvocationHandler.class);
389 TypeId<Metho
[all...]
/external/libtextclassifier/common/
H A Dworkspace.h57 struct TypeId { struct in namespace:libtextclassifier::nlp_core
62 int TypeId<T>::type_id = GetFreshTypeId();
74 const int id = TypeId<W>::type_id;
121 const int id = TypeId<W>::type_id;
134 const int id = TypeId<W>::type_id;
143 const int id = TypeId<W>::type_id;
/external/gemmlowp/internal/
H A Dallocator.h54 enum class TypeId : std::uint8_t { Uint8, Int8, Uint16, Int16, Uint32, Int32 }; class in namespace:gemmlowp
60 inline TypeId GetTypeId() {
70 static const TypeId Value = TypeId::id; \
140 TypeId type_;
/external/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp93 if (ConstantInt *TypeId = extractNumericTypeId(Type))
94 TypeIds.insert(TypeId->getZExtValue());
129 for (uint64_t TypeId : TypeIds) {
130 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId);
H A DLowerTypeTests.cpp231 buildBitSet(Metadata *TypeId,
267 /// Build a bit set for TypeId using the object layouts in
270 Metadata *TypeId,
281 if (Type->getOperand(1) != TypeId)
565 for (Metadata *TypeId : TypeIds) {
567 BitSetInfo BSI = buildBitSet(TypeId, GlobalLayout);
569 if (auto MDS = dyn_cast<MDString>(TypeId))
579 for (CallInst *CI : TypeTestCallSites[TypeId]) {
269 buildBitSet( Metadata *TypeId, const DenseMap<GlobalObject *, uint64_t> &GlobalLayout) argument
/external/abi-compliance-checker/
H A Dabi-compliance-checker.pl2225 foreach my $TypeId (keys(%{$TypeInfo{$Version}}))
2227 my $TypeName = $TypeInfo{$Version}{$TypeId}{"Name"};
2246 if(defined $TypeInfo{$Version}{$TypeId}{"TParam"})
2248 foreach my $TPos (keys(%{$TypeInfo{$Version}{$TypeId}{"TParam"}}))
2250 if(my $TPName = $TypeInfo{$Version}{$TypeId}{"TParam"}{$TPos}{"name"})
2254 $TypeInfo{$Version}{$TypeId}{"TParam"}{$TPos}{"name"} = formatName($TPName, "T");
2261 $TypeInfo{$Version}{$TypeId}{"Name"} = $TypeName;
2262 $TName_Tid{$Version}{$TypeName} = $TypeId;
2329 if(my $TypeId = getTreeAttr_Type($_[0]))
2331 if(my $IType = $LibInfo{$Version}{"info_type"}{$TypeId})
[all...]
/external/llvm/tools/llvm-pdbdump/
H A DFunctionDumper.cpp222 uint32_t TypeId = Symbol.getTypeId(); local
223 auto Type = Symbol.getSession().getSymbolById(TypeId);
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-internal.h486 // unique IDs to fixture classes and compare them. The TypeId type is
487 // used to hold such IDs. The user should treat TypeId as an opaque
488 // type: the only operation allowed on TypeId values is to compare
490 typedef const void* TypeId; typedef in namespace:testing::internal
508 TypeId GetTypeId() {
521 GTEST_API_ TypeId GetTestTypeId();
599 TypeId fixture_class_id,
/external/protobuf/gtest/src/
H A Dgtest-internal-inl.h81 GTEST_API_ extern const TypeId kTestTypeIdInGoogleTest;
347 const char* comment, TypeId fixture_class_id,
382 TypeId fixture_class_id() const { return fixture_class_id_; }
407 const TypeId fixture_class_id_; // ID of the test fixture class
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-internal.h395 // unique IDs to fixture classes and compare them. The TypeId type is
396 // used to hold such IDs. The user should treat TypeId as an opaque
397 // type: the only operation allowed on TypeId values is to compare
399 typedef const void* TypeId; typedef in namespace:testing::internal
417 TypeId GetTypeId() {
430 GTEST_API_ TypeId GetTestTypeId();
496 TypeId fixture_class_id,
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp489 StringRef TypeId = getTok().getIdentifier(); local
491 Type = StringSwitch<COFF::COMDATType>(TypeId)
502 return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'"));
/external/abi-dumper/
H A Dabi-dumper.pl4825 my $TypeId = $_[0];
4826 if(not $TypeId) {
4829 if($UsedType{$TypeId})
4833 my %TInfo = %{$TypeInfo{$TypeId}};
4856 $UsedType{$TypeId} = 1;
4866 %{$TypeInfo{$TypeId}{"Base"}{$FBaseId}} = %{$TypeInfo{$TypeId}{"Base"}{$BaseId}};
4867 delete($TypeInfo{$TypeId}{"Base"}{$BaseId});
4887 $TypeInfo{$TypeId}{"Memb"}{$Memb_Pos}{"type"} = $MTid;
4897 $TypeInfo{$TypeId}{"Retur
[all...]

Completed in 491 milliseconds

1234