Searched refs:CAP (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/util/AbstractCollection/
H A DToArrayTest.java89 static final int CAP = OBJECTS.length; // capacity of the CANDIDATE field in class:ToArrayTest
90 static final int LAST = CAP - 1; // last possible array index
107 res = CANDIDATE.toArray(new String[CAP]);
114 a = new Object[CAP - 1]; // appears too small
120 a = new Object[CAP]; // appears to match
126 a = new Object[CAP + 1]; // appears too big
132 a = new Object[CAP - 2]; // appears too small
133 CANDIDATE.setSizeSequence(CAP, CAP - 1);
136 check(res.length == CAP
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DPipelineManager.cpp659 #define CHECK_CAP(FLAG, CAP) \
661 if (!((FLAG)&CAP)) { \
665 adapter, #CAP); \

Completed in 237 milliseconds