/external/valgrind/memcheck/tests/ |
D | unit_libcbase.c | 202 CHECK( 0 == VG_ROUNDUP(0, 1) ); in test_VG_ROUND_et_al() 203 CHECK( 1 == VG_ROUNDUP(1, 1) ); in test_VG_ROUND_et_al() 204 CHECK( 2 == VG_ROUNDUP(2, 1) ); in test_VG_ROUND_et_al() 205 CHECK( 3 == VG_ROUNDUP(3, 1) ); in test_VG_ROUND_et_al() 206 CHECK( 4 == VG_ROUNDUP(4, 1) ); in test_VG_ROUND_et_al() 207 CHECK( 5 == VG_ROUNDUP(5, 1) ); in test_VG_ROUND_et_al() 208 CHECK( 6 == VG_ROUNDUP(6, 1) ); in test_VG_ROUND_et_al() 209 CHECK( 7 == VG_ROUNDUP(7, 1) ); in test_VG_ROUND_et_al() 220 CHECK( 0 == VG_ROUNDUP(0, 2) ); in test_VG_ROUND_et_al() 221 CHECK( 2 == VG_ROUNDUP(1, 2) ); in test_VG_ROUND_et_al() [all …]
|
D | descr_belowsp.c | 22 #define VG_ROUNDUP(p, a) VG_ROUNDDN((p)+(a)-1, (a)) macro 95 (void*) VG_ROUNDUP(lowest_j, pagesize)); in describe_many() 97 (void*) VG_ROUNDUP(lowest_j, pagesize)-1); in describe_many() 131 (void*) VG_ROUNDUP(&stackid, pgsz)); in child_fn_0() 137 (void*) VG_ROUNDUP(&stackid, 2<<20)); in child_fn_0()
|
/external/valgrind/coregrind/ |
D | m_deduppoolalloc.c | 134 return (UChar*)VG_ROUNDUP(c, ddpa->eltAlign); in ddpa_align() 298 / VG_ROUNDUP(ddpa->fixedSzb, ddpa->eltAlign); in elt2nr() 321 + (eltNr - 1) * VG_ROUNDUP(ddpa->fixedSzb, ddpa->eltAlign); in VG_() 336 / 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 | 196 #define VG_ROUNDUP(p, a) VG_ROUNDDN((p)+(a)-1, (a)) macro 198 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE)
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-elf.c | 146 return sizeof(ESZ(Nhdr)) + VG_ROUNDUP(VG_(strlen)(n->name)+1, 4) in note_size() 147 + VG_ROUNDUP(n->note.n_descsz, 4); in note_size() 159 VG_ROUNDUP(namelen, 4) + in add_note() 160 VG_ROUNDUP(datasz, 4); in add_note() 173 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 | 481 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack() 488 stringbase = (HChar*)clstack_end - VG_ROUNDUP(stringsize, sizeof(Int)); in setup_client_stack()
|
D | initimg-linux.c | 479 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack() 489 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 1054 Addr ptr = VG_ROUNDUP(start, sizeof(Addr)); in lc_scan_memory() 1076 ptr = VG_ROUNDUP(ptr+1, SM_SIZE); in lc_scan_memory() 1103 tl_assert(bad_scanned_addr >= VG_ROUNDUP(start, sizeof(Addr))); in lc_scan_memory() 1114 ptr = VG_ROUNDUP(ptr+1, SM_SIZE); in lc_scan_memory()
|
D | mc_main.c | 7566 (3*sizeof(Word) + VG_ROUNDUP(sizeof(SecVBitNode), sizeof(void*))); in mc_print_stats()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-mips32-linux.c | 443 advised = VG_ROUNDUP(advised, VKI_SHMLBA); in mips_PRE_sys_mmap()
|
D | syswrap-linux.c | 1896 VG_ROUNDUP( ARG5-1, sizeof(UWord) * 8 ) / 8 ); in PRE() 1906 VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in PRE() 1920 VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in PRE() 1927 POST_MEM_WRITE( ARG2, VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in POST()
|
D | syswrap-generic.c | 1985 arg1 = VG_ROUNDUP(tmp, VKI_SHMLBA); in ML_()
|
D | syswrap-solaris.c | 5739 vg_assert(VG_ROUNDUP(start_addr, max_align) == start_addr); in mmapobj_process_phdrs()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 1985 VG_ROUNDUP((segment)->start, req->start) in VG_() 2007 holeStart = VG_ROUNDUP(holeStart, req->start); in VG_() 2678 advised = VG_ROUNDUP(advised, VKI_SHMLBA); in VG_()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readelf.c | 2480 = 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()
|