Searched refs:group (Results 1 - 25 of 34) sorted by relevance

12

/dalvik/libcore/regex/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.java36 * System.out.println(m.group()); // prints "Hello" and "Android"
155 * the corresponding group's contents.
173 buffer.append(group(c - '0'));
360 * Returns the text that matched a given group of the regular expression.
362 * @param group
363 * the group, ranging from 0 to groupCount() - 1, with 0
365 * @return the text that matched the group.
369 public String group(int group) { argument
371 int from = matchOffsets[group *
387 public String group() { method in class:Matcher
456 start(int group) argument
472 end(int group) argument
[all...]
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/acl/
H A DGroupImpl.java31 private String group; field in class:GroupImpl
35 group = s;
41 if(group.equals(principal.toString())) {
64 return group.equals(group1.toString());
73 return group;
77 return group.hashCode();
90 return group;
H A DAclImpl.java172 Group group = (Group)enumeration1.nextElement();
173 if(group.isMember(principal)) {
174 AclEntry aclentry = (AclEntry)allowedGroupsTable.get(group);
187 Group group = (Group)enumeration1.nextElement();
188 if(group.isMember(principal)) {
189 AclEntry aclentry = (AclEntry)deniedGroupsTable.get(group);
/dalvik/libcore/regex/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DModeTest.java57 assertEquals("dog", m.group(1));
64 assertEquals("cAt", m.group(1));
66 assertEquals("doG", m.group(1));
73 assertEquals("cAt", m.group(1));
75 assertEquals("doG", m.group(1));
119 assertEquals("1", m.group(1));
121 assertEquals("2", m.group(1));
128 assertEquals("3", m.group(1));
130 assertEquals("4", m.group(1));
137 assertEquals("1", m.group(
[all...]
H A DPattern2Test.java162 assertEquals("p1#q3", m.group());
163 assertEquals("p1#q3", m.group(0));
164 assertEquals("p1", m.group(1));
165 assertEquals("q3", m.group(2));
176 assertEquals("p2q42", m.group());
177 assertEquals("p2q42", m.group(0));
178 assertEquals("p2", m.group(1));
179 assertEquals("q42", m.group(2));
191 assertEquals("p63#q888", m.group());
192 assertEquals("p63#q888", m.group(
[all...]
H A DMatcher2Test.java49 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
55 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
61 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
62 method = "group",
67 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
73 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
79 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
80 method = "group",
85 notes = "Verifies start, end, group, usePattern methods with wrong conditions, IllegalStateException should be thrown",
109 m.group();
[all...]
H A DMatcherTest.java263 * Class under test for String group(int)
267 notes = "Verifies group(int group) method.",
268 method = "group",
285 mat.group(i + 2);
287 mat.group(i + 100);
289 mat.group(-1);
291 mat.group(-100);
308 .group(j + 1));
317 notes = "Verifies group() an
[all...]
H A DPatternTest.java605 notes = "Verifies the functionality of compile() method. Also tested methods from matcher: matches(), start(int), group(int)",
615 mat.group(1);
682 assertEquals("-", m.group(1));
683 assertEquals("9", m.group(2));
684 assertEquals(":45", m.group(3));
685 assertEquals("45", m.group(4));
895 assertEquals("a\n", mat.group());
909 assertEquals("aA", mat.group());
923 assertEquals("aA", mat.group());
937 assertEquals("A", mat.group());
[all...]
/dalvik/dx/tests/098-dex-jsr-ret-throw/
H A DViewDebug$ViewServer.class ... .graphics.Bitmap cache android.view.ViewGroup group android.view.View captureView android.view. ...
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DThread.java146 volatile ThreadGroup group; field in class:Thread
286 * @param group
293 * if <code>group.checkAccess()</code> fails with a
296 * if <code>group.destroy()</code> has already been done
304 public Thread(ThreadGroup group, Runnable runnable) { argument
305 create(group, runnable, null, 0);
312 * @param group
320 * if <code>group.checkAccess()</code> fails with a
323 * if <code>group.destroy()</code> has already been done
331 public Thread(ThreadGroup group, Runnabl argument
359 Thread(ThreadGroup group, String threadName) argument
395 Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize) argument
409 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
454 create(ThreadGroup group, Runnable runnable, String threadName, long stackSize) argument
[all...]
/dalvik/tools/
H A Dgclog.py193 handleGcInfo(processFilter, match.group(1), match.group(2), ( match.group(3), \
194 match.group(4), match.group(5), match.group(6) ) )
H A Ddeadcode.py38 sectionName = result.group(1)
64 methods.append(result.group(1))
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/utils/
H A DObjectIdentifier.java59 // OID's group
60 private Object group; field in class:ObjectIdentifier
82 * @param oidGroup - OID's group. Is used to separate different OID's
93 this.group = oidGroup;
118 * Gets OID's group.
120 * @return group
123 return group;
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DMulticastSocketTest.java331 InetAddress group = null;
334 group = InetAddress.getByName("224.0.0.3");
335 server = new MulticastServer(group, groupPort);
341 .length(), group, groupPort);
367 InetAddress group = null;
375 // first validate that we handle a null group ok
379 fail("Did not get exception when group was null");
384 // is not a multicast group
389 fail("Did not get exception when group is not a multicast address");
393 // now try to join a group i
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DSecurityManager.java123 // Only worry about system threads. Dead threads have a null group.
124 ThreadGroup group = thread.getThreadGroup();
125 if ((group != null) && (group.parent == null)) {
132 * thread group.
134 * @param group
135 * the thread group to access.
137 * if {@code group} is {@code null}.
139 * if the calling thread is not allowed to access {@code group}.
141 public void checkAccess(ThreadGroup group) { argument
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DThreadGroupTest.java35 public MyThread(ThreadGroup group, String name) argument
37 super(group, name);
96 "Has to be possible to create a subgroup of current group using simple constructor",
148 assertTrue("Has to be possible to create a subgroup of current group",
155 assertTrue("Has to be possible to create a subgroup of root group",
167 assertNull("Can't create a subgroup of a destroyed group",
241 ThreadGroup tg = new ThreadGroup("group count");
254 new ThreadGroup(tg, "test group 1");
257 new ThreadGroup(tg, "test group 2");
293 ThreadGroup testRoot = new ThreadGroup(originalCurrent, "Test group");
1273 launchFiveSecondDummyThread(ThreadGroup group) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DHexStringParser.java126 hexSegments[0] = matcher.group(1);
127 hexSegments[1] = matcher.group(2);
128 hexSegments[2] = matcher.group(3);
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DExecutors.java274 * java.lang.SecurityManager}, it uses the group of {@link
275 * System#getSecurityManager}, else the group of the thread
279 * priority permitted in the thread group. New threads have names
529 private final ThreadGroup group; field in class:Executors.DefaultThreadFactory
535 group = (s != null)? s.getThreadGroup() :
543 Thread t = new Thread(group, r,
/dalvik/libcore/luni/src/main/java/java/util/
H A DScanner.java414 return matcher.group();
507 result = matcher.group();
633 String floatString = matcher.group();
674 String intString = matcher.group();
728 String intString = matcher.group();
753 String floatString = matcher.group();
778 String floatString = matcher.group();
820 String intString = matcher.group();
897 String intString = matcher.group();
938 String intString = matcher.group();
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
H A DAttributeTypeAndValue.java324 Object group = oid.getGroup();
326 if (RFC1779_NAMES == group || RFC2253_NAMES == group) {
/dalvik/vm/
H A DThread.c241 static void threadExitUncaughtException(Thread* thread, Object* group);
356 "group", "Ljava/lang/ThreadGroup;");
1692 static void threadExitUncaughtException(Thread* self, Object* group) argument
1700 LOGW("threadid=%d: thread exiting with uncaught exception (group=%p)\n",
1701 self->threadId, group);
1702 assert(group != NULL);
1714 * else use "group" (which is an instance of UncaughtExceptionHandler).
1724 handlerObj = group;
1782 pArgs->group = systemGroup;
1853 jniArgs.group
2141 Object* group; local
[all...]
H A DThread.h266 Object* group; member in struct:InternalStartArgs
417 * but found in the "system" thread group rather than "main".
429 * Get the "main" or "system" thread group.
/dalvik/vm/compiler/template/
H A Dgen-template.py159 opcodes.append("TEMPLATE_" + match.group(1))

Completed in 2550 milliseconds

12