Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc78 uptr openrv = OpenFile(temp_filename, true); in TEST() local
79 EXPECT_FALSE(internal_iserror(openrv)); in TEST()
80 fd_t fd = openrv; in TEST()
85 openrv = OpenFile(temp_filename, false); in TEST()
86 EXPECT_FALSE(internal_iserror(openrv)); in TEST()
87 fd = openrv; in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc72 uptr openrv = OpenFile(report_path_full.data(), true); in MaybeOpenReportFile() local
73 if (internal_iserror(openrv)) { in MaybeOpenReportFile()
83 report_fd = openrv; in MaybeOpenReportFile()
106 uptr openrv = OpenFile(file_name, /*write*/ false); in ReadFileToBuffer() local
107 if (internal_iserror(openrv)) return 0; in ReadFileToBuffer()
108 fd_t fd = openrv; in ReadFileToBuffer()
Dsanitizer_posix.cc123 uptr openrv = OpenFile(file_name, false); in MapFileToMemory() local
124 CHECK(!internal_iserror(openrv)); in MapFileToMemory()
125 fd_t fd = openrv; in MapFileToMemory()
Dsanitizer_linux.cc565 uptr openrv = internal_open(task_directory_path, O_RDONLY | O_DIRECTORY); in ThreadLister() local
566 if (internal_iserror(openrv)) { in ThreadLister()
571 descriptor_ = openrv; in ThreadLister()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_suppressions.cc43 uptr openrv = OpenFile(tmp.data(), false); in ReadFile() local
44 if (internal_iserror(openrv)) { in ReadFile()
49 fd_t fd = openrv; in ReadFile()
Dtsan_platform_linux.cc181 uptr openrv = internal_open(filename, O_RDWR | O_CREAT | O_EXCL, 0600); in MapRodata() local
182 if (internal_iserror(openrv)) in MapRodata()
184 fd_t fd = openrv; in MapRodata()
Dtsan_rtl.cc123 uptr openrv = OpenFile(filename.data(), true); in BackgroundThread() local
124 if (internal_iserror(openrv)) { in BackgroundThread()
128 mprof_fd = openrv; in BackgroundThread()