Home
last modified time | relevance | path

Searched refs:VG_ROUNDUP (Results 1 – 19 of 19) sorted by relevance

/external/valgrind/memcheck/tests/
Dunit_libcbase.c202 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 …]
Ddescr_belowsp.c22 #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/
Dm_deduppoolalloc.c134 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_()
Dm_oset.c331 + VG_ROUNDUP(maxEltSize, sizeof(void*)), in VG_()
/external/valgrind/include/
Dpub_tool_libcbase.h196 #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/
Dcoredump-elf.c146 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()
Dcoredump-solaris.c788 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/
Dinitimg-darwin.c386 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack()
396 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
Dinitimg-solaris.c481 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()
Dinitimg-linux.c479 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack()
489 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
/external/valgrind/memcheck/
Dmc_leakcheck.c1054 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()
Dmc_main.c7566 (3*sizeof(Word) + VG_ROUNDUP(sizeof(SecVBitNode), sizeof(void*))); in mc_print_stats()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-mips32-linux.c443 advised = VG_ROUNDUP(advised, VKI_SHMLBA); in mips_PRE_sys_mmap()
Dsyswrap-linux.c1896 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()
Dsyswrap-generic.c1985 arg1 = VG_ROUNDUP(tmp, VKI_SHMLBA); in ML_()
Dsyswrap-solaris.c5739 vg_assert(VG_ROUNDUP(start_addr, max_align) == start_addr); in mmapobj_process_phdrs()
/external/valgrind/coregrind/m_aspacemgr/
Daspacemgr-linux.c1985 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/
Dreadelf.c2480 = VG_ROUNDUP(ML_(img_strlen)(debuglink_escn.img, in ML_()
/external/valgrind/helgrind/
Dlibhb_core.c675 n = VG_ROUNDUP(n, 16); in shmem__bigchunk_alloc()