Lines Matching refs:buf
45 char[] buf = new char[10];
46 sr.read(buf, 0, 2);
63 char[] buf = new char[10];
64 sr.read(buf, 0, 2);
65 assertTrue("Failed to return to mark", new String(buf, 0, 2)
97 char[] buf = new char[testString.length()];
98 int r = sr.read(buf, 0, testString.length());
100 assertTrue("Read chars incorrectly", new String(buf, 0, r)
131 char[] buf = new char[10];
132 sr.read(buf, 0, 2);
133 assertTrue("Failed to reset properly", new String(buf, 0, 2)
144 char[] buf = new char[10];
145 sr.read(buf, 0, 2);
146 assertTrue("Failed to skip properly", new String(buf, 0, 2)