Searched refs:fd_ (Results 1 – 9 of 9) sorted by relevance
/drivers/external_device_manager/services/native/driver_extension_manager/src/input_emit_event/ |
D | virtual_device.cpp | 49 if (fd_ >= 0) { in ~VirtualDevice() 50 ioctl(fd_, UI_DEV_DESTROY); in ~VirtualDevice() 51 close(fd_); in ~VirtualDevice() 52 fd_ = -1; in ~VirtualDevice() 58 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); in SetUp() 59 if (fd_ < 0) { in SetUp() 83 if (write(fd_, &uinputDev_, sizeof(uinputDev_)) < 0) { in SetUp() 87 if (ioctl(fd_, UI_DEV_CREATE) < 0) { in SetUp() 97 if (!DoIoctl(fd_, UI_SET_EVBIT, item)) { in SetAttribute() 103 if (!DoIoctl(fd_, UI_SET_KEYBIT, item)) { in SetAttribute() [all …]
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | file.cpp | 42 fd_ = fopen(path.c_str(), "w+"); in File() 44 fd_ = fopen(path.c_str(), "a+"); in File() 47 if (fd_ == nullptr) { in File() 73 fd_ = fopen(realPath.c_str(), "r"); in OpenByRead() 74 if (fd_ == nullptr) { in OpenByRead() 124 size_t count = fread(buffer_, 1, BUFFER_SIZE - 1, fd_); in Read() 126 isError_ = ferror(fd_) != 0; in Read() 140 if (fd_ == nullptr) { in ReadData() 144 return fread(data, 1, size, fd_); in ReadData() 153 if (fd_ == nullptr || !(mode_ & (WRITE | APPEND))) { in WriteData() [all …]
|
D | file.h | 28 return fd_ != nullptr; in IsValid() 95 FILE *fd_ = nullptr; variable
|
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
D | dimage_buffer.cpp | 68 return fd_; in GetFileDescriptor() 165 fd_ = fd; in SetFileDescriptor() 229 fd_ = -1; in Free()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
D | image_buffer.cpp | 91 return fd_; in GetFileDescriptor() 215 fd_ = fd; in SetFileDescriptor() 321 fd_ = -1; in Free()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
D | buffer_operator.h | 88 int32_t fd_ = -1; variable 157 return fd_; in GetFileDescriptor() 281 fd_ = fd; in SetFileDescriptor() 387 fd_ = -1; in Free()
|
/drivers/external_device_manager/services/native/driver_extension_manager/include/input_emit_event/ |
D | virtual_device.h | 48 int32_t fd_ {-1};
|
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/ |
D | dimage_buffer.h | 78 int32_t fd_ = -1; variable
|
/drivers/peripheral/camera/vdi_base/common/include/ |
D | image_buffer.h | 94 int32_t fd_ = -1; variable
|