/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_fd_types.h | 23 u_int fd_count; member in struct:fd_set 41 for(__i = 0; __i < ((fd_set *)(set))->fd_count; __i++) { \ 43 while (__i < ((fd_set *)(set))->fd_count - 1) { \ 48 ((fd_set *)(set))->fd_count--; \ 56 #define FD_ZERO(set) (((fd_set *)(set))->fd_count = 0) 76 for(__i = 0; __i < ((fd_set *)(set))->fd_count; __i++) { \ 81 if (__i == ((fd_set *)(set))->fd_count) { \ 82 if (((fd_set *)(set))->fd_count < FD_SETSIZE) { \ 84 ((fd_set *)(set))->fd_count++; \ 92 if (((fd_set *)(set))->fd_count < FD_SETSIZE) [all...] |
/external/chromium_org/sandbox/linux/services/ |
credentials_unittest.cc | 64 int fd_count = creds.CountOpenFds(proc_fd.get()); local 67 EXPECT_EQ(fd_count + 1, creds.CountOpenFds(proc_fd.get())); 69 EXPECT_EQ(fd_count, creds.CountOpenFds(proc_fd.get()));
|
/external/chromium_org/third_party/libevent/ |
poll.c | 59 int fd_count; /* Size of idxplus1_by_fd */ member in struct:pollop 108 for (i = 0; i < pop->fd_count; ++i) { 258 if (ev->ev_fd >= pop->fd_count) { 261 if (pop->fd_count < 32) 264 new_count = pop->fd_count * 2; 274 memset(pop->idxplus1_by_fd + pop->fd_count, 275 0, sizeof(int)*(new_count - pop->fd_count)); 276 pop->fd_count = new_count;
|
/development/ndk/sources/android/libportable/arch-mips/ |
filefd.c | 104 int fd_count = 0; local 136 ++fd_count; 138 fd_type, fd, fd_count); 163 if (fd_count == filefd_mapped_files) 167 if (fd_count != filefd_mapped_files) { 168 ALOGE("%s: fd_count:%d != filefd_mapped_files:%d; [Likely Race; add futex?]", __func__, 169 fd_count, filefd_mapped_files);
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
turnport_unittest.cc | 94 int fd_count = 0; local 99 ++fd_count; 102 return fd_count;
|
/system/core/init/ |
init.c | 1003 int fd_count = 0; local 1118 ufds[fd_count].fd = get_property_set_fd(); 1119 ufds[fd_count].events = POLLIN; 1120 ufds[fd_count].revents = 0; 1121 fd_count++; 1125 ufds[fd_count].fd = get_signal_fd(); 1126 ufds[fd_count].events = POLLIN; 1127 ufds[fd_count].revents = 0; 1128 fd_count++; 1132 ufds[fd_count].fd = get_keychord_fd() [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 522 static Int fd_count = 0; variable 545 fd_count--; 583 fd_count++; 775 VG_(message)(Vg_UserMsg, "FILE DESCRIPTORS: %d open %s.\n", fd_count, when); [all...] |
/frameworks/native/libs/binder/ |
Parcel.cpp | 882 const size_t fd_count = val.getFdCount(); local 887 err = this->writeInt32(fd_count); 896 if (fd_count) { 897 fds = new int[fd_count]; 900 err = val.flatten(buf, len, fds, fd_count); 901 for (size_t i=0 ; i<fd_count && err==NO_ERROR ; i++) { 905 if (fd_count) { 1292 const size_t fd_count = this->readInt32(); local [all...] |