Home
last modified time | relevance | path

Searched refs:fd_ (Results 1 – 9 of 9) sorted by relevance

/drivers/external_device_manager/services/native/driver_extension_manager/src/input_emit_event/
Dvirtual_device.cpp49 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/
Dfile.cpp42 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 …]
Dfile.h28 return fd_ != nullptr; in IsValid()
95 FILE *fd_ = nullptr; variable
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddimage_buffer.cpp68 return fd_; in GetFileDescriptor()
165 fd_ = fd; in SetFileDescriptor()
229 fd_ = -1; in Free()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
Dimage_buffer.cpp91 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/
Dbuffer_operator.h88 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/
Dvirtual_device.h48 int32_t fd_ {-1};
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
Ddimage_buffer.h78 int32_t fd_ = -1; variable
/drivers/peripheral/camera/vdi_base/common/include/
Dimage_buffer.h94 int32_t fd_ = -1; variable