Home
last modified time | relevance | path

Searched refs:orig_size (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_malloc_bisect.h18 static u32 malloc_hash(StackTrace *stack, uptr orig_size) { in malloc_hash() argument
21 H.add(orig_size); in malloc_hash()
31 static inline bool malloc_bisect(StackTrace *stack, uptr orig_size) { in malloc_bisect() argument
40 uptr h = (uptr)malloc_hash(stack, orig_size); in malloc_bisect()
44 Printf("[alloc] %u %zu\n", h, orig_size); in malloc_bisect()
H A Dhwasan_allocator.cpp186 if (UNLIKELY(orig_size == 0)) in HwasanAllocate()
187 orig_size = 1; in HwasanAllocate()
191 orig_size); in HwasanAllocate()
203 uptr size = TaggedSize(orig_size); in HwasanAllocate()
228 if (size != orig_size) { in HwasanAllocate()
230 uptr tail_length = size - orig_size; in HwasanAllocate()
241 uptr tag_size = orig_size ? orig_size : 1; in HwasanAllocate()
263 RunMallocHooks(user_ptr, orig_size); in HwasanAllocate()
307 uptr orig_size = meta->GetRequestedSize(); in HwasanDeallocate() local
316 uptr tagged_size = TaggedSize(orig_size); in HwasanDeallocate()
[all …]
H A Dhwasan_report.cpp903 uptr orig_size, const u8 *expected) in TailOverwrittenReport() argument
905 orig_size(orig_size), in TailOverwrittenReport()
906 tail_size(kShadowAlignment - (orig_size % kShadowAlignment)) { in TailOverwrittenReport()
910 reinterpret_cast<u8 *>(untagged_addr + orig_size), in TailOverwrittenReport()
915 if (orig_size % kShadowAlignment != 0) in TailOverwrittenReport()
921 const uptr orig_size = 0; member in __hwasan::__anonc3d4ad990511::TailOverwrittenReport
932 bug_type, untagged_addr, untagged_addr + orig_size, orig_size); in ~TailOverwrittenReport()
1044 void ReportTailOverwritten(StackTrace *stack, uptr tagged_addr, uptr orig_size, in ReportTailOverwritten() argument
1046 TailOverwrittenReport R(stack, tagged_addr, orig_size, expected); in ReportTailOverwritten()
H A Dhwasan_report.h27 void ReportTailOverwritten(StackTrace *stack, uptr addr, uptr orig_size,
/freebsd/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_008_pos.ksh78 orig_size=`get_prop available $TESTPOOL`
95 (( tolerance = new_size - orig_size))
97 log_fail "Space not freed. ($orig_size != $new_size)"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_008_pos.ksh68 orig_size=`get_prop available $TESTPOOL`
95 (( tolerance = new_size - orig_size))
97 log_fail "Space not freed. ($orig_size != $new_size)"
/freebsd/usr.bin/rs/
H A Drs.cc213 size_t colw, max, n, orig_size, padto; in prepfile() local
239 orig_size = elem.size(); in prepfile()
242 elem.push_back(elem[i % orig_size]); in prepfile()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Demutls.c366 uintptr_t orig_size = array->size; in emutls_get_address_array() local
370 memset(array->data + orig_size, 0, in emutls_get_address_array()
371 (new_size - orig_size) * sizeof(void *)); in emutls_get_address_array()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStringList.cpp157 const size_t orig_size = m_strings.size(); in SplitIntoLines() local
182 return m_strings.size() - orig_size; in SplitIntoLines()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointLocationList.cpp82 const size_t orig_size = bp_loc_list.GetSize(); in FindInModule() local
92 return bp_loc_list.GetSize() - orig_size; in FindInModule()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dbuffer.h866 size_t orig_size; member
/freebsd/contrib/libevent/include/event2/
H A Dbuffer.h866 size_t orig_size; member
/freebsd/contrib/one-true-awk/
H A Db.c607 size_t orig_size = f->gototab[state].allocated; // 2nd half of new mem is this size in resize_gototab() local
608 memset(p + orig_size, 0, orig_size * sizeof(gtte)); // clean it out in resize_gototab()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clbio.c844 off_t orig_size, tmp_off; in ncl_write() local
905 orig_size = np->n_size; in ncl_write()
1261 vattr.va_size = orig_size; in ncl_write()
/freebsd/contrib/ofed/libmlx5/
H A Dqp.c141 int orig_size = size; in mlx5_copy_to_send_wqe() local
146 buf += orig_size - size; in mlx5_copy_to_send_wqe()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp210 const unsigned orig_size = orig->full_size(); in HandlePathDiagnostic() local
212 if (orig_size <= new_size) in HandlePathDiagnostic()
/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent_openssl.c1144 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
H A Dbuffer.c488 info.orig_size = new_size + buffer->n_del_for_cb - buffer->n_add_for_cb; in evbuffer_run_callbacks()
507 info.orig_size, new_size, cbent->cbarg); in evbuffer_run_callbacks()
/freebsd/contrib/libevent/
H A Dbufferevent_openssl.c1144 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
H A Dbuffer.c488 info.orig_size = new_size + buffer->n_del_for_cb - buffer->n_add_for_cb; in evbuffer_run_callbacks()
507 info.orig_size, new_size, cbent->cbarg); in evbuffer_run_callbacks()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c1929 size_t old_len = cbinfo->orig_size; in log_change_callback()
2235 tt_int_op(cbinfo->orig_size, ==, 3); in check_prepend()
/freebsd/contrib/libevent/test/
H A Dregress_buffer.c1929 size_t old_len = cbinfo->orig_size; in log_change_callback()
2235 tt_int_op(cbinfo->orig_size, ==, 3); in check_prepend()