Searched refs:ScopedFILE (Results 1 – 12 of 12) sorted by relevance
/external/libchrome/mojo/core/test/ |
D | test_utils.cc | 17 PlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp) { in PlatformHandleFromFILE() 24 base::ScopedFILE FILEFromPlatformHandle(PlatformHandle h, const char* mode) { in FILEFromPlatformHandle() 26 base::ScopedFILE rv(fdopen(h.ReleaseFD(), mode)); in FILEFromPlatformHandle()
|
D | test_utils_win.cc | 17 PlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp) { in PlatformHandleFromFILE() 29 base::ScopedFILE FILEFromPlatformHandle(PlatformHandle h, const char* mode) { in FILEFromPlatformHandle() 40 base::ScopedFILE rv(_fdopen( in FILEFromPlatformHandle()
|
D | test_utils.h | 21 PlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp); 24 base::ScopedFILE FILEFromPlatformHandle(PlatformHandle h, const char* mode);
|
/external/boringssl/src/ssl/test/ |
D | settings_writer.cc | 78 using ScopedFILE = std::unique_ptr<FILE, decltype(&fclose)>; in Commit() typedef 79 ScopedFILE file(fopen(path_.c_str(), "w"), fclose); in Commit()
|
/external/libchrome/mojo/core/ |
D | platform_handle_dispatcher_unittest.cc | 30 base::ScopedFILE fp( in TEST() 72 base::ScopedFILE fp( in TEST()
|
D | multiprocess_message_pipe_unittest.cc | 427 base::ScopedFILE fp = test::FILEFromPlatformHandle(std::move(h), "r"); in DEFINE_TEST_CLIENT_WITH_PIPE() 453 base::ScopedFILE fp( in TEST_P()
|
/external/libchrome/base/files/ |
D | scoped_file.h | 58 typedef std::unique_ptr<FILE, internal::ScopedFILECloser> ScopedFILE; typedef
|
/external/boringssl/src/tool/ |
D | generate_ed25519.cc | 39 ScopedFILE file(fopen(path.c_str(), "wb")); in WriteToFile()
|
D | internal.h | 53 using ScopedFILE = std::unique_ptr<FILE, FileCloser>; variable
|
D | server.cc | 93 ScopedFILE f(fopen(filename, "rb")); in LoadOCSPResponse()
|
D | client.cc | 301 ScopedFILE f(fopen(filename, "rb")); in DoConnection()
|
/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 615 ScopedFILE file(fopen("/proc/self/statm", "r")); in TEST()
|