/external/valgrind/memcheck/tests/ |
D | unit_libcbase.c | 205 CHECK( 0 == VG_ROUNDUP(0, 1) ); in test_VG_ROUND_et_al() 206 CHECK( 1 == VG_ROUNDUP(1, 1) ); in test_VG_ROUND_et_al() 207 CHECK( 2 == VG_ROUNDUP(2, 1) ); in test_VG_ROUND_et_al() 208 CHECK( 3 == VG_ROUNDUP(3, 1) ); in test_VG_ROUND_et_al() 209 CHECK( 4 == VG_ROUNDUP(4, 1) ); in test_VG_ROUND_et_al() 210 CHECK( 5 == VG_ROUNDUP(5, 1) ); in test_VG_ROUND_et_al() 211 CHECK( 6 == VG_ROUNDUP(6, 1) ); in test_VG_ROUND_et_al() 212 CHECK( 7 == VG_ROUNDUP(7, 1) ); in test_VG_ROUND_et_al() 223 CHECK( 0 == VG_ROUNDUP(0, 2) ); in test_VG_ROUND_et_al() 224 CHECK( 2 == VG_ROUNDUP(1, 2) ); in test_VG_ROUND_et_al() [all …]
|
D | descr_belowsp.c | 23 #define VG_ROUNDUP(p, a) VG_ROUNDDN((p)+(a)-1, (a)) macro 96 (void*) VG_ROUNDUP(lowest_j, pagesize)); in describe_many() 98 (void*) VG_ROUNDUP(lowest_j, pagesize)-1); in describe_many() 132 (void*) VG_ROUNDUP(&stackid, pgsz)); in child_fn_0() 138 (void*) VG_ROUNDUP(&stackid, 2<<20)); in child_fn_0()
|
/external/valgrind/coregrind/ |
D | m_deduppoolalloc.c | 137 return (UChar*)VG_ROUNDUP(c, ddpa->eltAlign); in ddpa_align() 353 / VG_ROUNDUP(ddpa->fixedSzb, ddpa->eltAlign); in elt2nr() 377 + (eltNr - 1) * VG_ROUNDUP(ddpa->fixedSzb, ddpa->eltAlign); in VG_() 392 / VG_ROUNDUP(ddpa->fixedSzb, ddpa->eltAlign); in VG_()
|
D | m_oset.c | 331 + VG_ROUNDUP(maxEltSize, sizeof(void*)), in VG_()
|
/external/valgrind/include/ |
D | pub_tool_libcbase.h | 202 #define VG_ROUNDUP(p, a) VG_ROUNDDN((p)+(a)-1, (a)) macro 204 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE)
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-elf.c | 160 return sizeof(ESZ(Nhdr)) + VG_ROUNDUP(VG_(strlen)(n->name)+1, 4) in note_size() 161 + VG_ROUNDUP(n->note.n_descsz, 4); in note_size() 173 VG_ROUNDUP(namelen, 4) + in add_note() 174 VG_ROUNDUP(datasz, 4); in add_note() 187 VG_(memcpy)(n->name+VG_ROUNDUP(namelen,4), data, datasz); in add_note()
|
D | coredump-solaris.c | 788 UInt note_size = sizeof(note_t) + VG_ROUNDUP(datasz, 4); in add_note() 795 n->nhdr.n_descsz = VG_ROUNDUP(datasz, 4); in add_note()
|
/external/valgrind/coregrind/m_initimg/ |
D | initimg-darwin.c | 386 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack() 396 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
|
D | initimg-solaris.c | 482 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack() 489 stringbase = (HChar*)clstack_end - VG_ROUNDUP(stringsize, sizeof(Int)); in setup_client_stack()
|
D | initimg-linux.c | 478 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack() 488 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 1059 Addr ptr = VG_ROUNDUP(start, sizeof(Addr)); in lc_scan_memory() 1081 ptr = VG_ROUNDUP(ptr+1, SM_SIZE); in lc_scan_memory() 1108 tl_assert(bad_scanned_addr >= VG_ROUNDUP(start, sizeof(Addr))); in lc_scan_memory() 1119 ptr = VG_ROUNDUP(ptr+1, SM_SIZE); in lc_scan_memory()
|
D | mc_main.c | 7993 (3*sizeof(Word) + VG_ROUNDUP(sizeof(SecVBitNode), sizeof(void*))); in mc_print_stats()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-mips32-linux.c | 327 advised = VG_ROUNDUP(advised, VKI_SHMLBA); in mips_PRE_sys_mmap()
|
D | syswrap-linux.c | 2388 VG_ROUNDUP( ARG5-1, sizeof(UWord) * 8 ) / 8 ); in PRE() 2398 VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in PRE() 2412 VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in PRE() 2419 POST_MEM_WRITE( ARG2, VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in POST()
|
D | syswrap-generic.c | 2006 arg1 = VG_ROUNDUP(tmp, VKI_SHMLBA); in ML_()
|
D | syswrap-solaris.c | 5950 vg_assert(VG_ROUNDUP(start_addr, max_align) == start_addr); in mmapobj_process_phdrs()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 2001 VG_ROUNDUP((segment)->start, req->start) in VG_() 2023 holeStart = VG_ROUNDUP(holeStart, req->start); in VG_() 2699 advised = VG_ROUNDUP(advised, VKI_SHMLBA); in VG_()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readelf.c | 2616 = VG_ROUNDUP(ML_(img_strlen)(debuglink_escn.img, in ML_()
|
/external/valgrind/helgrind/ |
D | libhb_core.c | 675 n = VG_ROUNDUP(n, 16); in shmem__bigchunk_alloc()
|