Home
last modified time | relevance | path

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

12345678910>>...72

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrMemory.td27 def regPlusImm : PatFrag<(ops node:$off, node:$addr),
28 (add node:$addr, node:$off),
34 def LOAD_I32 : I<(outs I32:$dst), (ins i32imm:$off, I32:$addr), [],
35 "i32.load\t$dst, ${off}(${addr})">;
36 def LOAD_I64 : I<(outs I64:$dst), (ins i32imm:$off, I32:$addr), [],
37 "i64.load\t$dst, ${off}(${addr})">;
38 def LOAD_F32 : I<(outs F32:$dst), (ins i32imm:$off, I32:$addr), [],
39 "f32.load\t$dst, ${off}(${addr})">;
40 def LOAD_F64 : I<(outs F64:$dst), (ins i32imm:$off, I32:$addr), [],
41 "f64.load\t$dst, ${off}(${addr})">;
[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/bouncycastle/bcprov/src/main/java/org/bouncycastle/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/dexmaker/src/dx/java/com/android/dx/util/
DByteArray.java125 public int getByte(int off) { in getByte() argument
126 checkOffsets(off, off + 1); in getByte()
127 return getByte0(off); in getByte()
136 public int getShort(int off) { in getShort() argument
137 checkOffsets(off, off + 2); in getShort()
138 return (getByte0(off) << 8) | getUnsignedByte0(off + 1); in getShort()
147 public int getInt(int off) { in getInt() argument
148 checkOffsets(off, off + 4); in getInt()
149 return (getByte0(off) << 24) | in getInt()
150 (getUnsignedByte0(off + 1) << 16) | in getInt()
[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/libunwind/src/x86/
DGos-linux.c143 unw_word_t addr = c->sigcontext_addr, fpstate_addr, off; in x86_get_scratch_loc() local
164 case UNW_X86_GS: off = LINUX_SC_GS_OFF; break; in x86_get_scratch_loc()
165 case UNW_X86_FS: off = LINUX_SC_FS_OFF; break; in x86_get_scratch_loc()
166 case UNW_X86_ES: off = LINUX_SC_ES_OFF; break; in x86_get_scratch_loc()
167 case UNW_X86_DS: off = LINUX_SC_DS_OFF; break; in x86_get_scratch_loc()
168 case UNW_X86_EDI: off = LINUX_SC_EDI_OFF; break; in x86_get_scratch_loc()
169 case UNW_X86_ESI: off = LINUX_SC_ESI_OFF; break; in x86_get_scratch_loc()
170 case UNW_X86_EBP: off = LINUX_SC_EBP_OFF; break; in x86_get_scratch_loc()
171 case UNW_X86_ESP: off = LINUX_SC_ESP_OFF; break; in x86_get_scratch_loc()
172 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/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/mockito/cglib-and-asm/src/org/mockito/asm/
DType.java163 private final int off; field in Type
192 private Type(final int sort, final char[] buf, final int off, final int len) in Type() argument
196 this.off = off; in Type()
263 int off = 1; in getArgumentTypes() local
266 char car = buf[off++]; in getArgumentTypes()
270 while (buf[off++] != ';') { in getArgumentTypes()
278 off = 1; in getArgumentTypes()
280 while (buf[off] != ')') { in getArgumentTypes()
281 args[size] = getType(buf, off); in getArgumentTypes()
282 off += args[size].len + (args[size].sort == OBJECT ? 2 : 0); in getArgumentTypes()
[all …]
/external/boringssl/src/tool/
Dpkcs12.cc83 size_t off = 0; in DoPKCS12() local
85 n = read(fd, &contents[off], size - off); in DoPKCS12()
87 off += static_cast<size_t>(n); in DoPKCS12()
89 } while ((n > 0 && off < size) || (n == -1 && errno == EINTR)); in DoPKCS12()
91 if (off != size) { in DoPKCS12()
103 off = 0; in DoPKCS12()
105 n = read(0, &password[off], sizeof(password) - 1 - off); in DoPKCS12()
107 off += static_cast<size_t>(n); in DoPKCS12()
109 } while ((n > 0 && memchr(password, '\n', off) == NULL && in DoPKCS12()
110 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.java228 int off = 0; in readPacket() local
230 while (off < Packet.HEADER_SIZE) { in readPacket()
232 int bytesRead = input.read(header, off, Packet.HEADER_SIZE - off); in readPacket()
236 off += bytesRead; in readPacket()
243 if (off == 0) { in readPacket()
246 if (off < Packet.HEADER_SIZE) { in readPacket()
261 while (off < len) { in readPacket()
262 int bytesRead = input.read(bytes, off, len - off); in readPacket()
266 off += bytesRead; in readPacket()
268 if (off < len) { in readPacket()
[all …]
/external/boringssl/src/crypto/asn1/
Da_d2i_fp.c151 size_t off=0; in asn1_d2i_read_bio() local
164 if (want >= (len-off)) in asn1_d2i_read_bio()
166 want-=(len-off); in asn1_d2i_read_bio()
174 if ((i < 0) && ((len-off) == 0)) in asn1_d2i_read_bio()
191 p=(unsigned char *)&(b->data[off]); in asn1_d2i_read_bio()
194 len-off); in asn1_d2i_read_bio()
206 off+=i; /* end of data */ in asn1_d2i_read_bio()
232 if (want > (len-off)) in asn1_d2i_read_bio()
234 want-=(len-off); in asn1_d2i_read_bio()
260 if (off + c.slen < off) in asn1_d2i_read_bio()
[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/autotest/client/tests/kvm/unattended/
Dwin2000-32.sif44 dialer = off
45 media_clips = off
46 media_utopia = off
47 msnexplr = off
48 netoc = off
49 OEAccess = off
50 templates = off
51 WMAccess = off
52 zonegames = off
Dwinxp64.sif44 dialer = off
45 media_clips = off
46 media_utopia = off
47 msnexplr = off
48 netoc = off
49 OEAccess = off
50 templates = off
51 WMAccess = off
52 zonegames = off
Dwinxp32.sif44 dialer = off
45 media_clips = off
46 media_utopia = off
47 msnexplr = off
48 netoc = off
49 OEAccess = off
50 templates = off
51 WMAccess = off
52 zonegames = off
/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/jmdns/src/javax/jmdns/impl/
DDNSMessage.java258 for (int off = 0, len = data.length; off < len; off += 32) { in print()
259 int n = Math.min(32, len - off); in print()
260 if (off < 0x10) { in print()
263 if (off < 0x100) { in print()
266 if (off < 0x1000) { in print()
269 buf.append(Integer.toHexString(off)); in print()
276 buf.append(Integer.toHexString((data[off + index] & 0xF0) >> 4)); in print()
277 buf.append(Integer.toHexString((data[off + index] & 0x0F) >> 0)); in print()
293 int ch = data[off + index] & 0xFF; in print()
299 if (off + 32 >= 2048) { in print()
/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 …]
/external/elfutils/tests/
Dtypeiter2.c38 Dwarf_Off off = 0; in main() local
43 while (dwarf_next_unit (dbg, off, &noff, &cuhl, NULL, NULL, NULL, in main()
47 dwarf_offdie_types (dbg, off + cuhl, &die_mem); in main()
48 off = noff; in main()
51 off = 0; in main()
53 while (dwarf_nextcu (dbg, off, &noff, &cuhl, NULL, NULL, NULL) == 0) in main()
56 Dwarf_Die *die = dwarf_offdie (dbg, off + cuhl, &die_mem); in main()
83 off = noff; in main()
Dtypeiter.c37 Dwarf_Off off = 0; in main() local
41 while (dwarf_nextcu (dbg, off, &noff, &cuhl, NULL, NULL, NULL) == 0) in main()
44 Dwarf_Die *die = dwarf_offdie (dbg, off + cuhl, &die_mem); in main()
65 off = noff; in main()
68 off = 0; in main()
71 while (dwarf_next_unit (dbg, off, &noff, &cuhl, NULL, NULL, NULL, in main()
75 Dwarf_Die *die = dwarf_offdie_types (dbg, off + cuhl, &die_mem); in main()
82 off = noff; in main()
/external/javasqlite/src/main/java/SQLite/
DBlob.java132 public int read(byte b[], int off, int len) throws IOException { in read() argument
133 if (off + len > b.length) { in read()
134 len = b.length - off; in read()
142 int n = blob.read(b, off, pos, len); in read()
225 public void write(byte[] b, int off, int len) throws IOException { in write() argument
227 if (off + len > b.length) { in write()
228 len = b.length - off; in write()
233 pos += blob.write(b, off, pos, len); in write()
295 native int write(byte[] b, int off, int pos, int len) throws IOException; in write() argument
306 native int read(byte[] b, int off, int pos, int len) throws IOException; in read() argument

12345678910>>...72