Home
last modified time | relevance | path

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

12345

/developtools/hdc/hdc_rust/src/cffi/
Duart_wrapper.cpp37 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()
Dbridge.cpp78 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()
Dusb_wrapper.cpp35 int fd = -1; in OpenEpPointEx() local
43 extern "C" int32_t CloseUsbFdEx(int32_t fd) in CloseUsbFdEx()
Doh_usb.cpp87 int OpenEpPoint(int &fd, const std::string path) in OpenEpPoint()
97 int CloseUsbFd(int &fd) in CloseUsbFd()
Dutils.cpp97 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/
Dfstrace_types.h30 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
Dfstrace_progs.h55 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/
Dfile_utils.cpp31 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/
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
/developtools/profiler/device/plugins/native_daemon/
Dnative_daemon_client.cpp31 …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/
Duart.rs58 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/
Dnative_memory_profiler_sa_service.cpp134 int32_t NativeMemoryProfilerSaService::DumpData(uint32_t fd, std::shared_ptr<NativeMemoryProfilerSa… in DumpData()
226uint32_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()
Dnative_memory_profiler_sa_client_manager.cpp92 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/
Dfile_utils_test.cpp55 int fd = open(path_.c_str(), O_RDONLY); variable
70 int fd = -1; variable
/developtools/profiler/hiebpf/src/
Dbpf_controller.cpp249 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
Dringbuffer.cpp70 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/
Dtrace_data_cache.cpp446 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/
Dplugin_watcher_test.cpp83 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
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/profiler/host/smartperf/client/client_command/
DCapture.cpp86 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/
Dfile.cpp48 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/
Dtcp.cpp111 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/
Drandom_access_file.h58 int32_t fd = 0; variable
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Dfile_system_data_parser.cpp142 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent() local
157 int32_t fd = INVALID_INT32; in GetFileDescriptor() local

12345