Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_interceptors_posix.cpp281 int ret = ftruncate(GetOpenFd(), size); in SetUp()
284 mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, GetOpenFd(), 0); in SetUp()
298 int GetOpenFd() { return fd; } in GetOpenFd() function in RtsanOpenedMmapTest
663 int GetOpenFd() { return fd; } in GetOpenFd() function in RtsanOpenedFileTest
671 auto Func = [this]() { close(GetOpenFd()); }; in TEST_F()
676 auto Func = [this]() { close(GetOpenFd()); }; in TEST_F()
763 ioctl(GetOpenFd(), FIONREAD, &arg); in TEST_F()
770 FILE *f = fdopen(GetOpenFd(), "w"); in TEST_F()
824 auto Func = [this]() { lseek(GetOpenFd(), 0, SEEK_SET); }; in TEST_F()
830 auto Func = [this]() { dup(GetOpenFd()); }; in TEST_F()
[all …]