Searched defs:group (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/main/java/java/util/regex/
H A DMatchResult.java22 * given string. The result is divided into groups, with one group for each
23 * pair of parentheses in the regular expression and an additional group for
24 * the whole regular expression. The start, end, and contents of each group
42 * a given group.
44 * @param group
45 * the group, ranging from 0 to groupCount() - 1, with 0
50 int end(int group); argument
57 String group(); method in interface:MatchResult
60 * Returns the text that matched a given group of the regular expression.
62 * @param group
68 group(int group) argument
96 start(int group) argument
[all...]
H A DMatchResultImpl.java35 * elements specifiy start and end of the zero group, the next two specify
36 * group 1, and so on.
49 public int end(int group) { argument
50 return offsets[2 * group + 1];
53 public String group() { method in class:MatchResultImpl
57 public String group(int group) { argument
58 int from = offsets[group * 2];
59 int to = offsets[(group * 2) + 1];
75 public int start(int group) { argument
[all...]
H A DMatcher.java119 * the corresponding group's contents.
137 buffer.append(group(c - '0'));
331 * Returns the text that matched a given group of the regular expression.
334 * The special group 0 represents the entire match (as if the entire pattern is surrounded
335 * by an implicit capturing group).
343 * <p>An optional capturing group that failed to match as part of an overall
345 * A capturing group that matched the empty string (for example, "a(b?)c" matching "ac")
351 public String group(int group) { argument
353 int from = matchOffsets[group *
369 public String group() { method in class:Matcher
436 start(int group) argument
452 end(int group) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
H A DObjectIdentifier.java57 // OID's group
58 private Object group; field in class:ObjectIdentifier
80 * @param oidGroup - OID's group. Is used to separate different OID's
91 this.group = oidGroup;
116 * Gets OID's group.
118 * @return group
121 return group;
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadGroupTest.java32 public MyThread(ThreadGroup group, String name) argument
34 super(group, name);
72 ThreadGroup tg = new ThreadGroup("group count");
85 new ThreadGroup(tg, "test group 1");
88 new ThreadGroup(tg, "test group 2");
134 ThreadGroup group = new ThreadGroup(initialThreadGroup, "enumerateThreadArray");
136 List<MyThread> newThreads = populateGroupsWithThreads(group, groupSize);
166 ThreadGroup childGroup = new ThreadGroup(initialThreadGroup, "child group");
274 "Test group");
275 assertFalse("Test group i
301 launchFiveSecondDummyThread(ThreadGroup group) argument
362 populateGroupsWithThreads(ThreadGroup group, int threadCount) argument
368 populateGroupsWithThreads(ThreadGroup group, int threadCount, List<MyThread> out) argument
[all...]
/libcore/luni/src/main/java/java/lang/
H A DSecurityManager.java44 public void checkAccess(ThreadGroup group) { } argument
141 * Returns the current thread's thread group.
H A DThread.java135 volatile ThreadGroup group; field in class:Thread
266 * @param group
273 * if <code>group.destroy()</code> has already been done
277 public Thread(ThreadGroup group, Runnable runnable) { argument
278 create(group, runnable, null, 0);
285 * @param group
293 * if <code>group.destroy()</code> has already been done
297 public Thread(ThreadGroup group, Runnable runnable, String threadName) { argument
302 create(group, runnable, threadName, 0);
309 * @param group
318 Thread(ThreadGroup group, String threadName) argument
347 Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize) argument
361 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
403 create(ThreadGroup group, Runnable runnable, String threadName, long stackSize) argument
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java278 * priority permitted in the thread group. New threads have names
480 private final ThreadGroup group; field in class:Executors.DefaultThreadFactory
486 group = (s != null) ? s.getThreadGroup() :
494 Thread t = new Thread(group, r,

Completed in 871 milliseconds