/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.h | 141 struct TypeId { 145 DISALLOW_COPY_AND_ASSIGN(TypeId); 452 // Returns the TypeId at the specified index. 453 const TypeId& GetTypeId(uint32_t idx) const { 458 uint16_t GetIndexForTypeId(const TypeId& type_id) const { 468 const TypeId& type_id = GetTypeId(idx); 473 const TypeId& type_id = GetTypeId(idx); 478 const char* GetTypeDescriptor(const TypeId& type_id) const { 483 const TypeId* FindTypeId(uint32_t string_idx) const; 504 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass [all...] |
dex_file_test.cc | 218 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); 244 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); 260 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); 262 const DexFile::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_);
|
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-internal.h | 488 // unique IDs to fixture classes and compare them. The TypeId type is 489 // used to hold such IDs. The user should treat TypeId as an opaque 490 // type: the only operation allowed on TypeId values is to compare 492 typedef const void* TypeId; 510 TypeId GetTypeId() { 523 TypeId GetTestTypeId(); 599 TypeId fixture_class_id, [all...] |
/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/sdch/open-vcdiff/src/gtest/internal/ |
gtest-internal.h | 469 // unique IDs to fixture classes and compare them. The TypeId type is 470 // used to hold such IDs. The user should treat TypeId as an opaque 471 // type: the only operation allowed on TypeId values is to compare 473 typedef void* TypeId; 479 inline TypeId GetTypeId() {
|
/external/chromium/testing/gtest/include/gtest/internal/ |
gtest-internal.h | 464 // unique IDs to fixture classes and compare them. The TypeId type is 465 // used to hold such IDs. The user should treat TypeId as an opaque 466 // type: the only operation allowed on TypeId values is to compare 468 typedef const void* TypeId; 486 TypeId GetTypeId() { 499 GTEST_API_ TypeId GetTestTypeId(); 564 TypeId fixture_class_id, [all...] |
/external/chromium_org/testing/gtest/include/gtest/internal/ |
gtest-internal.h | 409 // unique IDs to fixture classes and compare them. The TypeId type is 410 // used to hold such IDs. The user should treat TypeId as an opaque 411 // type: the only operation allowed on TypeId values is to compare 413 typedef const void* TypeId; 431 TypeId GetTypeId() { 444 GTEST_API_ TypeId GetTestTypeId(); 509 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 | 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/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-internal.h | 498 // unique IDs to fixture classes and compare them. The TypeId type is 499 // used to hold such IDs. The user should treat TypeId as an opaque 500 // type: the only operation allowed on TypeId values is to compare 502 typedef const void* TypeId; 520 TypeId GetTypeId() { 533 GTEST_API_ TypeId GetTestTypeId(); 598 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...] |