/libcore/ojluni/src/main/java/java/nio/ |
ByteBufferAsShortBuffer.java | 38 int off, ByteOrder order) { 47 // the position of parent buffer. Therefore, value of "off" will be equal to parent buffer's 50 this.address = bb.address + off; 53 offset = off; 61 int off = (pos << 1) + offset; local 62 assert (off >= 0); 63 return new ByteBufferAsShortBuffer(bb, -1, 0, rem, rem, off, order);
|
/system/extras/libpagemap/ |
pm_kernel.c | 117 off64_t off; local 122 off = lseek64(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); 123 if (off == (off_t)-1) 133 off64_t off; local 138 off = lseek64(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); 139 if (off == (off_t)-1)
|
/external/opencv3/3rdparty/libtiff/ |
tif_stream.cxx | 88 static uint64 _tiffosSeekProc(thandle_t fd, uint64 off, int whence); 89 static uint64 _tiffisSeekProc(thandle_t fd, uint64 off, int whence); 155 _tiffosSeekProc(thandle_t fd, uint64 off, int whence) 168 uint64 new_offset = static_cast<uint64>(data->start_pos) + off; 181 ios::off_type offset = static_cast<ios::off_type>(off); 182 if (static_cast<uint64>(offset) != off) 191 ios::off_type offset = static_cast<ios::off_type>(off); 192 if (static_cast<uint64>(offset) != off) 232 if( (static_cast<uint64>(origin) + off) > static_cast<uint64>(data->start_pos) ) { 240 num_fill = (static_cast<uint64>(origin)) + off - os->tellp() [all...] |
/art/test/121-modifiers/ |
build | 36 ${JACK} --sanity-checks off --import classes.jill.jar --output-dex .
|
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 60 int off = 1; local 64 mAlteredCharSequence.getChars(start, end, dest, off); 67 for (int i = off; i < end - start + off; i++) { 74 mAlteredCharSequence.getChars(start, end, dest, off); 75 for (int i = off; i < end - start + off; i++) { 80 mAlteredCharSequence.getChars(start, end, dest, off);
|
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityOutputStream.java | 87 public void write(byte[] b, int off, int len) throws IOException { 91 this.out.write(b, off, len);
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/ |
LimitedInputStream.java | 62 public int read(byte[] b, int off, int len) throws IOException { 67 int numRead = in.read(b, off, maxRead);
|
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
RandomAccessFileOutputStream.java | 72 public void write(byte[] b, int off, int len) throws IOException { 73 raf.write(b, off, len);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
genresults.bat | 1 @echo off
|
/external/f2fs-tools/scripts/ |
dumpf2fs.sh | 56 let off=$addr-$BASE_MAIN 57 let off=$off%0x200000/0x1000 58 echo $segno, $off
|
/external/guava/guava/src/com/google/common/io/ |
CharStreams.java | 201 public void write(char[] cbuf, int off, int len) { 202 checkPositionIndexes(off, off + len, cbuf.length); 211 public void write(String str, int off, int len) { 212 checkPositionIndexes(off, off + len, str.length()); 272 public int read(char[] cbuf, int off, int len) throws IOException { 273 return read(CharBuffer.wrap(cbuf, off, len));
|
CountingOutputStream.java | 52 @Override public void write(byte[] b, int off, int len) throws IOException { 53 out.write(b, off, len);
|
/external/guava/guava-tests/test/com/google/common/io/ |
LineBufferTest.java | 91 int off = 0; local 92 while (off < chars.length) { 93 int len = Math.min(chars.length, off + chunk) - off; 94 lineBuf.add(chars, off, len); 95 off += len; 140 @Override public int read(char[] cbuf, int off, int len) 142 return super.read(cbuf, off, Math.min(chunk, len));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestLogWriter.java | 23 public void write(char cbuf[], int off, int len) throws IOException { 24 write(new String(cbuf, off, len));
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestLogWriter.java | 22 public void write(char cbuf[], int off, int len) throws IOException { 23 write(new String(cbuf, off, len));
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
HttpInput.java | 58 public int read(byte[] b, int off, int len) throws IOException 63 l= content.get(b, off, len);
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.seeks/ |
tellp.pass.cpp | 32 seekoff(typename base::off_type off, std::ios_base::seekdir way, std::ios_base::openmode which) 34 assert(off == 0);
|
/external/libvorbis/lib/ |
misc.h | 28 ogg_int64_t off); 30 ogg_int64_t off);
|
/external/ltrace/sysdeps/linux-gnu/arm/ |
plt.c | 214 arch_plt_entry_has_stub(struct ltelf *lte, size_t off) { 216 uint16_t op = *(uint16_t *) (buf + off); 223 size_t off = start + 20, i; local 225 off += arch_plt_entry_has_stub(lte, off) ? 16 : 12; 226 if (arch_plt_entry_has_stub(lte, off)) 227 off += 4; 228 return lte->plt_addr + off - start;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableFileInputStream.java | 68 * randomAccessFile.read(buf, off, len)}. 70 public int read(byte[] buf, int off, int len) throws IOException { 71 return randomAccessFile.read(buf, off, len);
|
XZOutputStream.java | 253 * @param off start offset in <code>buf</code> 268 public void write(byte[] buf, int off, int len) throws IOException { 269 if (off < 0 || len < 0 || off + len < 0 || off + len > buf.length) 282 blockEncoder.write(buf, off, len); 461 private void encodeStreamFlags(byte[] buf, int off) { 462 buf[off] = 0x00; 463 buf[off + 1] = (byte)streamFlags.checkType;
|
/external/sfntly/cpp/src/sfntly/data/ |
font_output_stream.h | 55 virtual void Write(ByteVector* b, int32_t off, int32_t len); 56 virtual void Write(byte_t* b, int32_t off, int32_t len);
|
/external/smali/util/src/main/java/org/jf/util/ |
RandomAccessFileOutputStream.java | 60 @Override public void write(byte[] b, int off, int len) throws IOException { 63 raf.write(b, off, len);
|
/libcore/ojluni/src/main/java/java/io/ |
BufferedInputStream.java | 265 private int read1(byte[] b, int off, int len) throws IOException { 273 return getInIfOpen().read(b, off, len); 280 System.arraycopy(getBufIfOpen(), pos, b, off, cnt); local 314 * @param off offset at which to start storing bytes. 322 public synchronized int read(byte b[], int off, int len) 326 if ((off | len | (off + len) | (b.length - (off + len))) < 0) { 334 int nread = read1(b, off + n, len - n);
|
FilterInputStream.java | 116 * This method simply performs <code>in.read(b, off, len)</code> 120 * @param off the start offset in the destination array <code>b</code> 126 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 128 * <code>b.length - off</code> 132 public int read(byte b[], int off, int len) throws IOException { 133 return in.read(b, off, len);
|