| /developtools/hdc/hdc_rust/src/cffi/ |
| D | uart_wrapper.cpp | 37 extern "C" int32_t SetSerialExt(int32_t fd, int32_t nSpeed, int32_t nBits, uint8_t nEvent, int32_t … in SetSerialExt() 44 extern "C" SerializedBuffer ReadUartDevExt(int32_t fd, uint32_t expectedSize) in ReadUartDevExt() 60 extern "C" int32_t WriteUartDevExt(int32_t fd, SerializedBuffer buf) in WriteUartDevExt() 66 extern "C" uint8_t CloseSerialPortExt(int32_t fd) in CloseSerialPortExt()
|
| D | bridge.cpp | 78 int HdcBridge::ReadPipeFd(int fd, char* buf, int size) in ReadPipeFd() 84 PersistBuffer HdcBridge::ReadClient(int fd, int size) in ReadClient() 94 int HdcBridge::WriteClient(int fd, SerializedBuffer buf) in WriteClient() 178 extern "C" PersistBuffer ReadClient(void* ptr, int fd, int size) in ReadClient() 187 extern "C" int WriteClient(void* ptr, int fd, SerializedBuffer buf) in WriteClient()
|
| D | usb_wrapper.cpp | 35 int fd = -1; in OpenEpPointEx() local 43 extern "C" int32_t CloseUsbFdEx(int32_t fd) in CloseUsbFdEx()
|
| D | oh_usb.cpp | 87 int OpenEpPoint(int &fd, const std::string path) in OpenEpPoint() 97 int CloseUsbFd(int &fd) in CloseUsbFd()
|
| D | utils.cpp | 97 int fd = fileno(fp); in ProgramMutex() local 136 int fd = open(bufPath, O_RDWR | O_CREAT, 0644); // 0644:-rw-r--r-- in ProgramMutex() local
|
| /developtools/profiler/hiebpf/include/ |
| D | fstrace_types.h | 30 unsigned int fd; member 36 unsigned int fd; member 42 unsigned int fd; member 49 unsigned int fd; member 56 unsigned long fd; member 63 unsigned long fd; member 70 unsigned long fd; member 78 unsigned long fd; member 87 unsigned fd; member
|
| D | fstrace_progs.h | 55 int BPF_KPROBE(ksys_read_entry, unsigned int fd, char __user* buf, size_t count) in BPF_KPROBE() 94 int BPF_KPROBE(ksys_write_entry, unsigned int fd, const char __user* buf, size_t count) in BPF_KPROBE() 133 int BPF_KPROBE(ksys_pread64_entry, unsigned int fd, char __user* buf, size_t count, loff_t pos) in BPF_KPROBE() 173 int BPF_KPROBE(ksys_pwrite64_entry, unsigned int fd, const char __user* buf, size_t count, loff_t p… in BPF_KPROBE() 213 int BPF_KPROBE(do_readv_entry, unsigned long fd, const struct iovec __user* vec, unsigned long vlen… in BPF_KPROBE() 253 int BPF_KPROBE(do_writev_entry, unsigned long fd, const struct iovec __user* vec, unsigned long vle… in BPF_KPROBE() 294 unsigned long fd, const struct iovec __user* vec, in BPF_KPROBE() 341 static __always_inline int pwritev_entry(unsigned long fd, const struct iovec __user* vec, in pwritev_entry() 381 unsigned long fd, const struct iovec __user * vec, in BPF_KPROBE() 396 unsigned long fd, const struct iovec __user * vec, in BPF_KPROBE() [all …]
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | file_utils.cpp | 31 std::string FileUtils::ReadFile(int fd) in ReadFile() 57 int fd = open(realPath, O_RDONLY); in ReadFile() local 99 int fd = open(path.c_str(), flags, mode); in WriteFile() local
|
| /developtools/profiler/device/base/src/ |
| D | event_notifier.cpp | 34 EventNotifierPtr EventNotifier::CreateWithFd(int fd) in CreateWithFd() 52 EventNotifier::EventNotifier(int fd) : fd_(fd), flags_(0) in EventNotifier()
|
| D | epoll_event_poller.cpp | 43 bool EpollEventPoller::AddFileDescriptor(int fd, in AddFileDescriptor() 58 bool EpollEventPoller::RemoveFileDescriptor(int fd) in RemoveFileDescriptor() 215 for (int fd : fileDescriptors_) { in Finalize() local
|
| /developtools/profiler/device/plugins/native_daemon/ |
| D | native_daemon_client.cpp | 31 …uint32_t fd = static_cast<uint32_t>(open(("/data/local/tmp/test_dump_file" + postfix + ".htrace").… in TestDumpFile() local 188 uint32_t fd = TestDumpFile(); in main() local
|
| /developtools/hdc/hdc_rust/src/transfer/ |
| D | uart.rs | 58 let fd = unsafe { in uart_init() localVariable 62 let fd = OpenSerialPortExt(name.as_ptr()); in uart_init() localVariable 92 pub fd: i32, field 97 pub fd: i32, field
|
| /developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
| D | native_memory_profiler_sa_service.cpp | 134 int32_t NativeMemoryProfilerSaService::DumpData(uint32_t fd, std::shared_ptr<NativeMemoryProfilerSa… in DumpData() 226 … uint32_t fd, std::shared_ptr<HookManager>& hook, in StartHookLock() 318 …oryProfilerSaService::StartHook(std::shared_ptr<NativeMemoryProfilerSaConfig>& config, uint32_t fd) in StartHook() 352 uint32_t fd, MessageParcel &reply) in StartHook() 378 …yProfilerSaService::CheckConfig(std::shared_ptr<NativeMemoryProfilerSaConfig>& config, uint32_t fd) in CheckConfig()
|
| D | native_memory_profiler_sa_client_manager.cpp | 92 int32_t NativeMemoryProfilerSaClientManager::DumpData(uint32_t fd, in DumpData() 129 int32_t NativeMemoryProfilerSaClientManager::GetMallocStats(int fd, int pid, int type, bool printNm… in GetMallocStats() 204 int32_t NativeMemoryProfilerSaClientManager::Start(int fd, pid_t pid, SimplifiedMemConfig& config) in Start()
|
| /developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
| D | file_utils_test.cpp | 55 int fd = open(path_.c_str(), O_RDONLY); variable 70 int fd = -1; variable
|
| /developtools/profiler/hiebpf/src/ |
| D | bpf_controller.cpp | 249 static int InitTracerPid(const int fd, bool excludeTracer) in InitTracerPid() 265 static inline int InitBPFLogLevel(const int fd, const __u32 level) in InitBPFLogLevel() 277 static inline int InitUnwindFlag(const int fd, bool unwind) in InitUnwindFlag() 291 int fd = bpf_map__fd(skel_->maps.config_var_map); in InitBPFVariables() local 308 int fd = bpf_map__fd(skel_->maps.target_pid_map); in FillTargetPidMap() local
|
| D | ringbuffer.cpp | 70 ssize_t RingBuffer::Read(const int fd, const std::size_t len) in Read() 115 ssize_t RingBuffer::Write(const int fd, std::size_t len) in Write()
|
| /developtools/smartperf_host/trace_streamer/src/trace_data/ |
| D | trace_data_cache.cpp | 446 bool TraceDataCache::ExportHookDataReadableText(int32_t fd, std::string &bufferLine) in ExportHookDataReadableText() 470 bool TraceDataCache::ExportHookStatisticReadableText(int32_t fd, std::string &bufferLine) in ExportHookStatisticReadableText() 552 bool TraceDataCache::ExportEbpfFileSystemReadableText(int32_t fd, in ExportEbpfFileSystemReadableText() 582 bool TraceDataCache::ExportEbpfPagedMemReadableText(int32_t fd, in ExportEbpfPagedMemReadableText() 612 bool TraceDataCache::ExportEbpfBIOReadableText(int32_t fd, in ExportEbpfBIOReadableText()
|
| /developtools/profiler/device/plugins/api/test/unittest/ |
| D | plugin_watcher_test.cpp | 83 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in CreateFile() local 93 int fd = creat((dirPath + it).c_str(), DEAFULT_FILE_MODE); in AddFile() local
|
| D | buffer_write_test.cpp | 38 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/profiler/host/smartperf/client/client_command/ |
| D | Capture.cpp | 86 auto fd = open(savePath.c_str(), O_RDWR | O_CREAT, 0666); in ThreadGetCatch() local 116 auto fd = open(savePath.c_str(), O_RDWR | O_CREAT, 0644); in ThreadGetCatchSocket() local
|
| /developtools/smartperf_host/trace_streamer/src/base/ |
| D | file.cpp | 48 ssize_t Read(int32_t fd, uint8_t *dst, size_t dstSize) in Read() 64 int32_t fd(_open(path.c_str(), flags | O_BINARY, mode)); in OpenFile() local 66 int32_t fd(open(path.c_str(), flags | O_CLOEXEC, mode)); in OpenFile() local
|
| /developtools/hdc/src/common/ |
| D | tcp.cpp | 111 int fd = (uv_os_sock_t)uvfd; in WriteUvTcpFd() local 113 int fd = reinterpret_cast<int>(uvfd); in WriteUvTcpFd() local
|
| /developtools/hapsigner/hapsigntool_cpp/common/include/ |
| D | random_access_file.h | 58 int32_t fd = 0; variable
|
| /developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/ |
| D | file_system_data_parser.cpp | 142 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent() local 157 int32_t fd = INVALID_INT32; in GetFileDescriptor() local
|