Home
last modified time | relevance | path

Searched defs:fd (Results 176 – 200 of 5035) sorted by relevance

12345678910>>...202

/aosp12/frameworks/native/services/gpuservice/
H A DGpuService.h61 status_t dump(int fd, const Vector<String16>& args) override { return priorityDump(fd, args); } in dump()
66 status_t dumpCritical(int fd, const Vector<String16>& /*args*/, bool asProto) override { in dumpCritical()
70 status_t dumpAll(int fd, const Vector<String16>& args, bool asProto) override { in dumpAll()
/aosp12/bionic/libc/bionic/
H A Dsys_time.cpp37 static int futimesat(int fd, const char* path, const timeval tv[2], int flags) { in futimesat()
54 int futimesat(int fd, const char* path, const timeval tv[2]) { in futimesat()
58 int futimes(int fd, const timeval tv[2]) { in futimes()
H A Dtermios.cpp38 pid_t tcgetpgrp(int fd) { in tcgetpgrp()
44 int tcsetpgrp(int fd, pid_t pid) { in tcsetpgrp()
/aosp12/hardware/qcom/sm7250/display/sde-drm/
H A Ddrm_encoder.h48 explicit DRMEncoder(int fd) : fd_(fd) {} in DRMEncoder()
49 DRMEncoder(int fd, uint32_t id, uint32_t type) : fd_(fd), fake_id_(id), fake_type_(type) {} in DRMEncoder()
80 explicit DRMEncoderManager(int fd) : fd_(fd) {} in DRMEncoderManager()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_file_descriptor.cpp39 IPCFileDescriptor::IPCFileDescriptor(int fd) : Parcelable(true) in IPCFileDescriptor()
54 void IPCFileDescriptor::SetFd(int fd) in SetFd()
86 int fd = INVALID_FD; in Unmarshalling() local
/ohos5.0/base/tee/tee_client/services/teecd/src/
H A Dtee_load_dynamic_drv.c29 static int32_t LoadOneFile(const char *dynDir, const struct dirent *dirFile, int32_t fd, uint32_t l… in LoadOneFile()
83 static void LoadOneDynamicDir(int32_t fd, const char *dynDir, uint32_t loadType) in LoadOneDynamicDir()
105 int32_t fd = GetSecLoadAgentFd(); in LoadDynamicDir() local
/ohos5.0/foundation/multimodalinput/input/service/event_dispatch/test/
H A Devent_dispatch_test.cpp78 int32_t fd; variable
103 int32_t fd; variable
128 int32_t fd = 2; variable
150 int32_t fd = -1; variable
179 int32_t fd = 2; variable
202 int32_t fd = 1; variable
296 int32_t fd = 2; variable
317 int32_t fd = 3; variable
338 int32_t fd = 3; variable
359 int32_t fd = 3; variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c139 static int WaitEvent(int fd, short events, int timeout) in WaitEvent()
182 int32_t ConnToggleNonBlockMode(int32_t fd, bool isNonBlock) in ConnToggleNonBlockMode()
206 ssize_t ConnSendSocketData(int32_t fd, const char *buf, size_t len, int32_t timeout) in ConnSendSocketData()
254 static ssize_t OnRecvData(int32_t fd, char *buf, size_t len, int timeout, int flags) in OnRecvData()
284 ssize_t ConnRecvSocketData(int32_t fd, char *buf, size_t len, int32_t timeout) in ConnRecvSocketData()
289 void ConnCloseSocket(int32_t fd) in ConnCloseSocket()
297 void ConnShutdownSocket(int32_t fd) in ConnShutdownSocket()
306 int32_t ConnGetSocketError(int32_t fd) in ConnGetSocketError()
311 int32_t ConnGetLocalSocketPort(int32_t fd) in ConnGetLocalSocketPort()
321 int32_t ConnGetPeerSocketAddr(int32_t fd, SocketAddr *socketAddr) in ConnGetPeerSocketAddr()
[all …]
/ohos5.0/base/msdp/device_status/services/native/src/
H A Dstream_server.cpp72 bool StreamServer::SendMsg(int32_t fd, NetPacket &pkt) in SendMsg()
183 void StreamServer::ReleaseSession(int32_t fd, epoll_event &ev) in ReleaseSession()
204 void StreamServer::OnPacket(int32_t fd, NetPacket &pkt) in OnPacket()
211 void StreamServer::OnEpollRecv(int32_t fd, epoll_event &ev) in OnEpollRecv()
248 int32_t fd = *static_cast<int32_t*>(ev.data.ptr); in OnEpollEvent() local
284 int32_t fd = GetClientFd(pid); in GetSessionByPid() local
296 int32_t fd = ses->GetFd(); in AddSession() local
318 void StreamServer::DelSession(int32_t fd) in DelSession()
/aosp12/system/core/fs_mgr/tests/
H A Dfile_wait_test.cpp43 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F() local
58 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F() local
67 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F() local
76 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F() local
/aosp12/system/netd/server/
H A DOffloadUtils.h51 const int fd = bpf::mapRetrieveRW(CLAT_EGRESS4_MAP_PATH); in getClatEgress4MapFd() local
56 const int fd = bpf::retrieveProgram(with_ethernet_header ? CLAT_EGRESS4_PROG_ETHER_PATH in getClatEgress4ProgFd() local
62 const int fd = bpf::mapRetrieveRW(CLAT_INGRESS6_MAP_PATH); in getClatIngress6MapFd() local
67 const int fd = bpf::retrieveProgram(with_ethernet_header ? CLAT_INGRESS6_PROG_ETHER_PATH in getClatIngress6ProgFd() local
/aosp12/system/memory/libion/tests/
H A Dallocate_test.cpp34 int fd; in TEST_F() local
49 int fd; in TEST_F() local
64 int fd; in TEST_F() local
80 int fd; in TEST_F() local
96 int fd; in TEST_F() local
/ohos5.0/base/time/time_service/services/
H A Dtime_system_ability.cpp472 int TimeSystemAbility::Dump(int fd, const std::vector<std::u16string> &args) in Dump()
489 void TimeSystemAbility::DumpAllTimeInfo(int fd, const std::vector<std::string> &input) in DumpAllTimeInfo()
515 void TimeSystemAbility::DumpTimerInfo(int fd, const std::vector<std::string> &input) in DumpTimerInfo()
525 void TimeSystemAbility::DumpTimerInfoById(int fd, const std::vector<std::string> &input) in DumpTimerInfoById()
547 void TimeSystemAbility::DumpIdleTimerInfo(int fd, const std::vector<std::string> &input) in DumpIdleTimerInfo()
557 void TimeSystemAbility::DumpProxyTimerInfo(int fd, const std::vector<std::string> &input) in DumpProxyTimerInfo()
565 void TimeSystemAbility::DumpUidTimerMapInfo(int fd, const std::vector<std::string> &input) in DumpUidTimerMapInfo()
573 void TimeSystemAbility::DumpProxyDelayTime(int fd, const std::vector<std::string> &input) in DumpProxyDelayTime()
579 void TimeSystemAbility::DumpPidTimerMapInfo(int fd, const std::vector<std::string> &input) in DumpPidTimerMapInfo()
587 void TimeSystemAbility::DumpAdjustTime(int fd, const std::vector<std::string> &input) in DumpAdjustTime()
[all …]
/aosp12/frameworks/base/cmds/incidentd/src/
H A Dproto_util.cpp36 status_t write_header_section(int fd, const uint8_t* buf, size_t bufSize) { in write_header_section()
56 status_t write_section_header(int fd, int sectionId, size_t size) { in write_section_header()
62 status_t write_section(int fd, int sectionId, const MessageLite& message) { in write_section()
/ohos5.0/base/startup/init/services/init/
H A Dinit_service_file.c47 int fd = open(path, file->flags | O_CREAT, file->perm); in CreateFile() local
56 static int SetFileEnv(int fd, const char *pathName) in SetFileEnv()
78 int fd = CreateFile(tmpFile); in CreateServiceFile() local
/ohos5.0/base/hiviewdfx/faultloggerd/test/moduletest/
H A Dfaultloggerd_module_test.cpp45 int32_t fd = RequestFileDescriptor(static_cast<int32_t>(type)); in CheckFdRequestFunction() local
105 int32_t fd = RequestLogFileDescriptor(&testRequest); variable
139 int32_t fd = RequestFileDescriptorEx(&testRequest); variable
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_zip.cpp93 int32_t AddFileContextToZip(int32_t fd, const char *nameInZip, const char *zipName) in AddFileContextToZip()
162 int fd = dup(*static_cast<int *>(opaque)); in FdOpenFileFunc() local
180 static void FillFdOpenFileFunc(zlib_filefunc_def *pzlibFilefuncDef, int fd) in FillFdOpenFileFunc()
203 static zipFile OpenZipFile(int fd) in OpenZipFile()
213 bool CheckUnzipFileInfo(int32_t fd) in CheckUnzipFileInfo()
263 int32_t UnzipSpecificFile(int32_t fd, const char*nameInZip, const char *unZipName) in UnzipSpecificFile()
322 bool IsZipFile(int32_t fd) in IsZipFile()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dimage_receiver_test.cpp58 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); variable
82 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); variable
106 int fd = -1; variable
127 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); variable
149 int fd = -1; variable
362 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); variable
438 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); variable
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_file_desc_unittest.cpp92 int fd = 9876; variable
101 int fd = 9876; variable
116 int fd = 9876; variable
131 int fd = 9876; variable
/ohos5.0/base/telephony/ril_adapter/services/hril/src/
H A Dhril_timer_callback.cpp31 void HRilTimerCallback::FdTriggerCallback(int32_t fd, int16_t events, std::shared_ptr<void> param) in FdTriggerCallback()
41 void HRilTimerCallback::TimerCallback(int32_t fd, int16_t events, std::shared_ptr<void> param) in TimerCallback()
88 …[this](int32_t fd, int16_t events, std::shared_ptr<void> param) { this->TimerCallback(fd, events, … in HRilSetTimerCallbackInfo()
114 …[this](int32_t fd, int16_t events, std::shared_ptr<void> param) { this->FdTriggerCallback(fd, even… in EventLoop()
/aosp12/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java45 private FileDescriptor fd; field in LocalSocketImpl
159 private native int read_native(FileDescriptor fd) throws IOException; in read_native()
161 FileDescriptor fd) throws IOException; in readba_native()
163 FileDescriptor fd) throws IOException; in writeba_native()
164 private native void write_native(int b, FileDescriptor fd) in write_native()
166 private native void connectLocal(FileDescriptor fd, String name, in connectLocal()
168 private native void bindLocal(FileDescriptor fd, String name, int namespace) in bindLocal()
171 FileDescriptor fd) throws IOException; in getPeerCredentials_native()
188 /*package*/ LocalSocketImpl(FileDescriptor fd) in LocalSocketImpl()
/aosp12/bootable/recovery/fuse_sideload/
H A Dfuse_sideload.cpp98 static void fuse_reply(const fuse_data* fd, uint64_t unique, const void* data, size_t len) { in fuse_reply()
116 static int handle_init(void* data, fuse_data* fd, const fuse_in_header* hdr) { in handle_init()
152 static void fill_attr(fuse_attr* attr, const fuse_data* fd, uint64_t nodeid, uint64_t size, in fill_attr()
166 static int handle_getattr(void* /* data */, const fuse_data* fd, const fuse_in_header* hdr) { in handle_getattr()
184 static int handle_lookup(void* data, const fuse_data* fd, const fuse_in_header* hdr) { in handle_lookup()
208 static int handle_open(void* /* data */, const fuse_data* fd, const fuse_in_header* hdr) { in handle_open()
228 static int fetch_block(fuse_data* fd, uint32_t block) { in fetch_block()
279 static int handle_read(void* data, fuse_data* fd, const fuse_in_header* hdr) { in handle_read()
362 fuse_data fd = {}; in run_fuse_sideload() local
/aosp12/system/core/trusty/storage/proxy/
H A Dstorage.c52 static uint32_t insert_fd(int open_flags, int fd) in insert_fd()
126 static ssize_t write_with_retry(int fd, const void *buf_, size_t size, off_t offset) in write_with_retry()
142 static ssize_t read_with_retry(int fd, void *buf_, size_t size, off_t offset) in read_with_retry()
310 int fd = remove_fd(req->handle); in storage_file_close() local
351 int fd = lookup_fd(req->handle, true); in storage_file_write() local
388 int fd = lookup_fd(req->handle, false); in storage_file_read() local
421 int fd = lookup_fd(req->handle, false); in storage_file_get_size() local
452 int fd = lookup_fd(req->handle, true); in storage_file_set_size() local
490 for (uint fd = 0; fd < FD_TBL_SIZE; fd++) { in storage_sync_checkpoint() local
/aosp12/hardware/interfaces/bluetooth/1.0/default/test/
H A Dasync_fd_watcher_unittest.cc53 int fd = socket(AF_INET, SOCK_STREAM, 0); in StartServer() local
70 int AcceptConnection(int fd) { in AcceptConnection()
82 void ReadIncomingMessage(int fd) { in ReadIncomingMessage()
104 conn_watcher_.WatchFdForNonBlockingReads(socket_fd_, [this](int fd) { in ConfigureServer()
115 connection_fd, [this](int fd) { ReadIncomingMessage(fd); }); in ConfigureServer()
204 conn_watcher.WatchFdForNonBlockingReads(socket_fd, [this](int fd) { in TEST_F()
227 conn_watcher.WatchFdForNonBlockingReads(socket_fd, [this](int fd) { in TEST_F()
249 conn_watcher.WatchFdForNonBlockingReads(socket_fd, [this](int fd) { in TEST_F()
284 watcher.WatchFdForNonBlockingReads(sockfd[0], [cb1_called_ptr](int fd) { in TEST_F()
292 watcher.WatchFdForNonBlockingReads(sockfd[1], [cb2_called_ptr](int fd) { in TEST_F()
/aosp12/packages/modules/Connectivity/Tethering/jni/
H A Dcom_android_networkstack_tethering_BpfMap.cpp60 jint fd) { in com_android_networkstack_tethering_BpfMap_closeMap()
72 jint fd = bpf::bpfFdGet(pathname.c_str(), static_cast<unsigned>(mode)); in com_android_networkstack_tethering_BpfMap_bpfFdGet() local
78 jint fd, jbyteArray key, jbyteArray value, jint flags) { in com_android_networkstack_tethering_BpfMap_writeToMapEntry()
96 jint fd, jbyteArray key) { in com_android_networkstack_tethering_BpfMap_deleteMapEntry()
107 jint fd, jbyteArray key, jbyteArray nextKey) { in com_android_networkstack_tethering_BpfMap_getNextMapKey()
126 jint fd, jbyteArray key, jbyteArray value) { in com_android_networkstack_tethering_BpfMap_findMapEntry()

12345678910>>...202