/dalvik/dx/src/com/android/dx/rop/code/ |
D | SourcePosition.java | 44 private final int line; field in SourcePosition 56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { in SourcePosition() argument 61 if (line < -1) { in SourcePosition() 67 this.line = line; in SourcePosition() 80 if (line >= 0) { in toString() 81 sb.append(line); in toString() 114 return sourceFile.hashCode() + address + line; in hashCode() 125 return (line == other.line); in sameLine() 136 return (line == other.line) && in sameLineAndFile() 166 return line; in getLine()
|
/dalvik/dx/src/com/android/dx/util/ |
D | HexParser.java | 57 String line; in parse() local 59 line = src.substring(at, poundAt); in parse() 61 line = src.substring(at, nlAt); in parse() 65 int colonAt = line.indexOf(':'); in parse() 69 int quoteAt = line.indexOf('\"'); in parse() 74 String atStr = line.substring(0, colonAt).trim(); in parse() 75 line = line.substring(colonAt + 1); in parse() 83 int lineLen = line.length(); in parse() 88 char c = line.charAt(i); in parse()
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
D | AudioInputStream.java | 37 private TargetDataLine line; field in AudioInputStream 50 public AudioInputStream(TargetDataLine line) { in AudioInputStream() argument 51 this.line = line; in AudioInputStream() 52 this.format = line.getFormat(); in AudioInputStream() 82 if (line.read(oneByte, 0, 1) == 0) { in read() 85 framePos = line.getLongFramePosition(); in read() 109 res = line.read(b, off, l); in read() 113 framePos = line.getLongFramePosition(); in read() 145 return line.available(); in available() 153 line.close(); in close()
|
D | LineEvent.java | 73 public LineEvent(Line line, LineEvent.Type type, long position) { in LineEvent() argument 74 super(line); in LineEvent()
|
D | AudioSystem.java | 291 SourceDataLine line = (SourceDataLine) getLine(new Line.Info( in getSourceDataLine() local 293 line.open(format); in getSourceDataLine() 294 return line; in getSourceDataLine() 300 SourceDataLine line = (SourceDataLine) getMixer(mixerinfo).getLine( in getSourceDataLine() local 302 line.open(format); in getSourceDataLine() 303 return line; in getSourceDataLine() 308 TargetDataLine line = (TargetDataLine) getLine(new Line.Info( in getTargetDataLine() local 310 line.open(format); in getTargetDataLine() 311 return line; in getTargetDataLine() 317 TargetDataLine line = (TargetDataLine) getMixer(mixerinfo).getLine( in getTargetDataLine() local [all …]
|
/dalvik/dx/tests/069-dex-source-position/ |
D | expected.txt | 74 0000: line 20 75 0004: line 21 76 0006: line 29 77 line = 24 78 0007: line 24 79 000f: line 28 80 0019: line 29 81 001c: line 25 82 001e: line 26 124 0000: line 20 [all …]
|
/dalvik/vm/mterp/ |
D | gen-mterp.py | 157 for line in opcode_fp: 158 match = opcode_re.match(line) 272 for line in asm_stub_text: 273 templ = Template(line) 295 for line in infp: 296 if line.startswith("%include"): 298 tokens = line.strip().split(' ', 2) 314 elif line.startswith("%default"): 316 tokens = line.strip().split(' ', 1) 324 elif line.startswith("%verify"): [all …]
|
/dalvik/libcore/archive/src/main/java/java/util/jar/ |
D | InitManifest.java | 83 String line = it.next(); in InitManifest() local 84 if (line.length() < 7 in InitManifest() 85 || !Util.toASCIILowerCase(line.substring(0, 5)).equals("name:")) { //$NON-NLS-1$ in InitManifest() 89 String name = line.substring(6, line.length()); in InitManifest() 272 private void addAttribute(String line, Attributes current) in addAttribute() argument 275 int hdrIdx = line.indexOf(':'); in addAttribute() 277 throw new IOException(Messages.getString("archive.2F", line)); //$NON-NLS-1$ in addAttribute() 279 header = line.substring(0, hdrIdx); in addAttribute() 289 if (hdrIdx + 1 >= line.length() || line.charAt(hdrIdx + 1) != ' ') { in addAttribute() 290 throw new IOException(Messages.getString("archive.2F", line)); //$NON-NLS-1$ in addAttribute() [all …]
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKX509CertificateFactory.java | 146 String line; in readPEMCertificate() local 149 while ((line = readLine(in)) != null) in readPEMCertificate() 151 if (line.equals("-----BEGIN CERTIFICATE-----") in readPEMCertificate() 152 || line.equals("-----BEGIN X509 CERTIFICATE-----")) in readPEMCertificate() 158 while ((line = readLine(in)) != null) in readPEMCertificate() 160 if (line.equals("-----END CERTIFICATE-----") in readPEMCertificate() 161 || line.equals("-----END X509 CERTIFICATE-----")) in readPEMCertificate() 166 pemBuf.append(line); in readPEMCertificate() 188 String line; in readPEMCRL() local 191 while ((line = readLine(in)) != null) in readPEMCRL() [all …]
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | Logger.java | 83 String line = ""; in printAsHex() local 90 line += prefix + tail + delimiter; in printAsHex() 93 super.println(line); in printAsHex() 94 line = ""; in printAsHex() 97 super.println(line); in printAsHex()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
D | LineNumberReaderTest.java | 99 String line; in test_markI() local 102 line = lnr.readLine(); in test_markI() 105 line.equals(lnr.readLine())); in test_markI() 216 String line = null; in test_readLine() local 218 line = lnr.readLine(); in test_readLine() 219 assertEquals("Test 1: Returned incorrect string;", "1", line); in test_readLine() 244 String line = null; in test_reset() local 248 line = lnr.readLine(); in test_reset() 249 assertEquals("Test 2: Failed to reset reader", "0", line); in test_reset()
|
D | DataInputStreamTest.java | 333 String line; in test_readLine() local 337 line = dis.readLine(); in test_readLine() 338 assertTrue("Test 1: Incorrect line written or read: " + line, in test_readLine() 339 line.equals("Lorem")); in test_readLine() 340 line = dis.readLine(); in test_readLine() 341 assertTrue("Test 2: Incorrect line written or read: " + line, in test_readLine() 342 line.equals("ipsum")); in test_readLine() 343 line = dis.readLine(); in test_readLine() 344 assertTrue("Test 3: Incorrect line written or read: " + line, in test_readLine() 345 line.equals("dolor sit amet...")); in test_readLine()
|
D | BufferedReaderTest.java | 380 String line; in test_readLine() local 383 line = br.readLine(); in test_readLine() 384 assertTrue("Test 1: Incorrect line written or read: " + line, in test_readLine() 385 line.equals("Lorem")); in test_readLine() 386 line = br.readLine(); in test_readLine() 387 assertTrue("Test 2: Incorrect line written or read: " + line, in test_readLine() 388 line.equals("ipsum")); in test_readLine() 389 line = br.readLine(); in test_readLine() 390 assertTrue("Test 3: Incorrect line written or read: " + line, in test_readLine() 391 line.equals("dolor sit amet...")); in test_readLine()
|
/dalvik/libcore/luni/src/main/java/java/io/ |
D | DataInputStream.java | 318 StringBuffer line = new StringBuffer(80); // Typical line length in readLine() local 324 if (line.length() == 0 && !foundTerminator) { in readLine() 327 return line.toString(); in readLine() 331 return line.toString(); in readLine() 340 return line.toString(); in readLine() 344 return line.toString(); in readLine() 346 line.append((char) nextByte); in readLine()
|
/dalvik/hit/src/com/android/hit/ |
D | StackFrame.java | 33 int serial, int line) { in StackFrame() argument 39 mLineNumber = line; in StackFrame()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | DebugInfoDecoder.java | 75 private int line = 1; field in DebugInfoDecoder 134 public int line; field in DebugInfoDecoder.PositionEntry 136 public PositionEntry(int address, int line) { in PositionEntry() argument 138 this.line = line; in PositionEntry() 242 line = readUnsignedLeb128(bs); in decode0() 379 line += readSignedLeb128(bs); in decode0() 404 line += DBG_LINE_BASE + (adjopcode % DBG_LINE_RANGE); in decode0() 406 positions.add(new PositionEntry(address, line)); in decode0() 472 if (entry.line == ple.getPosition().getLine() in validateEncode0() 481 + entry.address + ", " + entry.line); in validateEncode0()
|
/dalvik/libcore/dalvik/src/main/java/dalvik/system/ |
D | TouchDex.java | 78 String line; in main() local 80 while ((line = in.readLine()) != null) { in main() 81 prepFiles(line); in main()
|
/dalvik/dx/tests/021-code-attrib-LineNumberTable/ |
D | small-class.txt | 48 0000 0011 # offset 0000, line #17 49 0001 0022 # offset 0001, line #34
|
/dalvik/dx/src/junit/runner/ |
D | BaseTestRunner.java | 285 String line; in getFilteredTrace() local 287 while ((line= br.readLine()) != null) { in getFilteredTrace() 288 if (!filterLine(line)) in getFilteredTrace() 289 pw.println(line); in getFilteredTrace() 301 static boolean filterLine(String line) { in filterLine() argument 313 if (line.indexOf(patterns[i]) > 0) in filterLine()
|
/dalvik/libcore/luni/src/test/java/junit/runner/ |
D | BaseTestRunner.java | 288 String line; in getFilteredTrace() local 290 while ((line= br.readLine()) != null) { in getFilteredTrace() 291 if (!filterLine(line)) in getFilteredTrace() 292 pw.println(line); in getFilteredTrace() 304 static boolean filterLine(String line) { in filterLine() argument 316 if (line.indexOf(patterns[i]) > 0) in filterLine()
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
D | OptimizerOptions.java | 103 String line; in loadStringsFromFile() local 105 while (null != (line = bfr.readLine())) { in loadStringsFromFile() 106 result.add(line); in loadStringsFromFile()
|
/dalvik/libcore/sql/src/main/java/SQLite/ |
D | Shell.java | 294 void do_meta(String line) { in do_meta() argument 295 StringTokenizer st = new StringTokenizer(line.toLowerCase()); in do_meta() 454 String line = is.readLine(); in read_line() local 455 return line; in read_line() 462 String line, sql = null; in do_input() local 464 while ((line = read_line(is, prompt)) != null) { in do_input() 466 pw.println(line); in do_input() 468 if (line.length() > 0 && line.charAt(0) == '.') { in do_input() 469 do_meta(line); in do_input() 472 sql = line; in do_input() [all …]
|
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
D | StackTraceElement.java | 64 public StackTraceElement(String cls, String method, String file, int line) { in StackTraceElement() argument 72 lineNumber = line; in StackTraceElement()
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ThrowableTest.java | 207 String line = trace.substring(lastIndex, index); in fixStacktrace() local 210 index = line.indexOf("("); in fixStacktrace() 212 line = line.substring(0, index); in fixStacktrace() 216 if (line.indexOf("java.lang.Throwable") > -1) in fixStacktrace() 218 sb.append(line); in fixStacktrace()
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | BidiTest.java | 1705 Bidi line = bd.createLineBidi(2, 7); in testCreateLineBidi() local 1706 assertFalse(line.baseIsLeftToRight()); in testCreateLineBidi() 1707 assertEquals(1, line.getBaseLevel()); in testCreateLineBidi() 1708 assertEquals(5, line.getLength()); in testCreateLineBidi() 1709 assertEquals(2, line.getLevelAt(0)); in testCreateLineBidi() 1710 assertEquals(1, line.getLevelAt(1)); in testCreateLineBidi() 1711 assertEquals(3, line.getLevelAt(2)); in testCreateLineBidi() 1712 assertEquals(3, line.getLevelAt(3)); in testCreateLineBidi() 1713 assertEquals(2, line.getLevelAt(4)); in testCreateLineBidi() 1714 assertEquals(1, line.getLevelAt(1000)); in testCreateLineBidi() [all …]
|