/external/chromium_org/chromeos/process_proxy/ |
process_output_watcher.cc | 64 fd_set rfds; local 66 InitReadFdSet(out_fd_, stop_fd_, &rfds); 69 HANDLE_EINTR(select(max_fd_ + 1, &rfds, NULL, NULL, NULL)); 77 if (FD_ISSET(stop_fd_, &rfds)) { 81 if (out_fd_ != -1 && FD_ISSET(out_fd_, &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
OMX_AacDec_CompThread.c | 107 fd_set rfds; local 132 FD_ZERO (&rfds); 133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 134 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 143 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 145 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 169 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { 198 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
OMX_AacEnc_CompThread.c | 81 fd_set rfds; local 105 FD_ZERO (&rfds); 106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 107 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 117 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 164 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) && (pComponentPrivate->curState != OMX_StatePause)) 191 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds))
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Dec_ComponentThread.c | 68 fd_set rfds; local 85 FD_ZERO (&rfds); 86 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 87 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 98 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 125 } else if (FD_ISSET(pComponentPrivate->dataPipe[0], &rfds)){ 140 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
OMX_G711Enc_ComponentThread.c | 92 fd_set rfds; local 105 FD_ZERO (&rfds); 106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 107 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 117 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 149 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)){ 162 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
OMX_G726Dec_CompThread.c | 96 fd_set rfds; local 112 FD_ZERO (&rfds); 113 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 114 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 124 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 147 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { 163 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
OMX_G726Enc_ComponentThread.c | 89 fd_set rfds;
local 102 FD_ZERO (&rfds);
103 FD_SET (pComponentPrivate->cmdPipe[0], &rfds);
104 FD_SET (pComponentPrivate->dataPipe[0], &rfds);
111 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set);
133 } else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
161 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
OMX_G729Dec_ComponentThread.c | 107 fd_set rfds; local 128 FD_ZERO (&rfds); 129 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 130 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 138 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 189 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))){ 202 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
OMX_G729Enc_ComponentThread.c | 110 fd_set rfds; local 131 FD_ZERO (&rfds); 132 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 133 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 141 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 143 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 181 else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) 199 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds))
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Dec_CompThread.c | 106 fd_set rfds; local 132 FD_ZERO (&rfds); 133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 134 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 142 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 144 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 179 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { 194 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
OMX_AmrDec_ComponentThread.c | 70 fd_set rfds; local 93 FD_ZERO (&rfds); 94 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 95 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 104 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 106 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 158 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { 171 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
OMX_AmrEnc_ComponentThread.c | 102 fd_set rfds; local 122 FD_ZERO (&rfds); 123 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 124 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 132 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 134 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 170 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) 185 else if(FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
OMX_WbAmrDec_ComponentThread.c | 89 fd_set rfds; local 117 FD_ZERO (&rfds); 118 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 119 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 129 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 131 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 176 } else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { 188 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
OMX_WbAmrEnc_CompThread.c | 95 fd_set rfds; local 119 FD_ZERO (&rfds); 120 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 121 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 130 status = pselect (fdmax + 1, &rfds, NULL, NULL, &tv, &set); 132 status = select (fdmax + 1, &rfds, NULL, NULL, &tv); 163 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { 179 } else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
OMX_WmaDec_ComponentThread.c | 82 fd_set rfds; local 107 FD_ZERO (&rfds); 108 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 109 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 118 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 120 status = select (fdmax+1, &rfds, NULL, NULL, &tv); 159 else if (FD_ISSET (pComponentPrivate->dataPipe[0], &rfds)) { 173 else if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
OMX_JpegDec_Thread.c | 82 fd_set rfds; local 109 FD_ZERO (&rfds); 110 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); 112 FD_SET (pComponentPrivate->nFree_outBuf_Q[0], &rfds); 113 FD_SET (pComponentPrivate->nFilled_inpBuf_Q[0], &rfds); 122 nStatus = pselect (nFdmax+1, &rfds, NULL, NULL, NULL,&set); 135 if ((FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) || 136 (FD_ISSET(pComponentPrivate->nCmdDataPipe[0], &rfds))) { 222 if ((FD_ISSET(pComponentPrivate->nFilled_inpBuf_Q[0], &rfds)) && 237 if (FD_ISSET (pComponentPrivate->nFree_outBuf_Q[0], &rfds)) { [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
OMX_JpegEnc_Thread.c | 98 fd_set rfds; local 129 FD_ZERO (&rfds); 130 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); 132 FD_SET (pComponentPrivate->free_outBuf_Q[0], &rfds); 133 FD_SET (pComponentPrivate->filled_inpBuf_Q[0], &rfds); 142 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL,&set); 155 if ( (FD_ISSET (pComponentPrivate->filled_inpBuf_Q[0], &rfds)) 169 if ( FD_ISSET (pComponentPrivate->free_outBuf_Q[0], &rfds) ) { 179 if ( FD_ISSET (pComponentPrivate->nCmdPipe[0], &rfds) ) {
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP_CompThread.c | 102 fd_set rfds; local 135 FD_ZERO (&rfds); 136 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 139 FD_SET (pComponentPrivate->nFree_oPipe[0], &rfds); 140 FD_SET (pComponentPrivate->nFilled_iPipe[0], &rfds); 149 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set); 169 if (FD_ISSET (pComponentPrivate->cmdPipe[0], &rfds)) { 255 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds))) { 267 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds)) {
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
OMX_VideoEnc_Thread.c | 115 fd_set rfds; local 157 FD_ZERO (&rfds); 158 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); 159 FD_SET (pComponentPrivate->nFree_oPipe[0], &rfds); 160 FD_SET (pComponentPrivate->nFilled_iPipe[0], &rfds); 164 status = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set); 189 if (FD_ISSET(pComponentPrivate->nCmdPipe[0], &rfds)) 292 if ((FD_ISSET(pComponentPrivate->nFilled_iPipe[0], &rfds)) && 311 if (FD_ISSET(pComponentPrivate->nFree_oPipe[0], &rfds) &&
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_i2c.c | 183 fd_set rfds; local 192 FD_ZERO(&rfds); 193 FD_SET(gI2cPortContext.nHandle, &rfds); 196 ret = select(gI2cPortContext.nHandle + 1, &rfds, NULL, NULL, &tv);
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
OMX_VideoDec_Thread.c | 115 fd_set rfds; local 157 FD_ZERO (&rfds); 158 FD_SET(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &rfds); 159 FD_SET(pComponentPrivate->filled_outBuf_Q[VIDDEC_PIPE_READ], &rfds); 160 FD_SET(pComponentPrivate->free_inpBuf_Q[VIDDEC_PIPE_READ], &rfds); 161 FD_SET(pComponentPrivate->free_outBuf_Q[VIDDEC_PIPE_READ], &rfds); 162 FD_SET(pComponentPrivate->filled_inpBuf_Q[VIDDEC_PIPE_READ], &rfds); 174 status = select (fdmax+1, &rfds, NULL, NULL, NULL); 178 status = pselect (fdmax+1, &rfds, NULL, NULL, NULL, &set); 197 if (FD_ISSET(pComponentPrivate->cmdPipe[VIDDEC_PIPE_READ], &rfds)) { 371 fd_set rfds; local [all...] |
/system/core/toolbox/ |
alarm.c | 24 fd_set rfds; local 170 FD_ZERO(&rfds); 171 FD_SET(fd, &rfds); 172 res = select(fd + 1, &rfds, NULL, NULL, &timeout);
|
/cts/suite/audio_quality/lib/src/ |
ClientSocket.cpp | 100 fd_set rfds; local 104 FD_ZERO(&rfds); 105 FD_SET(mSocket, &rfds); 106 if (select(mSocket + 1, &rfds, NULL, NULL, &tv) == -1) { 111 if (!FD_ISSET(mSocket, &rfds)) {
|
/external/ipsec-tools/src/racoon/ |
schedule.c | 334 fd_set rfds; local 346 rfds = mask0; 350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); 360 if (FD_ISSET(0, &rfds))
|
session.c | 119 fd_set rfds; local 182 rfds = maskdying; 184 rfds = mask0; 195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); 211 (FD_ISSET(lcconf->sock_admin, &rfds))) 218 if (FD_ISSET(p->sock, &rfds)) 222 if (FD_ISSET(lcconf->sock_pfkey, &rfds)) 225 if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) {
|