Home
last modified time | relevance | path

Searched refs:OpenFile (Results 1 – 25 of 218) sorted by relevance

123456789

/external/perfetto/src/profiling/memory/
Dunwinding_unittest.cc37 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
51 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
67 base::ScopedFile proc_maps(base::OpenFile("/proc/self/maps", O_RDONLY)); in TEST()
144 base::ScopedFile proc_maps(base::OpenFile("/proc/self/maps", O_RDONLY)); in TEST()
145 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
164 base::ScopedFile proc_maps(base::OpenFile("/proc/self/maps", O_RDONLY)); in TEST()
165 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
Dunwinding_fuzzer.cc49 UnwindingMetadata metadata(base::OpenFile("/proc/self/maps", O_RDONLY), in FuzzUnwinding()
50 base::OpenFile("/proc/self/mem", O_RDONLY)); in FuzzUnwinding()
/external/perfetto/src/kallsyms/
Dlazy_kernel_symbolizer.cc60 base::ScopedFile fd_for_lock = base::OpenFile(kKallsymsPath, O_RDONLY); in ParseInheritedAndroidKallsyms()
133 base::ScopedFile fd = base::OpenFile(kPtrRestrictPath, O_WRONLY); in WriteKptrRestrict()
161 auto fd = base::OpenFile(kKallsymsPath, O_RDONLY); in GetOrCreateKernelSymbolMap()
176 base::ScopedFile fd = base::OpenFile(path, O_RDONLY); in CanReadKernelSymbolAddresses()
Dkernel_symbol_map_benchmark.cc104 auto fd = perfetto::base::OpenFile( in BM_KallSymsFind()
142 auto fd = perfetto::base::OpenFile(kallsyms_path, O_RDONLY); in BM_KallSymsLoad()
/external/sandboxed-api/contrib/libraw/test/
Dlibraw_test.cc76 SAPI_ASSERT_OK(lr.OpenFile()); in TEST_P()
88 SAPI_ASSERT_OK(lr.OpenFile()); in TEST_P()
101 SAPI_ASSERT_OK(lr.OpenFile()); in TEST_P()
135 SAPI_ASSERT_OK(lr.OpenFile()); in TEST_P()
155 SAPI_ASSERT_OK(lr.OpenFile()); in TEST_P()
/external/webrtc/rtc_tools/unpack_aecdump/
Dunpack.cc167 FILE* OpenFile(const std::string& filename, const char* mode) { in OpenFile() function
220 file_ = OpenFile(file_name.str(), "wb"); in WriteEvent()
319 FILE* debug_file = OpenFile(args[1], "rb"); in do_main()
340 ? OpenFile(callorder_raw_name.str(), "wb") in do_main()
342 FILE* settings_file = OpenFile(absl::GetFlag(FLAGS_settings_file), "wb"); in do_main()
449 OpenFile(absl::GetFlag(FLAGS_delay_file), "wb"); in do_main()
461 OpenFile(absl::GetFlag(FLAGS_drift_file), "wb"); in do_main()
473 OpenFile(absl::GetFlag(FLAGS_level_file), "wb"); in do_main()
485 OpenFile(absl::GetFlag(FLAGS_keypress_file), "wb"); in do_main()
594 callorder_char_file = OpenFile(callorder_name.str(), "wb"); in do_main()
/external/cronet/stable/build/rust/tests/windows_sys_test/
Dmain.rs6 use windows_sys::Win32::Storage::FileSystem::{OpenFile, OFSTRUCT};
19 unsafe { OpenFile(filename.as_bytes().as_ptr(), &mut out as *mut OFSTRUCT, ustyle) }; in main()
/external/cronet/tot/build/rust/tests/windows_sys_test/
Dmain.rs6 use windows_sys::Win32::Storage::FileSystem::{OpenFile, OFSTRUCT};
19 unsafe { OpenFile(filename.as_bytes().as_ptr(), &mut out as *mut OFSTRUCT, ustyle) }; in main()
/external/angle/build/rust/tests/windows_sys_test/
Dmain.rs6 use windows_sys::Win32::Storage::FileSystem::{OpenFile, OFSTRUCT};
19 unsafe { OpenFile(filename.as_bytes().as_ptr(), &mut out as *mut OFSTRUCT, ustyle) }; in main()
/external/cronet/tot/net/ssl/
Dssl_key_logger_impl.cc58 void OpenFile(const base::FilePath& path) { in OpenFile() function in net::SSLKeyLoggerImpl::Core
86 file_.reset(base::OpenFile(path, "a")); in OpenFileImpl()
124 core_->OpenFile(path); in SSLKeyLoggerImpl()
/external/cronet/stable/net/ssl/
Dssl_key_logger_impl.cc58 void OpenFile(const base::FilePath& path) { in OpenFile() function in net::SSLKeyLoggerImpl::Core
86 file_.reset(base::OpenFile(path, "a")); in OpenFileImpl()
124 core_->OpenFile(path); in SSLKeyLoggerImpl()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DDataStream.cpp65 std::error_code OpenFile(const std::string &Filename) { in OpenFile() function in __anon976409280111::DataFileStreamer
81 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer()
/external/llvm/lib/Support/
DDataStream.cpp64 std::error_code OpenFile(const std::string &Filename) { in OpenFile() function in __anona450e09a0111::DataFileStreamer
80 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer()
/external/lzma/CPP/7zip/Archive/7z/
D7zExtract.cpp39 HRESULT OpenFile(bool isCorrupted = false);
75 HRESULT CFolderOutStream::OpenFile(bool isCorrupted)
137 RINOK(OpenFile())
193 RINOK(OpenFile())
209 RINOK(OpenFile(true))
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/
Drand_util_posix.cc44 int OpenFile(const char* pathname, int flags) { in OpenFile() function
55 : fd_(partition_alloc::WrapEINTR(OpenFile)("/dev/urandom", kOpenFlags)) { in URandomFd()
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/
Drand_util_posix.cc44 int OpenFile(const char* pathname, int flags) { in OpenFile() function
55 : fd_(partition_alloc::WrapEINTR(OpenFile)("/dev/urandom", kOpenFlags)) { in URandomFd()
/external/perfetto/src/perfetto_cmd/
Dperfetto_cmd_android.cc91 base::ScopedFile fd(base::OpenFile(self_fd.c_str(), O_RDONLY | O_CLOEXEC)); in ReportTraceToAndroidFrameworkOrCrash()
136 base::ScopedFile staging_fd = base::OpenFile(kTempIncidentTracePath.c_str(), in SaveOutputToIncidentTraceOrCrash()
183 auto fd = base::OpenFile(kStateDir, O_TMPFILE | O_RDWR, 0600); in CreateUnlinkedTmpFile()
/external/perfetto/src/profiling/common/
Dprofiler_guardrails.cc32 base::OpenFile("/proc/self/stat", O_RDONLY)); in GetCputimeSecForCurrentProcess()
49 : ProfilerMemoryGuardrails(base::OpenFile("/proc/self/status", O_RDONLY)) {} in ProfilerMemoryGuardrails()
/external/libchrome-gestures/src/
Dfile_util.cc17 FILE* OpenFile(const char* filename, const char* mode) { in OpenFile() function
36 FILE* file = OpenFile(path, "rb"); in ReadFileToString()
/external/webrtc/modules/audio_coding/neteq/tools/
Drtp_file_source.cc32 RTC_CHECK(source->OpenFile(file_name)); in Create()
86 bool RtpFileSource::OpenFile(absl::string_view file_name) { in OpenFile() function in webrtc::test::RtpFileSource
/external/tflite-support/tensorflow_lite_support/metadata/cc/utils/
Dzip_readonly_mem_file.cc29 zlib_filefunc64_def_.zopen64_file = OpenFile; in ZipReadOnlyMemFile()
44 voidpf ZipReadOnlyMemFile::OpenFile(voidpf opaque, const void* filename, in OpenFile() function in tflite::metadata::ZipReadOnlyMemFile
/external/crosvm/devices/src/virtio/snd/
Dfile_backend.rs31 OpenFile(base::Error), enumerator
50 .map_err(Error::OpenFile)?; in open_playback_file()
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/
Dproc_maps_linux.cc35 int OpenFile(const char* pathname, int flags) { in OpenFile() function
61 int fd = WrapEINTR(OpenFile)("/proc/self/maps", O_RDONLY); in ReadProcMaps()
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/
Dproc_maps_linux.cc35 int OpenFile(const char* pathname, int flags) { in OpenFile() function
61 int fd = WrapEINTR(OpenFile)("/proc/self/maps", O_RDONLY); in ReadProcMaps()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc95 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST()
106 fd = OpenFile(tmpfile, RdOnly); in TEST()
218 fd_t fd = OpenFile(tmpfile, RdWr); in TEST()

123456789