Lines Matching defs:tc

156         TestCon tc = new TestCon17();
157 test_consub_indexof(tc, b);
161 tc = new TestCon16();
162 test_consub_indexof(tc, b);
166 tc = new TestCon9();
167 test_consub_indexof(tc, b);
171 tc = new TestCon8();
172 test_consub_indexof(tc, b);
176 tc = new TestCon4();
177 test_consub_indexof(tc, b);
181 tc = new TestCon3();
182 test_consub_indexof(tc, b);
186 tc = new TestCon2();
187 test_consub_indexof(tc, b);
191 tc = new TestCon1();
192 test_consub_indexof(tc, b);
197 tc = new TestCon17();
198 test_conmis_indexof(tc, b);
202 tc = new TestCon16();
203 test_conmis_indexof(tc, b);
207 tc = new TestCon9();
208 test_conmis_indexof(tc, b);
212 tc = new TestCon8();
213 test_conmis_indexof(tc, b);
217 tc = new TestCon4();
218 test_conmis_indexof(tc, b);
222 tc = new TestCon3();
223 test_conmis_indexof(tc, b);
227 tc = new TestCon2();
228 test_conmis_indexof(tc, b);
232 tc = new TestCon1();
233 test_conmis_indexof(tc, b);
316 public static void test_consub_indexof(TestCon tc, String b) {
317 System.out.println("Start search constant substring (" + tc.constr().length() + " chars)");
319 int limit = tc.constr().length();
322 long start = test_init(tc.constr(), b);
323 int v = test_subcon(tc);
324 test_end(tc.constr(), b, v, (b.length() - tc.constr().length()), start);
327 System.out.println("End search constant substring (" + tc.constr().length() + " chars), time: " + (end_it - start_it));
330 public static void test_conmis_indexof(TestCon tc, String b) {
331 System.out.println("Start search non matching constant substring (" + tc.constr().length() + " chars)");
333 int limit = tc.constr().length();
336 long start = test_init(tc.constr(), b);
337 int v = test_subcon(tc);
338 test_end(tc.constr(), b, v, (-1), start);
341 System.out.println("End search non matching constant substring (" + tc.constr().length() + " chars), time: " + (end_it - start_it));
344 public static int test_subcon(TestCon tc) {
348 v += tc.indexOf(strings[s]);