HomeSort by relevance Sort by last modified time
    Searched defs:numFds (Results 1 - 10 of 10) sorted by null

  /system/core/include/cutils/
native_handle.h 27 int numFds; /* number of file-descriptors at &data[0] */
28 int numInts; /* number of ints at &data[numFds] */
29 int data[0]; /* numFds + numInts ints */
50 native_handle_t* native_handle_create(int numFds, int numInts);
  /system/core/libcutils/
native_handle.c 31 native_handle_t* native_handle_create(int numFds, int numInts)
33 if (numFds < 0 || numInts < 0 || numFds > kMaxNativeFds || numInts > kMaxNativeInts) {
37 size_t mallocSize = sizeof(native_handle_t) + (sizeof(int) * (numFds + numInts));
41 h->numFds = numFds;
62 const int numFds = h->numFds;
64 for (i=0 ; i<numFds ; i++) {
  /device/htc/flounder/sensor_hub/libsensors/
sensors.cpp 602 numFds,
605 static const size_t wake = numFds - 1;
607 struct pollfd mPollFds[numFds];
722 TEMP_FAILURE_RETRY(n = poll(mPollFds, numFds, nbEvents ? 0 : -1));
  /frameworks/native/libs/ui/
Fence.cpp 164 uint32_t numFds;
165 FlattenableUtils::read(buffer, size, numFds);
167 if (numFds > 1) {
171 if (count < numFds) {
175 if (numFds) {
GraphicBuffer.cpp 285 return static_cast<size_t>(handle ? handle->numFds : 0);
309 buf[9] = handle->numFds;
312 static_cast<size_t>(handle->numFds) * sizeof(int));
313 memcpy(&buf[11], handle->data + handle->numFds,
320 fds += handle->numFds;
321 count -= static_cast<size_t>(handle->numFds);
334 const size_t numFds = static_cast<size_t>(buf[9]);
342 if (numFds >= maxNumber || numInts >= (maxNumber - 11)) {
345 ALOGE("unflatten: numFds or numInts is too large: %zd, %zd",
346 numFds, numInts)
    [all...]
  /device/lge/hammerhead/libsensors/
sensors.cpp 131 numFds,
134 static const size_t wake = numFds - 1;
136 struct pollfd mPollFds[numFds];
354 n = poll(mPollFds, numFds, nbEvents ? 0 : polltime);
  /hardware/akm/AK8975_FS/libsensors/
sensors.cpp 142 numFds,
145 static const size_t wake = numFds - 1;
147 struct pollfd mPollFds[numFds];
305 n = poll(mPollFds, numFds, nbEvents ? 0 : -1);
  /hardware/invensense/65xx/libsensors_iio/
sensors_mpl.cpp 106 numFds,
109 struct pollfd mPollFds[numFds];
  /hardware/invensense/6515/libsensors_iio/
sensors_mpl.cpp 121 numFds,
124 struct pollfd mPollFds[numFds];
  /frameworks/native/libs/binder/
Parcel.cpp 860 err = writeInt32(handle->numFds);
866 for (int i=0 ; err==NO_ERROR && i<handle->numFds ; i++)
873 err = write(handle->data + handle->numFds, sizeof(int)*handle->numInts);
    [all...]

Completed in 1426 milliseconds