Searched defs:off (Results 151 - 175 of 625) sorted by relevance

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1OutputStream.java58 void write(byte[] bytes, int off, int len) argument
61 os.write(bytes, off, len);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
H A DASN1Dump.java404 private static String calculateAscString(byte[] bytes, int off, int len) argument
408 for (int i = off; i != off + len; i++)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DDSABase.java40 int off,
44 digest.update(b, off, len);
38 engineUpdate( byte[] b, int off, int len) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DPack.java8 public static short bigEndianToShort(byte[] bs, int off) argument
10 int n = (bs[ off] & 0xff) << 8;
11 n |= (bs[++off] & 0xff);
15 public static int bigEndianToInt(byte[] bs, int off) argument
17 int n = bs[ off] << 24;
18 n |= (bs[++off] & 0xff) << 16;
19 n |= (bs[++off] & 0xff) << 8;
20 n |= (bs[++off] & 0xff);
24 public static void bigEndianToInt(byte[] bs, int off, int[] ns) argument
28 ns[i] = bigEndianToInt(bs, off);
40 intToBigEndian(int n, byte[] bs, int off) argument
55 intToBigEndian(int[] ns, byte[] bs, int off) argument
64 bigEndianToLong(byte[] bs, int off) argument
71 bigEndianToLong(byte[] bs, int off, long[] ns) argument
87 longToBigEndian(long n, byte[] bs, int off) argument
100 longToBigEndian(long[] ns, byte[] bs, int off) argument
109 littleEndianToShort(byte[] bs, int off) argument
116 littleEndianToInt(byte[] bs, int off) argument
125 littleEndianToInt(byte[] bs, int off, int[] ns) argument
143 littleEndianToInt(byte[] bs, int off, int count) argument
161 shortToLittleEndian(short n, byte[] bs, int off) argument
174 intToLittleEndian(int n, byte[] bs, int off) argument
189 intToLittleEndian(int[] ns, byte[] bs, int off) argument
198 littleEndianToLong(byte[] bs, int off) argument
205 littleEndianToLong(byte[] bs, int off, long[] ns) argument
221 longToLittleEndian(long n, byte[] bs, int off) argument
234 longToLittleEndian(long[] ns, byte[] bs, int off) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
H A DBase64Encoder.java60 int off,
69 for (int i = off; i < off + dataLength; i += 3)
92 d1 = data[off + dataLength] & 0xff;
102 d1 = data[off + dataLength] & 0xff;
103 d2 = data[off + dataLength + 1] & 0xff;
133 int off,
141 int end = off + length;
143 while (end > off)
153 int i = off;
58 encode( byte[] data, int off, int length, OutputStream out) argument
131 decode( byte[] data, int off, int length, OutputStream out) argument
[all...]
/external/dtc/tests/
H A Dvalue-labels.c81 int off = labels[i].propoff; local
83 if (off == -1)
84 off = len;
90 if ((p - prop->data) != off)
93 (long)(p - prop->data), off, name);
/external/elfutils/lib/
H A Dsystem.h73 pwrite_retry (int fd, const void *buf, size_t len, off_t off) argument
80 off + recvd));
110 pread_retry (int fd, void *buf, size_t len, off_t off) argument
117 off + recvd));
/external/elfutils/libdw/
H A Ddwarf_nextcu.c39 dwarf_next_unit (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, argument
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_of
[all...]
/external/elfutils/libelf/
H A Delf_getarsym.c171 size_t off = elf->start_offset + SARMAG + sizeof (struct ar_hdr); local
172 if (read_number_entries (&n, elf, &off, index64_p) < 0)
233 if ((size_t) pread_retry (elf->fildes, file_data, sz, off) != sz
235 index_size - sz, off + sz)
249 file_data = (void *) (elf->map_address + off);
259 file_data = memcpy (temp_data, elf->map_address + off, sz);
261 str_data = (char *) (elf->map_address + off + sz);
/external/elfutils/src/
H A Darlib.c205 off_t off)
207 if (sizeof (off) > sizeof (uint32_t) && off > ~((uint32_t) 0))
266 arlib_add_symref (symname, off);
204 arlib_add_symbols(Elf *elf, const char *arfname, const char *membername, off_t off) argument
/external/elfutils/tests/
H A Dallfcts.c77 Dwarf_Off off = 0; local
82 while (dwarf_nextcu (dbg, off, &noff, &cuhl, NULL, NULL, NULL) == 0)
85 Dwarf_Die *die = dwarf_offdie (dbg, off + cuhl, &die_mem);
98 off = noff;
/external/f2fs-tools/fsck/
H A Dnode.h44 static inline void set_nid(struct f2fs_node * rn, int off, nid_t nid, int i) argument
47 rn->i.i_nid[off - NODE_DIR1_BLOCK] = cpu_to_le32(nid);
49 rn->in.nid[off] = cpu_to_le32(nid);
52 static inline nid_t get_nid(struct f2fs_node * rn, int off, int i) argument
55 return le32_to_cpu(rn->i.i_nid[off - NODE_DIR1_BLOCK]);
57 return le32_to_cpu(rn->in.nid[off]);
/external/fio/engines/
H A Dmmap.c31 size_t length, off_t off)
46 fmd->mmap_ptr = mmap(NULL, length, flags, MAP_SHARED, f->fd, off);
30 fio_mmap_file(struct thread_data *td, struct fio_file *f, size_t length, off_t off) argument
/external/fio/lib/
H A Dlfsr.c127 int lfsr_next(struct fio_lfsr *fl, uint64_t *off) argument
140 *off = fl->last_val;
/external/guava/guava/src/com/google/common/hash/
H A DAbstractByteHasher.java53 * 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) { argument
56 for (int i = off; i < off + len; i++) {
75 public Hasher putBytes(byte[] bytes, int off, int len) { argument
76 checkPositionIndexes(off, off + len, bytes.length);
77 update(bytes, off, len);
H A DMessageDigestHashFunction.java141 protected void update(byte[] b, int off, int len) { argument
143 digest.update(b, off, len);
H A DPrimitiveSink.java46 * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written,
47 * {@code bytes[off + len - 1]} is the last.
50 * @param off the start offset in the array
53 * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
56 PrimitiveSink putBytes(byte[] bytes, int off, int len); argument
/external/guava/guava/src/com/google/common/io/
H A DByteArrayDataInput.java38 @Override void readFully(byte b[], int off, int len); argument
H A DByteArrayDataOutput.java32 @Override void write(byte b[], int off, int len); argument
H A DCharSequenceReader.java82 public synchronized int read(char[] cbuf, int off, int len) throws IOException { argument
83 checkPositionIndexes(off, off + len, cbuf.length);
90 cbuf[off + i] = seq.charAt(pos++);
H A DFileBackedOutputStream.java176 @Override public synchronized void write(byte[] b, int off, int len) argument
179 out.write(b, off, len);
H A DLittleEndianDataInputStream.java70 public void readFully(byte[] b, int off, int len) throws IOException { argument
71 ByteStreams.readFully(this, b, off, len);
H A DLittleEndianDataOutputStream.java55 @Override public void write(byte[] b, int off, int len) throws IOException { argument
57 out.write(b, off, len);
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractByteHasherTest.java123 protected void update(byte[] b, int off, int len) { argument
124 out.write(b, off, len);
H A DAbstractNonStreamingHashFunctionTest.java138 public HashCode hashBytes(byte[] input, int off, int len) { argument
139 return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));

Completed in 437 milliseconds

1234567891011>>