/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
31-1.c | 10 * [EOVERFLOW] The file is a regular file and the value of off 47 off_t off = 0; local 87 off = ((off_t) ~ ((size_t) 0)) * page_size; 88 off &= ~(page_size - 1); 90 printf("off: %llx, len: %llx\n", (unsigned long long)off, 93 pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 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/ |
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);
|
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/ |
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} of the first byte to 138 * from {@code b}, starting at offset {@code off}. 144 public void write(byte[] b, int off, int len) throws IOException { 147 if (b == null || off + len > b.length) { 150 if (off < 0 || len < 0) { 154 out.write(b, off, len); 156 digest.update(b, off, len); 161 * Turns the digest function on or off. The default is on. Whe [all...] |
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}, starting at offset {@code off}. This method 144 * @param off the starting offset into {@code b} of where the 148 * stream into b, starting at offset {@code off}. 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...] |
/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...] |
/external/annotation-tools/asmx/src/org/objectweb/asm/ |
Type.java | 179 private final int off; field in class:Type 197 * @param off 202 private Type(final int sort, final char[] buf, final int off, final int len) { 205 this.off = off; 326 int off = 1; local 329 char car = buf[off++]; 333 while (buf[off++] != ';') { 341 off = 1; 343 while (buf[off] != ')') [all...] |
/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/fio/ |
options.h | 26 extern bool __fio_option_is_set(struct thread_options *, unsigned int off); 30 const unsigned int off = offsetof(struct thread_options, name); \ 31 bool __r = __fio_option_is_set((__td), 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
StreamProvider.java | 44 public int read(char[] buffer, int off, int len) throws IOException { 45 int result = _reader.read(buffer, off, len); 55 if (off < buffer.length && len > 0) {
|
StringProvider.java | 32 public int read(char[] cbuf, int off, int len) throws IOException { 40 int numBytesToRead = numBytesInBuffer -off; 47 _string.getChars(_position, _position + numBytesToRead, cbuf, off);
|
/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 | 36 ssize_t off = sizeof(indentStr)-1-(indentLevel*2); local 37 return indentStr + (off < 0 ? 0 : off);
|
/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++]);
|
/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);
|