Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 55) sorted by relevance

123

/libcore/ojluni/src/test/java/io/Writer/
DNullWriter.java45 @BeforeGroups(groups = "open")
50 @BeforeGroups(groups = "closed")
56 @AfterGroups(groups = "open")
61 @Test(groups = "open")
66 @Test(groups = "open")
71 @Test(groups = "open")
77 @Test(groups = "open")
82 @Test(groups = "open")
88 @Test(groups = "open")
93 @Test(groups = "open")
[all …]
/libcore/ojluni/src/test/java/io/Reader/
DNullReader.java47 @BeforeGroups(groups = "open")
52 @BeforeGroups(groups = "closed")
58 @AfterGroups(groups = "open")
63 @Test(groups = "open")
68 @Test(groups = "open")
73 @Test(groups = "open")
79 @Test(groups = "open")
85 @Test(groups = "open")
92 @Test(groups = "open")
99 @Test(groups = "open")
[all …]
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java75 ThreadGroup groups[]; field in ThreadGroup
282 if (groups != null) { in setMaxPriority()
283 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in setMaxPriority()
362 if (groups != null) { in activeCount()
363 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in activeCount()
457 if (groups != null) { in enumerate()
458 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in enumerate()
495 if (groups != null) { in activeGroupCount()
496 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in activeGroupCount()
585 System.arraycopy(groups, 0, list, n, ng); in enumerate()
[all …]
/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipRegistry.java46 private Map<InetAddress, List<MembershipKeyImpl>> groups; field in MembershipRegistry
58 if (groups != null) { in checkMembership()
59 List<MembershipKeyImpl> keys = groups.get(group); in checkMembership()
90 if (groups == null) { in add()
91 groups = new HashMap<>(); in add()
94 keys = groups.get(group); in add()
98 groups.put(group, keys); in add()
108 List<MembershipKeyImpl> keys = groups.get(group); in remove()
118 groups.remove(group); in remove()
133 if (groups != null) { in forEach()
[all …]
/libcore/ojluni/src/test/java/io/OutputStream/
DNullOutputStream.java42 @BeforeGroups(groups="open")
47 @BeforeGroups(groups="closed")
57 @AfterGroups(groups="open")
66 @Test(groups="open")
72 @Test(groups="open")
81 @Test(groups="open")
90 @Test(groups="closed")
99 @Test(groups="closed")
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java131 int[] groups; field in Matcher
242 this.groups.clone(), in toMatchResult()
249 private final int[] groups; field in Matcher.ImmutableMatchResult
254 int groups[], String text) in ImmutableMatchResult() argument
259 this.groups = groups; in ImmutableMatchResult()
274 return groups[group * 2]; in start()
288 return groups[group * 2 + 1]; in end()
307 if ((groups[group*2] == -1) || (groups[group*2+1] == -1)) in group()
309 return text.subSequence(groups[group * 2], groups[group * 2 + 1]).toString(); in group()
349 groups = new int[(groupCount() + 1) * 2]; in usePattern()
[all …]
/libcore/ojluni/src/test/java/util/Optional/
DBasic.java137 @Test(groups = "unit")
143 @Test(groups = "unit")
148 @Test(groups = "unit")
153 @Test(groups = "unit")
158 @Test(groups = "unit")
163 @Test(groups = "unit")
168 @Test(groups = "unit")
173 @Test(groups = "unit")
178 @Test(groups = "unit")
183 @Test(groups = "unit")
[all …]
DBasicInt.java132 @Test(groups = "unit")
137 @Test(groups = "unit")
DBasicDouble.java132 @Test(groups = "unit")
137 @Test(groups = "unit")
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java175 !arrayIncludes(groups(testRoot), child)); in test_destroy()
177 !arrayIncludes(groups(originalCurrent), testRoot)); in test_destroy()
284 Vector<ThreadGroup> groups = new Vector<ThreadGroup>(); in test_getParent() local
287 groups.addElement(testRoot); in test_getParent()
291 groups.addElement(current); in test_getParent()
295 for (int i = 1; i < groups.size(); i++) { in test_getParent()
296 current = groups.elementAt(i); in test_getParent()
297 ThreadGroup previous = groups.elementAt(i - 1); in test_getParent()
360 !arrayIncludes(groups(testRoot.getParent()), testRoot)); in test_parentOfLjava_lang_ThreadGroup()
455 ThreadGroup[] children = groups(current); in test_setMaxPriorityI()
[all …]
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSpinedBufferTest.java95 @Test(dataProvider = "SpinedBuffer", groups = { "serialization-hostile" })
117 @Test(groups = { "serialization-hostile" })
170 @Test(dataProvider = "IntSpinedBuffer", groups = { "serialization-hostile" })
192 @Test(groups = { "serialization-hostile" })
245 @Test(dataProvider = "LongSpinedBuffer", groups = { "serialization-hostile" })
267 @Test(groups = { "serialization-hostile" })
321 @Test(dataProvider = "DoubleSpinedBuffer", groups = { "serialization-hostile" })
343 @Test(groups = { "serialization-hostile" })
DDoubleNodeTest.java141 @Test(dataProvider = "nodes", groups = { "serialization-hostile" })
160 @Test(dataProvider = "nodes", groups={ "serialization-hostile" })
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DWhileOpTest.java59 groups = { "serialization-hostile" })
83 groups = { "serialization-hostile" })
106 groups = { "serialization-hostile" })
331 @Test(groups = { "serialization-hostile" })
341 @Test(groups = { "serialization-hostile" })
351 @Test(groups = { "serialization-hostile" })
361 @Test(groups = { "serialization-hostile" })
371 @Test(groups = { "serialization-hostile" })
DForEachOpTest.java56 @Test(groups = { "serialization-hostile" })
86 @Test(groups = { "serialization-hostile" })
133 @Test(groups = { "serialization-hostile" })
181 @Test(groups = { "serialization-hostile" })
229 @Test(groups = { "serialization-hostile" })
DWhileOpStatefulTest.java100 @Test(groups = { "serialization-hostile" })
133 @Test(groups = { "serialization-hostile" })
167 @Test(groups = { "serialization-hostile" })
204 @Test(groups = { "serialization-hostile" })
DLongPrimitiveOpsTests.java64 @Test(groups = { "serialization-hostile" })
71 @Test(groups = { "serialization-hostile" })
78 @Test(groups = { "serialization-hostile" })
DIntPrimitiveOpsTests.java64 @Test(groups = { "serialization-hostile" })
71 @Test(groups = { "serialization-hostile" })
78 @Test(groups = { "serialization-hostile" })
DStreamBuilderTest.java110 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
173 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
236 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
298 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
DSliceOpTest.java154 groups = { "serialization-hostile" })
178 groups = { "serialization-hostile" })
197 @Test(groups = { "serialization-hostile" })
247 groups = { "serialization-hostile" })
328 @Test(groups = { "serialization-hostile" })
/libcore/ojluni/src/test/java/net/Socks/
DSocksIPv6Test.java141 @Test(groups = "unit")
159 @Test(groups = "unit")
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
DFillableStringTest.java34 @Test(groups = "lib")
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
DDeserializeMethodTest.java37 @Test(groups = { "serialization-hostile" })
/libcore/tools/testmapping/
Dgen_smoke_tests.py92 assert len(cts_match.groups()) == 8
150 assert len(start_match.groups()) == 1
262 assert len(class_match.groups()) == 1
/libcore/ojluni/src/test/java/util/Collections/
DSingletonIterator.java42 @Test(groups = "unit")
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java79 int groups = m.groupCount(); in run() local

123