Searched refs:lbuf (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Manifest.java | 197 byte[] lbuf = new byte[512]; in read() 199 attr.read(fis, lbuf); in read() 210 while ((len = fis.readLine(lbuf)) != -1) { in read() 211 if (lbuf[--len] != '\n') { in read() 214 if (len > 0 && lbuf[len-1] == '\r') { in read() 223 name = parseName(lbuf, len); in read() 230 System.arraycopy(lbuf, 6, lastline, 0, len - 6); in read() 237 System.arraycopy(lbuf, 1, buf, lastline.length, len - 1); in read() 251 attr.read(fis, lbuf); in read() 264 private String parseName(byte[] lbuf, int len) { in parseName() argument [all …]
|
D | Attributes.java | 372 void read(Manifest.FastInputStream is, byte[] lbuf) throws IOException { in read() argument 377 while ((len = is.readLine(lbuf)) != -1) { in read() 379 if (lbuf[--len] != '\n') { in read() 382 if (len > 0 && lbuf[len-1] == '\r') { in read() 389 if (lbuf[0] == ' ') { in read() 397 System.arraycopy(lbuf, 1, buf, lastline.length, len - 1); in read() 405 while (lbuf[i++] != ':') { in read() 410 if (lbuf[i++] != ' ') { in read() 413 name = new String(lbuf, 0, 0, i - 2); in read() 416 System.arraycopy(lbuf, i, lastline, 0, len - i); in read() [all …]
|