/aosp12/system/extras/ext4_utils/ |
H A D | ext4_utils.cpp | 85 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 D | com_android_server_UsbDeviceManager.cpp | 46 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 D | com_android_server_PersistentDataBlockService.cpp | 35 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 D | auth_tcp_connection_test.cpp | 101 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 D | fd_listener.cpp | 33 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 D | sys_dev.c | 42 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 D | sys_dev.c | 42 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 D | display_dumper_test.cpp | 62 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 D | softbus_conn_common_test.cpp | 86 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 D | sensor_dump.cpp | 93 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 D | android_util_MemoryIntArray.cpp | 39 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 D | memory_manager_test.cpp | 49 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 D | TestFastRecorder.cpp | 90 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 D | trusty.c | 33 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 D | ReadWriteUtils.cpp | 41 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 D | NetworkManagementSocketTagger.java | 75 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 D | IncidentManager.cpp | 90 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 D | eventfd_test.cpp | 28 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 D | sys_socket_test.cpp | 39 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 D | posix_fadvise.cpp | 37 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 D | kcm.h | 22 int fd; member 26 int fd; member 29 int fd; member
|
/aosp12/packages/modules/adb/ |
H A D | sysdeps_unix.cpp | 19 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 D | fd_guard.cpp | 24 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 D | mmi_fd_listener.cpp | 36 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 D | sys_event_stat.cpp | 98 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()
|