Home
last modified time | relevance | path

Searched full:classtype (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DClassTypeImpl.java33 implements ClassType
36 final private JDWP.ClassType.InvokeMethod rslt;
38 public IResult(JDWP.ClassType.InvokeMethod rslt) { in IResult()
54 private ClassType superclass = null;
62 public ClassType superclass() { in superclass()
66 sup = JDWP.ClassType.Superclass. in superclass()
74 * ClassType here. Otherwise, in superclass()
99 public List<ClassType> subclasses() { in subclasses()
100 List<ClassType> subs = new ArrayList<ClassType>(); in subclasses()
102 if (refType instanceof ClassType) { in subclasses()
[all …]
DInterfaceTypeImpl.java88 public List<ClassType> implementors() { in implementors()
89 List<ClassType> implementors = new ArrayList<ClassType>(); in implementors()
91 if (refType instanceof ClassType) { in implementors()
92 ClassType clazz = (ClassType)refType; in implementors()
129 ClassType superclass() { in superclass()
DInvokableTypeImpl.java29 import com.sun.jdi.ClassType;
51 * It is necessary because both ClassType and InterfaceType
65 * Shared by ClassType and InterfaceType
125 if ((options & ClassType.INVOKE_SINGLE_THREADED) == 0) { in invokeMethod()
202 * Shared implementation of {@linkplain ClassType#allMethods()} and
208 ClassType clazz = superclass(); in allMethods()
250 if ((options & ClassType.INVOKE_SINGLE_THREADED) != 0) { in sendInvokeCommand()
299 abstract ClassType superclass(); in superclass()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceTest.java26 package org.apache.harmony.jpda.tests.jdwp.ClassType;
40 * JDWP unit test for ClassType.NewInstance command.
50 * This testcase exercises ClassType.NewInstance command.
53 * <BR>&nbsp;&nbsp; - send ClassType.NewInstance command for class,
57 * <BR>&nbsp;&nbsp; - send ClassType.NewInstance command for class,
153 logWriter.println(" Send ClassType.NewInstance (without Exception)"); in testNewInstance001()
155 checkReplyPacket(reply, "ClassType::NewInstance command"); in testNewInstance001()
158 logWriter.println(" ClassType.NewInstance: newObject.tag=" in testNewInstance001()
161 logWriter.println(" ClassType.NewInstance: exception.tag=" in testNewInstance001()
166 …assertEquals("ClassType::NewInstance returned invalid newObject.tag,", JDWPConstants.Tag.OBJECT_TA… in testNewInstance001()
[all …]
DInvokeMethodTest.java26 package org.apache.harmony.jpda.tests.jdwp.ClassType;
40 * JDWP unit test for ClassType.InvokeMethod command.
53 * This testcase exercises ClassType.InvokeMethod command.
56 * <BR>&nbsp;&nbsp; - send ClassType.InvokeMethod command for method,
60 * <BR>&nbsp;&nbsp; - send ClassType.InvokeMethod command for method,
154 logWriter.println(" Send ClassType.InvokeMethod without Exception"); in testInvokeMethod001()
156 checkReplyPacket(reply, "ClassType::InvokeMethod command"); in testInvokeMethod001()
161 logWriter.println(" ClassType.InvokeMethod: returnValue.getIntValue()=" in testInvokeMethod001()
170 logWriter.println(" ClassType.InvokeMethod: exception.tag=" in testInvokeMethod001()
184 logWriter.println(" Send ClassType.InvokeMethod with Exception"); in testInvokeMethod001()
[all …]
DNewInstanceStringTest.java19 package org.apache.harmony.jpda.tests.jdwp.ClassType;
28 * JDWP unit test for ClassType.NewInstance command with java.lang.String class.
38 * Test ClassType.NewInstance using the constructor
46 * Test ClassType.NewInstance using the constructor
63 * Test ClassType.NewInstance using the constructor
81 * Test ClassType.NewInstance using the constructor
103 * Test ClassType.NewInstance using the constructor
123 * Test ClassType.NewInstance using the constructor
146 * Test ClassType.NewInstance using the constructor
166 * Test ClassType.NewInstance using the constructor
[all …]
DNewInstanceTagTest.java19 package org.apache.harmony.jpda.tests.jdwp.ClassType;
27 * JDWP unit test for ClassType.NewInstance command for particular reference
44 * Test ClassType.NewInstance of java.lang.Object returns JT_OBJECT tag.
52 * Test ClassType.NewInstance of a subclass of java.lang.Object returns JT_OBJECT tag.
61 * Test ClassType.NewInstance of java.lang.String returns JT_STRING tag.
69 * Test ClassType.NewInstance of a subclass of java.lang.ClassLoader returns
82 * Test ClassType.NewInstance of java.lang.Thread returns JT_THREAD tag.
90 * Test ClassType.NewInstance of a subclass of java.lang.Thread returns
100 * Test ClassType.NewInstance of java.lang.ThreadGroup returns
119 * Test ClassType.NewInstance of a subclass of java.lang.ThreadGroup returns
DNewInstance002Test.java19 package org.apache.harmony.jpda.tests.jdwp.ClassType;
32 * JDWP unit test for ClassType.NewInstance command.
42 * This testcase exercises ClassType.NewInstance command.
45 * <BR>Then sends ClassType.NewInstance command to create a new instance and
126 logWriter.println(" Send ClassType.NewInstance (without Exception)"); in testNewInstance_null_argument()
128 checkReplyPacket(reply, "ClassType::NewInstance command"); in testNewInstance_null_argument()
131 logWriter.println(" ClassType.NewInstance: newObject.tag=" in testNewInstance_null_argument()
134 logWriter.println(" ClassType.NewInstance: exception.tag=" in testNewInstance_null_argument()
139 …assertEquals("ClassType::NewInstance returned invalid newObject.tag,", JDWPConstants.Tag.OBJECT_TA… in testNewInstance_null_argument()
144 …assertEquals("ClassType::NewInstance returned invalid exception.objectID,", 0, exception.objectID); in testNewInstance_null_argument()
DInvokeMethod002Test.java25 package org.apache.harmony.jpda.tests.jdwp.ClassType;
40 * JDWP unit test for ClassType.InvokeMethod command.
49 * This testcase checks ClassType.InvokeMethod command.
217 logWriter.println(" Send ClassType.InvokeMethod"); in testInvokeMethod()
221 checkReplyPacket(reply, "ClassType::InvokeMethod command", in testInvokeMethod()
224 checkReplyPacket(reply, "ClassType::InvokeMethod command"); in testInvokeMethod()
227 logWriter.println(" ClassType.InvokeMethod: returnValue=" + returnValue); in testInvokeMethod()
230 logWriter.println(" ClassType.InvokeMethod: returnedString=" + returnedString); in testInvokeMethod()
234 assertNotNull("ClassType::InvokeMethod returned null exception", in testInvokeMethod()
236 assertEquals("ClassType::InvokeMethod returned invalid exception objectID,", in testInvokeMethod()
[all …]
DInvokeMethod003Test.java19 package org.apache.harmony.jpda.tests.jdwp.ClassType;
32 * JDWP unit test for ClassType.InvokeMethod command.
41 * This testcase exercises ClassType.InvokeMethod command.
44 * <BR>Then sends ClassType.InvokeMethod command for method with null
120 logWriter.println(" Send ClassType.InvokeMethod without Exception"); in testInvokeMethod_null_argument()
122 checkReplyPacket(reply, "ClassType::InvokeMethod command"); in testInvokeMethod_null_argument()
127 logWriter.println(" ClassType.InvokeMethod: returnValue.getIntValue()=" in testInvokeMethod_null_argument()
136 logWriter.println(" ClassType.InvokeMethod: exception.tag=" in testInvokeMethod_null_argument()
DSetValuesTest.java26 package org.apache.harmony.jpda.tests.jdwp.ClassType;
38 * JDWP unit test for ClassType.SetValues command.
43 * This testcase exercises ClassType.SetValues command.
46 * Then sets values for these fields with ClassType.SetValues command
134 checkReplyPacket(reply, "ClassType::SetValues command"); in testField()
144 checkReplyPacket(reply, "ClassType::GetValues command"); in testField()
147 assertEquals("ClassType::SetValues returne invalid fields number,", 1, fields); in testField()
149 assertEquals("ClassType::SetValues returne invalid returned value,", value, returnedValue); in testField()
DNewInstance002Debuggee.java19 package org.apache.harmony.jpda.tests.jdwp.ClassType;
31 // Constructor invoked from JDWP ClassType.NewInstance command.
51 …c = Class.forName("org.apache.harmony.jpda.tests.jdwp.ClassType.NewInstance002Debuggee$TestClass"); in run()
57 …synchronizer.receiveMessageWithoutException("org.apache.harmony.jpda.tests.jdwp.ClassType.NewInsta… in run()
59 …synchronizer.receiveMessageWithoutException("org.apache.harmony.jpda.tests.jdwp.ClassType.NewInsta… in run()
DSuperClassTest.java26 package org.apache.harmony.jpda.tests.jdwp.ClassType;
39 * JDWP unit test for ClassType.SuperClass command.
49 checkReplyPacket(reply, "ClassType.Superclass command", errorExpected); in jdwpGetSuperClassReply()
60 ("ClassType::Superclass command returned invalid expectedSignature that must be null", in asserSuperClassReplyIsValid()
65 assertString("ClassType::Superclass command returned invalid signature,", in asserSuperClassReplyIsValid()
71 * This testcase exercises ClassType.Superclass command.
138 * This testcase exercises ClassType.Superclass command.
182 * This testcase exercises ClassType.Superclass command.
DAbstractNewInstanceTestCase.java19 package org.apache.harmony.jpda.tests.jdwp.ClassType;
35 * Base class to test ClassType.NewInstance for specific reference types.
67 * Checks that ClassType.NewInstance command for the given type and constructor returns the
70 * Once the debuggee is suspended on the breakpoint, send ClassType.NewInstance command
119 .println("Sending ClassType.NewInstance command for constructor " + fullMethodName); in checkNewInstanceTag()
131 checkReplyPacket(reply, "ClassType.NewInstance command"); in checkNewInstanceTag()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java88 if (signatureType instanceof SignatureAttribute.ClassType) { in signatureTypeToType()
89 SignatureAttribute.ClassType classType = (SignatureAttribute.ClassType) signatureType; in signatureTypeToType() local
90 …t<ResolvedType> typeArguments = classType.getTypeArguments() == null ? Collections.emptyList() : A… in signatureTypeToType()
92 removeTypeArguments(internalNameToCanonicalName(getTypeName(classType)))); in signatureTypeToType()
117 private static String getTypeName(SignatureAttribute.ClassType classType) { in getTypeName() argument
118 SignatureAttribute.ClassType declaringClass = classType.getDeclaringClass(); in getTypeName()
119 …return declaringClass == null ? classType.getName() : getTypeName(declaringClass) + "." + classTyp… in getTypeName()
135 if (typeArgument instanceof SignatureAttribute.ClassType) { in objectTypeArgumentToType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistUtils.txt37 …Line 124) classType.getTypeArguments() ==> javassist.bytecode.SignatureAttribute.ClassType.getType…
39 …Line 124) Arrays.stream(classType.getTypeArguments()).map(ta -> typeArgumentToType(ta, typeSolver,…
40 …Line 124) Arrays.stream(classType.getTypeArguments()).map(ta -> typeArgumentToType(ta, typeSolver,…
41 Line 124) Arrays.stream(classType.getTypeArguments()) ==> java.util.Arrays.stream(T[])
42 …Line 124) classType.getTypeArguments() ==> javassist.bytecode.SignatureAttribute.ClassType.getType…
45 …Line 126) classType.getDeclaringClass() ==> javassist.bytecode.SignatureAttribute.ClassType.getDec…
46 …Line 127) classType.getDeclaringClass().getName() ==> javassist.bytecode.SignatureAttribute.ClassT…
47 …Line 127) classType.getDeclaringClass() ==> javassist.bytecode.SignatureAttribute.ClassType.getDec…
48 Line 127) classType.getName() ==> javassist.bytecode.SignatureAttribute.ClassType.getName()
49 Line 128) classType.getName() ==> javassist.bytecode.SignatureAttribute.ClassType.getName()
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java182 ClassType superClass;
183 ClassType[] interfaces;
192 … public ClassSignature(TypeParameter[] params, ClassType superClass, ClassType[] interfaces) { in ClassSignature()
194 this.superClass = superClass == null ? ClassType.OBJECT : superClass; in ClassSignature()
195 this.interfaces = interfaces == null ? new ClassType[0] : interfaces; in ClassSignature()
219 public ClassType getSuperClass() { return superClass; } in getSuperClass()
226 public ClassType[] getInterfaces() { return interfaces; } in getInterfaces()
673 public static class ClassType extends ObjectType { class in SignatureAttribute
677 static ClassType make(String s, int b, int e, in make()
678 TypeArgument[] targs, ClassType parent) { in make()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java122 if (signatureType instanceof SignatureAttribute.ClassType) { in signatureTypeToType()
123 SignatureAttribute.ClassType classType = (SignatureAttribute.ClassType) signatureType; in signatureTypeToType() local
124 …List<Type> typeParameters = classType.getTypeArguments() == null ? Collections.emptyList() : Array… in signatureTypeToType()
126 classType.getDeclaringClass() != null ? in signatureTypeToType()
127 classType.getDeclaringClass().getName() + "." + classType.getName() : in signatureTypeToType()
128 classType.getName(); in signatureTypeToType()
/external/skqp/tests/
DGrTRecorderTest.cpp116 enum ClassType { enum
137 virtual ClassType getType() { return kBase_ClassType; } in getType()
151 virtual ClassType getType() { return kSubclass_ClassType; } in getType()
166 virtual ClassType getType() { return kSubSubclass_ClassType; } in getType()
188 virtual ClassType getType() { return kSubclassExtraData_ClassType; } in getType()
205 virtual ClassType getType() { return kSubclassEmpty_ClassType; } in getType()
212 ClassType next() { in next()
214 return static_cast<ClassType>(fCurrent % kNumClassTypes); in next()
271 ClassType classType = order.next(); in test_subclasses_iters() local
274 REPORTER_ASSERT(reporter, classType == iter->getType()); in test_subclasses_iters()
[all …]
/external/llvm-project/lld/test/COFF/
Dpdb-thunk.yaml396 ClassType: 4096
413 ClassType: 4096
434 ClassType: 4096
444 ClassType: 4096
473 ClassType: 4096
483 ClassType: 4096
570 ClassType: 4120
587 ClassType: 4120
608 ClassType: 4120
618 ClassType: 4120
[all …]
/external/python/cpython2/Lib/plat-mac/
Daepack.py120 if type(x) == types.ClassType and issubclass(x, ObjectSpecifier):
348 if type(dict['want']) == types.ClassType and issubclass(dict['want'], ObjectSpecifier):
350 classtype = dict['want']
351 dict['want'] = aetypes.mktype(classtype.want)
355 classtype = codenamemapper.get(want, None)
357 if classtype:
358 assert issubclass(classtype, ObjectSpecifier)
359 newobj.__class__ = classtype
366 classtype = codenamemapper.get(typecode, None)
367 if classtype:
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DClassType.java31 * A mirror of a class in the target VM. A ClassType is a refinement
35 * will have a ClassType as its type.
45 public interface ClassType extends ReferenceType { interface
49 * @return a {@link ClassType} that mirrors the superclass
53 ClassType superclass(); in superclass()
61 * a direct interface this ClassType in the target VM.
70 * by this class. Interfaces returned by {@link ClassType#interfaces}
74 * an interface of this ClassType in the target VM.
85 * @return a List of {@link ClassType} objects each mirroring a loaded
89 List<ClassType> subclasses(); in subclasses()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowDecorator.java54 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler()
55 …generator.instanceOf(mutableClass.classType); // __robo_data__, is instance of sam… in decorateMethodPreClassHandler()
60 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler()
61 …generator.checkCast(mutableClass.classType); // __robo_data__ but cast to my class in decorateMethodPreClassHandler()
85 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboGetDataMethod()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DTestUtils.java43 …public static ClassDef makeClassDef(@Nonnull String classType, @Nullable String superType, String.… in makeClassDef() argument
44 return new ImmutableClassDef(classType, 0, superType, ImmutableSet.copyOf(interfaces), in makeClassDef()
48 public static ClassDef makeInterfaceDef(@Nonnull String classType, String... interfaces) { in makeInterfaceDef() argument
49 … return new ImmutableClassDef(classType, AccessFlags.INTERFACE.getValue(), "Ljava/lang/Object;", in makeInterfaceDef()
/external/llvm-project/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml-types.test81 YAML: ClassType: 4100
91 YAML: ClassType: 4100
181 YAML: ClassType: 4110
194 YAML: ClassType: 4110
204 YAML: ClassType: 4110
304 YAML: ClassType: 4122
314 YAML: ClassType: 4122
407 YAML: ClassType: 4133
417 YAML: ClassType: 4133
547 YAML: ClassType: 4143
[all …]

12345678910>>...13