Home
last modified time | relevance | path

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

/external/valgrind/main/memcheck/tests/
Dunit_libcbase.c180 CHECK( 0 == VG_ROUNDUP(0, 1) ); in test_VG_ROUND_et_al()
181 CHECK( 1 == VG_ROUNDUP(1, 1) ); in test_VG_ROUND_et_al()
182 CHECK( 2 == VG_ROUNDUP(2, 1) ); in test_VG_ROUND_et_al()
183 CHECK( 3 == VG_ROUNDUP(3, 1) ); in test_VG_ROUND_et_al()
184 CHECK( 4 == VG_ROUNDUP(4, 1) ); in test_VG_ROUND_et_al()
185 CHECK( 5 == VG_ROUNDUP(5, 1) ); in test_VG_ROUND_et_al()
186 CHECK( 6 == VG_ROUNDUP(6, 1) ); in test_VG_ROUND_et_al()
187 CHECK( 7 == VG_ROUNDUP(7, 1) ); in test_VG_ROUND_et_al()
198 CHECK( 0 == VG_ROUNDUP(0, 2) ); in test_VG_ROUND_et_al()
199 CHECK( 2 == VG_ROUNDUP(1, 2) ); in test_VG_ROUND_et_al()
[all …]
/external/valgrind/main/include/
Dpub_tool_libcbase.h171 #define VG_ROUNDUP(p, a) VG_ROUNDDN((p)+(a)-1, (a)) macro
173 #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE)
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c147 return sizeof(ESZ(Nhdr)) + VG_ROUNDUP(VG_(strlen)(n->name)+1, 4) in note_size()
148 + VG_ROUNDUP(n->note.n_descsz, 4); in note_size()
157 VG_ROUNDUP(namelen, 4) + in add_note()
158 VG_ROUNDUP(datasz, 4); in add_note()
171 VG_(memcpy)(n->name+VG_ROUNDUP(namelen,4), data, datasz); in add_note()
/external/valgrind/main/coregrind/m_initimg/
Dinitimg-darwin.c396 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack()
406 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
Dinitimg-linux.c477 VG_ROUNDUP(stringsize, sizeof(Word)); /* strings (aligned) */ in setup_client_stack()
487 - VG_ROUNDUP(stringsize, sizeof(int)); in setup_client_stack()
/external/valgrind/main/memcheck/
Dmc_leakcheck.c564 if (ptr != VG_ROUNDUP(ptr, sizeof(Addr))) in vv_lc_is_start_pointer()
724 Addr ptr = VG_ROUNDUP(start, sizeof(Addr)); in lc_scan_memory()
744 ptr = VG_ROUNDUP(ptr+1, SM_SIZE); in lc_scan_memory()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c1653 VG_ROUNDUP( ARG5-1, sizeof(UWord) * 8 ) / 8 ); in PRE()
1663 VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in PRE()
1677 VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in PRE()
1684 POST_MEM_WRITE( ARG2, VG_ROUNDUP( ARG3-1, sizeof(UWord) * 8 ) / 8 ); in POST()
Dsyswrap-generic.c1769 arg1 = VG_ROUNDUP(tmp, VKI_SHMLBA); in ML_()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadelf.c2233 UInt crc_offset = VG_ROUNDUP(VG_(strlen)(debuglink_img)+1, 4); in ML_()
/external/valgrind/main/helgrind/
Dlibhb_core.c637 n = VG_ROUNDUP(n, 16); in shmem__bigchunk_alloc()