HomeSort by relevance Sort by last modified time
    Searched refs:numFds (Results 1 - 19 of 19) 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 28 native_handle_t* native_handle_create(int numFds, int numInts)
31 sizeof(native_handle_t) + sizeof(int)*(numFds+numInts));
34 h->numFds = numFds;
54 const int numFds = h->numFds;
56 for (i=0 ; i<numFds ; i++) {
  /device/generic/goldfish/opengl/system/OpenglSystemCommon/
gralloc_cb.h 55 numFds = 0;
56 numInts = CB_HANDLE_NUM_INTS(numFds);
65 numFds = 1;
68 numFds = 0;
71 numInts = CB_HANDLE_NUM_INTS(numFds);
78 hnd->numInts == CB_HANDLE_NUM_INTS(hnd->numFds));
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 208 return handle ? handle->numFds : 0;
229 buf[6] = handle->numFds;
232 memcpy(fds, h->data, h->numFds*sizeof(int));
233 memcpy(&buf[8], h->data + h->numFds, h->numInts*sizeof(int));
238 fds += handle->numFds;
239 count -= handle->numFds;
251 const size_t numFds = buf[6];
265 if (numFds || numInts) {
271 native_handle* h = native_handle_create(numFds, numInts);
272 memcpy(h->data, fds, numFds*sizeof(int))
    [all...]
Fence.cpp 159 size_t numFds;
160 FlattenableUtils::read(buffer, size, numFds);
162 if (numFds > 1) {
166 if (count < numFds) {
170 if (numFds) {
  /hardware/libhardware/modules/gralloc/
gralloc_priv.h 92 numFds = sNumFds;
101 h->numInts != sNumInts || h->numFds != sNumFds ||
  /hardware/samsung_slsi/exynos5/include/
gralloc_priv.h 118 numFds = sNumFds - 2;
130 numFds = sNumFds - 1;
142 numFds = sNumFds;
151 hnd->numInts + hnd->numFds != sNumInts + sNumFds ||
  /hardware/qcom/display/msm8960/libgralloc/
gralloc_priv.h 202 numFds = sNumFds;
215 h->numInts != sNumInts || h->numFds != sNumFds ||
223 h ? h->numFds : -1, sNumFds,
  /hardware/qcom/display/msm8974/libgralloc/
gralloc_priv.h 200 numFds = sNumFds;
213 h->numInts != sNumInts || h->numFds != sNumFds ||
221 h ? h->numFds : -1, sNumFds,
  /hardware/qcom/display/msm8x26/libgralloc/
gralloc_priv.h 201 numFds = sNumFds;
214 h->numInts != sNumInts || h->numFds != sNumFds ||
222 h ? h->numFds : -1, sNumFds,
  /device/samsung/manta/libsensors/
sensors.cpp 130 numFds,
133 static const size_t wake = numFds - 1;
135 struct pollfd mPollFds[numFds];
299 n = poll(mPollFds, numFds, nbEvents ? 0 : polltime);
  /hardware/akm/AK8975_FS/libsensors/
sensors.cpp 139 numFds,
142 static const size_t wake = numFds - 1;
144 struct pollfd mPollFds[numFds];
302 n = poll(mPollFds, numFds, nbEvents ? 0 : -1);
  /hardware/invensense/65xx/libsensors_iio/
sensors_mpl.cpp 104 numFds,
107 struct pollfd mPollFds[numFds];
212 nb = poll(mPollFds, numFds, polltime);
  /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);
  /frameworks/native/libs/binder/
Parcel.cpp 723 err = writeInt32(handle->numFds);
729 for (int i=0 ; err==NO_ERROR && i<handle->numFds ; i++)
736 err = write(handle->data + handle->numFds, sizeof(int)*handle->numInts);
1126 int numFds, numInts;
1128 err = readInt32(&numFds);
1133 native_handle* h = native_handle_create(numFds, numInts);
1134 for (int i=0 ; err==NO_ERROR && i<numFds ; i++) {
1138 err = read(h->data + numFds, sizeof(int)*numInts);
    [all...]
  /hardware/invensense/60xx/libsensors_iio/
sensors_mpl.cpp 97 numFds,
  /hardware/samsung_slsi/exynos5/libcamera2/
ExynosCameraHWInterface2.cpp     [all...]
  /hardware/qcom/media/mm-video-legacy/vidc/venc/src/
omx_video_base.cpp     [all...]
  /hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
omx_video_base.cpp     [all...]

Completed in 927 milliseconds