Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 40) 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((void *)(fp->_lb._base + off), (void *)fp->_p, in fgetln()
116 len - off); in fgetln()
117 off = len; in fgetln()
129 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, in fgetln()
Dopen_memstream.c76 memstream_seek(void *v, fpos_t off, int whence) in memstream_seek() argument
92 if (off > SIZE_MAX - base || off < -base) { in memstream_seek()
97 st->pos = base + off; in memstream_seek()
Dopen_wmemstream.c80 wmemstream_seek(void *v, fpos_t off, int whence) in wmemstream_seek() argument
96 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) { in wmemstream_seek()
107 st->pos = base + off; in wmemstream_seek()
/bionic/libc/system_properties/
Dprop_area.cpp146 void* prop_area::allocate_obj(const size_t size, uint_least32_t* const off) { in allocate_obj() argument
152 *off = bytes_used_; in allocate_obj()
154 return data_ + *off; in allocate_obj()
157 prop_bt* prop_area::new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off) { in new_prop_bt() argument
162 *off = new_offset; in new_prop_bt()
170 uint32_t valuelen, uint_least32_t* const off) { in new_prop_info() argument
193 *off = new_offset; in new_prop_info()
197 void* prop_area::to_prop_obj(uint_least32_t off) { in to_prop_obj() argument
198 if (off > pa_data_size_) return nullptr; in to_prop_obj()
200 return (data_ + off); in to_prop_obj()
[all …]
/bionic/libc/arch-x86/atom/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-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-strrchr-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
Dssse3-strcat-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
/bionic/libc/system_properties/include/system_properties/
Dprop_area.h146 void* allocate_obj(const size_t size, uint_least32_t* const off);
147 prop_bt* new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off);
149 uint_least32_t* const off);
150 void* to_prop_obj(uint_least32_t off);
/bionic/benchmarks/linker_relocation/regen/
Dgen_bench.py145 for sym in rels.got + rels.jump_slots + [sym for off, sym in rels.symbolic]:
225 for off in lib.rels.relative:
226 image.append((off, f'DATA_WORD(local_label)\n'))
227 for off, r in lib.rels.symbolic:
232 image.append((off, text))
236 for off, text in image:
237 if cur_off < off:
239 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.cpp53 off64_t lseek64(int fd, off64_t off, int whence) { in lseek64() argument
55 unsigned long off_hi = static_cast<unsigned long>(off >> 32); in lseek64()
56 unsigned long off_lo = static_cast<unsigned long>(off); in lseek64()
/bionic/libc/kernel/uapi/linux/tc_ematch/
Dtc_em_nbyte.h24 __u16 off; member
Dtc_em_cmp.h26 __u16 off; member
/bionic/libc/arch-x86/silvermont/string/
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-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
/bionic/libc/kernel/uapi/linux/tc_act/
Dtc_pedit.h59 __u32 off; member
/bionic/tests/libs/
Dsegment_gap_outer.lds2 # This starts off fairly normal: rodata, text, dynamic, data, bss with
/bionic/libc/kernel/uapi/linux/
Dptrace.h46 __u64 off; member
Dio_uring.h29 __u64 off; member
/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