/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | LineNumberReaderTest.java | 40 assertEquals("Failed to create reader", 0, lnr.getLineNumber()); in test_ConstructorLjava_io_Reader() 48 assertEquals("Failed to create reader", 0, lnr.getLineNumber()); in test_ConstructorLjava_io_ReaderI() 57 .getLineNumber()); in test_getLineNumber() 63 + lnr.getLineNumber(), lnr.getLineNumber() == 2); in test_getLineNumber() 91 assertEquals("Read failed to inc lineNumber", 1, lnr.getLineNumber()); in test_read() 103 assertEquals("Read failed to inc lineNumber", 2, lnr.getLineNumber()); in test_read$CII() 111 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); in test_readLine() 117 assertTrue("Returned incorrect line number :" + lnr.getLineNumber(), in test_readLine() 118 lnr.getLineNumber() == 2); in test_readLine() 137 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); in test_reset() [all …]
|
D | LineNumberInputStreamTest.java | 58 .getLineNumber()); in test_getLineNumber() 64 lnis.getLineNumber()); in test_getLineNumber() 68 lnis.getLineNumber()); in test_getLineNumber() 78 assertEquals("Failed to mark", 0, lnis.getLineNumber()); in test_markI() 116 assertEquals("Failed to reset", 0, lnis.getLineNumber()); in test_reset() 137 assertEquals("Failed to set line number", 89, lnis.getLineNumber()); in test_setLineNumberI() 146 .getLineNumber()); in test_skipJ()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ |
D | SAXParseExceptionTest.java | 54 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator_Exception() 65 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator_Exception() 76 assertEquals(-1, e.getLineNumber()); in testSAXParseException_String_Locator_Exception() 87 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator_Exception() 106 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator() 117 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator() 128 assertEquals(-1, e.getLineNumber()); in testSAXParseException_String_Locator() 144 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_String_String_int_int_Exception() 155 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_String_String_int_int_Exception() 166 assertEquals(-1, e.getLineNumber()); in testSAXParseException_String_String_String_int_int_Exception() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStackTraceElementTest.java | 55 ste1.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() 63 ste1.getLineNumber(), ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() 70 ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() 79 ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() 88 ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() 104 ste1.getLineNumber()); in test_equalsLjava_lang_Object() 143 26, e.getStackTrace()[0].getLineNumber()); in test_getLineNumber() 171 ste1.getLineNumber()); in test_hashCode()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldLineNumberReaderTest.java | 63 1, lnr.getLineNumber()); in test_read() 84 2, lnr.getLineNumber()); in test_read$CII() 123 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); in test_readLine() 128 assertTrue("Test 2: Returned incorrect line number:" + lnr.getLineNumber(), in test_readLine() 129 lnr.getLineNumber() == 2); in test_readLine() 143 0, lnr.getLineNumber()); in test_reset()
|
D | OldLineNumberInputStreamTest.java | 115 assertEquals("Test 1: Failed to reset", 0, lnis.getLineNumber()); in test_reset() 141 42, lnis.getLineNumber()); in test_setLineNumberI() 146 89, lnis.getLineNumber()); in test_setLineNumberI() 154 2, lnis.getLineNumber()); in test_skipJ()
|
D | OldAndroidLineNumberReaderTest.java | 42 assertEquals(0, a.getLineNumber()); in testLineNumberReader() 44 assertEquals(1, a.getLineNumber()); in testLineNumberReader() 46 assertEquals(5, a.getLineNumber()); in testLineNumberReader()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | LocatorImplTest.java | 39 assertEquals(0, l.getLineNumber()); in testLocatorImpl() 56 assertEquals(ROW, outer.getLineNumber()); in testLocatorImplLocator() 92 assertEquals(ROW, l.getLineNumber()); in testSetLineNumberGetLineNumber() 95 assertEquals(0, l.getLineNumber()); in testSetLineNumberGetLineNumber()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | SAXParseException.java | 63 locator.getLineNumber(), locator.getColumnNumber()); in SAXParseException() 90 locator.getLineNumber(), locator.getColumnNumber()); in SAXParseException() 217 public int getLineNumber () in getLineNumber() method in SAXParseException
|
D | Locator.java | 105 public abstract int getLineNumber (); in getLineNumber() method
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserException.java | 42 this.row = parser.getLineNumber(); in XmlPullParserException() 50 public int getLineNumber() { return row; } in getLineNumber() method in XmlPullParserException
|
D | XmlPullParser.java | 661 int getLineNumber(); in getLineNumber() method
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMLocatorImpl.java | 31 this.lineNumber = src.getLineNumber(); in DOMLocatorImpl() 43 public int getLineNumber() { in getLineNumber() method in DOMLocatorImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
D | Locator2ImplTest.java | 44 assertEquals(0, l.getLineNumber()); in testLocatorImpl() 67 assertEquals(ROW, outer.getLineNumber()); in testLocatorImplLocator() 78 assertEquals(ROW, outer.getLineNumber()); in testLocatorImplLocator()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | LocatorImpl.java | 83 setLineNumber(locator.getLineNumber()); in LocatorImpl() 129 public int getLineNumber () in getLineNumber() method in LocatorImpl
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | SourceLocator.java | 72 public int getLineNumber(); in getLineNumber() method
|
D | TransformerException.java | 218 int line = locator.getLineNumber(); in getMessageAndLocation() 251 int line = locator.getLineNumber(); in getLocationAsString()
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | DOMLocator.java | 26 public int getLineNumber(); in getLineNumber() method
|
/libcore/luni/src/test/java/libcore/xml/ |
D | PullParserTest.java | 488 assertEquals("1,1", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 490 assertEquals("2,3", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 492 assertEquals("2,8", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 494 assertEquals("3,11", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 496 assertEquals("4,2", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 498 assertEquals("6,4", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 500 assertEquals("6,10", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 502 assertEquals("6,10", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 504 assertEquals("7,1", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() 506 assertEquals("7,7", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DOMErrorImpl.java | 25 public int getLineNumber() {
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | StackTraceElement.java | 45 public int getLineNumber() { in getLineNumber() method in StackTraceElement
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 211 if (frame.getLineNumber() >= 0) { in format() 213 sb.append(frame.getLineNumber()); in format()
|
/libcore/ojluni/src/main/java/java/io/ |
D | LineNumberInputStream.java | 217 public int getLineNumber() { in getLineNumber() method in LineNumberInputStream
|
D | LineNumberReader.java | 108 public int getLineNumber() { in getLineNumber() method in LineNumberReader
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StackTraceElement.java | 104 public int getLineNumber() { in getLineNumber() method in StackTraceElement
|