Lines Matching defs:cp
116 // source path containing package-info which is newer than the one in cp-old
137 void test(Kind cl, Kind sp, Kind cp) throws Exception {
138 if (skip(cl, sp, cp))
146 System.err.println("Test " + count + " cl:" + cl + " sp:" + sp + " cp:" + cp);
172 * Analyze each of cl, cp, sp, building up the options and files to
191 if (expect == null && cp == Kind.NONE) {
192 assert cl == Kind.NONE && cp == Kind.NONE;
201 assert cl == Kind.NONE && cp == Kind.OLD;
208 assert cl == Kind.NONE && cp == Kind.NONE;
214 switch (cp) {
254 boolean skip(Kind cl, Kind sp, Kind cp) {
256 if (cl == Kind.NONE && sp == Kind.NONE && cp == Kind.NONE)
260 if (sp == Kind.OLD && cp == Kind.OLD)
263 // skip if sp or cp is NEW but the other is not OLD
264 if ((sp == Kind.NEW && cp != Kind.OLD) || (cp == Kind.NEW && sp != Kind.OLD))
268 if (sp == Kind.GEN && !(cl == Kind.NONE && cp == Kind.NONE) ||
269 cp == Kind.GEN && !(cl == Kind.NONE && sp == Kind.NONE)) {