| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/watchdog/ |
| H A D | iwatchdog.cpp | 16 ,m_fd(-1) in IWatchDog() 41 m_fd = ::open(m_dogName.toLocal8Bit().constData(), O_WRONLY); in open() 42 if(m_fd <0) in open() 45 return m_fd; in open() 62 write(m_fd,(char *)&s,sizeof(s)); in open() 73 return m_fd; in open() 79 if(m_fd > 0) in close() 82 ioctl(m_fd, WDIOC_SETOPTIONS, &flags); in close() 84 bRet = ::close(m_fd); in close() 85 m_fd = -1; in close() [all …]
|
| H A D | iwatchdog.h | 35 int m_fd; variable
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxx11/gprs/ |
| H A D | gprs.cpp | 11 int m_fd=-1; variable 29 if (m_fd >= 0) in ~Gprs() 31 ::close(m_fd); in ~Gprs() 32 m_fd = -1; in ~Gprs() 44 if (m_fd >= 0) in on_pbt_set_clicked() 46 ::close(m_fd); in on_pbt_set_clicked() 47 m_fd = -1; in on_pbt_set_clicked() 52 m_fd = openSerialPort(); in on_pbt_set_clicked() 53 if (m_fd < 0) in on_pbt_set_clicked() 58 m_notifier = new QSocketNotifier(m_fd, QSocketNotifier::Read, this); in on_pbt_set_clicked() [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/screen/ |
| H A D | ibacklight.cpp | 34 m_fd = ::open(m_devName.toLocal8Bit().constData(), O_RDWR|O_NONBLOCK); in open() 35 bOpen = m_fd>0; in open() 46 if(m_fd>0) in close() 47 ::close(m_fd); in close() 54 lseek(m_fd, 0, SEEK_SET); in setValue() 56 ::write(m_fd,buf,sizeof(v)); in setValue() 64 lseek(m_fd, 0, SEEK_SET); in getValue() 65 ::read(m_fd, buf, sizeof(buf)); in getValue() 93 if(ioctl(m_fd, DISP_GET_OUTPUT_TYPE,args) == DISP_OUTPUT_TYPE_LCD) in getValue() 97 err = ioctl(m_fd, DISP_LCD_GET_BRIGHTNESS, args); in getValue() [all …]
|
| H A D | ibacklight.h | 24 int m_fd; variable
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/key/ |
| H A D | keywidget.cpp | 12 KeyWidget::KeyWidget(QWidget *parent) : IWidget(parent),m_fd(-1) in KeyWidget() 18 if(m_fd >=0) in ~KeyWidget() 20 ::close(m_fd); in ~KeyWidget() 45 m_fd = open(m_devName.toLocal8Bit().data(), O_RDONLY | O_NONBLOCK); in loadData() 46 if(m_fd <0 ) in loadData() 52 QSocketNotifier* notifer = new QSocketNotifier(m_fd, QSocketNotifier::Read, this); in loadData() 55 int ret = ::read(m_fd, &event, sizeof(event)); in loadData()
|
| H A D | keywidget.h | 30 int m_fd; variable
|
| /OK3568_Linux_fs/app/forlinx/forlinx_qt/keypad/ |
| H A D | keytest.cpp | 84 m_fd = open(event_name, O_RDONLY); in Keytest() 85 if (m_fd < 0) in Keytest() 92 m_notifyObject = new QSocketNotifier(m_fd, QSocketNotifier::Read, this); in Keytest() 103 ::close(m_fd); in ~Keytest() 112 int nResult=::read(m_fd, &event, sizeof(event)); in keyEvent()
|
| H A D | keytest.h | 35 volatile int m_fd; variable
|
| /OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/keypad/ |
| H A D | keytest.cpp | 84 m_fd = open(event_name, O_RDONLY); in Keytest() 85 if (m_fd < 0) in Keytest() 92 m_notifyObject = new QSocketNotifier(m_fd, QSocketNotifier::Read, this); in Keytest() 103 ::close(m_fd); in ~Keytest() 112 int nResult=::read(m_fd, &event, sizeof(event)); in keyEvent()
|
| H A D | keytest.h | 36 volatile int m_fd; variable
|
| /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qt5-plugin-generic-vboxtouch/ |
| H A D | 0001-VirtualboxTouchScreenHandler-initialize-m_mouse.patch | 9 ioctl(m_fd, _IOWR('V', 10, features), &features); 68 - : QObject(parent), m_fd(-1), m_notifier(0), m_device(0), m_failures(0), 69 + : QObject(parent), m_fd(-1), m_notifier(0), m_device(0), m_failures(0), m_mouse(0),
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libmimetic/libmimetic/ |
| H A D | 0001-mimetic-Check-for-MMAP_FAILED-return-from-mmap.patch | 27 m_beg = (char*) mmap(0, m_st.st_size, PROT_READ, MAP_SHARED,m_fd,0);
|