Searched defs:lbuf (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/jar/
H A DAttributes.java372 void read(Manifest.FastInputStream is, byte[] lbuf) throws IOException { argument
377 while ((len = is.readLine(lbuf)) != -1) {
379 if (lbuf[--len] != '\n') {
382 if (len > 0 && lbuf[len-1] == '\r') {
389 if (lbuf[0] == ' ') {
397 System.arraycopy(lbuf, 1, buf, lastline.length, len - 1);
405 while (lbuf[i++] != ':') {
410 if (lbuf[i++] != ' ') {
413 name = new String(lbuf, 0, 0, i - 2);
416 System.arraycopy(lbuf,
[all...]
H A DManifest.java197 byte[] lbuf = new byte[512];
199 attr.read(fis, lbuf);
210 while ((len = fis.readLine(lbuf)) != -1) {
211 if (lbuf[--len] != '\n') {
214 if (len > 0 && lbuf[len-1] == '\r') {
223 name = parseName(lbuf, len);
230 System.arraycopy(lbuf, 6, lastline, 0, len - 6);
237 System.arraycopy(lbuf, 1, buf, lastline.length, len - 1);
251 attr.read(fis, lbuf);
264 private String parseName(byte[] lbuf, in argument
[all...]

Completed in 18 milliseconds