/external/dexmaker/src/main/java/com/google/dexmaker/ |
D | TypeId.java | 34 public final class TypeId<T> { class 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… 50 public static final TypeId<Float> FLOAT = new TypeId<Float>(com.android.dx.rop.type.Type.FLOAT); 53 public static final TypeId<Integer> INT = new TypeId<Integer>(com.android.dx.rop.type.Type.INT); 56 public static final TypeId<Long> LONG = new TypeId<Long>(com.android.dx.rop.type.Type.LONG); [all …]
|
D | MethodId.java | 32 final TypeId<D> declaringType; 33 final TypeId<R> returnType; 41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { in MethodId() 53 public TypeId<D> getDeclaringType() { in getDeclaringType() 57 public TypeId<R> getReturnType() { in getReturnType() 75 public List<TypeId<?>> getParameters() { in getParameters() 88 for (TypeId t : parameters.types) { in descriptor()
|
D | FieldId.java | 30 final TypeId<D> declaringType; 31 final TypeId<V> type; 38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) { in FieldId() 49 public TypeId<D> getDeclaringType() { in getDeclaringType() 53 public TypeId<V> getType() { in getType()
|
D | Local.java | 26 final TypeId<T> type; 30 private Local(Code code, TypeId<T> type) { in Local() 35 static <T> Local<T> get(Code code, TypeId<T> type) { in get() 67 public TypeId getType() { in getType()
|
D | UnaryOp.java | 29 @Override Rop rop(TypeId<?> type) { in NOT() 36 @Override Rop rop(TypeId<?> type) { in NEGATE() 41 abstract Rop rop(TypeId<?> type); in rop()
|
D | DexMaker.java | 194 private final Map<TypeId<?>, TypeDeclaration> types 195 = new LinkedHashMap<TypeId<?>, TypeDeclaration>(); 204 private TypeDeclaration getTypeDeclaration(TypeId<?> type) { in getTypeDeclaration() 219 public void declare(TypeId<?> type, String sourceFile, int flags, in declare() 220 TypeId<?> supertype, TypeId<?>... interfaces) { in declare() 399 private final TypeId<?> type; 404 private TypeId<?> supertype; 413 TypeDeclaration(TypeId<?> type) { in TypeDeclaration()
|
D | TypeList.java | 28 final TypeId<?>[] types; 31 TypeList(TypeId<?>[] types) { in TypeList() 42 public List<TypeId<?>> asList() { in asList()
|
D | Constants.java | 65 return new CstType(TypeId.get((Class<?>) value).ropType); in getConstant() 66 } else if (value instanceof TypeId) { in getConstant() 67 return new CstType(((TypeId) value).ropType); in getConstant()
|
D | Code.java | 204 private final List<TypeId<?>> catchTypes = new ArrayList<TypeId<?>>(); 216 for (TypeId<?> parameter : method.parameters.types) { in Code() 228 public <T> Local<T> newLocal(TypeId<T> type) { in newLocal() 241 public <T> Local<T> getParameter(int index, TypeId<T> type) { in getParameter() 252 public <T> Local<T> getThis(TypeId<T> type) { in getThis() 260 private <T> Local<T> coerce(Local<?> local, TypeId<T> expectedType) { in coerce() 361 public void addCatchClause(TypeId<? extends Throwable> toCatch, Label catchClause) { in addCatchClause() 374 public Label removeCatchClause(TypeId<? extends Throwable> toCatch) { in removeCatchClause() 392 private StdTypeList toTypeList(List<TypeId<?>> types) { in toTypeList() 702 public void instanceOfType(Local<?> target, Local<?> source, TypeId<?> type) { in instanceOfType() [all …]
|
/external/dexmaker/src/test/java/com/google/dexmaker/ |
D | 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); 52 private static TypeId<long[][]> LONG_2D_ARRAY = TypeId.get(long[][].class); 53 private static TypeId<?> GENERATED = TypeId.get("LGenerated;"); 54 private static TypeId<Callable> CALLABLE = TypeId.get(Callable.class); 55 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call"); 68 dexMaker.declare(GENERATED, "Generated.java", PUBLIC, TypeId.OBJECT); in reset() [all …]
|
D | TypeIdTest.java | 23 assertEquals("Ljava/lang/String;", TypeId.get(String.class).getName()); in testGetType() 24 assertEquals("[Ljava/lang/String;", TypeId.get(String[].class).getName()); in testGetType() 25 assertEquals("[[Ljava/lang/String;", TypeId.get(String[][].class).getName()); in testGetType() 26 assertEquals("I", TypeId.get(int.class).getName()); in testGetType() 27 assertEquals("[I", TypeId.get(int[].class).getName()); in testGetType() 28 assertEquals("[[I", TypeId.get(int[][].class).getName()); in testGetType()
|
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
D | HelloWorldMaker.java | 25 import com.google.dexmaker.TypeId; 35 TypeId<?> helloWorld = TypeId.get("LHelloWorld;"); in main() 36 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT); in main() 60 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) { in generateHelloMethod() 62 TypeId<System> systemType = TypeId.get(System.class); in generateHelloMethod() 63 TypeId<PrintStream> printStreamType = TypeId.get(PrintStream.class); in generateHelloMethod() 66 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello"); in generateHelloMethod() 73 Local<Integer> a = code.newLocal(TypeId.INT); in generateHelloMethod() 74 Local<Integer> b = code.newLocal(TypeId.INT); in generateHelloMethod() 75 Local<Integer> c = code.newLocal(TypeId.INT); in generateHelloMethod() [all …]
|
D | FibonacciMaker.java | 26 import com.google.dexmaker.TypeId; 33 TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;"); in main() 37 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); in main() 39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); in main() 42 Local<Integer> i = code.getParameter(0, TypeId.INT); in main() 43 Local<Integer> constant1 = code.newLocal(TypeId.INT); in main() 44 Local<Integer> constant2 = code.newLocal(TypeId.INT); in main() 45 Local<Integer> a = code.newLocal(TypeId.INT); in main() 46 Local<Integer> b = code.newLocal(TypeId.INT); in main() 47 Local<Integer> c = code.newLocal(TypeId.INT); in main() [all …]
|
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
D | ProxyBuilder.java | 26 import com.google.dexmaker.TypeId; 245 TypeId<? extends T> generatedType = TypeId.get("L" + generatedName + ";"); in buildProxyClass() 246 TypeId<T> superType = TypeId.get(baseClass); in buildProxyClass() 351 TypeId<G> generatedType, Method[] methodsToProxy, TypeId<T> superclassType) { in generateCodeForAllMethods() 352 TypeId<InvocationHandler> handlerType = TypeId.get(InvocationHandler.class); in generateCodeForAllMethods() 353 TypeId<Method[]> methodArrayType = TypeId.get(Method[].class); in generateCodeForAllMethods() 358 TypeId<Method> methodType = TypeId.get(Method.class); in generateCodeForAllMethods() 359 TypeId<Object[]> objectArrayType = TypeId.get(Object[].class); in generateCodeForAllMethods() 360 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, in generateCodeForAllMethods() 361 "invoke", TypeId.OBJECT, methodType, objectArrayType); in generateCodeForAllMethods() [all …]
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | ProfilesPanel.js | 288 if (profile.typeId === WebInspector.CPUProfileType.TypeId) 444 …var profile = this._profilesIdMap[this._makeKey(uid, WebInspector.HeapSnapshotProfileType.TypeId)]; 473 …var profile = this._profilesIdMap[this._makeKey(uid, WebInspector.HeapSnapshotProfileType.TypeId)]; 489 …var profile = this._profilesIdMap[this._makeKey(uid, WebInspector.HeapSnapshotProfileType.TypeId)]; 694 this.getProfileType(WebInspector.CPUProfileType.TypeId).setRecordingProfile(isProfiling); 695 if (this.hasTemporaryProfile(WebInspector.CPUProfileType.TypeId) !== isProfiling) { 698 typeId: WebInspector.CPUProfileType.TypeId, 714 if (!this.hasTemporaryProfile(WebInspector.HeapSnapshotProfileType.TypeId)) { 717 typeId: WebInspector.HeapSnapshotProfileType.TypeId, 730 if (this.hasTemporaryProfile(WebInspector.HeapSnapshotProfileType.TypeId)) { [all …]
|
D | DetailedHeapshotView.js | 516 … return this.parent.getProfile(WebInspector.HeapSnapshotProfileType.TypeId, this._profileUid); 528 … return this.parent.getProfile(WebInspector.HeapSnapshotProfileType.TypeId, this._baseProfileUid); 746 … return WebInspector.panels.profiles.getProfiles(WebInspector.HeapSnapshotProfileType.TypeId); 975 …WebInspector.ProfileType.call(this, WebInspector.HeapSnapshotProfileType.TypeId, WebInspector.UISt…
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-internal.h | 490 typedef const void* TypeId; typedef 508 TypeId GetTypeId() { in GetTypeId() 521 TypeId GetTestTypeId(); 597 TypeId fixture_class_id,
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
D | gtest-internal.h | 473 typedef void* TypeId; typedef 479 inline TypeId GetTypeId() { in GetTypeId()
|
/external/protobuf/gtest/src/ |
D | 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_; } in fixture_class_id() 578 const TypeId fixture_class_id_; // ID of the test fixture class
|
/external/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-internal.h | 468 typedef const void* TypeId; typedef 486 TypeId GetTypeId() { in GetTypeId() 499 GTEST_API_ TypeId GetTestTypeId(); 564 TypeId fixture_class_id,
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 493 typedef const void* TypeId; typedef 511 TypeId GetTypeId() { in GetTypeId() 524 GTEST_API_ TypeId GetTestTypeId(); 589 TypeId fixture_class_id,
|
D | gtest-param-util.h | 422 virtual TypeId GetTestCaseTypeId() const = 0; 459 virtual TypeId GetTestCaseTypeId() const { return GetTypeId<TestCase>(); } in GetTestCaseTypeId()
|
/external/gtest/include/gtest/internal/ |
D | gtest-internal.h | 474 typedef const void* TypeId; typedef 492 TypeId GetTypeId() { in GetTypeId() 505 GTEST_API_ TypeId GetTestTypeId(); 570 TypeId fixture_class_id,
|
D | gtest-param-util.h | 422 virtual TypeId GetTestCaseTypeId() const = 0; 459 virtual TypeId GetTestCaseTypeId() const { return GetTypeId<TestCase>(); } in GetTestCaseTypeId()
|
/external/chromium/sdch/open-vcdiff/src/gtest/src/ |
D | gtest-internal-inl.h | 539 const char* name, TypeId fixture_class_id, 562 TypeId fixture_class_id() const { return fixture_class_id_; } in fixture_class_id() 590 const TypeId fixture_class_id_; // ID of the test fixture class
|