Home
last modified time | relevance | path

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

123

/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.java154 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues009_Object() local
155 Value actualValue = getStaticFieldValue(classID, in testSetValues009_Object()
157 Value expectedValue = getStaticFieldValue(classID, in testSetValues009_Object()
174 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues010_Array() local
175 Value actualValue = getStaticFieldValue(classID, in testSetValues010_Array()
177 Value expectedValue = getStaticFieldValue(classID, in testSetValues010_Array()
195 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues010_ArrayAsObject() local
196 Value actualValue = getStaticFieldValue(classID, in testSetValues010_ArrayAsObject()
198 Value expectedValue = getStaticFieldValue(classID, in testSetValues010_ArrayAsObject()
215 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testSetValues011_Class() local
[all …]
DGetValues002Test.java161 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues009_ThisObject() local
162 Value thisValue = getStaticFieldValue(classID, "THIS_OBJECT"); in testGetValues009_ThisObject()
178 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues009_Object() local
179 Value expectedValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE"); in testGetValues009_Object()
195 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues010_Array() local
196 Value expectedValue = getStaticFieldValue(classID, "ARRAY_PARAM_VALUE"); in testGetValues010_Array()
213 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues010_ArrayAsObject() local
214 Value expectedValue = getStaticFieldValue(classID, "ARRAY_PARAM_VALUE"); in testGetValues010_ArrayAsObject()
230 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in testGetValues011_Class() local
231 Value expectedValue = getStaticFieldValue(classID, "CLASS_PARAM_VALUE"); in testGetValues011_Class()
[all …]
DJDWPStackFrameAccessTest.java141 long classID = getClassIDBySignature(getDebuggeeClassSignature()); in runStackFrameTest() local
144 int breakpointRequestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, in runStackFrameTest()
154 checkStackFrame(classID, eventThreadID, tester, true); in runStackFrameTest()
166 checkStackFrame(classID, eventThreadID, tester, false); in runStackFrameTest()
181 private void checkStackFrame(long classID, long eventThreadID, StackFrameTester tester, in checkStackFrame() argument
185 long testMethodID = getMethodID(classID, testMethodName); in checkStackFrame()
187 VarInfo[] variables = jdwpGetVariableTable(classID, testMethodID); in checkStackFrame()
191 FrameInfo testMethodFrame = getFrameInfo(eventThreadID, classID, testMethodID); in checkStackFrame()
331 protected VarInfo getVariableInfo(long classID, long methodID, String variableName) { in getVariableInfo() argument
332 VarInfo[] variables = jdwpGetVariableTable(classID, methodID); in getVariableInfo()
[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()
DBreakpoint002Test.java160 long classID = debuggeeWrapper.vmMirror.getClassID(getDebuggeeClassSignature()); in testBreakpointIn() local
161 assertTrue("Failed to find debuggee class", classID != -1); in testBreakpointIn()
164 … int breakpointReqID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, methodName); in testBreakpointIn()
/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()
705 public String getClassSignature(long classID) { in getClassSignature() argument
710 commandPacket.setNextValueAsReferenceTypeID(classID); in getClassSignature()
824 public long getFieldID(long classID, String fieldName) { in getFieldID() argument
825 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.java155 long classID = getObjectReferenceType(objectID); in getObjectSignature() local
156 return getClassSignature(classID); in getObjectSignature()
188 protected long getMethodID(long classID, String methodName) { in getMethodID() argument
192 command.setNextValueAsClassID(classID); in getMethodID()
217 protected ReplyPacket getLineTable(long classID, long methodID) { in getLineTable() argument
221 lineTableCommand.setNextValueAsReferenceTypeID(classID); in getLineTable()
236 protected String getMethodName(long classID, long methodID) { in getMethodName() argument
240 packet.setNextValueAsClassID(classID); in getMethodName()
262 protected String getClassSignature(long classID) { in getClassSignature() argument
266 command.setNextValueAsReferenceTypeID(classID); in getClassSignature()
[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
DJDWPProxyTestCase.java91 String className = getClassSignature(location.classID); in getFirstProxyFrameId()
92 String methodName = getMethodName(location.classID, location.methodID); in getFirstProxyFrameId()
94 if (location.classID != proxyClassId && in getFirstProxyFrameId()
95 IsProxy(location.classID, proxyClassId)) { in getFirstProxyFrameId()
/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/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; \
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DLineTableTest.java49 long classID = getClassIDBySignature("L"+getDebuggeeClassName().replace('.', '/')+";"); in testLineTableTest001() local
51 MethodInfo[] methodsInfo = jdwpGetMethodsInfo(classID); in testLineTableTest001()
58 ReplyPacket reply = getLineTable(classID, methodsInfo[i].getMethodID()); in testLineTableTest001()
/external/skia/src/gpu/gl/
DGrGLProgramDesc.cpp71 uint32_t classID = proc.classID(); in get_meta_key() local
76 if ((textureKey | transformKey | classID) & kMetaKeyInvalidMask) { in get_meta_key()
85 key[1] = (classID << 16 | SkToU16(processorKeySize)); in get_meta_key()

123