/external/elfutils/libdw/ |
dwarf_nextcu.c | 39 dwarf_next_unit (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, 53 if (off == (Dwarf_Off) -1l 58 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) 67 const unsigned char *bytes = data + off; 110 if (unlikely (DIE_OFFSET_FROM_CU_OFFSET (off, offset_size, debug_types) 144 if (unlikely (type_offset < (size_t) (bytes - (data + off)))) 154 *header_sizep = bytes - (data + off); 171 *next_off = off + 2 * offset_size - 4 + length; 178 dwarf_nextcu (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, 182 return INTUSE(dwarf_next_unit) (dwarf, off, next_off, header_sizep, NULL [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Blob.java | 127 * @param off offset into byte array 132 public int read(byte b[], int off, int len) throws IOException { 133 if (off + len > b.length) { 134 len = b.length - off; 142 int n = blob.read(b, off, pos, len); 221 * @param off offset within byte array 225 public void write(byte[] b, int off, int len) throws IOException { 227 if (off + len > b.length) { 228 len = b.length - off; 233 pos += blob.write(b, off, pos, len) [all...] |
/external/libunwind/src/x86/ |
Gos-freebsd.c | 144 unw_word_t addr = c->sigcontext_addr, off, xmm_off; local 177 off = 0; /* shut gcc warning */ 180 case UNW_X86_GS: off = FREEBSD_UC_MCONTEXT_GS_OFF; break; 181 case UNW_X86_FS: off = FREEBSD_UC_MCONTEXT_FS_OFF; break; 182 case UNW_X86_ES: off = FREEBSD_UC_MCONTEXT_ES_OFF; break; 183 case UNW_X86_DS: off = FREEBSD_UC_MCONTEXT_SS_OFF; break; 184 case UNW_X86_EDI: off = FREEBSD_UC_MCONTEXT_EDI_OFF; break; 185 case UNW_X86_ESI: off = FREEBSD_UC_MCONTEXT_ESI_OFF; break; 186 case UNW_X86_EBP: off = FREEBSD_UC_MCONTEXT_EBP_OFF; break; 187 case UNW_X86_ESP: off = FREEBSD_UC_MCONTEXT_ESP_OFF; break [all...] |
/external/elfutils/tests/ |
low_high_pc.c | 44 fail(Dwarf_Off off, const char *name, const char *msg) 46 printf("%s: [%" PRIx64 "] '%s' %s\n", args->file, off, name, msg); 54 Dwarf_Off off = dwarf_dieoffset (die); local 58 fail (off, "<no name>", "die without a name"); 63 fail (off, name, "has DW_AT_low_pc but dwarf_lowpc fails"); 65 fail (off, name, "has DW_AT_high_pc but dwarf_highpc fails"); 75 fail (off, name, "highpc <= lowpc");
|
strptr.c | 77 size_t off = 0; local 78 const char *str = elf_strptr (elf, ndx, off); 81 printf ("[%zx] '%s'\n", off, str); 82 off += strlen (str) + 1; 83 str = elf_strptr (elf, ndx, off);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractByteHasher.java | 53 * Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. 55 protected void update(byte[] b, int off, int len) { 56 for (int i = off; i < off + len; i++) { 75 public Hasher putBytes(byte[] bytes, int off, int len) { 76 checkPositionIndexes(off, off + len, bytes.length); 77 update(bytes, off, len);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaOutputStream.java | 41 public void write(byte[] buf, int off, int len) throws IOException { 42 if (off < 0 || len < 0 || off + len < 0 || off + len > buf.length) 53 delta.encode(buf, off, FILTER_BUF_SIZE, filterBuf); 55 off += FILTER_BUF_SIZE; 59 delta.encode(buf, off, len, filterBuf);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/ |
X86.java | 33 public int code(byte[] buf, int off, int len) { 34 int prevPos = off - 1; 35 int end = off + len - 5; 38 for (i = off; i <= end; ++i) { 67 dest = src + (pos + i - off); 69 dest = src - (pos + i - off); 94 i -= off;
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
Type.java | 163 private final int off;
field in class:Type 189 * @param off the offset of this descriptor in the previous buffer.
192 private Type(final int sort, final char[] buf, final int off, final int len)
196 this.off = off;
263 int off = 1;
local 266 char car = buf[off++];
270 while (buf[off++] != ';') {
278 off = 1;
280 while (buf[off] != ')') { [all...] |
/libcore/ojluni/src/main/java/java/net/ |
SocketOutputStream.java | 83 * @param off the start offset in the data 87 private native void socketWrite0(FileDescriptor fd, byte[] b, int off, 94 * @param off the start offset in the data 98 private void socketWrite(byte b[], int off, int len) throws IOException { 100 if (len <= 0 || off < 0 || off + len > b.length) { 112 socketWrite0(fd, b, off, len); 152 * @param off the start offset in the data 156 public void write(byte b[], int off, int len) throws IOException { 157 socketWrite(b, off, len) [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipInputStream.java | 175 * @param off the start offset in the destination array <code>b</code> 180 * @exception IndexOutOfBoundsException if <code>off</code> is negative, 182 * <code>b.length - off</code> 186 public int read(byte[] b, int off, int len) throws IOException { 188 if (off < 0 || len < 0 || off > b.length - len) { 199 len = super.read(b, off, len); 205 crc.update(b, off, len); 220 len = in.read(b, off, len); 224 crc.update(b, off, len) 333 int off = 0; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
ChannelInputStream.java | 95 public synchronized int read(byte[] bs, int off, int len) 98 if ((off < 0) || (off > bs.length) || (len < 0) || 99 ((off + len) > bs.length) || ((off + len) < 0)) { 107 bb.limit(Math.min(off + len, bb.capacity())); 108 bb.position(off);
|
/libcore/ojluni/src/main/native/ |
io_util.c | 68 outOfBounds(JNIEnv *env, jint off, jint len, jbyteArray array) { 69 return ((off < 0) || 73 ((*env)->GetArrayLength(env, array) - off < len)); 78 jint off, jint len, jfieldID fid) 90 if (outOfBounds(env, off, len, bytes)) { 114 (*env)->SetByteArrayRegion(env, bytes, off, nread, (jbyte *)buf); 154 jint off, jint len, jboolean append, jfieldID fid) 166 if (outOfBounds(env, off, len, bytes)) { 183 (*env)->GetByteArrayRegion(env, bytes, off, len, (jbyte *)buf); 186 off = 0 [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
font_output_stream.cc | 46 void FontOutputStream::Write(ByteVector* b, int32_t off, int32_t len) { 49 if (off < 0 || len < 0 || off + len < 0 || 50 static_cast<size_t>(off + len) > b->size()) { 58 stream_->Write(b, off, len); 62 void FontOutputStream::Write(byte_t* b, int32_t off, int32_t len) { 65 if (off < 0 || len < 0 || off + len < 0) { 73 stream_->Write(b, off, len);
|
/libcore/ojluni/src/main/java/java/io/ |
CharArrayWriter.java | 92 * @param off the start offset in the data 95 public void write(char c[], int off, int len) { 96 if ((off < 0) || (off > c.length) || (len < 0) || 97 ((off + len) > c.length) || ((off + len) < 0)) { 107 System.arraycopy(c, off, buf, count, len); 115 * @param off Offset from which to start reading characters 118 public void write(String str, int off, int len) { 124 str.getChars(off, off + len, buf, count) [all...] |
PipedReader.java | 215 synchronized void receive(char c[], int off, int len) throws IOException { 217 receive(c[off++]); 296 * @param off the start offset of the data. 306 public synchronized int read(char cbuf[], int off, int len) throws IOException { 316 if ((off < 0) || (off > cbuf.length) || (len < 0) || 317 ((off + len) > cbuf.length) || ((off + len) < 0)) { 328 cbuf[off] = (char)c; 331 cbuf[off + rlen] = buffer[out++] [all...] |
ByteArrayOutputStream.java | 129 * starting at offset <code>off</code> to this byte array output stream. 132 * @param off the start offset in the data. 135 public synchronized void write(byte b[], int off, int len) { 136 if ((off < 0) || (off > b.length) || (len < 0) || 137 ((off + len) - b.length > 0)) { 141 System.arraycopy(b, off, buf, count, len);
|
InputStream.java | 119 * <p> The first byte read is stored into element <code>b[off]</code>, the 120 * next one into <code>b[off+1]</code>, and so on. The number of bytes read 123 * <code>b[off]</code> through <code>b[off+</code><i>k</i><code>-1]</code>, 124 * leaving elements <code>b[off+</code><i>k</i><code>]</code> through 125 * <code>b[off+len-1]</code> unaffected. 128 * <code>b[off]</code> and elements <code>b[off+len]</code> through 131 * <p> The <code>read(b,</code> <code>off,</code> <code>len)</code> method 135 * the <code>read(b,</code> <code>off,</code> <code>len)</code> method. I [all...] |
PipedWriter.java | 129 * starting at offset <code>off</code> to this piped output stream. 137 * @param off the start offset in the data. 144 public void write(char cbuf[], int off, int len) throws IOException { 147 } else if ((off | len | (off + len) | (cbuf.length - (off + len))) < 0) { 150 sink.receive(cbuf, off, len);
|
SequenceInputStream.java | 187 * @param off the start offset in array <code>b</code> 192 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 194 * <code>b.length - off</code> 197 public int read(byte b[], int off, int len) throws IOException { 202 } else if (off < 0 || len < 0 || len > b.length - off) { 208 int n = in.read(b, off, len); 211 return read(b, off, len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
IndefiniteLengthInputStream.java | 51 public int read(byte[] b, int off, int len) 57 return super.read(b, off, len); 65 int numRead = _in.read(b, off + 2, len - 2); 73 b[off] = (byte)_b1; 74 b[off + 1] = (byte)_b2;
|
/external/elfutils/lib/ |
crc32_file.c | 44 off_t off = 0; local 73 off += mapsize; 76 fd, off) == mapped); 82 off))) > 0) 84 off += count;
|
/external/libunwind/tests/ |
Gtest-init.cxx | 51 char name[128], off[32]; local 64 off[0] = '\0'; 67 snprintf (off, sizeof (off), "+0x%lx", (long) offset); 69 printf (" [%lx] <%s%s>\n", (long) ip, name, off);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
Hash234.java | 55 void calcHashes(byte[] buf, int off) { 56 int temp = crcTable[buf[off] & 0xFF] ^ (buf[off + 1] & 0xFF); 59 temp ^= (buf[off + 2] & 0xFF) << 8; 62 temp ^= crcTable[buf[off + 3] & 0xFF] << 5;
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
AppOutputStream.java | 59 synchronized public void write(byte b[], int off, int len) 63 } else if (off < 0 || len < 0 || len > b.length - off) { 118 r.write(b, off, howmuch); 119 off += howmuch;
|