Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 64) sorted by relevance

123

/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dfile.cpp43 ssize_t Read(int fd, uint8_t* dst, size_t dstSize) in Read()
59 int fd(_open(path.c_str(), flags | O_BINARY, mode)); in OpenFile() local
61 int fd(open(path.c_str(), flags | O_CLOEXEC, mode)); in OpenFile() local
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dfile_utils.cpp31 std::string FileUtils::ReadFile(int fd) in ReadFile()
56 int fd = open(realPath, O_RDONLY); in ReadFile() local
103 int fd = open(path.c_str(), flags, mode); in WriteFile() local
/developtools/profiler/device/base/src/
Devent_notifier.cpp34 EventNotifierPtr EventNotifier::CreateWithFd(int fd) in CreateWithFd()
52 EventNotifier::EventNotifier(int fd) : fd_(fd), flags_(0) in EventNotifier()
Depoll_event_poller.cpp43 bool EpollEventPoller::AddFileDescriptor(int fd, in AddFileDescriptor()
58 bool EpollEventPoller::RemoveFileDescriptor(int fd) in RemoveFileDescriptor()
215 for (int fd : fileDescriptors_) { in Finalize() local
Dcommon.cpp66 … int fd = open(fileName.c_str(), O_WRONLY | O_CREAT, static_cast<mode_t>(0664)); // 0664: rw-rw-r-- in IsProcessRunning() local
204 int fd[PIPE_LEN]; in CustomPopen() local
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dfile_utils_test.cpp56 int fd = open(path_.c_str(), O_RDONLY); variable
71 int fd = -1; variable
Dsub_event_parser_test.cpp137 int fd = open(traceRaw.c_str(), O_EXCL); variable
Dftrace_parser_test.cpp164 int fd = open(traceRaw.c_str(), O_EXCL); variable
/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/
Dfile_system_data_parser.cpp104 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent() local
134 int32_t fd = INVALID_INT32; in GetFileDescriptor() local
/developtools/profiler/device/plugins/api/test/unittest/
Dplugin_watcher_test.cpp84 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in CreateFile() local
94 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in AddFile() local
Dbuffer_write_test.cpp38 int fd = syscall(SYS_memfd_create, SMB1_NAME.c_str(), 0); in InitShareMemory1() local
75 int fd = syscall(SYS_memfd_create, SMB2_NAME.c_str(), 0); in InitShareMemory2() local
/developtools/hdc/src/common/
Dasync_cmd.h49 int fd = 0; variable
/developtools/profiler/device/services/shared_memory/test/unittest/
Dshared_memory_allocator_test.cpp105 int fd = syscall(SYS_memfd_create, "testnameremote", 0); variable
/developtools/profiler/host/smartperf/ide/src/trace/
DSpApplication.ts484 const fd = new FormData() constant
980 const fd = new FormData() constant
/developtools/profiler/device/services/shared_memory/src/
Dshare_memory_block.cpp61 bool ShareMemoryBlock::CreateBlockWithFd(std::string name, uint32_t size, int fd) in CreateBlockWithFd()
89 int fd = OHOS::AshmemCreate(name.c_str(), size); in CreateBlock() local
144 ShareMemoryBlock::ShareMemoryBlock(const std::string& name, uint32_t size, int fd) : ShareMemoryBlo… in ShareMemoryBlock()
Dshare_memory_allocator.cpp74 …moryBlockPtr ShareMemoryAllocator::CreateMemoryBlockRemote(std::string name, uint32_t size, int fd) in CreateMemoryBlockRemote()
/developtools/hdc/src/daemon/
Ddaemon_unity.cpp93 int fd; in FindMountDeviceByPath() local
128 int fd; in RemountPartition() local
Dmain.cpp110 int fd = i; in BackgroundRun() local
/developtools/profiler/host/smartperf/trace_streamer/src/
Dmain.cpp92 bool ReadAndParser(SysTuning::TraceStreamer::TraceStreamerSelector& ta, int fd) in ReadAndParser()
125 int fd(OpenFile(traceFilePath, O_RDONLY, G_FILE_PERMISSION)); in OpenAndParserFile() local
/developtools/profiler/device/base/include/
Depoll_event_poller.h53 int fd = INVALID_FD; member
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/
Debpf_file_system_test.cpp123 auto fd = stream_.traceDataCache_->GetConstFileSystemSample().Fds()[0]; variable
205 auto fd = stream_.traceDataCache_->GetConstFileSystemSample().Fds()[0]; variable
286 auto fd = stream_.traceDataCache_->GetConstFileSystemSample().Fds()[0]; variable
368 auto fd = stream_.traceDataCache_->GetConstFileSystemSample().Fds()[0]; variable
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_data_plugin.cpp105 int fd = -1; in ReadFile() local
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp451 int32_t MemoryDataPlugin::ReadFile(int fd) in ReadFile()
475 int fd = open(realPath, O_RDONLY); in ReadFile() local
519 int fd = open(realPath, O_RDONLY | O_CLOEXEC); in OpenProcPidFiles() local
566 int fd = -1; in ReadProcPidFile() local
/developtools/profiler/device/plugins/hisysevent_plugin/src/
Dhisysevent_plugin.cpp219 int fd[PIPE_LEN]; in CustomPopen() local
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dstack_writer_test.cpp37 int fd = syscall(SYS_memfd_create, SMB_NAME.c_str(), 0); in InitShareMemory() local

123