Home
last modified time | relevance | path

Searched refs:classID (Results 1 – 25 of 89) sorted by relevance

1234

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValuesTest.java54 long classID = getClassIDBySignature(getDebuggeeSignature()); in testSetValues001() local
56 FieldInfo[] fields = jdwpGetFieldIDs(classID); in testSetValues001()
61 testField(classID, field); in testSetValues001()
65 private void testField(long classID, FieldInfo fieldInfo) throws UnsupportedEncodingException { in testField() argument
72 testField(classID, fieldInfo, new Value(Byte.MIN_VALUE)); in testField()
73 testField(classID, fieldInfo, new Value(Byte.MAX_VALUE)); in testField()
74 testField(classID, fieldInfo, new Value((byte)0)); in testField()
77 testField(classID, fieldInfo, new Value((char)Character.MAX_VALUE)); in testField()
78 testField(classID, fieldInfo, new Value((char)Character.MIN_VALUE)); in testField()
81 testField(classID, fieldInfo, new Value((float)Float.MIN_VALUE)); in testField()
[all …]
DSuperClassTest.java43 private ReplyPacket jdwpGetSuperClassReply(long classID, int errorExpected) { in jdwpGetSuperClassReply() argument
47 packet.setNextValueAsClassID(classID); in jdwpGetSuperClassReply()
87 long classID = getClassIDBySignature("Ljava/lang/String;"); in testSuperClass001() local
89 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001()
97 long classID = getClassIDBySignature("[Ljava/lang/String;"); in testSuperClass001() local
99 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001()
107 long classID = getClassIDBySignature("[I"); in testSuperClass001() local
109 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001()
116 long classID = getClassIDBySignature(getDebuggeeSignature()); in testSuperClass001() local
118 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE); in testSuperClass001()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DSetValues002Test.java296 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues009_Object() local
297 Value oldValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE"); in testSetValues009_Object()
298 Value newValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE_TO_SET"); in testSetValues009_Object()
316 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues009_ObjectWithException() local
317 Value oldValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE"); in testSetValues009_ObjectWithException()
318 Value newValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE_TO_SET"); in testSetValues009_ObjectWithException()
337 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues009_ObjectConstantWithExceptionInCallee() local
338 Value oldValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE"); in testSetValues009_ObjectConstantWithExceptionInCallee()
339 Value newValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE_TO_SET"); in testSetValues009_ObjectConstantWithExceptionInCallee()
359 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues009_ObjectConstantWithExceptionInCaller() local
[all …]
DGetValues002Test.java180 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues009_ThisObject() local
181 Value thisValue = getStaticFieldValue(classID, "THIS_OBJECT"); in testGetValues009_ThisObject()
198 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues009_Object() local
199 Value oldValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE"); in testGetValues009_Object()
216 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues010_Array() local
217 Value oldValue = getStaticFieldValue(classID, "ARRAY_PARAM_VALUE"); in testGetValues010_Array()
234 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues010_ArrayAsObject() local
235 Value oldValue = getStaticFieldValue(classID, "ARRAY_PARAM_VALUE"); in testGetValues010_ArrayAsObject()
251 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues011_Class() local
252 Value oldValue = getStaticFieldValue(classID, "CLASS_PARAM_VALUE"); in testGetValues011_Class()
[all …]
DJDWPStackFrameAccessTest.java166 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in runStackFrameTest() local
175 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, true); in runStackFrameTest()
184 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, false); in runStackFrameTest()
230 private void checkStackFrame(long classID, long eventThreadID, StackFrameTester tester, in checkStackFrame() argument
234 long testMethodID = getMethodID(classID, testMethodName); in checkStackFrame()
238 VarInfo[] variables = jdwpGetVariableTable(classID, testMethodID); in checkStackFrame()
242 FrameInfo testMethodFrame = getFrameInfo(eventThreadID, classID, testMethodID); in checkStackFrame()
378 protected VarInfo getVariableInfo(long classID, long methodID, String variableName) { in getVariableInfo() argument
379 VarInfo[] variables = jdwpGetVariableTable(classID, methodID); in getVariableInfo()
402 protected FrameInfo getFrameInfo(long threadID, long classID, long methodID) { in getFrameInfo() argument
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedEventsTestCase.java53 void printMethodLineTable(long classID, String className /* may be null */, String methodName) { in printMethodLineTable() argument
54 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in printMethodLineTable()
58 + classID + "; Method name = " + methodName); in printMethodLineTable()
65 packet.setNextValueAsClassID(classID); in printMethodLineTable()
92 long getMethodStartCodeIndex(long classID, String methodName) { in getMethodStartCodeIndex() argument
93 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in getMethodStartCodeIndex()
97 + classID + "; Method name = " + methodName); in getMethodStartCodeIndex()
104 packet.setNextValueAsClassID(classID); in getMethodStartCodeIndex()
116 long getMethodEndCodeIndex(long classID, String methodName) { in getMethodEndCodeIndex() argument
117 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in getMethodEndCodeIndex()
[all …]
DBreakpointMultipleTest.java50 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetAndClearMultipleBreakpoint() local
51 int breakpoint1 = setBreakpoint(classID); in testSetAndClearMultipleBreakpoint()
52 int breakpoint2 = setBreakpoint(classID); in testSetAndClearMultipleBreakpoint()
59 int breakpoint3 = setBreakpoint(classID); in testSetAndClearMultipleBreakpoint()
80 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetMultipleBreakpoint() local
81 int breakpoint1 = setBreakpoint(classID); in testSetMultipleBreakpoint()
82 int breakpoint2 = setBreakpoint(classID); in testSetMultipleBreakpoint()
112 private int setBreakpoint(long classID) { in setBreakpoint() argument
114 return mirror.setBreakpointAtMethodBegin(classID, "breakpointTest"); in setBreakpoint()
DBreakpointOnCatchTest.java52 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testBreakpointOnCatch() local
53 long methodID = getMethodID(classID, BreakpointOnCatchDebuggee.BREAKPOINT_METHOD_NAME); in testBreakpointOnCatch()
70 assertEquals("Invalid class ID:", classID, catchLocation.classID); in testBreakpointOnCatch()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DClassTable.java22 private int classID; field in ClassTable.ClassEntry
24 public ClassEntry(int glyphID, int classID) in ClassEntry() argument
27 this.classID = classID; in ClassEntry()
37 return classID; in getClassID()
98 private int classID; field in ClassTable.ClassRangeRecord
100 public ClassRangeRecord(int startGlyphID, int endGlyphID, int classID) in ClassRangeRecord() argument
104 this.classID = classID; in ClassRangeRecord()
113 System.out.println(classID); in write()
117 writer.writeData(classID); in write()
133 public void addMapping(int charID, int classID) in addMapping() argument
[all …]
DThaiCharacterClasses.java116 public static String getClassName(int classID) in getClassName() argument
118 if (classID < 0 || classID >= cCount) { in getClassName()
122 return classNames[classID]; in getClassName()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DLocation.java35 public long classID; field in Location
44 classID = 0; in Location()
52 public Location(byte tag, long classID, long methodID, long index) { in Location() argument
54 this.classID = classID; in Location()
63 return "Location: tag="+tag+", classID="+classID+", methodID="+methodID+", index="+index; in toString()
73 return classID == loc.classID && methodID == loc.methodID in equals()
DField.java37 private long classID; field in Field
52 classID = -1; in Field()
72 public Field(long id, long classID, String name, String signature, in Field() argument
75 this.classID = classID; in Field()
157 return classID; in getClassID()
293 return this.id == field.id && this.classID == field.classID in equals()
306 String str = "Field: id=" + id + ", classID=" + classID + ", name='" in toString()
DVmMirror.java220 public int setBreakpointAtMethodBegin(long classID, String methodName) { in setBreakpointAtMethodBegin() argument
221 return setBreakpointAtMethodBegin(classID, methodName, JDWPConstants.SuspendPolicy.ALL); in setBreakpointAtMethodBegin()
233 public int setBreakpointAtMethodBegin(long classID, String methodName, byte suspendPolicy) { in setBreakpointAtMethodBegin() argument
234 long methodID = getMethodID(classID, methodName); in setBreakpointAtMethodBegin()
236 ReplyPacket lineTableReply = getLineTable(classID, methodID); in setBreakpointAtMethodBegin()
259 classID, methodID, lineCodeIndex); in setBreakpointAtMethodBegin()
770 public String getClassSignature(long classID) { in getClassSignature() argument
775 commandPacket.setNextValueAsReferenceTypeID(classID); in getClassSignature()
889 public long getFieldID(long classID, String fieldName) { in getFieldID() argument
890 ReplyPacket reply = getFieldsInClass(classID); in getFieldID()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DDisposeDuringInvokeTest.java59 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testDisposeDuringInvoke() local
60 long invokedMethodId = getMethodID(classID, in testDisposeDuringInvoke()
62 int breakpointID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, in testDisposeDuringInvoke()
65 long thisObjectId = getReceiverObjectId(classID); in testDisposeDuringInvoke()
79 command.setNextValueAsClassID(classID); in testDisposeDuringInvoke()
114 private long getReceiverObjectId(long classID) { in getReceiverObjectId() argument
115 long thisObjectFieldID = checkField(classID, DisposeDuringInvokeDebuggee.THIS_FIELD_NAME); in getReceiverObjectId()
117 debuggeeWrapper.vmMirror.getReferenceTypeValue(classID, thisObjectFieldID); in getReceiverObjectId()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DGetValuesTest.java58 long classID = getClassIDBySignature(debuggeeSig); in testGetValues001() local
64 packet.setNextValueAsReferenceTypeID(classID); in testGetValues001()
78 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
84 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
90 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
96 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
102 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
108 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
115 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 10, in testGetValues001()
122 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 8, in testGetValues001()
[all …]
DLengthTest.java56 …long classID = getClassIDBySignature("Lorg/apache/harmony/jpda/tests/jdwp/ArrayReference/ArrayRefe… in testLength001() local
62 packet.setNextValueAsReferenceTypeID(classID); in testLength001()
75 checkArrayLength(classID, fieldID, JDWPConstants.Error.NONE, 10); in testLength001()
78 checkArrayLength(classID, fieldID, JDWPConstants.Error.NONE, 8); in testLength001()
81 checkArrayLength(classID, fieldID, JDWPConstants.Error.INVALID_ARRAY, 0); in testLength001()
89 private void checkArrayLength(long classID, long fieldID, int error, int length) { in checkArrayLength() argument
95 packet.setNextValueAsReferenceTypeID(classID); in checkArrayLength()
DSetValuesTest.java54 …long classID = getClassIDBySignature("Lorg/apache/harmony/jpda/tests/jdwp/ArrayReference/ArrayRefe… in testSetValues001() local
60 packet.setNextValueAsReferenceTypeID(classID); in testSetValues001()
77 checkArrayValues(valuesRegion, classID, fieldID); in testSetValues001()
84 checkArrayValues(valuesRegion, classID, fieldID); in testSetValues001()
91 checkArrayValues(valuesRegion, classID, fieldID); in testSetValues001()
98 private void checkArrayValues(ArrayRegion valuesRegion, long classID, in checkArrayValues() argument
103 packet.setNextValueAsReferenceTypeID(classID); in checkArrayValues()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPTestCase.java172 long classID = getObjectReferenceType(objectID); in getObjectSignature() local
173 return getClassSignature(classID); in getObjectSignature()
205 protected long getMethodID(long classID, String methodName) { in getMethodID() argument
209 command.setNextValueAsClassID(classID); in getMethodID()
236 protected long getMethodID(long classID, String methodName, String methodSignature) { in getMethodID() argument
240 command.setNextValueAsClassID(classID); in getMethodID()
265 protected ReplyPacket getLineTable(long classID, long methodID) { in getLineTable() argument
269 lineTableCommand.setNextValueAsReferenceTypeID(classID); in getLineTable()
284 protected String getMethodName(long classID, long methodID) { in getMethodName() argument
288 packet.setNextValueAsClassID(classID); in getMethodName()
[all …]
DJDWPInvokeMethodWithSuspensionTestCase.java61 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in runInvokeMethodTest() local
62 long invokeMethodID = getMethodID(classID, invokedMethodName); in runInvokeMethodTest()
66 int breakpointEventThread = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, in runInvokeMethodTest()
72 int breakpointAllThreads = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, in runInvokeMethodTest()
89 CommandPacket invokeMethodCommand = buildInvokeCommand(eventThreadOne, classID, in runInvokeMethodTest()
113 CommandPacket anotherInvokeMethodCommand = buildInvokeCommand(eventThreadOne, classID, in runInvokeMethodTest()
161 protected abstract CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
DJDWPInvokeMethodSuspendedTwiceTestCase.java60 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in runInvokeMethodTest() local
61 long invokeMethodID = getMethodID(classID, invokedMethodName); in runInvokeMethodTest()
65 int breakpointEventThread = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, in runInvokeMethodTest()
90 CommandPacket invokeMethodCommand = buildInvokeCommand(eventThreadOne, classID, in runInvokeMethodTest()
124 CommandPacket anotherInvokeMethodCommand = buildInvokeCommand(eventThreadOne, classID, in runInvokeMethodTest()
170 protected abstract CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DISimpleElement.java23 ISimpleElement setClass (String classID); in setClass() argument
50 public ISimpleElement setClass (final String classID) in setClass() argument
52 if ((classID != null) && (classID.length () > 0)) in setClass()
54 getAttributes ().set (Attribute.CLASS, classID); in setClass()
/external/skia/src/gpu/batches/
DGrBatch.h58 GrBatch(uint32_t classID);
64 if (this->classID() != that->classID()) { in combineIfPossible()
87 SkASSERT(T::ClassID() == this->classID()); in cast()
92 SkASSERT(T::ClassID() == this->classID()); in cast()
96 uint32_t classID() const { SkASSERT(kIllegalBatchID != fClassID); return fClassID; } in classID() function
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFramesTest.java89 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames005()
90 classSignature = getClassSignature(frame.loc.classID); in testFrames005()
143 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames004()
144 classSignature = getClassSignature(frame.loc.classID); in testFrames004()
198 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames003()
199 classSignature = getClassSignature(frame.loc.classID); in testFrames003()
259 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames002()
260 classSignature = getClassSignature(frame.loc.classID); in testFrames002()
285 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames002()
286 classSignature = getClassSignature(frame.loc.classID); in testFrames002()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/
DLaunchedDebugger.java197 long classID = 0; in getClassIDBySignature() local
200 classID = reply.getNextValueAsReferenceTypeID(); in getClassIDBySignature()
206 classID + "> for signature " + signature, classID > 0); in getClassIDBySignature()
207 return classID; in getClassIDBySignature()
217 methodName = getMethodName(frameInfos[i].location.classID, in printStackFrame()
227 protected String getMethodName(long classID, long methodID) { in getMethodName() argument
231 packet.setNextValueAsClassID(classID); in getMethodName()
/external/icu/icu4c/source/common/unicode/
Duobject.h295 static char classID = 0; \
296 return (UClassID)&classID; \
312 static char classID = 0; \
313 return (UClassID)&classID; \

1234