/external/dexmaker/src/test/java/com/google/dexmaker/ |
TypeIdTest.java | 23 assertEquals("Ljava/lang/String;", TypeId.get(String.class).getName()); 24 assertEquals("[Ljava/lang/String;", TypeId.get(String[].class).getName()); 25 assertEquals("[[Ljava/lang/String;", TypeId.get(String[][].class).getName()); 26 assertEquals("I", TypeId.get(int.class).getName()); 27 assertEquals("[I", TypeId.get(int[].class).getName()); 28 assertEquals("[[I", TypeId.get(int[][].class).getName());
|
DexMakerTest.java | 47 private static TypeId<DexMakerTest> TEST_TYPE = TypeId.get(DexMakerTest.class); 48 private static TypeId<?> INT_ARRAY = TypeId.get(int[].class); 49 private static TypeId<boolean[]> BOOLEAN_ARRAY = TypeId.get(boolean[].class); 50 private static TypeId<long[]> LONG_ARRAY = TypeId.get(long[].class); 51 private static TypeId<Object[]> OBJECT_ARRAY = TypeId.get(Object[].class) [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
HelloWorldMaker.java | 25 import com.google.dexmaker.TypeId; 35 TypeId<?> helloWorld = TypeId.get("LHelloWorld;"); 36 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT); 60 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) { 62 TypeId<System> systemType = TypeId.get(System.class); 63 TypeId<PrintStream> printStreamType = TypeId.get(PrintStream.class); 66 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello") [all...] |
FibonacciMaker.java | 26 import com.google.dexmaker.TypeId; 33 TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;"); 37 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); 39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); 42 Local<Integer> i = code.getParameter(0, TypeId.INT); 43 Local<Integer> constant1 = code.newLocal(TypeId.INT); 44 Local<Integer> constant2 = code.newLocal(TypeId.INT); 45 Local<Integer> a = code.newLocal(TypeId.INT) [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
TypeId.java | 29 * java.lang.Integer} have the same type parameter: {@code TypeId<Integer>}. 34 public final class TypeId<T> { 36 public static final TypeId<Boolean> BOOLEAN 37 = new TypeId<Boolean>(com.android.dx.rop.type.Type.BOOLEAN); 40 public static final TypeId<Byte> BYTE = new TypeId<Byte>(com.android.dx.rop.type.Type.BYTE); 43 public static final TypeId<Character> CHAR 44 = new TypeId<Character>(com.android.dx.rop.type.Type.CHAR); 47 public static final TypeId<Double> DOUBLE = new TypeId<Double>(com.android.dx.rop.type.Type.DOUBLE) [all...] |
UnaryOp.java | 29 @Override Rop rop(TypeId<?> type) { 36 @Override Rop rop(TypeId<?> type) { 41 abstract Rop rop(TypeId<?> type);
|
Local.java | 26 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() {
|
FieldId.java | 30 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() {
|
MethodId.java | 32 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) {
|
TypeList.java | 28 final TypeId<?>[] types; 31 TypeList(TypeId<?>[] types) { 42 public List<TypeId<?>> asList() {
|
Constants.java | 41 * @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);
|
DexMaker.java | 81 * <p>We start by creating a {@link TypeId} to identify the generated {@code 86 * TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;"); 96 * dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); 122 * takes the method's return type (possibly {@link TypeId#VOID}), its name and 128 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); 140 * Local<Integer> i = code.getParameter(0, TypeId.INT); 141 * Local<Integer> constant1 = code.newLocal(TypeId.INT); 142 * Local<Integer> constant2 = code.newLocal(TypeId.INT) [all...] |
Code.java | 126 * kind. Lookup a method on a type using {@link TypeId#getMethod 127 * TypeId.getMethod()}. This is more onerous than Java language invokes, which 204 private final List<TypeId<?>> catchTypes = new ArrayList<TypeId<?>>(); 216 for (TypeId<?> parameter : method.parameters.types) { 228 public <T> Local<T> newLocal(TypeId<T> type) { 241 public <T> Local<T> getParameter(int index, TypeId<T> type) { 252 public <T> Local<T> getThis(TypeId<T> type) { 260 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) { 361 public void addCatchClause(TypeId<? extends Throwable> toCatch, Label catchClause) [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
ProxyBuilder.java | 26 import com.google.dexmaker.TypeId; 245 TypeId<? extends T> generatedType = TypeId.get("L" + generatedName + ";"); 246 TypeId<T> superType = TypeId.get(baseClass); 351 TypeId<G> generatedType, Method[] methodsToProxy, TypeId<T> superclassType) { 352 TypeId<InvocationHandler> handlerType = TypeId.get(InvocationHandler.class); 353 TypeId<Method[]> methodArrayType = TypeId.get(Method[].class) [all...] |
/art/runtime/ |
dex_file-inl.h | 85 const DexFile::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_); 86 const DexFile::TypeId& rhs_return_type_id = 102 const DexFile::TypeId& param_id = dex_file_->GetTypeId(params->GetTypeItem(i).type_idx_); 103 const DexFile::TypeId& rhs_param_id =
|
dex_file.h | 153 struct TypeId { 157 DISALLOW_COPY_AND_ASSIGN(TypeId); 505 // Returns the TypeId at the specified index. 506 const TypeId& GetTypeId(uint32_t idx) const { 511 uint16_t GetIndexForTypeId(const TypeId& type_id) const { 521 const TypeId& type_id = GetTypeId(idx); 526 const TypeId& type_id = GetTypeId(idx); 531 const char* GetTypeDescriptor(const TypeId& type_id) const { 536 const TypeId* FindTypeId(uint32_t string_idx) const; 557 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass [all...] |
method_helper.cc | 77 const DexFile::TypeId* other_type_id = 122 const DexFile::TypeId* other_type_id =
|
dex_file_test.cc | 295 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); 321 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); 336 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); 338 const DexFile::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_);
|
/external/protobuf/gtest/include/gtest/internal/ |
gtest-internal.h | 486 // 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; 508 TypeId GetTypeId() { 521 TypeId GetTestTypeId(); 597 TypeId fixture_class_id, [all...] |
/external/chromium_org/testing/gtest/include/gtest/internal/ |
gtest-internal.h | 395 // 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; 417 TypeId GetTypeId() { 430 GTEST_API_ TypeId GetTestTypeId(); 496 TypeId fixture_class_id, [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
gtest-internal.h | 470 // unique IDs to fixture classes and compare them. The TypeId type is 471 // used to hold such IDs. The user should treat TypeId as an opaque 472 // type: the only operation allowed on TypeId values is to compare 474 typedef const void* TypeId; 492 TypeId GetTypeId() { 505 GTEST_API_ TypeId GetTestTypeId(); 570 TypeId fixture_class_id, [all...] |
/external/gtest/include/gtest/internal/ |
gtest-internal.h | 395 // 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; 417 TypeId GetTypeId() { 430 GTEST_API_ TypeId GetTestTypeId(); 496 TypeId fixture_class_id, [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-internal.h | 499 // unique IDs to fixture classes and compare them. The TypeId type is 500 // used to hold such IDs. The user should treat TypeId as an opaque 501 // type: the only operation allowed on TypeId values is to compare 503 typedef const void* TypeId; 521 TypeId GetTypeId() { 534 GTEST_API_ TypeId GetTestTypeId(); 599 TypeId fixture_class_id, [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-internal.h | 470 // unique IDs to fixture classes and compare them. The TypeId type is 471 // used to hold such IDs. The user should treat TypeId as an opaque 472 // type: the only operation allowed on TypeId values is to compare 474 typedef const void* TypeId; 492 TypeId GetTypeId() { 505 GTEST_API_ TypeId GetTestTypeId(); 570 TypeId fixture_class_id, [all...] |
/external/protobuf/gtest/src/ |
gtest-internal-inl.h | 79 extern const TypeId kTestTypeIdInGoogleTest; 518 const char* comment, TypeId fixture_class_id, 553 TypeId fixture_class_id() const { return fixture_class_id_; } 578 const TypeId fixture_class_id_; // ID of the test fixture class [all...] |