/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/elfutils/tests/ |
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/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/java/io/ |
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);
|
BufferedOutputStream.java | 102 * starting at offset <code>off</code> to this buffered output stream. 112 * @param off the start offset in the data. 116 public synchronized void write(byte b[], int off, int len) throws IOException { 122 out.write(b, off, len); 128 System.arraycopy(b, off, buf, count, len);
|
/prebuilts/go/darwin-x86/src/debug/dwarf/ |
unit.go | 17 off Offset // byte offset of data within the aggregate info 61 u.base = b.off 79 u.off = b.off 88 // offsetToUnit returns the index of the unit containing offset off. 90 func (d *Data) offsetToUnit(off Offset) int { 91 // Find the unit after off 93 return d.unit[i].off > off 99 if u.off <= off && off < u.off+Offset(len(u.data)) [all...] |
/prebuilts/go/linux-x86/src/debug/dwarf/ |
unit.go | 17 off Offset // byte offset of data within the aggregate info 61 u.base = b.off 79 u.off = b.off 88 // offsetToUnit returns the index of the unit containing offset off. 90 func (d *Data) offsetToUnit(off Offset) int { 91 // Find the unit after off 93 return d.unit[i].off > off 99 if u.off <= off && off < u.off+Offset(len(u.data)) [all...] |
/frameworks/av/cmds/screenrecord/ |
TextRenderer.cpp | 97 // It's guaranteed to be a power-of-two wide, but we cut off the height 217 size_t off = i * quadCoords; 218 vertices[off + 0] = vertLeft; 219 vertices[off + 1] = vertBottom; 220 vertices[off + 2] = vertRight; 221 vertices[off + 3] = vertBottom; 222 vertices[off + 4] = vertLeft; 223 vertices[off + 5] = vertTop; 224 vertices[off + 6] = vertLeft; 225 vertices[off + 7] = vertTop [all...] |
/device/google/dragon/recovery/updater/ |
flash_device.c | 97 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len) 99 return dev->ops->read(dev->priv_data, off, buff, len); 102 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len) 104 if ((off % dev->write_size) || (len % dev->write_size)) { 106 off, len); 109 return dev->ops->write(dev->priv_data, off, buff, len); 112 int flash_erase(struct flash_device *dev, off_t off, size_t len) 114 if ((off % dev->erase_size) || (len % dev->erase_size)) { 116 off, len); 120 return dev->ops->erase(dev->priv_data, off, len) 132 off_t off = fmap_scan_offset(dev, end); local [all...] |
/external/boringssl/src/crypto/asn1/ |
t_pkey.c | 64 unsigned char *buf, int off) 71 if(!BIO_indent(bp,off,128)) 103 || !BIO_indent(bp,off+4,128))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/ |
DigestInputStream.java | 36 int off, 40 int n = in.read(b, off, len); 43 digest.update(b, off, n);
|
MacInputStream.java | 36 int off, 40 int n = in.read(b, off, len); 43 mac.update(b, off, n);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 34 public int read(byte[] buf, int off, int len) 37 int i = input.read(buf, off, len); 41 output.write(buf, off, i);
|
TeeOutputStream.java | 35 public void write(byte[] buf, int off, int len) 38 this.output1.write(buf, off, len); 39 this.output2.write(buf, off, len);
|
/external/elfutils/libdw/ |
dwarf_formstring.c | 68 uint64_t off; local 70 attrp->cu->offset_size, &off, IDX_debug_str, 1)) 73 return (const char *) dbg_ret->sectiondata[IDX_debug_str]->d_buf + off;
|
/external/guava/guava/src/com/google/common/hash/ |
HashingOutputStream.java | 39 * <p>The {@link OutputStream} should not be written to before or after the hand-off. 55 @Override public void write(byte[] bytes, int off, int len) throws IOException { 56 hasher.putBytes(bytes, off, len); 57 out.write(bytes, off, len);
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSMessage.java | 258 for (int off = 0, len = data.length; off < len; off += 32) { 259 int n = Math.min(32, len - off); 260 if (off < 0x10) { 263 if (off < 0x100) { 266 if (off < 0x1000) { 269 buf.append(Integer.toHexString(off)); 276 buf.append(Integer.toHexString((data[off + index] & 0xF0) >> 4)); 277 buf.append(Integer.toHexString((data[off + index] & 0x0F) >> 0)) [all...] |
/frameworks/base/core/java/com/android/server/ |
ResettableTimeout.java | 43 public abstract void off(); method in class:ResettableTimeout 49 * <p>3. At the timeout, calls off()<p> 81 * Cancel the timeout and call off now. 93 off(); method 109 off(); method 125 // turn it off at this time.
|
/frameworks/native/libs/binder/ |
Debug.cpp | 35 ssize_t off = sizeof(indentStr)-1-(indentLevel*2); local 36 return indentStr + (off < 0 ? 0 : off);
|
/libcore/ojluni/src/main/java/java/security/ |
DigestInputStream.java | 44 * <p>It is possible to turn this stream on or off (see 47 * results in an update on the message digest. But when it is off, 68 /* Are we on or off? */ 135 * <code>b</code>, starting at offset <code>off</code>. This method 144 * @param off the starting offset into <code>b</code> of where the 148 * stream into b, starting at offset <code>off</code>. 160 public int read(byte[] b, int off, int len) throws IOException { 161 int result = in.read(b, off, len); 163 digest.update(b, off, result); 169 * Turns the digest function on or off. The default is on. Whe [all...] |
DigestOutputStream.java | 44 * <p>It is possible to turn this stream on or off (see 47 * an update on the message digest. But when it is off, the message 134 * @param off the offset into <code>b</code> of the first byte to 138 * from <code>b</code>, starting at offset <code>off</code>. 144 public void write(byte[] b, int off, int len) throws IOException { 146 digest.update(b, off, len); 148 out.write(b, off, len); 152 * Turns the digest function on or off. The default is on. When 154 * update on the message digest. But when it is off, the message 158 * off [all...] |