/libcore/ojluni/src/main/java/sun/misc/ |
D | MetaIndex.java | 166 String line = null; in registerDirectory() local 177 line = reader.readLine(); in registerDirectory() 178 if (line == null || in registerDirectory() 179 !line.equals("% VERSION 2")) { in registerDirectory() 183 while ((line = reader.readLine()) != null) { in registerDirectory() 184 switch (line.charAt(0)) { in registerDirectory() 197 curJarName = line.substring(2); in registerDirectory() 198 if (line.charAt(0) == '!') { in registerDirectory() 209 contents.add(line); in registerDirectory()
|
D | JarIndex.java | 305 String line = null; in read() local 312 while((line = br.readLine()) != null && !line.endsWith(".jar")); in read() 314 for(;line != null; line = br.readLine()) { in read() 315 if (line.length() == 0) in read() 318 if (line.endsWith(".jar")) { in read() 319 currentJar = line; in read() 322 String name = line; in read()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldLineNumberReaderTest.java | 33 String line; in test_markI() local 36 line = lnr.readLine(); in test_markI() 39 line.equals(lnr.readLine())); in test_markI() 124 String line = null; in test_readLine() local 126 line = lnr.readLine(); in test_readLine() 127 assertEquals("Test 1: Returned incorrect string;", "1", line); in test_readLine() 144 String line = null; in test_reset() local 148 line = lnr.readLine(); in test_reset() 149 assertEquals("Test 2: Failed to reset reader", "0", line); in test_reset()
|
D | OldDataInputStreamTest.java | 261 String line; in test_readLine() local 265 line = dis.readLine(); in test_readLine() 266 assertTrue("Test 1: Incorrect line written or read: " + line, in test_readLine() 267 line.equals("Lorem")); in test_readLine() 268 line = dis.readLine(); in test_readLine() 269 assertTrue("Test 2: Incorrect line written or read: " + line, in test_readLine() 270 line.equals("ipsum")); in test_readLine() 271 line = dis.readLine(); in test_readLine() 272 assertTrue("Test 3: Incorrect line written or read: " + line, in test_readLine() 273 line.equals("dolor sit amet...")); in test_readLine()
|
D | OldBufferedReaderTest.java | 220 String line; in test_readLine() local 223 line = br.readLine(); in test_readLine() 224 assertTrue("Test 1: Incorrect line written or read: " + line, in test_readLine() 225 line.equals("Lorem")); in test_readLine() 226 line = br.readLine(); in test_readLine() 227 assertTrue("Test 2: Incorrect line written or read: " + line, in test_readLine() 228 line.equals("ipsum")); in test_readLine() 229 line = br.readLine(); in test_readLine() 230 assertTrue("Test 3: Incorrect line written or read: " + line, in test_readLine() 231 line.equals("dolor sit amet...")); in test_readLine()
|
/libcore/tools/patch-style/ |
D | libcore-patch-style.awk | 66 function checkLineLength(line) { 67 if (g_max_length > 0 && length(line) > g_max_length) { 68 inputError("Line too long", line) 95 function processBeginMarker(line) { 97 expectEndFor(line) 100 function processEndMarker(line) { 101 actualEndFor(line)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | LineNumberReaderTest.java | 71 String line; in test_markI() local 74 line = lnr.readLine(); in test_markI() 76 assertTrue("Failed to return to marked position", line.equals(lnr in test_markI() 112 String line = null; in test_readLine() local 114 line = lnr.readLine(); in test_readLine() 116 assertEquals("Returned incorrect string", "1", line); in test_readLine() 138 String line = null; in test_reset() local 142 line = lnr.readLine(); in test_reset() 144 assertEquals("Failed to reset reader", "0", line); in test_reset()
|
D | ConsoleTest.java | 87 String line = console.readLine(); in test_readLine() local 88 assertEquals("hello world", line); in test_readLine() 92 String line = console.readLine("%d %s", 2, "Please input a line of string to test:"); in test_readLine_LString_LObject() local 93 assertEquals("hello world", line); in test_readLine_LString_LObject()
|
/libcore/tools/docs/crypto/ |
D | crypto_docs.py | 26 for line in f: 27 if not line.strip().startswith('#'): 28 stripped_contents += line
|
D | update_crypto_support.py | 144 for line in f.readlines(): 145 line = line.strip() 147 if line.strip() == 'BEGIN ALGORITHM LIST': 150 if line == 'END ALGORITHM LIST': 153 category, algorithm = line.split()
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerException.java | 218 int line = locator.getLineNumber(); in getMessageAndLocation() local 226 if (0 != line) { in getMessageAndLocation() 228 sbuffer.append(line); in getMessageAndLocation() 251 int line = locator.getLineNumber(); in getLocationAsString() local 259 if (0 != line) { in getLocationAsString() 261 sbuffer.append(line); in getLocationAsString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThrowableTest.java | 107 String line = trace.substring(lastIndex, index); in fixStacktrace() local 110 index = line.indexOf("("); in fixStacktrace() 112 line = line.substring(0, index); in fixStacktrace() 116 if (line.indexOf("java.lang.Throwable") > -1) in fixStacktrace() 118 sb.append(line); in fixStacktrace()
|
D | ProcessManagerTest.java | 145 String line; in logErrors() 147 while ((line = reader.readLine()) != null) { in logErrors() 148 System.err.println(line); in logErrors()
|
D | ProcessTest.java | 47 for (String line : readAndCloseStream(ps.getInputStream()).split("\n")) { in test_55017() 48 if (line.contains(" Z ") || line.contains(" Z+ ")) { in test_55017()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | Util.java | 61 String line; in readLines() local 62 while ((line = br.readLine()) != null) { in readLines() 63 result.add(line); in readLines() 76 for (String line : lines) { in writeLines() 77 printStream.println(line); in writeLines()
|
D | CompareUpstreams.java | 96 for (String line : lines) { in androidChangedComments() 97 Matcher matcher = pattern.matcher(line); in androidChangedComments() 112 } else if (line.contains("Android-")) { in androidChangedComments() 113 problems.add(line); in androidChangedComments()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | BidiTest.java | 787 Bidi line = bd.createLineBidi(2, 7); in testCreateLineBidi() local 788 assertFalse(line.baseIsLeftToRight()); in testCreateLineBidi() 789 assertEquals(1, line.getBaseLevel()); in testCreateLineBidi() 790 assertEquals(5, line.getLength()); in testCreateLineBidi() 791 assertEquals(2, line.getLevelAt(0)); in testCreateLineBidi() 792 assertEquals(3, line.getLevelAt(1)); in testCreateLineBidi() 793 assertEquals(3, line.getLevelAt(2)); in testCreateLineBidi() 794 assertEquals(3, line.getLevelAt(3)); in testCreateLineBidi() 795 assertEquals(2, line.getLevelAt(4)); in testCreateLineBidi() 796 assertEquals(1, line.getLevelAt(1000)); in testCreateLineBidi() [all …]
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | CSVTest.java | 43 String line = ""; in TestCSVInputs() local 49 while ((line = br.readLine()) != null) { in TestCSVInputs() 50 if (line.charAt(0) != '#') { in TestCSVInputs() 51 String[] testCase = line.split(","); in TestCSVInputs()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTestHelper.smali | 33 # Additionally .line / .prologue declarations were removed from noDebugInfo 46 .line 3 56 .line 5 72 .line 9 85 #.line 13
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPolicyParser.java | 53 ParsingException(int line, String msg) { in ParsingException() argument 57 ParsingException(int line, String expect, String actual) { in ParsingException() argument
|
/libcore/support/src/test/java/libcore/java/security/ |
D | CpuFeatures.java | 151 String line; in cpuFieldContainsAes() local 152 while ((line = br.readLine()) != null) { in cpuFieldContainsAes() 153 if (line.matches(regex)) { in cpuFieldContainsAes()
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 207 public FtpDirEntry parseLine(String line) { in parseLine() argument 221 m = patterns[j].matcher(line); in parseLine() 285 …file.setType(dir ? FtpDirEntry.Type.DIR : (line.charAt(0) == 'l' ? FtpDirEntry.Type.LINK : FtpDirE… in parseLine() 296 public FtpDirEntry parseLine(String line) { in parseLine() argument 298 int i = line.lastIndexOf(";"); in parseLine() 300 name = line.substring(i + 1).trim(); in parseLine() 301 line = line.substring(0, i); in parseLine() 303 name = line.trim(); in parseLine() 304 line = ""; in parseLine() 307 while (!line.isEmpty()) { in parseLine() [all …]
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpDirParser.java | 48 public FtpDirEntry parseLine(String line); in parseLine() argument
|
/libcore/ojluni/src/main/java/java/io/ |
D | Console.java | 245 String line = null; in readLine() local 253 line = new String(ca); in readLine() 259 return line; in readLine()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 596 private int line() { in line() method in ExpatParser 597 return line(this.pointer); in line() 600 private static native int line(long pointer); in line() method in ExpatParser 698 return line(); in getLineNumber() 755 String message, int line, int column) { in makeMessage() argument 756 return "At line " + line + ", column " in makeMessage()
|