Searched defs:count (Results 76 - 100 of 617) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/net/Authenticator/
H A DB4962064.java38 static int count = 0; field in class:B4962064
42 switch (count) {
62 count ++;
123 int count = 0; field in class:B4962064.MyAuthenticator
134 if (count == 0) {
142 count ++;
H A DDeadlock.java79 if (count != 2) {
80 throw new RuntimeException("test failed count = " + count);
118 public static int count = 0; field in class:Deadlock
127 if (count == 0) {
132 count++;
/openjdk7/jdk/test/java/net/BindException/
H A DTest.java45 static int count; field in class:Test
55 * Increment test count
57 count++;
146 System.out.println("Test " + count);
226 System.out.println(count + " test(s) executed. " + failures + " failure(s).");
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DHangup.java54 static void doSelect(Selector sel, SelectionKey sk, int count) argument
66 log.println("S: Socket selected #" + count);
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DEchoService.java104 // The class maintains a count of the number of worker threads so
108 private static int count = 0; field in class:EchoService.Worker
111 public static int count() { method in class:EchoService.Worker
113 return count;
122 count++;
132 count--;
169 int count = 0;
177 if (Worker.count() == 0) {
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DWalkWithSecurity.java78 if (visitor.count() == 0)
84 if (visitor.count() > 0)
92 if (visitor.count() == 0)
94 if (visitor.count() > 1)
109 private int count; field in class:WalkWithSecurity.CountingVisitor
111 int count() { method in class:WalkWithSecurity.CountingVisitor
112 return count;
118 count++;
125 count++;
/openjdk7/jdk/test/java/nio/file/WatchService/
H A DLotsOfEvents.java89 int count)
95 if (key != null && count == 0)
97 if (key == null && count > 0)
108 if (++nread > count)
125 if (nread < count && !gotOverflow)
87 drainAndCheckOverflowEvents(WatchService watcher, WatchEvent.Kind<?> expectedKind, int count) argument
/openjdk7/langtools/test/tools/apt/Scanners/
H A DCounter.java43 int count; field in class:Counter.CounterProc.CountingVisitor
44 int count() { method in class:Counter.CounterProc.CountingVisitor
45 return count;
49 count = 0;
53 count++;
76 if (sourceOrder.count() != someOrder.count() )
H A DScanner.java45 int count; field in class:Scanner.ScannerProc.CountingVisitor
47 count = 0;
51 count++;
72 if (value.intValue() != count)
74 " to be in position " + count +
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_cpu.c182 jint count; local
184 count = 1;
187 count = tls_sum_sample_status();
189 if ( count == 0 ) {
207 jint count; local
210 count = tls_sum_sample_status();
211 if ( count > 0 ) {
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DCoverageTables.cpp69 le_uint16 count = SWAPW(glyphCount); local
70 le_uint8 bit = OpenTypeUtilities::highBit(count);
72 le_uint16 extra = count - power;
76 if (count == 0) {
102 le_uint16 count = SWAPW(rangeCount); local
104 OpenTypeUtilities::getGlyphRangeIndex(ttGlyphID, rangeRecordArray, count);
H A DDeviceTables.cpp55 le_uint16 count = 16 / bits; local
56 le_uint16 word = SWAPW(deltaValues[sizeIndex / count]);
57 le_uint16 fieldIndex = sizeIndex % count;
H A DGXLayoutEngine.cpp57 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
63 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
68 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success);
76 return count;
80 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
87 if (chars == NULL || offset < 0 || count < 0) {
H A DScriptAndLanguage.cpp43 le_uint16 count = SWAPW(langSysCount); local
46 if (count > 0) {
47 LEReferenceToArrayOf<TagAndOffsetRecord> langSysRecords(base, success, langSysRecordArray, count);
72 * a value which is greater than or equal to the actual script count.
76 * Because of this, a binary serach isn't safe, because the new count may include
80 le_uint16 count = SWAPW(scriptCount); local
82 if (count == 0) {
97 if (count > limit) {
108 LEReferenceToArrayOf<ScriptRecord> scriptRecordArrayRef(base, success, &scriptRecordArray[0], count);
/openjdk7/jdk/test/java/util/Vector/
H A DSerializationDeadlock.java82 public TestBarrier(final int count) { argument
83 super(count);
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorInitThresholdTest.java51 public void setCounter(int count); argument
56 return count;
58 public void setCounter(int count) { argument
59 this.count = count;
61 private int count = 0; field in class:CounterMonitorInitThresholdTest.Test
/openjdk7/jdk/test/javax/management/query/
H A DCustomQueryTest.java51 private AtomicInteger count = new AtomicInteger(); field in class:CustomQueryTest.Count
54 return count.get();
58 count.incrementAndGet();
74 * evaluated for every MBean in the MBean Server, so the count will be
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DNotificationSender.java40 public void sendNotifs(String type, int count) { argument
41 for (int i = 0; i < count; i++) {
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DChunkedErrorStream.java119 int count = 0, ret;
122 count += ret;
128 if (count == 0)
131 if (times >= 1 && count != (4096+10))
132 throw new RuntimeException("Failed: ErrorStream returning " + count +
135 System.out.println("Read " + count + " bytes from the errorStream");
176 /* count greater than 0, slow response */
177 static int count = 0; field in class:ChunkedErrorStream.SecondHandler
185 if (count > 0) {
189 count
[all...]
H A DRelativeRedirect.java37 static int count = 0; field in class:RelativeRedirect
72 switch (count) {
82 count ++;
/openjdk7/jdk/src/share/sample/nio/file/
H A DWatchDir.java56 private int count; field in class:WatchDir
68 count++;
156 count--;
157 if (count == 0)
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeGlyphMapper.java78 public void charsToGlyphs(int count, char[] unicodes, int[] glyphs) { argument
79 for (int i=0; i<count; i++) {
89 public boolean charsToGlyphsNS(int count, char[] unicodes, int[] glyphs) { argument
90 charsToGlyphs(count, unicodes, glyphs);
94 public void charsToGlyphs(int count, int[] unicodes, int[] glyphs) { argument
95 for (int i=0; i<count; i++) {
/openjdk7/langtools/test/tools/javac/
H A DT6956638.java89 System.err.println("Test " + (++count) + ": " + Arrays.asList(sourceFiles));
91 File classesDir = new File("classes" + count);
135 int count; field in class:T6956638
/openjdk7/langtools/test/tools/javac/api/
H A DTestJavacTask_Multiple.java66 int count; field in class:TestJavacTask_Multiple
76 if (count != expect) {
77 throw new Exception("Unexpected number of tests completed: " + count
101 count += tk.test(t);
H A DTestJavacTask_ParseAttrGen.java77 System.err.println(count(trees) + " trees parsed");
82 System.err.println(count(elems) + " elements analyzed");
87 System.err.println(count(classfiles) + " class files generated");
114 <T> int count(Iterable<T> items) { method in class:TestJavacTask_ParseAttrGen
115 int count = 0;
117 count++;
118 return count;

Completed in 124 milliseconds

1234567891011>>