/external/openssl/crypto/asn1/ |
a_d2i_fp.c | 150 size_t off=0; local 163 if (want >= (len-off)) 165 want-=(len-off); 173 if ((i < 0) && ((len-off) == 0)) 190 p=(unsigned char *)&(b->data[off]); 193 len-off); 205 off+=i; /* end of data */ 231 if (want > (len-off)) 233 want-=(len-off); 260 if (off + c.slen < off [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
StreamGobbler.java | 201 public int read(byte[] b, int off, int len) throws IOException 206 if ((off < 0) || (len < 0) || ((off + len) > b.length) || ((off + len) < 0) || (off > b.length)) 243 System.arraycopy(buffer, read_pos, b, off, avail);
|
/external/iproute2/tc/ |
m_pedit.c | 129 if (tkey->off % 4) { 136 sel->keys[hwm].off = tkey->off; 148 if (tkey->off > (tkey->off & ~3)) { 157 tkey->off &= ~3; 167 if (0 > tkey->off) { 168 ind = tkey->off + 1; 172 ind = tkey->off; 180 ind = tkey->off & 3 340 int off; local [all...] |
/system/extras/libpagemap/ |
pm_kernel.c | 117 off_t off; local 122 off = lseek(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); 123 if (off == (off_t)-1) 133 off_t off; local 138 off = lseek(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); 139 if (off == (off_t)-1)
|
/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 | 82 public void write(byte[] b, int off, int len) throws IOException { 86 this.out.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/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/libvorbis/lib/ |
misc.h | 28 ogg_int64_t off); 30 ogg_int64_t off);
|
/external/qemu/slirp/ |
ip_output.c | 51 * header (with len, off, ttl, proto, tos, src, dst). 61 int len, off, error = 0; local 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { 152 mhip->ip_off = ((off - hlen) >> 3) + (ip->ip_off & ~IP_MF); 155 if (off + len >= (u_int16_t)ip->ip_len) 156 len = (u_int16_t)ip->ip_len - off; 161 if (m_copy(m, m0, off, len) < 0) {
|
sbuf.c | 169 sbcopy(struct sbuf *sb, int off, int len, char *to) 173 from = sb->sb_rptr + off; 181 /* re-use off */ 182 off = (sb->sb_data + sb->sb_datalen) - from; 183 if (off > len) off = len; 184 memcpy(to,from,off); 185 len -= off; 187 memcpy(to+off,sb->sb_data,len);
|
/external/qemu/slirp-android/ |
ip_output.c | 51 * header (with len, off, ttl, proto, tos, src, dst). 61 int len, off, error = 0; local 133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { 152 mhip->ip_off = ((off - hlen) >> 3) + (ip->ip_off & ~IP_MF); 155 if (off + len >= (u_int16_t)ip->ip_len) 156 len = (u_int16_t)ip->ip_len - off; 161 if (m_copy(m, m0, off, len) < 0) {
|
sbuf.c | 169 sbcopy(struct sbuf *sb, int off, int len, char *to) 173 from = sb->sb_rptr + off; 181 /* re-use off */ 182 off = (sb->sb_data + sb->sb_datalen) - from; 183 if (off > len) off = len; 184 memcpy(to,from,off); 185 len -= off; 187 memcpy(to+off,sb->sb_data,len);
|
/external/webkit/Tools/Scripts/ |
run-webkit-nightly.cmd | 1 @echo off
|
/frameworks/base/graphics/java/android/renderscript/ |
AllocationAdapter.java | 54 public void subData1D(int off, int count, int[] d) { 55 super.copy1DRangeFrom(off, count, d); 60 public void subData1D(int off, int count, short[] d) { 61 super.copy1DRangeFrom(off, count, d); 66 public void subData1D(int off, int count, byte[] d) { 67 super.copy1DRangeFrom(off, count, d); 72 public void subData1D(int off, int count, float[] d) { 73 super.copy1DRangeFrom(off, count, d);
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLInputStream.java | 46 public int read(byte[] buf, int off, int nbytes) throws IOException { 47 return is.read(buf, off, nbytes);
|
/libcore/luni/src/main/native/ |
java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 31 return adler32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
|
java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
|
/ndk/sources/cxx-stl/llvm-libc++/test/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);
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
AutoCloseInputStream.java | 105 * @param off start offset within the buffer
110 public int read(byte[] b, int off, int len) throws IOException {
111 int n = in.read(b, off, len);
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
CountingOutputStream.java | 64 * @param off the start offset in the buffer
69 public void write(byte[] b, int off, int len) throws IOException {
71 super.write(b, off, len);
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
PartialInputStream.java | 50 public int read(byte b[], int off, int len) throws IOException {
52 return super.read(b, off, len); //To change body of overridden methods use File | Settings | File Templates.
|
/external/apache-http/src/org/apache/http/io/ |
SessionInputBuffer.java | 49 int read(byte[] b, int off, int len) throws IOException;
|
SessionOutputBuffer.java | 49 void write(byte[] b, int off, int len) throws IOException;
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
SimpleDERReader.java | 28 public SimpleDERReader(byte[] b, int off, int len) 30 resetInput(b, off, len); 38 public void resetInput(byte[] b, int off, int len) 41 pos = off;
|