/libcore/luni/src/main/java/java/util/regex/ |
H A D | MatchResultImpl.java | 34 * Holds the offsets of the groups in the input text. The first two 38 private int[] offsets; field in class:MatchResultImpl 40 MatchResultImpl(String text, int[] offsets) { argument 42 this.offsets = offsets.clone(); 50 return offsets[2 * group + 1]; 58 int from = offsets[group * 2]; 59 int to = offsets[(group * 2) + 1]; 68 return (offsets.length / 2) - 1; 76 return offsets[ [all...] |
H A D | Matcher.java | 65 * Holds the offsets for the most recent match. 670 private static native boolean findImpl(long addr, String s, int startIndex, int[] offsets); argument 671 private static native boolean findNextImpl(long addr, String s, int[] offsets); argument 674 private static native boolean lookingAtImpl(long addr, String s, int[] offsets); argument 675 private static native boolean matchesImpl(long addr, String s, int[] offsets); argument
|
/libcore/luni/src/main/java/java/nio/ |
H A D | IoVec.java | 36 private final int[] offsets; field in class:IoVec 47 this.offsets = new int[bufferCount]; 61 offsets[i] = b.position(); 64 offsets[i] = NioUtils.unsafeArrayOffset(b) + b.position(); 75 int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts); 81 return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts);
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | CollatorTest.java | 118 private void assertCollationElementIterator(CollationElementIterator it, Integer... offsets) { argument 119 for (int offset : offsets) { 126 private void assertGetCollationElementIteratorString(Locale l, String s, Integer... offsets) { argument 128 assertCollationElementIterator(coll.getCollationElementIterator(s), offsets); 131 private void assertGetCollationElementIteratorCharacterIterator(Locale l, String s, Integer... offsets) { argument 134 assertCollationElementIterator(coll.getCollationElementIterator(it), offsets);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | BlockGuardOs.java | 152 @Override public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { argument 154 return os.readv(fd, buffers, offsets, byteCounts); 200 @Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { argument 202 return os.writev(fd, buffers, offsets, byteCounts);
|
H A D | ForwardingOs.java | 107 public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.readv(fd, buffers, offsets, byteCounts); } argument 145 public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException { return os.writev(fd, buffers, offsets, byteCounts); } argument
|
H A D | Os.java | 100 public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException; argument 138 public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException; argument
|
H A D | Posix.java | 131 public native int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException; argument 205 public native int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException; argument
|
/libcore/luni/src/main/native/ |
H A D | java_util_regex_Matcher.cpp | 87 ScopedIntArrayRW offsets(mEnv, javaOffsets); 88 if (offsets.get() == NULL) { 93 offsets[2*i + 0] = mMatcher->start(i, mStatus); 94 offsets[2*i + 1] = mMatcher->end(i, mStatus); 124 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, jintArray offsets) { argument 128 matcher.updateOffsets(offsets); 133 static jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) { argument 140 matcher.updateOffsets(offsets); 155 static jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) { argument 159 matcher.updateOffsets(offsets); 164 Matcher_matchesImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) argument [all...] |
H A D | libcore_io_Posix.cpp | 168 ScopedIntArrayRO offsets(mEnv, javaOffsets); 169 if (offsets.get() == NULL) { 186 iov.iov_base = reinterpret_cast<void*>(ptr + offsets[i]); 1046 static jint Posix_readv(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCounts) { argument 1048 if (!ioVec.init(buffers, offsets, byteCounts)) { 1358 static jint Posix_writev(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCounts) { argument 1360 if (!ioVec.init(buffers, offsets, byteCounts)) {
|