/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_allocator.cpp | 183 static void *HwasanAllocate(StackTrace *stack, uptr orig_size, uptr alignment, in HwasanAllocate() argument 186 if (UNLIKELY(orig_size == 0)) in HwasanAllocate() 187 orig_size = 1; in HwasanAllocate() 188 if (UNLIKELY(orig_size > max_malloc_size)) { in HwasanAllocate() 191 orig_size); in HwasanAllocate() 194 ReportAllocationSizeTooBig(orig_size, max_malloc_size, stack); in HwasanAllocate() 203 uptr size = TaggedSize(orig_size); in HwasanAllocate() 228 if (size != orig_size) { in HwasanAllocate() 229 u8 *tail = reinterpret_cast<u8 *>(allocated) + orig_size; in HwasanAllocate() 230 uptr tail_length = size - orig_size; in HwasanAllocate() [all …]
|
H A D | hwasan_malloc_bisect.h | 18 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 D | hwasan_report.cpp | 941 uptr orig_size, const u8 *expected) in TailOverwrittenReport() argument 943 orig_size(orig_size), in TailOverwrittenReport() 944 tail_size(kShadowAlignment - (orig_size % kShadowAlignment)) { in TailOverwrittenReport() 948 reinterpret_cast<u8 *>(untagged_addr + orig_size), in TailOverwrittenReport() 953 if (orig_size % kShadowAlignment != 0) in TailOverwrittenReport() 959 const uptr orig_size = 0; member in __hwasan::__anon865875d10511::TailOverwrittenReport 970 bug_type, untagged_addr, untagged_addr + orig_size, orig_size); in ~TailOverwrittenReport() 1082 void ReportTailOverwritten(StackTrace *stack, uptr tagged_addr, uptr orig_size, in ReportTailOverwritten() argument 1084 TailOverwrittenReport R(stack, tagged_addr, orig_size, expected); in ReportTailOverwritten()
|
H A D | hwasan_report.h | 27 void ReportTailOverwritten(StackTrace *stack, uptr addr, uptr orig_size,
|
/freebsd/tests/sys/cddl/zfs/tests/snapshot/ |
H A D | snapshot_008_pos.ksh | 78 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 D | snapshot_008_pos.ksh | 68 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 D | rs.cc | 213 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 D | emutls.c | 366 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 D | StringList.cpp | 157 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 D | BreakpointLocationList.cpp | 82 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 D | buffer.h | 866 size_t orig_size; member
|
/freebsd/contrib/libevent/include/event2/ |
H A D | buffer.h | 866 size_t orig_size; member
|
/freebsd/contrib/one-true-awk/ |
H A D | b.c | 620 size_t orig_size = f->gototab[state].allocated; // 2nd half of new mem is this size in resize_gototab() local 621 memset(p + orig_size, 0, orig_size * sizeof(gtte)); // clean it out in resize_gototab()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 844 off_t orig_size, tmp_off; in ncl_write() 905 orig_size = np->n_size; in ncl_write() 1261 vattr.va_size = orig_size; in nfs_getcacheblk() 815 off_t orig_size, tmp_off; ncl_write() local
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | qp.c | 141 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 D | PathDiagnostic.cpp | 213 const unsigned orig_size = orig->full_size(); in HandlePathDiagnostic() local 215 if (orig_size <= new_size) in HandlePathDiagnostic()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_openssl.c | 1144 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
|
H A D | buffer.c | 488 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 D | bufferevent_openssl.c | 1144 if (cbinfo->orig_size == 0) in be_openssl_outbuf_cb()
|
H A D | buffer.c | 488 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 D | regress_buffer.c | 1929 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 D | regress_buffer.c | 1929 size_t old_len = cbinfo->orig_size; in log_change_callback() 2235 tt_int_op(cbinfo->orig_size, ==, 3); in check_prepend()
|