HomeSort by relevance Sort by last modified time
    Searched refs:pfd (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /hardware/ti/omap4-aah/libtiutils/
MessageQueue.cpp 246 struct pollfd pfd; local
248 pfd.fd = this->fd_read;
249 pfd.events = POLLIN;
250 pfd.revents = 0;
260 if( -1 == poll(&pfd,1,0) )
267 if(pfd.revents & POLLIN)
328 struct pollfd pfd[3]; local
337 pfd[0].fd = queue1->getInFd();
338 if(!pfd[0].fd)
344 pfd[0].events = POLLIN
    [all...]
  /hardware/ti/omap4xxx/libtiutils/
MessageQueue.cpp 245 struct pollfd pfd; local
247 pfd.fd = this->fd_read;
248 pfd.events = POLLIN;
249 pfd.revents = 0;
259 if( -1 == poll(&pfd,1,0) )
266 if(pfd.revents & POLLIN)
325 struct pollfd pfd[3]; local
334 pfd[0].fd = queue1->getInFd();
335 if(!pfd[0].fd)
341 pfd[0].events = POLLIN
    [all...]
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_pixelformat.c 147 pfi->pfd.nSize = sizeof pfi->pfd;
148 pfi->pfd.nVersion = 1;
150 pfi->pfd.dwFlags = PFD_SUPPORT_OPENGL;
154 pfi->pfd.dwFlags |= PFD_DRAW_TO_WINDOW;
158 pfi->pfd.dwFlags |= PFD_SUPPORT_COMPOSITION;
161 pfi->pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SWAP_COPY;
163 pfi->pfd.iPixelType = PFD_TYPE_RGBA;
165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha;
166 pfi->pfd.cRedBits = color->bits.red
    [all...]
stw_ext_pixelformat.c 75 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? TRUE : FALSE;
79 *pvalue = pfi->pfd.dwFlags & PFD_DRAW_TO_BITMAP ? TRUE : FALSE;
83 *pvalue = pfi->pfd.dwFlags & PFD_NEED_PALETTE ? TRUE : FALSE;
87 *pvalue = pfi->pfd.dwFlags & PFD_NEED_SYSTEM_PALETTE ? TRUE : FALSE;
91 *pvalue = pfi->pfd.dwFlags & PFD_SWAP_COPY ? WGL_SWAP_COPY_ARB : WGL_SWAP_UNDEFINED_ARB;
133 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_GDI ? TRUE : FALSE;
137 *pvalue = pfi->pfd.dwFlags & PFD_SUPPORT_OPENGL ? TRUE : FALSE;
141 *pvalue = pfi->pfd.dwFlags & PFD_DOUBLEBUFFER ? TRUE : FALSE;
145 *pvalue = pfi->pfd.dwFlags & PFD_STEREO ? TRUE : FALSE;
149 switch (pfi->pfd.iPixelType)
    [all...]
stw_pixelformat.h 43 PIXELFORMATDESCRIPTOR pfd; member in struct:stw_pixelformat_info
  /external/netcat/
atomicio.c 46 struct pollfd pfd; local
48 pfd.fd = fd;
49 pfd.events = f == read ? POLLIN : POLLOUT;
57 (void)poll(&pfd, 1, -1);
  /external/valgrind/memcheck/tests/linux/
syscalls-2007.c 41 struct pollfd pfd[2]; local
50 pfd[0].fd = fd;
51 pfd[0].events = POLLIN|POLLOUT;
52 pfd[1].fd = fd2;
53 pfd[1].events = POLLIN|POLLOUT;
54 ppoll (pfd, 2, &ts, &mask);
  /frameworks/base/media/java/android/media/midi/
MidiInputPort.java 51 ParcelFileDescriptor pfd, int portNumber) {
56 mParcelFileDescriptor = pfd;
58 mOutputStream = new FileOutputStream(pfd.getFileDescriptor());
62 /* package */ MidiInputPort(ParcelFileDescriptor pfd, int portNumber) {
63 this(null, null, pfd, portNumber);
107 ParcelFileDescriptor pfd; local
109 pfd = mParcelFileDescriptor;
110 if (pfd == null) return null;
119 return pfd;
MidiDevice.java 127 ParcelFileDescriptor pfd = mDeviceServer.openInputPort(token, portNumber); local
128 if (pfd == null) {
131 return new MidiInputPort(mDeviceServer, token, pfd, portNumber);
150 ParcelFileDescriptor pfd = mDeviceServer.openOutputPort(token, portNumber); local
151 if (pfd == null) {
154 return new MidiOutputPort(mDeviceServer, token, pfd, portNumber);
178 ParcelFileDescriptor pfd = inputPort.claimFileDescriptor(); local
179 if (pfd == null) {
184 mDeviceServer.connectPorts(token, pfd, outputPortNumber);
186 IoUtils.closeQuietly(pfd);
    [all...]
IMidiDeviceServer.aidl 30 // connects the input port pfd to the specified output port
31 void connectPorts(IBinder token, in ParcelFileDescriptor pfd, int outputPortNumber);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
ResourceBasedPeriodFormatterDataServiceTest.java 34 PeriodFormatterData pfd = service.get(locale); local
35 assertFalse(locale + ": " + pfd.pluralization(), -1 == pfd.pluralization());
  /frameworks/base/core/java/android/hardware/
SerialManager.java 71 ParcelFileDescriptor pfd = mService.openSerialPort(name); local
72 if (pfd != null) {
74 port.open(pfd, speed);
SerialPort.java 54 public void open(ParcelFileDescriptor pfd, int speed) throws IOException {
55 native_open(pfd.getFileDescriptor(), speed);
56 mFileDescriptor = pfd;
122 private native void native_open(FileDescriptor pfd, int speed) throws IOException;
  /external/openssh/
atomicio.c 58 struct pollfd pfd; local
61 pfd.fd = fd;
62 pfd.events = f == read ? POLLIN : POLLOUT;
72 (void)poll(&pfd, 1, -1);
108 struct pollfd pfd; local
118 pfd.fd = fd;
119 pfd.events = f == readv ? POLLIN : POLLOUT;
129 (void)poll(&pfd, 1, -1);
monitor_fdpass.c 66 struct pollfd pfd; local
88 pfd.fd = sock;
89 pfd.events = POLLOUT;
93 (void)poll(&pfd, 1, -1);
129 struct pollfd pfd; local
145 pfd.fd = sock;
146 pfd.events = POLLIN;
150 (void)poll(&pfd, 1, -1);
  /external/toybox/toys/other/
mkpasswd.c 27 long pfd;
55 if (TT.pfd) {
56 if (dup2(TT.pfd, 0) == -1) perror_exit("fd");
57 close(TT.pfd);
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 52 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); local
53 AutoCloseInputStream in = new AutoCloseInputStream(pfd);
104 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket); local
105 AutoCloseInputStream in = new AutoCloseInputStream(pfd);
109 pfd.close();
125 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(data, null); local
127 assertFileDescriptorContent(new byte[] { 0, 1, 2, 3 }, pfd);
150 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(data, null); local
151 assertNotNull(pfd);
152 FileDescriptor fd = pfd.getFileDescriptor()
170 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(new Socket()); local
180 ParcelFileDescriptor pfd = ParcelFileDescriptor.CREATOR.createFromParcel(pl); local
221 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(new Socket()); local
229 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(new Socket()); local
364 final ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, local
    [all...]
IParcelFileDescriptorPeer.aidl 32 void set(in ParcelFileDescriptor pfd);
  /external/mesa3d/src/mesa/drivers/windows/gdi/
wgl.c 43 /* Extend the PFD to include DB flag */
46 PIXELFORMATDESCRIPTOR pfd; member in struct:__pixelformat__
52 /* These are the PFD's supported by this driver. */
53 struct __pixelformat__ pfd[] = variable in typeref:struct:__pixelformat__
135 int npfd = sizeof(pfd) / sizeof(pfd[0]);
169 (GLboolean) (pfd[curPFD-1].doubleBuffered ?
171 (GLboolean)(pfd[curPFD-1].pfd.cAlphaBits ?
252 !(pfd[i].pfd.dwFlags & PFD_DRAW_TO_WINDOW)
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 37 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(out.toByteArray(), null); local
38 FileDescriptor fd = pfd.getFileDescriptor();
  /development/samples/Vault/src/com/example/android/vault/
Utils.java 40 public static void closeWithErrorQuietly(ParcelFileDescriptor pfd, String msg) {
41 if (pfd != null) {
43 pfd.closeWithError(msg);
  /external/toybox/lib/
interestingtimes.c 91 struct pollfd pfd; local
96 pfd.fd = 0;
97 pfd.events = POLLIN;
98 pfd.revents = 0;
121 if (maybe || !block) if (!xpoll(&pfd, 1, 30*maybe)) break;
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc_vsync.cpp 115 struct pollfd pfd[num_displays][num_events]; local
141 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
143 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
156 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0);
157 if (pfd[dpy][ev].fd >= 0)
158 pfd[dpy][ev].events = POLLPRI | POLLERR;
164 int err = poll(*pfd, num_displays * num_events, -1);
168 if (pfd[dpy][ev].revents & POLLPRI) {
169 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0);
206 if(pfd[dpy][event].fd >= 0
    [all...]
  /hardware/qcom/display/msm8226/libhwcomposer/
hwc_vsync.cpp 105 struct pollfd pfd[num_displays][num_events]; local
129 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
131 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
144 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0);
145 if (pfd[dpy][ev].fd >= 0)
146 pfd[dpy][ev].events = POLLPRI | POLLERR;
152 int err = poll(*pfd, (int)(num_displays * num_events), -1);
156 if (pfd[dpy][ev].revents & POLLPRI) {
157 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0);
207 if(pfd[dpy][event].fd >= 0
    [all...]
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_vsync.cpp 124 struct pollfd pfd[num_displays][num_events]; local
145 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
147 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
160 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0);
161 if (pfd[dpy][ev].fd >= 0)
162 pfd[dpy][ev].events = POLLPRI | POLLERR;
168 int err = poll(*pfd, (int)(num_displays * num_events), -1);
172 if (pfd[dpy][ev].revents & POLLPRI) {
173 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0);
210 if(pfd[dpy][event].fd >= 0
    [all...]

Completed in 630 milliseconds

1 2 3 4 5 6 7