/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 62 private volatile int[] offsets; field in UnixPath 206 if (offsets == null) { in initOffsets() 241 if (offsets == null) in initOffsets() 242 offsets = result; in initOffsets() 275 int count = offsets.length; in getFileName() 285 int lastOffset = offsets[count-1]; in getFileName() 296 int count = offsets.length; in getParent() 301 int len = offsets[count-1] - 1; in getParent() 314 return offsets.length; in getNameCount() 322 if (index >= offsets.length) in getName() [all …]
|
D | LinuxWatchService.java | 159 private static final int[] offsets = eventOffsets(); field in LinuxWatchService.Poller 160 private static final int OFFSETOF_WD = offsets[0]; 161 private static final int OFFSETOF_MASK = offsets[1]; 162 private static final int OFFSETOF_LEN = offsets[3]; 163 private static final int OFFSETOF_NAME = offsets[4];
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 205 private static native boolean findImpl(long addr, int startIndex, int[] offsets); in findImpl() argument 207 private static native boolean findNextImpl(long addr, int[] offsets); in findNextImpl() argument 215 private static native boolean lookingAtImpl(long addr, int[] offsets); in lookingAtImpl() argument 217 private static native boolean matchesImpl(long addr, int[] offsets); in matchesImpl() argument 265 OffsetBasedMatchResult(java.lang.String input, int[] offsets) { in OffsetBasedMatchResult() argument 303 private final int[] offsets; field in Matcher.OffsetBasedMatchResult 306 offsets = new int[0];
|
/libcore/ojluni/src/main/java/java/text/ |
D | MessageFormat.java | 527 copyAndFixQuotes(pattern, lastOffset, offsets[i], result); in toPattern() 528 lastOffset = offsets[i]; in toPattern() 977 int len = offsets[i] - patternOffset; in parse() 992 int tempLength = (i != maxOffset) ? offsets[i+1] : pattern.length(); in parse() 1099 other.offsets = offsets.clone(); in clone() 1118 && Arrays.equals(offsets,other.offsets) in equals() 1211 private int[] offsets = new int[INITIAL_FORMATS]; field in MessageFormat 1249 result.append(pattern.substring(lastOffset, offsets[i])); in subformat() 1250 lastOffset = offsets[i]; in subformat() 1451 System.arraycopy(offsets, 0, newOffsets, 0, maxOffset + 1); in makeFormat() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | AbstractCalendar.java | 125 int[] offsets = new int[2]; in getCalendarDate() local 130 zoneOffset = ((libcore.util.ZoneInfo) zi).getOffsetsByUtcTime(millis, offsets); in getCalendarDate() 134 offsets[0] = zi.getRawOffset(); in getCalendarDate() 135 offsets[1] = zoneOffset - offsets[0]; in getCalendarDate() 146 saving = offsets[1]; in getCalendarDate() 189 int[] offsets = new int[2]; in getTime() local
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | CollatorTest.java | 137 private void assertCollationElementIterator(CollationElementIterator it, Integer... offsets) { 138 for (int offset : offsets) { 145 private void assertGetCollationElementIteratorString(Locale l, String s, Integer... offsets) { 147 assertCollationElementIterator(coll.getCollationElementIterator(s), offsets); 150 …e void assertGetCollationElementIteratorCharacterIterator(Locale l, String s, Integer... offsets) { 153 assertCollationElementIterator(coll.getCollationElementIterator(it), offsets);
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 1211 private final int[] offsets; field in Matcher.OffsetBasedMatchResult 1213 OffsetBasedMatchResult(String input, int[] offsets) { in OffsetBasedMatchResult() argument 1215 this.offsets = offsets.clone(); in OffsetBasedMatchResult() 1225 return offsets[2 * group]; in start() 1235 return offsets[2 * group + 1]; in end() 1256 return (offsets.length / 2) - 1; in groupCount()
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 242 int getOffsets(long date, int[] offsets) { in getOffsets() argument 248 if (offsets != null) { in getOffsets() 249 offsets[0] = rawoffset; in getOffsets() 250 offsets[1] = dstoffset; in getOffsets()
|
D | SimpleTimeZone.java | 545 int getOffsets(long date, int[] offsets) { in getOffsets() argument 571 if (offsets != null) { in getOffsets() 572 offsets[0] = rawOffset; in getOffsets() 573 offsets[1] = offset - rawOffset; in getOffsets()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 173 public int getOffsetsByUtcTime(long utcTimeInMillis, int[] offsets) { in getOffsetsByUtcTime() argument 174 return mDelegate.getOffsetsByUtcTime(utcTimeInMillis, offsets); in getOffsetsByUtcTime()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollationElementIteratorTest.java | 48 int[] offsets = { 0, 1, 2, 3 }; in testGetOffset() local 51 assertEquals(offsets[i++], offset); in testGetOffset() 55 assertEquals(offsets[i++], offset); in testGetOffset()
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 323 …@Override public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) t… in readv() argument 325 return super.readv(fd, buffers, offsets, byteCounts); in readv() 422 …@Override public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) … in writev() argument 424 return super.writev(fd, buffers, offsets, byteCounts); in writev()
|
D | ForwardingOs.java | 180 …ect[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { re… in readv() argument 241 …ct[] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { ret… in writev() argument
|
D | Os.java | 153 …public int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Errn… in readv() argument 205 …public int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) throws Err… in writev() argument
|
D | Linux.java | 194 …public native int readv(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thro… in readv() argument 296 …public native int writev(FileDescriptor fd, Object[] buffers, int[] offsets, int[] byteCounts) thr… in writev() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 488 …] buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return… in readv() argument 738 … buffers, int[] offsets, int[] byteCounts) throws ErrnoException, InterruptedIOException { return … in writev() argument
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1997 private final int[] offsets; field in ObjectStreamClass.FieldReflector 2015 offsets = new int[nfields]; in FieldReflector() 2029 offsets[i] = f.getOffset(); in FieldReflector() 2065 int off = offsets[i]; in getPrimFieldValues() 2119 int off = offsets[i]; in setPrimFieldValues() 2176 vals[offsets[i]] = unsafe.getObject(obj, readKeys[i]); in getObjFieldValues() 2204 Object val = vals[offsets[i]]; in setObjFieldValues()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 601 private final int[] offsets; field in ObjectStreamClass.FieldReflector 604 offsets = new int[0];
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 306 ScopedIntArrayRO offsets(mEnv, javaOffsets); in init() local 307 if (offsets.get() == NULL) { in init() 324 iov.iov_base = reinterpret_cast<void*>(ptr + offsets[i]); in init() 2111 …dv(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCo… in Linux_readv() argument 2113 if (!ioVec.init(buffers, offsets, byteCounts)) { in Linux_readv() 2572 …ev(JNIEnv* env, jobject, jobject javaFd, jobjectArray buffers, jintArray offsets, jintArray byteCo… in Linux_writev() argument 2574 if (!ioVec.init(buffers, offsets, byteCounts)) { in Linux_writev()
|