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

123

/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dgetdelim.c50 size_t len, newlen, off; local
65 off = 0;
83 if (off > SSIZE_MAX || len + 1 > SSIZE_MAX - off) {
87 newlen = off + len + 1; /* reserve space for NUL terminator */
113 (void)memcpy((*buf + off), fp->_p, len);
117 off += len;
123 if (off == 0)
127 *(*buf + off) = '\0';
128 return off;
[all...]
H A Dfgetln.c69 size_t off; local
97 * As a bonus, though, we can leave off the __SMOD.
105 for (len = fp->_r, off = 0;; len += fp->_r) {
115 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
116 len - off);
117 off = len;
129 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
H A Dopen_memstream.c76 memstream_seek(void *v, fpos_t off, int whence) argument
92 if (off > SIZE_MAX - base || off < -base) {
97 st->pos = base + off;
H A Dopen_wmemstream.c80 wmemstream_seek(void *v, fpos_t off, int whence) argument
96 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) {
107 st->pos = base + off;
/bionic/libc/kernel/uapi/linux/tc_ematch/
H A Dtc_em_nbyte.h24 __u16 off; member in struct:tcf_em_nbyte
H A Dtc_em_cmp.h26 __u16 off; member in struct:tcf_em_cmp
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/tc_ematch/
H A Dtc_em_nbyte.h24 __u16 off; member in struct:tcf_em_nbyte
H A Dtc_em_cmp.h26 __u16 off; member in struct:tcf_em_cmp
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/tc_ematch/
H A Dtc_em_nbyte.h24 __u16 off; member in struct:tcf_em_nbyte
H A Dtc_em_cmp.h26 __u16 off; member in struct:tcf_em_cmp
/bionic/libc/arch-x86/atom/string/
H A Dssse3-wcscat-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
H A Dsse2-wcschr-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
H A Dsse2-wcsrchr-atom.S44 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
52 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
/bionic/libc/system_properties/
H A Dprop_area.cpp146 void* prop_area::allocate_obj(const size_t size, uint_least32_t* const off) { argument
152 *off = bytes_used_;
154 return data_ + *off;
157 prop_bt* prop_area::new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off) { argument
162 *off = new_offset;
170 uint32_t valuelen, uint_least32_t* const off) {
184 // Both new_offset and long_value_offset are offsets based off of data_, however prop_info
193 *off = new_offset;
197 void* prop_area::to_prop_obj(uint_least32_t off) { argument
198 if (off > pa_data_size
169 new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen, uint_least32_t* const off) argument
204 uint_least32_t off = atomic_load_explicit(off_p, memory_order_consume); local
209 uint_least32_t off = atomic_load_explicit(off_p, memory_order_consume); local
[all...]
/bionic/libc/system_properties/include/system_properties/
H A Dprop_area.h129 void* allocate_obj(const size_t size, uint_least32_t* const off);
130 prop_bt* new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off);
132 uint_least32_t* const off);
133 void* to_prop_obj(uint_least32_t off);
/bionic/libc/kernel/uapi/linux/tc_act/
H A Dtc_pedit.h60 __u32 off; member in struct:tc_pedit_key
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/tc_act/
H A Dtc_pedit.h60 __u32 off; member in struct:tc_pedit_key
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/tc_act/
H A Dtc_pedit.h60 __u32 off; member in struct:tc_pedit_key
/bionic/libc/bionic/
H A Dlegacy_32_bit_support.cpp63 off64_t lseek64(int fd, off64_t off, int whence) { argument
65 unsigned long off_hi = static_cast<unsigned long>(off >> 32);
66 unsigned long off_lo = static_cast<unsigned long>(off);
/bionic/libc/kernel/uapi/linux/
H A Dptrace.h46 __u64 off; member in struct:ptrace_peeksiginfo_args
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dptrace.h46 __u64 off; member in struct:ptrace_peeksiginfo_args
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dptrace.h46 __u64 off; member in struct:ptrace_peeksiginfo_args
/bionic/libc/arch-x86/silvermont/string/
H A Dsse2-memcpy-slm.S50 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
58 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
H A Dsse2-strlen-slm.S48 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
56 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
/bionic/libc/arch-x86_64/string/
H A Dsse2-memcpy-slm.S50 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off
58 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off

Completed in 5230 milliseconds

123