/libcore/luni/src/test/java/libcore/java/io/ |
OldLineNumberReaderTest.java | 29 LineNumberReader lnr; field in class:OldLineNumberReaderTest 32 lnr = new LineNumberReader(new StringReader(text)); 34 lnr.skip(80); 35 lnr.mark(100); 36 line = lnr.readLine(); 37 lnr.reset(); 39 line.equals(lnr.readLine())); 41 lnr.close(); 43 lnr.mark(42); 56 lnr = new LineNumberReader(new StringReader(text)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
LineNumberReaderTest.java | 33 LineNumberReader lnr; field in class:LineNumberReaderTest 39 lnr = new LineNumberReader(new StringReader(text), 4092); 40 assertEquals("Failed to create reader", 0, lnr.getLineNumber()); 47 lnr = new LineNumberReader(new StringReader(text)); 48 assertEquals("Failed to create reader", 0, lnr.getLineNumber()); 55 lnr = new LineNumberReader(new StringReader(text)); 56 assertEquals("Returned incorrect line number--expected 0, got ", 0, lnr 59 lnr.readLine(); 60 lnr.readLine(); 63 + lnr.getLineNumber(), lnr.getLineNumber() == 2) [all...] |
/external/ppp/pppd/plugins/radius/ |
clientid.c | 40 int lnr = 0; local 52 lnr++; 81 error("rc_read_mapfile: malformed line in %s, line %d", filename, lnr);
|