/libcore/luni/src/main/java/java/util/regex/ |
D | MatchResultImpl.java | 38 private int[] offsets; field in MatchResultImpl 40 MatchResultImpl(String text, int[] offsets) { in MatchResultImpl() argument 42 this.offsets = offsets.clone(); in MatchResultImpl() 50 return offsets[2 * group + 1]; in end() 58 int from = offsets[group * 2]; in group() 59 int to = offsets[(group * 2) + 1]; in group() 68 return (offsets.length / 2) - 1; in groupCount() 76 return offsets[2 * group]; in start()
|
D | Matcher.java | 617 private static native boolean findImpl(long addr, String s, int startIndex, int[] offsets); in findImpl() argument 618 private static native boolean findNextImpl(long addr, String s, int[] offsets); in findNextImpl() argument 621 private static native boolean lookingAtImpl(long addr, String s, int[] offsets); in lookingAtImpl() argument 622 private static native boolean matchesImpl(long addr, String s, int[] offsets); in matchesImpl() argument
|
/libcore/luni/src/main/java/java/nio/ |
D | IoVec.java | 36 private final int[] offsets; field in IoVec 47 this.offsets = new int[bufferCount]; in IoVec() 61 offsets[i] = b.position(); in init() 64 offsets[i] = NioUtils.unsafeArrayOffset(b) + b.position(); in init() 75 int result = Libcore.os.readv(fd, ioBuffers, offsets, byteCounts); in doTransfer() 81 return Libcore.os.writev(fd, ioBuffers, offsets, byteCounts); in doTransfer()
|
/libcore/luni/src/main/native/ |
D | java_util_regex_Matcher.cpp | 87 ScopedIntArrayRW offsets(mEnv, javaOffsets); in updateOffsets() local 88 if (offsets.get() == NULL) { in updateOffsets() 93 offsets[2*i + 0] = mMatcher->start(i, mStatus); in updateOffsets() 94 offsets[2*i + 1] = mMatcher->end(i, mStatus); in updateOffsets() 124 …r_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, jintArray offsets) { in Matcher_findImpl() argument 128 matcher.updateOffsets(offsets); in Matcher_findImpl() 133 …c jint Matcher_findNextImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) { in Matcher_findNextImpl() argument 140 matcher.updateOffsets(offsets); in Matcher_findNextImpl() 155 … jint Matcher_lookingAtImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jintArray offsets) { in Matcher_lookingAtImpl() argument 159 matcher.updateOffsets(offsets); in Matcher_lookingAtImpl() [all …]
|
D | libcore_io_Posix.cpp | 223 ScopedIntArrayRO offsets(mEnv, javaOffsets); in init() local 224 if (offsets.get() == NULL) { in init() 241 iov.iov_base = reinterpret_cast<void*>(ptr + offsets[i]); in init() 1172 …dv(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCo… in Posix_readv() argument 1174 if (!ioVec.init(buffers, offsets, byteCounts)) { in Posix_readv() 1526 …ev(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCo… in Posix_writev() argument 1528 if (!ioVec.init(buffers, offsets, byteCounts)) { in Posix_writev()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | CollatorTest.java | 118 private void assertCollationElementIterator(CollationElementIterator it, Integer... offsets) { in assertCollationElementIterator() argument 119 for (int offset : offsets) { in assertCollationElementIterator() 126 private void assertGetCollationElementIteratorString(Locale l, String s, Integer... offsets) { in assertGetCollationElementIteratorString() argument 128 assertCollationElementIterator(coll.getCollationElementIterator(s), offsets); in assertGetCollationElementIteratorString() local 131 …e void assertGetCollationElementIteratorCharacterIterator(Locale l, String s, Integer... offsets) { in assertGetCollationElementIteratorCharacterIterator() argument 134 assertCollationElementIterator(coll.getCollationElementIterator(it), offsets); in assertGetCollationElementIteratorCharacterIterator() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollationElementIteratorTest.java | 45 int[] offsets = { 0, 1, 2, 3 }; in testGetOffset() local 48 assertEquals(offsets[i++], offset); in testGetOffset() 52 assertEquals(offsets[i++], offset); in testGetOffset()
|
/libcore/luni/src/main/java/java/text/ |
D | MessageFormat.java | 1227 int[] offsets = new int[offsetsLength]; in writeObject() local 1231 offsets[i] = offset; in writeObject() 1237 fields.put("offsets", offsets); in writeObject() 1249 int[] offsets = (int[]) fields.get("offsets", null); in readObject() local 1256 + (offsets[maxOffset] == pattern.length() ? 1 : 2); in readObject() 1261 strings[i] = pattern.substring(last, offsets[i]); in readObject() 1262 last = offsets[i]; in readObject()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 238 …@Override public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) t… in readv() argument 240 return os.readv(fd, buffers, offsets, byteCounts); in readv() 316 …@Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) … in writev() argument 318 return os.writev(fd, buffers, offsets, byteCounts); in writev()
|
D | ForwardingOs.java | 127 …ect[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { re… in readv() argument 166 …ct[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { ret… in writev() argument
|
D | Os.java | 120 …public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Errn… in readv() argument 159 …public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Err… in writev() argument
|
D | Posix.java | 169 …public native int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thro… in readv() argument 261 …public native int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thr… in writev() argument
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 565 int[] offsets = new int[zoneInfo.mOffsets.length + 1]; 592 offsets[numFound++] = 0; // offset of 0 from raw offset 599 offsets[numFound++] = zoneInfo.mOffsets[type]; 606 System.arraycopy(offsets, 0, toReturn, 0, numFound);
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 360 …] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return… in readv() argument 524 … buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return … in writev() argument
|