/external/libchrome/sandbox/linux/services/ |
proc_util_unittest.cc | 19 int fd_count = ProcUtil::CountOpenFds(proc_fd.get()); local 22 EXPECT_EQ(fd_count + 1, ProcUtil::CountOpenFds(proc_fd.get())); 24 EXPECT_EQ(fd_count, ProcUtil::CountOpenFds(proc_fd.get()));
|
/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...] |
/frameworks/native/libs/vr/libbufferhub/ |
ion_buffer.cpp | 122 int IonBuffer::Import(const int* fd_array, int fd_count, const int* int_array, 128 "IonBuffer::Import: fd_count=%d int_count=%d width=%u height=%u " 130 fd_count, int_count, width, height, layer_count, stride, format, 133 if (fd_count < 0 || int_count < 0) { 138 native_handle_t* handle = native_handle_create(fd_count, int_count); 146 memcpy(handle->data, fd_array, sizeof(int) * fd_count); 147 memcpy(handle->data + fd_count, int_array, sizeof(int) * int_count); 165 const int fd_count = other->handle()->numFds; local 168 if (fd_count < 0 || int_count < 0) 171 native_handle_t* handle = native_handle_create(fd_count, int_count) [all...] |
/external/libevent/ |
win32select.c | 56 u_int fd_count; member in struct:win_fd_set 104 EVUTIL_ASSERT(new_num_fds >= op->readset_in->fd_count && 105 new_num_fds >= op->writeset_in->fd_count); 129 if (set->fd_count == op->num_fds_in_fd_sets) { 135 set->fd_array[set->fd_count] = s; 137 ent->read_pos_plus1 = set->fd_count+1; 139 ent->write_pos_plus1 = set->fd_count+1; 140 return (set->fd_count++); 158 if (--set->fd_count != (unsigned)i) { 161 s2 = set->fd_array[i] = set->fd_array[set->fd_count]; 279 int fd_count; local [all...] |
/bionic/tests/ |
fortify_test.cpp | 974 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local 977 ASSERT_FORTIFY(poll(buf, fd_count, 0)); 981 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local 986 ASSERT_FORTIFY(ppoll(buf, fd_count, &timeout, NULL));
|
/device/google/contexthub/util/nanotool/ |
androidcontexthub.cpp | 242 int fd_count = ResetPollFds(pollfds, kDeviceFileCount); local 245 int ret = poll(pollfds, fd_count, timeout);
|
/device/google/dragon/bluetooth/ |
vendor_interface.cc | 226 int fd_count = lib_interface_->op(BT_VND_OP_USERIAL_OPEN, &fd_list); local 228 for (int i = 0; i < fd_count; i++) { 240 if (fd_count == 1) {
|
/hardware/interfaces/bluetooth/1.0/default/ |
vendor_interface.cc | 229 int fd_count = lib_interface_->op(BT_VND_OP_USERIAL_OPEN, &fd_list); local 231 if (fd_count < 1 || fd_count > CH_MAX - 1) { 232 ALOGE("%s: fd_count %d is invalid!", __func__, fd_count); 236 for (int i = 0; i < fd_count; i++) { 248 if (fd_count == 1) {
|
/frameworks/native/libs/vr/libpdx_uds/ |
ipc_helper.cpp | 173 uint32_t fd_count{0}; 195 preamble.fd_count = file_handles_.size(); 310 file_handles_.reserve(preamble.fd_count); 321 size_t fd_count = payload_len / sizeof(int); local 322 std::transform(fds, fds + fd_count, std::back_inserter(file_handles_),
|
/external/webrtc/webrtc/p2p/base/ |
turnport_unittest.cc | 84 int fd_count = 0; local 89 ++fd_count; 92 return fd_count; [all...] |
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
bufferhub_rpc.h | 97 const int fd_count = buffer.handle()->numFds; local 99 for (int i = 0; i < fd_count; i++) { 103 opaque_ints_.push_back(buffer.handle()->data[fd_count + i]);
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-generic.c | 551 static Int fd_count = 0; variable 573 fd_count--; 612 fd_count++; 831 VG_(message)(Vg_UserMsg, "FILE DESCRIPTORS: %d open %s.\n", fd_count, when); [all...] |
/frameworks/native/libs/binder/ |
Parcel.cpp | 1264 const size_t fd_count = val.getFdCount(); local 2211 const size_t fd_count = this->readInt32(); local [all...] |