Home
last modified time | relevance | path

Searched defs:fp (Results 1 – 25 of 35) sorted by relevance

12

/developtools/hiperf/test/unittest/common/native/
Dperf_file_reader_test.cpp48 FILE *fp = stdout; variable
61 FILE *fp = nullptr; variable
74 FILE *fp = stdout; variable
83 FILE *fp = nullptr; variable
92 FILE *fp = stdout; variable
109 FILE *fp = stdout; variable
130 FILE* fp = fopen(fileName.c_str(), "r"); variable
144 FILE* fp = fopen(fileName.c_str(), "r"); variable
Dvirtual_thread_test.cpp362 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(TEST_FILE_ELF_FULL_PATH.c_str(), "rb"), variable
Dcpu_usage_test.cpp58 FILE *fp = nullptr; in GetPidByProcessName() local
/developtools/profiler/device/plugins/hidump_plugin/test/unittest/
Dhidump_plugin_unittest.cpp200 FILE *fp = nullptr; variable
216 std::unique_ptr<FILE, int (*)(FILE*)> fp(popen(cmd.c_str(), "r"), pclose); in RecordFileExist() local
242 FILE *fp = nullptr; variable
265 FILE *fp = nullptr; variable
279 FILE *fp = nullptr; variable
295 FILE *fp = nullptr; variable
/developtools/hdc/src/common/
Ddebug.cpp28 FILE *fp = fopen(resolvedPath.c_str(), "a+"); in WriteHexToDebugFile() local
54 FILE *fp = fopen(pathName, "r"); in ReadHexFromDebugFile() local
/developtools/hiperf/test/fuzztest/perffile_fuzzer/
DPerfFile_fuzzer.cpp23 explicit PerfFileReaderFuzzer(const std::string &fileName, FILE *fp) in PerfFileReaderFuzzer()
39 FILE *fp = fopen(resolvedPath.c_str(), "rb"); in Instance() local
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_cache.cpp331 …std::unique_ptr<int32_t, std::function<void(int32_t *)>> fp(&perfFd, [](int32_t *fp) { close(*fp);… in ExportPerfReadableText() local
421 …std::unique_ptr<int32_t, std::function<void(int32_t *)>> fp(&hookFd, [](int32_t *fp) { close(*fp);… in ExportHookReadableText() argument
519 …std::unique_ptr<int32_t, std::function<void(int32_t *)>> fp(&ebpfFd, [](int32_t *fp) { close(*fp);… in ExportEbpfReadableText() local
/developtools/syscap_codec/src/
Dcontext_tool.c43 FILE *fp = NULL; in GetFileContext() local
111 FILE *fp = NULL; in ConvertedContextSaveAsFile() local
/developtools/hdc/hdc_rust/src/cffi/
Dmount.cpp35 FILE *fp = fopen("/proc/mounts", "r"); in FindMountDeviceByPath() local
Dutils.cpp77 FILE *fp = fopen(bufPath, "a+"); in ProgramMutex() local
/developtools/profiler/device/plugins/native_hook/src/
Druntime_stack_range.cpp106 static void GetAnUnlimitedLine(FILE* fp, std::string& buf) in GetAnUnlimitedLine()
170 FILE* fp = fopen("/proc/self/maps", "re"); in GetMainThreadRuntimeStackRange() local
/developtools/hiperf/src/
Dperf_file_reader.cpp39 FILE *fp = fopen(resolvedPath.c_str(), "rb"); in Instance() local
78 PerfFileReader::PerfFileReader(const std::string &fileName, FILE *fp) : fp_(fp), fileName_(fileName) in PerfFileReader()
/developtools/profiler/host/smartperf/client/client_command/
DNetwork.cpp78 FILE *fp = fopen("/proc/net/dev", "r"); in GetNetworkInfoDev() local
DCapture.cpp177 FILE *fp = fopen(realPath, "wb"); in TakeScreenCap() local
DFPS.cpp239 FILE *fp = fdopen(fd, "r"); in ReadDataFromPipe() local
/developtools/profiler/device/base/src/
Dcommon.cpp138 FILE* fp = fopen(filePath, "r"); in IsProcessExist() local
252 inline int CustomFdFclose(FILE** fp) in CustomFdFclose()
333 int CustomPclose(FILE* fp, int fds[], volatile pid_t& childPid, bool needUnblock) in CustomPclose()
/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_plugin.cpp82 FILE* fp = COMMON::CustomPopen(cmdArg, "r", pipeFds, childPid); in Start() local
89 COMMON::CustomPopen(fullCmd_, "r", pipeFds_, childPid_, true), [this](FILE* fp) -> int { in Start()
/developtools/profiler/device/plugins/hiperf_plugin/test/unittest/
Dhiperf_plugin_unittest.cpp164 std::unique_ptr<FILE, int (*)(FILE*)> fp(fopen(fileName.c_str(), "rb"), fclose); in CheckRecordFile() local
/developtools/profiler/device/plugins/hisysevent_plugin/src/
Dhisysevent_plugin.cpp67 COMMON::CustomPopen(fullCmd_, "r", pipeFds_, childPid_, true), [this](FILE* fp) -> int { in Start()
/developtools/profiler/device/plugins/native_hook/test/
Dperf_test_data.cpp103 void FileClose(FILE* fp) in FileClose()
/developtools/global_resource_tool/src/
Dresource_check.cpp139 void ResourceCheck::CloseFile(FILE *fp) in CloseFile()
/developtools/profiler/device/plugins/hiperf_plugin/src/
Dhiperf_module.cpp95 FILE* fp = COMMON::CustomPopen(cmdArg, "r", pipeFds, childPid); in RunCommand() local
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp245 int HidumpPlugin::CustomPclose(FILE* fp) in CustomPclose()
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp321 FILE *fp = fopen(dataFile.c_str(), "rb"); in CompressFile() local
361 FILE *fp = fopen(dataFile.c_str(), "wb"); in UncompressFile() local
/developtools/hdc/src/daemon/
Ddaemon_unity.cpp102 FILE *fp = fopen("/proc/mounts", "r"); in FindMountDeviceByPath() local

12