Home
last modified time | relevance | path

Searched refs:off (Results 1 - 25 of 969) sorted by relevance

12345678910>>...39

/third_party/ffmpeg/libavcodec/x86/
H A Dvideodsp.asm131 %assign %%off 0 ; offset in source buffer
137 movu xmm %+ %%xmm_idx, [srcq+%%off]
140 movu mm %+ %%mmx_idx, [srcq+%%off]
143 %assign %%off %%off+mmsize
147 %if (%2-%%off) >= 8
148 %if %2 > 16 && (%2-%%off) > 8
151 %assign %%off %2
153 movq mm %+ %%mmx_idx, [srcq+%%off]
155 %assign %%off
[all...]
/third_party/ltp/testcases/network/sctp/
H A Dsctp_big_chunk.c80 static void update_packet_field(size_t *off, void *buf, size_t buf_len) in update_packet_field() argument
82 memcpy(packet + *off, buf, buf_len); in update_packet_field()
83 *off += buf_len; in update_packet_field()
91 size_t off; in setup_client() local
104 off = ip6_hdr_len; in setup_client()
111 update_packet_field(&off, &src_port, 2); in setup_client()
112 update_packet_field(&off, &dst_port, 2); in setup_client()
113 update_packet_field(&off, &vtag, 4); in setup_client()
114 update_packet_field(&off, &checksum, 4); in setup_client()
115 cmn_hdr_off = off; in setup_client()
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Deck_prn.c21 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) in ECPKParameters_print_fp() argument
31 ret = ECPKParameters_print(b, x, off); in ECPKParameters_print_fp()
36 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) in EC_KEY_print_fp() argument
46 ret = EC_KEY_print(b, x, off); in EC_KEY_print_fp()
68 size_t len, int off);
70 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) in ECPKParameters_print() argument
101 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print()
113 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print()
161 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print()
175 if (!BIO_indent(bp, off, 12 in ECPKParameters_print()
225 print_bin(BIO *fp, const char *name, const unsigned char *buf, size_t len, int off) print_bin() argument
[all...]
/third_party/openssl/crypto/ec/
H A Deck_prn.c21 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) in ECPKParameters_print_fp() argument
31 ret = ECPKParameters_print(b, x, off); in ECPKParameters_print_fp()
36 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) in EC_KEY_print_fp() argument
46 ret = EC_KEY_print(b, x, off); in EC_KEY_print_fp()
68 size_t len, int off);
70 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) in ECPKParameters_print() argument
101 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print()
113 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print()
161 if (!BIO_indent(bp, off, 128)) in ECPKParameters_print()
175 if (!BIO_indent(bp, off, 12 in ECPKParameters_print()
225 print_bin(BIO *fp, const char *name, const unsigned char *buf, size_t len, int off) print_bin() argument
[all...]
/third_party/libunwind/libunwind/src/x86/
H A DGos-linux.c145 unw_word_t addr = c->sigcontext_addr, fpstate_addr, off; in x86_get_scratch_loc() local
166 case UNW_X86_GS: off = LINUX_SC_GS_OFF; break; in x86_get_scratch_loc()
167 case UNW_X86_FS: off = LINUX_SC_FS_OFF; break; in x86_get_scratch_loc()
168 case UNW_X86_ES: off = LINUX_SC_ES_OFF; break; in x86_get_scratch_loc()
169 case UNW_X86_DS: off = LINUX_SC_DS_OFF; break; in x86_get_scratch_loc()
170 case UNW_X86_EDI: off = LINUX_SC_EDI_OFF; break; in x86_get_scratch_loc()
171 case UNW_X86_ESI: off = LINUX_SC_ESI_OFF; break; in x86_get_scratch_loc()
172 case UNW_X86_EBP: off = LINUX_SC_EBP_OFF; break; in x86_get_scratch_loc()
173 case UNW_X86_ESP: off = LINUX_SC_ESP_OFF; break; in x86_get_scratch_loc()
174 case UNW_X86_EBX: off in x86_get_scratch_loc()
[all...]
H A DGos-freebsd.c154 unw_word_t addr = c->sigcontext_addr, off, xmm_off; in x86_get_scratch_loc() local
187 off = 0; /* shut gcc warning */ in x86_get_scratch_loc()
190 case UNW_X86_GS: off = FREEBSD_UC_MCONTEXT_GS_OFF; break; in x86_get_scratch_loc()
191 case UNW_X86_FS: off = FREEBSD_UC_MCONTEXT_FS_OFF; break; in x86_get_scratch_loc()
192 case UNW_X86_ES: off = FREEBSD_UC_MCONTEXT_ES_OFF; break; in x86_get_scratch_loc()
193 case UNW_X86_DS: off = FREEBSD_UC_MCONTEXT_SS_OFF; break; in x86_get_scratch_loc()
194 case UNW_X86_EDI: off = FREEBSD_UC_MCONTEXT_EDI_OFF; break; in x86_get_scratch_loc()
195 case UNW_X86_ESI: off = FREEBSD_UC_MCONTEXT_ESI_OFF; break; in x86_get_scratch_loc()
196 case UNW_X86_EBP: off = FREEBSD_UC_MCONTEXT_EBP_OFF; break; in x86_get_scratch_loc()
197 case UNW_X86_ESP: off in x86_get_scratch_loc()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dnellymoser.c93 static int sum_bits(short *buf, short shift, short off) in sum_bits() argument
98 int b = buf[i]-off; in sum_bits()
126 int off; in ff_nelly_get_sample_bits() local
154 off = bitsum - NELLY_DETAIL_BITS; in ff_nelly_get_sample_bits()
156 for(shift=0; FFABS(off) <= 16383; shift++) in ff_nelly_get_sample_bits()
157 off *= 2; in ff_nelly_get_sample_bits()
159 off = (off * NELLY_BASE_OFF) >> 15; in ff_nelly_get_sample_bits()
162 off = signed_shift(off, shif in ff_nelly_get_sample_bits()
[all...]
/third_party/libbpf/include/linux/
H A Dfilter.h13 .off = OFF, \
21 .off = 0, \
29 .off = 0, \
37 .off = 0, \
45 .off = 0, \
53 .off = 0, \
61 .off = OFF, \
69 .off = OFF, \
77 .off = OFF, \
85 .off
[all...]
/third_party/alsa-utils/nhlt/
H A Dnhlt-dmic-info.c76 static inline uint8_t get_u8(uint8_t *base, uint32_t off) in get_u8() argument
78 return *(base + off); in get_u8()
81 static inline int32_t get_s16le(uint8_t *base, uint32_t off) in get_s16le() argument
83 uint32_t v = *(base + off + 0) | in get_s16le()
84 (*(base + off + 1) << 8); in get_s16le()
90 static inline uint32_t get_u32le(uint8_t *base, uint32_t off) in get_u32le() argument
92 return *(base + off + 0) | in get_u32le()
93 (*(base + off + 1) << 8) | in get_u32le()
94 (*(base + off + 2) << 16) | in get_u32le()
95 (*(base + off in get_u32le()
142 uint32_t off, specific_cfg_size; nhlt_dmic_ep_to_json() local
186 uint32_t _size, off, ep_size; nhlt_table_to_json() local
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A Dpnmdec.c49 static size_t ReadLine(const uint8_t* const data, size_t off, size_t data_size, in ReadLine() argument
54 for (i = 0; i < MAX_LINE_SIZE && off < data_size; ++i) { in ReadLine()
55 out[i] = data[off++]; in ReadLine()
58 if (off < data_size) { in ReadLine()
64 return off; in ReadLine()
73 static size_t ReadPAMFields(PNMInfo* const info, size_t off) { in ReadPAMFields() argument
80 off = ReadLine(info->data, off, info->data_size, out, &out_size); in ReadPAMFields()
81 if (off == 0) return 0; in ReadPAMFields()
137 return off; in ReadPAMFields()
141 size_t off = 0; ReadHeader() local
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_nir_lower_64b.c82 nir_ssa_def *off = nir_ssa_for_src(b, intr->src[offset_src_idx], 1); in lower_64b_intrinsics() local
95 store->src[offset_src_idx] = nir_src_for_ssa(off); in lower_64b_intrinsics()
101 off = nir_iadd(b, off, nir_imm_intN_t(b, 8, off->bit_size)); in lower_64b_intrinsics()
141 nir_ssa_def *off = nir_ssa_for_src(b, intr->src[offset_src_idx], 1); in lower_64b_intrinsics() local
147 load->src[offset_src_idx] = nir_src_for_ssa(off); in lower_64b_intrinsics()
154 off = nir_iadd(b, off, nir_imm_intN_t(b, 8, off in lower_64b_intrinsics()
[all...]
H A Dir3_nir_lower_wide_load_store.c63 for (unsigned off = 0; off < num_comp; off += 4) { in lower_wide_load_store()
64 unsigned c = MIN2(num_comp - off, 4); in lower_wide_load_store()
65 nir_ssa_def *v = nir_channels(b, val, BITFIELD_MASK(c) << off); in lower_wide_load_store()
73 nir_intrinsic_set_write_mask(store, (wrmask >> off) & 0xf); in lower_wide_load_store()
88 for (unsigned off = 0; off < num_comp;) { in lower_wide_load_store()
89 unsigned c = MIN2(num_comp - off, 4); in lower_wide_load_store()
104 components[off in lower_wide_load_store()
[all...]
/third_party/ffmpeg/libavformat/
H A Dgif.c113 int off = 13; in gif_write_packet() local
119 off += 3 * (1 << ((pkt->data[10] & 0x07) + 1)); in gif_write_packet()
121 if (pkt->size < off + 2) in gif_write_packet()
124 avio_write(pb, pkt->data, off); in gif_write_packet()
126 if (pkt->data[off] == GIF_EXTENSION_INTRODUCER && pkt->data[off + 1] == 0xff) in gif_write_packet()
127 off += 19; in gif_write_packet()
129 if (pkt->size <= off) in gif_write_packet()
144 delay_pos = gif_parse_packet(s, pkt->data + off, pkt->size - off); in gif_write_packet()
[all...]
H A Drtmphttp.c108 int ret, off = 0; in rtmp_http_read() local
112 ret = ffurl_read(rt->stream, buf + off, size); in rtmp_http_read()
148 off += ret; in rtmp_http_read()
152 } while (off <= 0); in rtmp_http_read()
154 return off; in rtmp_http_read()
188 int ret, off = 0; in rtmp_http_open() local
237 ret = ffurl_read(rt->stream, rt->client_id + off, sizeof(rt->client_id) - off); in rtmp_http_open()
242 off += ret; in rtmp_http_open()
243 if (off in rtmp_http_open()
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_nextcu.c39 dwarf_next_unit (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, in dwarf_next_unit() argument
46 return __libdw_next_unit (dwarf, v4_debug_types, off, next_off, in dwarf_next_unit()
55 __libdw_next_unit (Dwarf *dwarf, bool v4_debug_types, Dwarf_Off off, in INTDEF()
73 if (off == (Dwarf_Off) -1l in INTDEF()
78 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF()
87 const unsigned char *bytes = data + off; in INTDEF()
214 if (unlikely (__libdw_first_die_from_cu_start (off, offset_size, version, in INTDEF()
253 if (unlikely (subdie_off < (size_t) (bytes - (data + off)))) in INTDEF()
269 *header_sizep = bytes - (data + off); in INTDEF()
290 *next_off = off in INTDEF()
301 dwarf_nextcu(Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, size_t *header_sizep, Dwarf_Off *abbrev_offsetp, uint8_t *address_sizep, uint8_t *offset_sizep) dwarf_nextcu() argument
[all...]
/third_party/libfuse/example/
H A Dcuse.c95 static void cusexmp_read(fuse_req_t req, size_t size, off_t off, in cusexmp_read() argument
100 if (off >= cusexmp_size) in cusexmp_read()
101 off = cusexmp_size; in cusexmp_read()
102 if (size > cusexmp_size - off) in cusexmp_read()
103 size = cusexmp_size - off; in cusexmp_read()
105 fuse_reply_buf(req, cusexmp_buf + off, size); in cusexmp_read()
109 off_t off, struct fuse_file_info *fi) in cusexmp_write()
113 if (cusexmp_expand(off + size)) { in cusexmp_write()
118 memcpy(cusexmp_buf + off, buf, size); in cusexmp_write()
175 size_t off in fioc_do_rw() local
108 cusexmp_write(fuse_req_t req, const char *buf, size_t size, off_t off, struct fuse_file_info *fi) cusexmp_write() argument
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_dns_name.c38 ares_nameoffset_t *off = arg; in ares__nameoffset_free() local
39 if (off == NULL) { in ares__nameoffset_free()
42 ares_free(off->name); in ares__nameoffset_free()
43 ares_free(off); in ares__nameoffset_free()
50 ares_nameoffset_t *off = NULL; in ares__nameoffset_create() local
65 off = ares_malloc_zero(sizeof(*off)); in ares__nameoffset_create()
66 if (off == NULL) { in ares__nameoffset_create()
70 off->name = ares_strdup(name); in ares__nameoffset_create()
71 off in ares__nameoffset_create()
363 const ares_nameoffset_t *off = NULL; ares__dns_name_write() local
[all...]
/third_party/libunwind/libunwind/include/
H A Dremote.h54 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; in fetch8() local
62 val >>= 8*off; in fetch8() local
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 if ((off & 0x1) != 0) in fetch16()
85 val >>= 8*off; in fetch16() local
87 val >>= 8*(WSIZE - 2 - off); in fetch16()
97 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; in fetch32() local
100 if ((off & 0x3) != 0) in fetch32()
108 val >>= 8*off; in fetch32() local
[all...]
/third_party/musl/libc-test/src/regression/
H A Dftello-unflushed-append.c22 off_t off; in main() local
32 ASSERT((off = ftello(f)) != -1); in main()
33 if (off != 7) in main()
34 t_error("ftello is broken before flush: got %lld, want 7\n", (long long)off); in main()
36 ASSERT((off = ftello(f)) != -1); in main()
37 if (off != 7) in main()
38 t_error("ftello is broken after flush: got %lld, want 7\n", (long long)off); in main()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dfseek.c4 int __fseeko_unlocked(FILE *f, off_t off, int whence) in __fseeko_unlocked() argument
13 if (whence == SEEK_CUR && f->rend) off -= f->rend - f->rpos; in __fseeko_unlocked()
25 if (f->seek(f, off, whence) < 0) return -1; in __fseeko_unlocked()
34 int __fseeko(FILE *f, off_t off, int whence) in __fseeko() argument
38 result = __fseeko_unlocked(f, off, whence); in __fseeko()
43 int fseek(FILE *f, long off, int whence) in fseek() argument
45 return __fseeko(f, off, whence); in fseek()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dfseek.c3 int __fseeko_unlocked(FILE *f, off_t off, int whence) in __fseeko_unlocked() argument
6 if (whence == SEEK_CUR && f->rend) off -= f->rend - f->rpos; in __fseeko_unlocked()
18 if (lseek(f->fd, off, whence) < 0) return -1; in __fseeko_unlocked()
27 int __fseeko(FILE *f, off_t off, int whence) in __fseeko() argument
31 result = __fseeko_unlocked(f, off, whence); in __fseeko()
36 int fseek(FILE *f, long off, int whence) in fseek() argument
38 return __fseeko(f, off, whence); in fseek()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dfseek.c3 int __fseeko_unlocked(FILE *f, off_t off, int whence) in __fseeko_unlocked() argument
6 if (whence == SEEK_CUR && f->rend) off -= f->rend - f->rpos; in __fseeko_unlocked()
18 if (lseek(f->fd, off, whence) < 0) return -1; in __fseeko_unlocked()
27 int __fseeko(FILE *f, off_t off, int whence) in __fseeko() argument
31 result = __fseeko_unlocked(f, off, whence); in __fseeko()
36 int fseek(FILE *f, long off, int whence) in fseek() argument
38 return __fseeko(f, off, whence); in fseek()
/third_party/littlefs/bd/
H A Dlfs_rambd.c56 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_rambd_read()
59 (void*)cfg, block, off, buffer, size); in lfs_rambd_read()
64 LFS_ASSERT(off % bd->cfg->read_size == 0); in lfs_rambd_read()
66 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_rambd_read()
69 memcpy(buffer, &bd->buffer[block*bd->cfg->erase_size + off], size); in lfs_rambd_read()
76 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_rambd_prog()
79 (void*)cfg, block, off, buffer, size); in lfs_rambd_prog()
84 LFS_ASSERT(off % bd->cfg->prog_size == 0); in lfs_rambd_prog()
86 LFS_ASSERT(off+size <= bd->cfg->erase_size); in lfs_rambd_prog()
89 memcpy(&bd->buffer[block*bd->cfg->erase_size + off], buffe in lfs_rambd_prog()
55 lfs_rambd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_rambd_read() argument
75 lfs_rambd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_rambd_prog() argument
[all...]
/third_party/elfutils/tests/
H A 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()
H A 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()

Completed in 10 milliseconds

12345678910>>...39