Lines Matching refs:in

6  * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
137 StringReader in = new StringReader("abc def ghi\n");
146 assertTrue(c.getContext(in, out, "", "", "", null, limit, hits));
165 in = new StringReader("abc def ghi\n");
170 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
185 in = null;
190 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
205 in = new StringReader("abc def ghi\n");
210 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
218 in = new StringReader("abc def ghi\n");
223 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
246 Reader in = new CharArrayReader(chars);
250 boolean match = c.getContext(in, out, "", "", "", null, true, null);
272 Reader in = new StringReader(sb.toString());
278 boolean match = c.getContext(in, out, "", "", "", null, true, null);
300 Reader in = new StringReader(sb.toString());
306 boolean match = c.getContext(in, out, "", "", "", null, true, null);
322 StringReader in = new StringReader("a\nb\nc\n");
329 // Search for a multi-token phrase that spans multiple lines in the
335 c.getContext(in, out, "", "", "", null, true, null));
347 * Parse the XML document contained in a string.
354 ByteArrayInputStream in =
357 newDocumentBuilder().parse(in);
361 * Verify that the matching lines are shown in their original form and
368 StringReader in = new StringReader("Mixed case: abc AbC dEf\n");
372 assertTrue(c.getContext(in, out, "", "", "", null, false, null));
396 // Path search shouldn't match anything in source
406 // anything in source
415 * @param lines the expected line numbers in the hit list
416 * @param tags the expected tags in the hit list
424 StringReader in = new StringReader("abc\nbug17582\nBug17582\n");
432 context.getContext(in, null, "", "", "", defs, false, hits));