Home
last modified time | relevance | path

Searched defs:fd (Results 126 – 150 of 5035) sorted by relevance

12345678910>>...202

/aosp12/system/extras/ext4_utils/
H A Dext4_utils.cpp85 void read_sb(int fd, struct ext4_super_block* sb) { in read_sb()
183 u64 get_block_device_size(int fd) { in get_block_device_size()
201 int is_block_device_fd(int fd __attribute__((unused))) { in is_block_device_fd()
213 u64 get_file_size(int fd) { in get_file_size()
239 static void read_block_group_descriptors(int fd) { in read_block_group_descriptors()
278 int read_ext(int fd, int verbose) { in read_ext()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDeviceManager.cpp46 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) in set_accessory_string()
63 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings() local
85 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory() local
102 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested() local
114 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode() local
127 int fd = -1; in android_server_UsbDeviceManager_openControl() local
H A Dcom_android_server_PersistentDataBlockService.cpp35 uint64_t get_block_device_size(int fd) in get_block_device_size()
48 int wipe_block_device(int fd) in wipe_block_device()
82 int fd = open(path.c_str(), O_RDONLY); in com_android_server_PersistentDataBlockService_getBlockDeviceSize() local
96 int fd = open(path.c_str(), O_WRONLY); in com_android_server_PersistentDataBlockService_wipe() local
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_tcp_connection_test.cpp101 int32_t fd = 0; variable
116 int32_t fd = 0; variable
140 int32_t fd = 0; variable
158 int32_t fd = 0; variable
199 int32_t fd = 0; variable
239 int32_t fd = 0; variable
/ohos5.0/base/msdp/device_status/frameworks/native/src/
H A Dfd_listener.cpp33 void FdListener::OnReadable(int32_t fd) in OnReadable()
64 void FdListener::OnShutdown(int32_t fd) in OnShutdown()
74 void FdListener::OnException(int32_t fd) in OnException()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c42 static int32_t GetInterfaceInfo(int32_t fd, int32_t option, struct ifreq *interface) in GetInterfaceInfo()
64 int32_t GetInterfaceIP(int32_t fd, struct ifreq *interface) in GetInterfaceIP()
69 static int32_t GetInterfaceNetMask(int32_t fd, struct ifreq *interface) in GetInterfaceNetMask()
76 int32_t fd = socket(AF_INET, SOCK_DGRAM, 0); in GetInterfaceList() local
97 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetConnectionTypeByDev() local
133 static int32_t FindDevByInterfaceIP(int32_t fd, struct ifconf ifc, struct ifreq buf[], uint32_t sou… in FindDevByInterfaceIP()
159 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetInterfaceNameByIP() local
206 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in BindToDevice() local
258 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetIfBroadcastIp() local
321 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetTargetInterface() local
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c42 static int32_t GetInterfaceInfo(int32_t fd, int32_t option, struct ifreq *interface) in GetInterfaceInfo()
64 int32_t GetInterfaceIP(int32_t fd, struct ifreq *interface) in GetInterfaceIP()
69 static int32_t GetInterfaceNetMask(int32_t fd, struct ifreq *interface) in GetInterfaceNetMask()
76 int32_t fd = socket(AF_INET, SOCK_DGRAM, 0); in GetInterfaceList() local
97 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetConnectionTypeByDev() local
133 static int32_t FindDevByInterfaceIP(int32_t fd, struct ifconf ifc, struct ifreq buf[], uint32_t sou… in FindDevByInterfaceIP()
159 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetInterfaceNameByIP() local
210 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in BindToDevice() local
265 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetIfBroadcastIp() local
328 int32_t fd = GetInterfaceList(&ifc, buf, sizeof(buf)); in GetTargetInterface() local
[all …]
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_dumper_test.cpp62 int fd = 1; variable
79 int fd = -1; variable
96 int fd = 3; variable
115 int fd = 4; variable
134 int fd = 5; variable
155 int fd = 6; variable
176 int fd = 71; variable
197 int fd = 7; variable
218 int fd = 8; variable
239 int fd = 9; variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
H A Dsoftbus_conn_common_test.cpp86 int32_t DataEvent(ListenerModule module, int32_t events, int32_t fd) in DataEvent()
137 int fd = 1; variable
162 int fd = 1; variable
183 int fd = 1; variable
392 int fd = tcp->OpenServerSocket(&info); variable
432 int fd = tcp->OpenClientSocket(nullptr, "127.0.0.1", false); variable
504 int fd = tcp->OpenServerSocket(&info); variable
568 int32_t fd = -1; variable
584 int32_t fd = 1; variable
/ohos5.0/base/sensors/sensor/services/src/
H A Dsensor_dump.cpp93 void SensorDump::RunSensorDump(int32_t fd, int32_t optionIndex, const std::vector<std::string> &arg… in RunSensorDump()
139 void SensorDump::ParseCommand(int32_t fd, const std::vector<std::string> &args, const std::vector<S… in ParseCommand()
188 void SensorDump::DumpHelp(int32_t fd) in DumpHelp()
200 bool SensorDump::DumpSensorList(int32_t fd, const std::vector<Sensor> &sensors) in DumpSensorList()
219 bool SensorDump::DumpSensorChannel(int32_t fd, ClientInfo &clientInfo) in DumpSensorChannel()
239 bool SensorDump::DumpOpeningSensor(int32_t fd, const std::vector<Sensor> &sensors, ClientInfo &clie… in DumpOpeningSensor()
257 bool SensorDump::DumpSensorData(int32_t fd, ClientInfo &clientInfo) in DumpSensorData()
284 void SensorDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime()
/aosp12/frameworks/base/core/jni/
H A Dandroid_util_MemoryIntArray.cpp39 int fd = ashmem_create_region(nameStr, ashmemSize); in android_util_MemoryIntArray_create() local
56 static jlong android_util_MemoryIntArray_open(JNIEnv* env, jobject clazz, jint fd, in android_util_MemoryIntArray_open()
114 static void android_util_MemoryIntArray_close(JNIEnv* env, jobject clazz, jint fd, in android_util_MemoryIntArray_close()
150 jint fd, jlong address, jint index) in android_util_MemoryIntArray_get()
172 jint fd, jlong address, jint index, jint newValue) in android_util_MemoryIntArray_set()
193 static jint android_util_MemoryIntArray_size(JNIEnv* env, jobject clazz, jint fd) { in android_util_MemoryIntArray_size()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/
H A Dmemory_manager_test.cpp49 int fd = -1; variable
63 int fd = 0; variable
77 int fd = 0; variable
98 int fd = open(filename.c_str(), O_RDWR); variable
153 int fd = 0; variable
208 int fd = 0; variable
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/audio_recorder/
H A DTestFastRecorder.cpp90 int fd; variable
119 int fd; variable
150 int fd; variable
181 int fd; variable
214 int fd; variable
/aosp12/system/core/trusty/libtrusty/
H A Dtrusty.c33 int fd; in tipc_connect() local
55 ssize_t tipc_send(int fd, const struct iovec* iov, int iovcnt, struct trusty_shm* shms, in tipc_send()
71 void tipc_close(int fd) { in tipc_close()
/aosp12/frameworks/av/drm/common/
H A DReadWriteUtils.cpp41 int fd = fileno(file); in readBytes() local
63 int fd = fileno(file); in readBytes() local
83 int fd = fileno(file); in writeToFile() local
100 int fd = fileno(file); in appendToFile() local
/aosp12/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java75 public void tag(FileDescriptor fd) throws SocketException { in tag()
88 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { in tagSocketFd()
102 public void untag(FileDescriptor fd) throws SocketException { in untag()
109 private void unTagSocketFd(FileDescriptor fd) { in unTagSocketFd()
158 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); in native_tagSocketFd()
159 private static native int native_untagSocketFd(FileDescriptor fd); in native_untagSocketFd()
/aosp12/frameworks/native/libs/incidentcompanion/src/
H A DIncidentManager.cpp90 int fd = in->readParcelFileDescriptor(); in readFromParcel() local
102 status_t IncidentManager::IncidentReport::setFileDescriptor(int fd) { in setFileDescriptor()
117 void IncidentManager::IncidentReport::takeFileDescriptor(int fd) { in takeFileDescriptor()
/aosp12/bionic/tests/
H A Deventfd_test.cpp28 int fd = eventfd(kInitialValue, EFD_NONBLOCK); in TEST() local
52 int fd = eventfd(kInitialValue, EFD_CLOEXEC); in TEST() local
74 int fd = eventfd(3, EFD_NONBLOCK | EFD_SEMAPHORE); in TEST() local
H A Dsys_socket_test.cpp39 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn() local
65 bool (*callback_fn)(int fd), const char* sock_path) { in RunTest()
66 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in RunTest() local
106 static void TestAccept4(struct sockaddr_un* addr, int fd) { in TestAccept4()
128 static bool SendMultiple(int fd) { in SendMultiple()
139 static void TestRecvMMsg(struct sockaddr_un *addr, int fd) { in TestRecvMMsg()
188 static bool SendMMsg(int fd) { in SendMMsg()
207 static void TestSendMMsg(struct sockaddr_un *addr, int fd) { in TestSendMMsg()
/aosp12/bionic/libc/bionic/
H A Dposix_fadvise.cpp37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise()
42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64()
47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dkcm.h22 int fd; member
26 int fd; member
29 int fd; member
/aosp12/packages/modules/adb/
H A Dsysdeps_unix.cpp19 bool set_tcp_keepalive(borrowed_fd fd, int interval_sec) { in set_tcp_keepalive()
60 static __inline__ void disable_close_on_exec(borrowed_fd fd) { in disable_close_on_exec()
88 for (auto fd : fds_to_inherit) { in adb_launch_process() local
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/common/file_helper/
H A Dfd_guard.cpp24 FDGuard::FDGuard(int fd) : fd_(fd) {} in FDGuard()
26 FDGuard::FDGuard(int fd, bool autoClose) : fd_(fd), autoClose_(autoClose) {} in FDGuard()
64 void FDGuard::SetFD(int fd, bool autoClose) in SetFD()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/module_loader/src/
H A Dmmi_fd_listener.cpp36 void MMIFdListener::OnReadable(int32_t fd) in OnReadable()
87 void MMIFdListener::OnShutdown(int32_t fd) in OnShutdown()
97 void MMIFdListener::OnException(int32_t fd) in OnException()
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dsys_event_stat.cpp98 void SysEventStat::StatSummary(int fd) in StatSummary()
105 void SysEventStat::StatDetail(int fd) in StatDetail()
112 void SysEventStat::StatInvalidDetail(int fd) in StatInvalidDetail()
119 void SysEventStat::Clear(int fd) in Clear()
129 BaseStat::BaseStat(int fd, int64_t validNum, int64_t inValidNum): fd_(fd), validNum_(validNum), inV… in BaseStat()
153 SysEventSummaryStat::SysEventSummaryStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventSummaryStat()
177 void SysEventSummaryStat::StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const in StatDomainEvent()
191 SysEventDetailStat::SysEventDetailStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventDetailStat()
207 void SysEventDetailStat::StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const in StatDomainEvent()
217 SysEventInvalidStat::SysEventInvalidStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventInvalidStat()

12345678910>>...202