Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 2040) sorted by relevance

12345678910>>...82

/external/flatbuffers/go/
Dtable.go23 func (t *Table) Indirect(off UOffsetT) UOffsetT {
24 return off + GetUOffsetT(t.Bytes[off:])
28 func (t *Table) String(off UOffsetT) string {
29 b := t.ByteVector(off)
34 func (t *Table) ByteVector(off UOffsetT) []byte {
35 off += GetUOffsetT(t.Bytes[off:])
36 start := off + UOffsetT(SizeUOffsetT)
37 length := GetUOffsetT(t.Bytes[off:])
43 func (t *Table) VectorLen(off UOffsetT) int {
44 off += t.Pos
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DPack.java8 public static short bigEndianToShort(byte[] bs, int off) in bigEndianToShort() argument
10 int n = (bs[ off] & 0xff) << 8; in bigEndianToShort()
11 n |= (bs[++off] & 0xff); in bigEndianToShort()
15 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt() argument
17 int n = bs[ off] << 24; in bigEndianToInt()
18 n |= (bs[++off] & 0xff) << 16; in bigEndianToInt()
19 n |= (bs[++off] & 0xff) << 8; in bigEndianToInt()
20 n |= (bs[++off] & 0xff); in bigEndianToInt()
24 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() argument
28 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrMemory.td27 def regPlusImm : PatFrag<(ops node:$addr, node:$off),
28 (add node:$addr, node:$off),
45 def regPlusGA : PatFrag<(ops node:$addr, node:$off),
46 (add node:$addr, node:$off),
61 def LOAD_I32 : I<(outs I32:$dst), (ins i32imm:$off, I32:$addr,
63 "i32.load\t$dst, ${off}(${addr})${p2align}">;
64 def LOAD_I64 : I<(outs I64:$dst), (ins i32imm:$off, I32:$addr,
66 "i64.load\t$dst, ${off}(${addr})${p2align}">;
67 def LOAD_F32 : I<(outs F32:$dst), (ins i32imm:$off, I32:$addr,
69 "f32.load\t$dst, ${off}(${addr})${p2align}">;
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPack.java8 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt() argument
10 int n = bs[ off] << 24; in bigEndianToInt()
11 n |= (bs[++off] & 0xff) << 16; in bigEndianToInt()
12 n |= (bs[++off] & 0xff) << 8; in bigEndianToInt()
13 n |= (bs[++off] & 0xff); in bigEndianToInt()
17 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() argument
21 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
22 off += 4; in bigEndianToInt()
33 public static void intToBigEndian(int n, byte[] bs, int off) in intToBigEndian() argument
35 bs[ off] = (byte)(n >>> 24); in intToBigEndian()
[all …]
/external/flatbuffers/tests/FlatBuffers.Test/
DTestTable.cs34 var off = t.__offset(slot); in GetSlot()
36 if (off == 0) in GetSlot()
40 return t.bb.GetSbyte(t.bb_pos + off) != 0; in GetSlot()
45 var off = t.__offset(slot); in GetSlot()
47 if (off == 0) in GetSlot()
51 return t.bb.GetSbyte(t.bb_pos + off); in GetSlot()
56 var off = t.__offset(slot); in GetSlot()
58 if (off == 0) in GetSlot()
62 return t.bb.Get(t.bb_pos + off); in GetSlot()
67 var off = t.__offset(slot); in GetSlot()
[all …]
/external/flatbuffers/python/flatbuffers/
Dtable.py43 def Indirect(self, off): argument
45 N.enforce_number(off, N.UOffsetTFlags)
46 return off + encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
48 def String(self, off): argument
50 N.enforce_number(off, N.UOffsetTFlags)
51 off += encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
52 start = off + N.UOffsetTFlags.bytewidth
53 length = encode.Get(N.UOffsetTFlags.packer_type, self.Bytes, off)
56 def VectorLen(self, off): argument
59 N.enforce_number(off, N.UOffsetTFlags)
[all …]
/external/compiler-rt/test/tsan/
Dunaligned_race.cc48 template<int off, int off2>
50 p += off; in access3()
64 template<int off>
68 access3<off, 0>(main, sz1, rw, obj); in access2()
70 access3<off, 1>(main, sz1, rw, obj); in access2()
72 access3<off, 2>(main, sz1, rw, obj); in access2()
74 access3<off, 3>(main, sz1, rw, obj); in access2()
76 access3<off, 4>(main, sz1, rw, obj); in access2()
78 access3<off, 5>(main, sz1, rw, obj); in access2()
80 access3<off, 6>(main, sz1, rw, obj); in access2()
[all …]
/external/llvm/test/MC/AMDGPU/
Dmubuf.s17 buffer_load_dword v1, off, s[4:7], s1
21 buffer_load_dword v1, off, ttmp[4:7], s1
25 buffer_load_dword v1, off, s[4:7], s1 offset:4
29 buffer_load_dword v1, off, s[4:7], s1 offset:4 glc
33 buffer_load_dword v1, off, s[4:7], s1 offset:4 slc
37 buffer_load_dword v1, off, s[4:7], s1 offset:4 tfe
41 buffer_load_dword v1, off, s[4:7], s1 glc tfe
45 buffer_load_dword v1, off, s[4:7], s1 offset:4 glc slc tfe
49 buffer_load_dword v1, off, ttmp[4:7], s1 offset:4 glc slc tfe
201 buffer_store_dword v1, off, s[4:7], s1
[all …]
/external/libunwind/src/x86/
DGos-linux.c147 unw_word_t addr = c->sigcontext_addr, fpstate_addr, off; in x86_get_scratch_loc() local
168 case UNW_X86_GS: off = LINUX_SC_GS_OFF; break; in x86_get_scratch_loc()
169 case UNW_X86_FS: off = LINUX_SC_FS_OFF; break; in x86_get_scratch_loc()
170 case UNW_X86_ES: off = LINUX_SC_ES_OFF; break; in x86_get_scratch_loc()
171 case UNW_X86_DS: off = LINUX_SC_DS_OFF; break; in x86_get_scratch_loc()
172 case UNW_X86_EDI: off = LINUX_SC_EDI_OFF; break; in x86_get_scratch_loc()
173 case UNW_X86_ESI: off = LINUX_SC_ESI_OFF; break; in x86_get_scratch_loc()
174 case UNW_X86_EBP: off = LINUX_SC_EBP_OFF; break; in x86_get_scratch_loc()
175 case UNW_X86_ESP: off = LINUX_SC_ESP_OFF; break; in x86_get_scratch_loc()
176 case UNW_X86_EBX: off = LINUX_SC_EBX_OFF; break; in x86_get_scratch_loc()
[all …]
DGos-freebsd.c144 unw_word_t addr = c->sigcontext_addr, off, xmm_off; in x86_get_scratch_loc() local
177 off = 0; /* shut gcc warning */ in x86_get_scratch_loc()
180 case UNW_X86_GS: off = FREEBSD_UC_MCONTEXT_GS_OFF; break; in x86_get_scratch_loc()
181 case UNW_X86_FS: off = FREEBSD_UC_MCONTEXT_FS_OFF; break; in x86_get_scratch_loc()
182 case UNW_X86_ES: off = FREEBSD_UC_MCONTEXT_ES_OFF; break; in x86_get_scratch_loc()
183 case UNW_X86_DS: off = FREEBSD_UC_MCONTEXT_SS_OFF; break; in x86_get_scratch_loc()
184 case UNW_X86_EDI: off = FREEBSD_UC_MCONTEXT_EDI_OFF; break; in x86_get_scratch_loc()
185 case UNW_X86_ESI: off = FREEBSD_UC_MCONTEXT_ESI_OFF; break; in x86_get_scratch_loc()
186 case UNW_X86_EBP: off = FREEBSD_UC_MCONTEXT_EBP_OFF; break; in x86_get_scratch_loc()
187 case UNW_X86_ESP: off = FREEBSD_UC_MCONTEXT_ESP_OFF; break; in x86_get_scratch_loc()
[all …]
/external/libyuv/files/unit_test/
Dplanar_test.cc112 int off) { in TestAttenuateI() argument
118 align_buffer_page_end(src_argb, kStride * height + off); in TestAttenuateI()
122 src_argb[i + off] = (fastrand() & 0xff); in TestAttenuateI()
128 ARGBAttenuate(src_argb + off, kStride, dst_argb_c, kStride, width, in TestAttenuateI()
132 ARGBAttenuate(src_argb + off, kStride, dst_argb_opt, kStride, width, in TestAttenuateI()
183 int off) { in TestUnattenuateI() argument
189 align_buffer_page_end(src_argb, kStride * height + off); in TestUnattenuateI()
193 src_argb[i + off] = (fastrand() & 0xff); in TestUnattenuateI()
195 ARGBAttenuate(src_argb + off, kStride, src_argb + off, kStride, width, in TestUnattenuateI()
201 ARGBUnattenuate(src_argb + off, kStride, dst_argb_c, kStride, width, in TestUnattenuateI()
[all …]
/external/syslinux/gpxe/src/arch/i386/include/
Dlibkir.h98 #define put_real_kir_const_off( var, seg, off ) \ argument
104 : "r,r" ( var ), "rm,rm" ( seg ), "i,!r" ( off ) \
107 #define put_real_kir_nonconst_off( var, seg, off ) \ argument
113 : "r" ( var ), "rm" ( seg ), "r" ( off ) \
116 #define put_real_kir( var, seg, off ) \ argument
118 if ( __builtin_constant_p ( off ) ) \
119 put_real_kir_const_off ( var, seg, off ); \
121 put_real_kir_nonconst_off ( var, seg, off ); \
124 #define get_real_kir_const_off( var, seg, off ) \ argument
130 : "rm,rm" ( seg ), "i,!r" ( off ) \
[all …]
/external/apache-http/src/org/apache/http/util/
DByteArrayBuffer.java67 public void append(final byte[] b, int off, int len) { in append() argument
71 if ((off < 0) || (off > b.length) || (len < 0) || in append()
72 ((off + len) < 0) || ((off + len) > b.length)) { in append()
82 System.arraycopy(b, off, this.buffer, this.len, len); in append()
95 public void append(final char[] b, int off, int len) { in append() argument
99 if ((off < 0) || (off > b.length) || (len < 0) || in append()
100 ((off + len) < 0) || ((off + len) > b.length)) { in append()
111 for (int i1 = off, i2 = oldlen; i2 < newlen; i1++, i2++) { in append()
117 public void append(final CharArrayBuffer b, int off, int len) { in append() argument
121 append(b.buffer(), off, len); in append() local
DCharArrayBuffer.java69 public void append(final char[] b, int off, int len) { in append() argument
73 if ((off < 0) || (off > b.length) || (len < 0) || in append()
74 ((off + len) < 0) || ((off + len) > b.length)) { in append()
84 System.arraycopy(b, off, this.buffer, this.len, len); in append()
101 public void append(final CharArrayBuffer b, int off, int len) { in append() argument
105 append(b.buffer, off, len); in append()
124 public void append(final byte[] b, int off, int len) { in append() argument
128 if ((off < 0) || (off > b.length) || (len < 0) || in append()
129 ((off + len) < 0) || ((off + len) > b.length)) { in append()
140 for (int i1 = off, i2 = oldlen; i2 < newlen; i1++, i2++) { in append()
[all …]
/external/boringssl/src/tool/
Dpkcs12.cc84 size_t off = 0; in DoPKCS12() local
86 n = BORINGSSL_READ(fd, &contents[off], size - off); in DoPKCS12()
88 off += static_cast<size_t>(n); in DoPKCS12()
90 } while ((n > 0 && off < size) || (n == -1 && errno == EINTR)); in DoPKCS12()
92 if (off != size) { in DoPKCS12()
104 off = 0; in DoPKCS12()
106 n = BORINGSSL_READ(0, &password[off], sizeof(password) - 1 - off); in DoPKCS12()
108 off += static_cast<size_t>(n); in DoPKCS12()
110 } while ((n > 0 && OPENSSL_memchr(password, '\n', off) == NULL && in DoPKCS12()
111 off < sizeof(password) - 1) || in DoPKCS12()
[all …]
/external/iproute2/tc/
Dp_ip.c38 tkey->off = 12; in parse_ip()
44 tkey->off = 16; in parse_ip()
54 tkey->off = 1; in parse_ip()
60 tkey->off = 0; in parse_ip()
66 tkey->off = 9; in parse_ip()
73 tkey->off = 1; in parse_ip()
80 tkey->off = 6; in parse_ip()
87 tkey->off = 6; in parse_ip()
93 tkey->off = 6; in parse_ip()
99 tkey->off = 6; in parse_ip()
[all …]
Df_u32.c118 int off, int offmask) in pack_key() argument
126 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) { in pack_key()
139 if (off % 4) in pack_key()
143 sel->keys[hwm].off = off; in pack_key()
150 int off, int offmask) in pack_key32() argument
154 return pack_key(sel, key, mask, off, offmask); in pack_key32()
158 int off, int offmask) in pack_key16() argument
163 if ((off & 3) == 0) { in pack_key16()
167 off &= ~3; in pack_key16()
171 return pack_key(sel, key, mask, off, offmask); in pack_key16()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java235 int off = 0; in readPacket() local
237 while (off < Packet.HEADER_SIZE) { in readPacket()
239 int bytesRead = input.read(header, off, Packet.HEADER_SIZE - off); in readPacket()
243 off += bytesRead; in readPacket()
250 if (off == 0) { in readPacket()
253 if (off < Packet.HEADER_SIZE) { in readPacket()
268 while (off < len) { in readPacket()
269 int bytesRead = input.read(bytes, off, len - off); in readPacket()
273 off += bytesRead; in readPacket()
275 if (off < len) { in readPacket()
[all …]
/external/boringssl/src/crypto/evp/
Dprint.c68 uint8_t *buf, int off) { in bn_print() argument
73 if (!BIO_indent(bp, off, 128)) { in bn_print()
108 !BIO_indent(bp, off + 4, 128)) { in bn_print()
136 static int do_rsa_print(BIO *out, const RSA *rsa, int off, in do_rsa_print() argument
176 if (!BIO_indent(out, off, 128)) { in do_rsa_print()
193 if (!bn_print(out, str, rsa->n, m, off) || in do_rsa_print()
194 !bn_print(out, s, rsa->e, m, off)) { in do_rsa_print()
199 if (!bn_print(out, "privateExponent:", rsa->d, m, off) || in do_rsa_print()
200 !bn_print(out, "prime1:", rsa->p, m, off) || in do_rsa_print()
201 !bn_print(out, "prime2:", rsa->q, m, off) || in do_rsa_print()
[all …]
/external/libunwind/include/
Dremote.h54 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; in fetch8() local
62 val >>= 8*off; in fetch8()
64 val >>= 8*(WSIZE - 1 - off); in fetch8()
74 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; in fetch16() local
77 assert ((off & 0x1) == 0); in fetch16()
84 val >>= 8*off; in fetch16()
86 val >>= 8*(WSIZE - 2 - off); in fetch16()
96 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; in fetch32() local
99 assert ((off & 0x3) == 0); in fetch32()
106 val >>= 8*off; in fetch32()
[all …]
/external/boringssl/src/crypto/asn1/
Da_d2i_fp.c153 size_t off = 0; in asn1_d2i_read_bio() local
164 if (want >= (len - off)) { in asn1_d2i_read_bio()
165 want -= (len - off); in asn1_d2i_read_bio()
172 if ((i < 0) && ((len - off) == 0)) { in asn1_d2i_read_bio()
186 p = (unsigned char *)&(b->data[off]); in asn1_d2i_read_bio()
189 len - off); in asn1_d2i_read_bio()
200 off += i; /* end of data */ in asn1_d2i_read_bio()
220 if (want > (len - off)) { in asn1_d2i_read_bio()
222 want -= (len - off); in asn1_d2i_read_bio()
259 if (off + c.slen < off) { in asn1_d2i_read_bio()
[all …]
/external/ltp/testcases/kernel/fs/dmapi/
Dhole.c125 dm_off_t off = 0; in main() local
148 DM_NO_TOKEN, &off, NUM_EXTENTS, in main()
172 dm_off_t off = 0; in main() local
195 DM_NO_TOKEN, &off, NUM_EXTENTS, in main()
221 dm_off_t off = 0; in main() local
241 &off, NUM_EXTENTS, Extents, in main()
264 dm_off_t off = 0; in main() local
287 DM_NO_TOKEN, &off, NUM_EXTENTS, in main()
311 dm_off_t off = 0; in main() local
334 &off, NUM_EXTENTS, Extents, in main()
[all …]
/external/elfutils/libdw/
Ddwarf_nextcu.c39 dwarf_next_unit (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, in dwarf_next_unit() argument
53 if (off == (Dwarf_Off) -1l in dwarf_next_unit()
58 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) in dwarf_next_unit()
67 const unsigned char *bytes = data + off; in dwarf_next_unit()
110 if (unlikely (DIE_OFFSET_FROM_CU_OFFSET (off, offset_size, debug_types) in dwarf_next_unit()
144 if (unlikely (type_offset < (size_t) (bytes - (data + off)))) in dwarf_next_unit()
154 *header_sizep = bytes - (data + off); in dwarf_next_unit()
171 *next_off = off + 2 * offset_size - 4 + length; in dwarf_next_unit()
178 dwarf_nextcu (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, in INTDEF()
182 return INTUSE(dwarf_next_unit) (dwarf, off, next_off, header_sizep, NULL, in INTDEF()
/external/dtc/tests/
Doverlay.c137 int off; in fdt_overlay_local_phandle() local
139 off = fdt_path_offset(fdt, "/test-node/new-local-node"); in fdt_overlay_local_phandle()
140 CHECK(off < 0); in fdt_overlay_local_phandle()
142 local_phandle = fdt_get_phandle(fdt, off); in fdt_overlay_local_phandle()
162 int off; in fdt_overlay_local_phandles() local
164 off = fdt_path_offset(fdt, "/test-node/new-local-node"); in fdt_overlay_local_phandles()
165 CHECK(off < 0); in fdt_overlay_local_phandles()
167 local_phandle = fdt_get_phandle(fdt, off); in fdt_overlay_local_phandles()
170 off = fdt_path_offset(fdt, "/test-node"); in fdt_overlay_local_phandles()
171 CHECK(off < 0); in fdt_overlay_local_phandles()
[all …]
/external/libevent/
Dbuffer.c132 #define CHAIN_SPACE_PTR(ch) ((ch)->buffer + (ch)->misalign + (ch)->off)
134 0 : (ch)->buffer_len - ((ch)->misalign + (ch)->off))
253 if (chain->off) in evbuffer_chains_all_empty()
278 while ((*ch) && ((*ch)->off != 0 || CHAIN_PINNED(*ch))) in evbuffer_free_trailing_empty_chains()
304 while ((*ch) && ((*ch)->off != 0 || CHAIN_PINNED(*ch))) in evbuffer_chain_insert()
309 if (chain->off) in evbuffer_chain_insert()
319 buf->total_len += chain->off; in evbuffer_chain_insert()
615 result = (chain != NULL ? chain->off : 0); in evbuffer_get_contiguous_space()
663 while ((*buf->last_with_datap)->next && (*buf->last_with_datap)->next->off) { in advance_last_with_data()
692 buf->last->off += vec[0].iov_len; in evbuffer_commit_space()
[all …]

12345678910>>...82