Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipRegistry.java42 private Map<InetAddress,List<MembershipKeyImpl>> groups = null; field in MembershipRegistry
54 if (groups != null) { in checkMembership()
55 List<MembershipKeyImpl> keys = groups.get(group); in checkMembership()
86 if (groups == null) { in add()
87 groups = new HashMap<InetAddress,List<MembershipKeyImpl>>(); in add()
90 keys = groups.get(group); in add()
94 groups.put(group, keys); in add()
104 List<MembershipKeyImpl> keys = groups.get(group); in remove()
114 groups.remove(group); in remove()
123 if (groups != null) { in invalidateAll()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java76 ThreadGroup groups[]; field in ThreadGroup
284 if (groups != null) { in setMaxPriority()
285 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in setMaxPriority()
364 if (groups != null) { in activeCount()
365 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in activeCount()
459 if (groups != null) { in enumerate()
460 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in enumerate()
497 if (groups != null) { in activeGroupCount()
498 groupsSnapshot = Arrays.copyOf(groups, ngroupsSnapshot); in activeGroupCount()
587 System.arraycopy(groups, 0, list, n, ng); in enumerate()
[all …]
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java116 int[] groups; field in Matcher
189 return new OffsetBasedMatchResult(text, groups); in toMatchResult()
222 groups = new int[(groupCount() + 1) * 2]; in usePattern()
300 return groups[group * 2]; in start()
325 return groups[getMatchedGroupIndex(name) * 2]; in start()
369 return groups[group * 2 + 1]; in end()
394 return groups[getMatchedGroupIndex(name) * 2 + 1]; in end()
459 if ((groups[group*2] == -1) || (groups[group*2+1] == -1)) in group()
461 return getSubSequence(groups[group * 2], groups[group * 2 + 1]).toString(); in group()
493 if ((groups[group*2] == -1) || (groups[group*2+1] == -1)) in group()
[all …]
/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" })
DNodeBuilderTest.java71 @Test(dataProvider = "Node.Builder", groups = { "serialization-hostile" })
116 @Test(dataProvider = "Node.Builder<Integer>", groups = { "serialization-hostile" })
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
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" })
DIntPrimitiveOpsTests.java56 @Test(groups = { "serialization-hostile" })
63 @Test(groups = { "serialization-hostile" })
70 @Test(groups = { "serialization-hostile" })
DLongPrimitiveOpsTests.java56 @Test(groups = { "serialization-hostile" })
63 @Test(groups = { "serialization-hostile" })
70 @Test(groups = { "serialization-hostile" })
DStreamBuilderTest.java102 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
164 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
226 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
287 @Test(dataProvider = "sizes", groups = { "serialization-hostile" })
DCollectionAndMapModifyStreamTest.java144 @Test(dataProvider = "maps", groups = { "serialization-hostile" })
149 @Test(dataProvider = "maps", groups = { "serialization-hostile" })
DSortedOpTest.java137 @Test(groups = { "serialization-hostile" })
221 @Test(groups = { "serialization-hostile" })
269 @Test(groups = { "serialization-hostile" })
317 @Test(groups = { "serialization-hostile" })
DSliceOpTest.java152 groups = { "serialization-hostile" })
175 groups = { "serialization-hostile" })
242 groups = { "serialization-hostile" })
323 @Test(groups = { "serialization-hostile" })
DStreamSpliteratorTest.java288 groups = { "serialization-hostile" })
384 groups = { "serialization-hostile" })
477 groups = { "serialization-hostile" })
570 groups = { "serialization-hostile" })
DTeeOpTest.java54 @Test(groups = { "serialization-hostile" })
DStreamCloseTest.java39 @Test(groups = { "serialization-hostile" })
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
DFillableStringTest.java34 @Test(groups = "lib")
DMapTest.java80 @Test(groups = { "serialization-hostile" })
/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/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java79 int groups = m.groupCount(); in run() local
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadGroup.java206 java.lang.ThreadGroup[] groups; field in ThreadGroup
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java353 private ThreadGroup[] groups(ThreadGroup parent) { in groups() method in OldThreadGroupTest
382 ThreadGroup[] children = groups(group); in populateGroupsWithThreads()
/libcore/ojluni/annotations/hiddenapi/java/util/regex/
DMatcher.java240 int[] groups; field in Matcher

12