Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc488 error_t *error_p) { in ReadFromFile() argument
496 if (!success && error_p) in ReadFromFile()
497 *error_p = GetLastError(); in ReadFromFile()
509 error_t *error_p) { in WriteToFile() argument
514 error_p = error_p ? error_p : &dummy_error; in WriteToFile()
519 *error_p = 0; in WriteToFile()
527 *error_p = ERROR_INVALID_HANDLE; in WriteToFile()
534 *error_p = GetLastError(); in WriteToFile()
542 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { in RenameFile() argument
Dsanitizer_posix.cc192 error_t *error_p) { in ReadFromFile() argument
194 if (internal_iserror(res, error_p)) in ReadFromFile()
202 error_t *error_p) { in WriteToFile() argument
204 if (internal_iserror(res, error_p)) in WriteToFile()
211 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { in RenameFile() argument
213 return !internal_iserror(res, error_p); in RenameFile()
Dsanitizer_common.h228 uptr *bytes_read = nullptr, error_t *error_p = nullptr);
230 uptr *bytes_written = nullptr, error_t *error_p = nullptr);
233 error_t *error_p = nullptr);