/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/io/ |
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);
|
/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...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 71 * @param off the start offset in the destination array <code>b</code> 76 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 78 * <code>buf.length - off</code> 81 public int read(byte[] buf, int off, int len) throws IOException { 82 len = in.read(buf, off, len); 84 cksum.update(buf, off, len);
|
/libcore/ojluni/src/main/java/sun/net/ |
TelnetOutputStream.java | 127 * Write the bytes at offset <i>off</i> in buffer <i>bytes</i> for 130 public void write(byte bytes[], int off, int length) throws IOException { 132 super.write(bytes, off, length); 137 write(bytes[off++]);
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
HttpCaptureInputStream.java | 69 public int read(byte[] b, int off, int len) throws IOException { 70 int ret = super.read(b, off, len); 72 capture.received(b[off+i]);
|
HttpCaptureOutputStream.java | 58 public void write(byte[] b, int off, int len) throws IOException { 59 for (int i = off; i < len; i++) { 62 out.write(b, off, len);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
TeeOutputStream.java | 24 * command. It allows a stream to be branched off so there 57 * @param off The start offset 61 public synchronized void write(byte[] b, int off, int len) throws IOException { 62 super.write(b, off, len); 63 this.branch.write(b, off, len);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fgetln.c | 69 size_t off; local 97 * As a bonus, though, we can leave off the __SMOD. 105 for (len = fp->_r, off = 0;; len += fp->_r) { 115 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 116 len - off); 117 off = len; 129 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
IndentingWriter.java | 139 public void write(char[] cbuf, int off, int len) throws IOException { 142 write(cbuf[off]); 143 off++; 151 public void write(String str, int off, int len) throws IOException { 154 write(str.charAt(off)); 155 off++;
|
/dalvik/dx/src/com/android/dx/util/ |
IndentingWriter.java | 139 public void write(char[] cbuf, int off, int len) throws IOException { 142 write(cbuf[off]); 143 off++; 151 public void write(String str, int off, int len) throws IOException { 154 write(str.charAt(off)); 155 off++;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 24 int off, 27 byte[] encoded = encode(data, off, length); 49 int off, 57 encoder.encode(data, off, length, bOut); 87 int off, 92 return encoder.encode(data, off, length, out);
|
Hex.java | 24 int off, 27 byte[] encoded = encode(data, off, length); 49 int off, 56 encoder.encode(data, off, length, bOut); 86 int off, 91 return encoder.encode(data, off, length, out);
|