/external/chromium/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 | 105 int fd_count = 0; local 137 ++fd_count; 139 fd_type, fd, fd_count); 164 if (fd_count == filefd_mapped_files) 168 if (fd_count != filefd_mapped_files) { 169 ALOGE("%s: fd_count:%d != filefd_mapped_files:%d; [Likely Race; add futex?]", __func__, 170 fd_count, filefd_mapped_files);
|
/system/core/init/ |
init.c | 807 int fd_count = 0; local 936 ufds[fd_count].fd = get_property_set_fd(); 937 ufds[fd_count].events = POLLIN; 938 ufds[fd_count].revents = 0; 939 fd_count++; 943 ufds[fd_count].fd = get_signal_fd(); 944 ufds[fd_count].events = POLLIN; 945 ufds[fd_count].revents = 0; 946 fd_count++; 950 ufds[fd_count].fd = get_keychord_fd() [all...] |
/frameworks/native/libs/binder/ |
Parcel.cpp | 806 size_t fd_count = val.getFdCount(); local 811 err = this->writeInt32(fd_count); 820 if (fd_count) { 821 fds = new int[fd_count]; 824 err = val.flatten(buf, len, fds, fd_count); 825 for (size_t i=0 ; i<fd_count && err==NO_ERROR ; i++) { 829 if (fd_count) { 1180 const size_t fd_count = this->readInt32(); local 1188 if (fd_count) { 1189 fds = new int[fd_count]; [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 522 static Int fd_count = 0; variable 545 fd_count--; 583 fd_count++; 698 VG_(message)(Vg_UserMsg, "FILE DESCRIPTORS: %d open at exit.\n", fd_count); [all...] |