Home
last modified time | relevance | path

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

/external/valgrind/main/memcheck/tests/
Dunit_libcbase.c171 CHECK( 0 == VG_ROUNDDN(0, 1) ); in test_VG_ROUND_et_al()
172 CHECK( 1 == VG_ROUNDDN(1, 1) ); in test_VG_ROUND_et_al()
173 CHECK( 2 == VG_ROUNDDN(2, 1) ); in test_VG_ROUND_et_al()
174 CHECK( 3 == VG_ROUNDDN(3, 1) ); in test_VG_ROUND_et_al()
175 CHECK( 4 == VG_ROUNDDN(4, 1) ); in test_VG_ROUND_et_al()
176 CHECK( 5 == VG_ROUNDDN(5, 1) ); in test_VG_ROUND_et_al()
177 CHECK( 6 == VG_ROUNDDN(6, 1) ); in test_VG_ROUND_et_al()
178 CHECK( 7 == VG_ROUNDDN(7, 1) ); in test_VG_ROUND_et_al()
189 CHECK( 0 == VG_ROUNDDN(0, 2) ); in test_VG_ROUND_et_al()
190 CHECK( 0 == VG_ROUNDDN(1, 2) ); in test_VG_ROUND_et_al()
[all …]
/external/valgrind/main/include/
Dpub_tool_libcbase.h170 #define VG_ROUNDDN(p, a) ((Addr)(p) & ~((Addr)(a)-1)) macro
171 #define VG_ROUNDUP(p, a) VG_ROUNDDN((p)+(a)-1, (a))
172 #define VG_PGROUNDDN(p) VG_ROUNDDN(p, VKI_PAGE_SIZE)
/external/valgrind/main/coregrind/m_sigframe/
Dsigframe-x86-linux.c478 esp = VG_ROUNDDN(esp, 16); in build_sigframe()
535 esp = VG_ROUNDDN(esp, 16); in build_rt_sigframe()
Dsigframe-arm-linux.c224 sp = VG_ROUNDDN(sp, 16); in VG_()
Dsigframe-amd64-linux.c455 rsp = VG_ROUNDDN(rsp, 16); in build_rt_sigframe()
/external/valgrind/main/coregrind/m_initimg/
Dinitimg-darwin.c402 client_SP = VG_ROUNDDN(client_SP, 32); /* make stack 32 byte aligned */ in setup_client_stack()
Dinitimg-linux.c483 client_SP = VG_ROUNDDN(client_SP, 16); /* make stack 16 byte aligned */ in setup_client_stack()
/external/valgrind/main/memcheck/
Dmc_leakcheck.c717 Addr end = VG_ROUNDDN(start+len, sizeof(Addr)); in lc_scan_memory()
Dmc_main.c998 Addr aAligned = VG_ROUNDDN(a, BYTES_PER_SEC_VBIT_NODE); in get_sec_vbits8()
1012 Addr aAligned = VG_ROUNDDN(a, BYTES_PER_SEC_VBIT_NODE); in set_sec_vbits8()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-arm-linux.c914 ARG2 = VG_ROUNDDN(ARG2, VKI_SHMLBA); in PRE()