Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetdelim.c50 size_t len, newlen, off; in getdelim() local
65 off = 0; in getdelim()
83 if (off > SSIZE_MAX || len + 1 > SSIZE_MAX - off) { in getdelim()
87 newlen = off + len + 1; /* reserve space for NUL terminator */ in getdelim()
113 (void)memcpy((*buf + off), fp->_p, len); in getdelim()
117 off += len; in getdelim()
123 if (off == 0) in getdelim()
127 *(*buf + off) = '\0'; in getdelim()
128 return off; in getdelim()
Dfgetln.c69 size_t off; in fgetln() local
105 for (len = fp->_r, off = 0;; len += fp->_r) { in fgetln()
115 (void)memcpy(fp->_lb._base + off, fp->_p, len - off); in fgetln()
116 off = len; in fgetln()
131 (void)memcpy(fp->_lb._base + off, fp->_p, diff); in fgetln()
Dopen_memstream.c75 memstream_seek(void *v, fpos_t off, int whence) in memstream_seek() argument
91 if ((off > 0 && off > SIZE_MAX - base) || (off < 0 && base < -off)) { in memstream_seek()
96 st->pos = base + off; in memstream_seek()
Dopen_wmemstream.c79 wmemstream_seek(void *v, fpos_t off, int whence) in wmemstream_seek() argument
95 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) { in wmemstream_seek()
106 st->pos = base + off; in wmemstream_seek()
/bionic/libc/system_properties/
Dprop_area.cpp150 void* prop_area::allocate_obj(const size_t size, uint_least32_t* const off) { in allocate_obj() argument
156 *off = bytes_used_; in allocate_obj()
158 return data_ + *off; in allocate_obj()
162 uint_least32_t* const off) { in new_prop_trie_node() argument
168 *off = new_offset; in new_prop_trie_node()
173 uint32_t valuelen, uint_least32_t* const off) { in new_prop_info() argument
196 *off = new_offset; in new_prop_info()
200 void* prop_area::to_prop_obj(uint_least32_t off) { in to_prop_obj() argument
201 if (off > pa_data_size_) return nullptr; in to_prop_obj()
203 return (data_ + off); in to_prop_obj()
[all …]
/bionic/libc/arch-x86/string/
Dssse3-wcscat-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dsse2-wcschr-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dsse2-wcsrchr-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dsse2-strlen-slm.S48 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
56 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dsse2-strchr-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dsse2-memchr-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dsse2-memmove-slm.S51 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
59 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
/bionic/libc/system_properties/include/system_properties/
Dprop_area.h144 void* allocate_obj(const size_t size, uint_least32_t* const off);
145 prop_trie_node* new_prop_trie_node(const char* name, uint32_t namelen, uint_least32_t* const off);
147 uint_least32_t* const off);
148 void* to_prop_obj(uint_least32_t off);
/bionic/benchmarks/linker_relocation/regen/
Dgen_bench.py149 for sym in rels.got + rels.jump_slots + [sym for off, sym in rels.symbolic]:
230 for off in lib.rels.relative:
231 image.append((off, f'DATA_WORD(local_label)\n'))
232 for off, r in lib.rels.symbolic:
237 image.append((off, text))
241 for off, text in image:
242 if cur_off < off:
244 cur_off = off
Dcommon_types.py119 result['symbolic'] = [(off, sym.to_json()) for (off, sym) in self.symbolic]
128 result.symbolic = [(off, SymbolRef.from_json(sym)) for (off, sym) in obj['symbolic']]
/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp56 off64_t lseek64(int fd, off64_t off, int whence) { in lseek64() argument
58 unsigned long off_hi = static_cast<unsigned long>(off >> 32); in lseek64()
59 unsigned long off_lo = static_cast<unsigned long>(off); in lseek64()
/bionic/libc/kernel/uapi/linux/tc_ematch/
Dtc_em_nbyte.h12 __u16 off; member
Dtc_em_cmp.h14 __u16 off; member
/bionic/libc/kernel/uapi/linux/
Dcachefiles.h32 __u64 off; member
Dmman.h37 __u64 off; member
Dvhost_types.h90 __u32 off; member
Dptrace.h34 __u64 off; member
/bionic/libc/kernel/uapi/linux/tc_act/
Dtc_pedit.h47 __u32 off; member
/bionic/tests/libs/
Dsegment_gap_outer.lds2 # This starts off fairly normal: rodata, text, dynamic, data, bss with
/bionic/libc/arch-x86_64/string/
Dsse2-memmove-slm.S50 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
58 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument

12