Searched defs:numFds (Results 1 - 4 of 4) sorted by relevance

/system/core/include/cutils/
H A Dnative_handle.h34 int numFds; /* number of file-descriptors at &data[0] */ member in struct:native_handle
35 int numInts; /* number of ints at &data[numFds] */
40 int data[0]; /* numFds + numInts ints */
62 * NATIVE_HANDLE_DECLARE_STORAGE. numFds and numInts must not respectively
65 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
74 native_handle_t* native_handle_create(int numFds, int numInts);
/system/core/libcutils/include/cutils/
H A Dnative_handle.h34 int numFds; /* number of file-descriptors at &data[0] */ member in struct:native_handle
35 int numInts; /* number of ints at &data[numFds] */
40 int data[0]; /* numFds + numInts ints */
62 * NATIVE_HANDLE_DECLARE_STORAGE. numFds and numInts must not respectively
65 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
74 native_handle_t* native_handle_create(int numFds, int numInts);
/system/core/libcutils/include_vndk/cutils/
H A Dnative_handle.h34 int numFds; /* number of file-descriptors at &data[0] */ member in struct:native_handle
35 int numInts; /* number of ints at &data[numFds] */
40 int data[0]; /* numFds + numInts ints */
62 * NATIVE_HANDLE_DECLARE_STORAGE. numFds and numInts must not respectively
65 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
74 native_handle_t* native_handle_create(int numFds, int numInts);
/system/core/libcutils/
H A Dnative_handle.cpp28 native_handle_t* native_handle_init(char* storage, int numFds, int numInts) { argument
36 handle->numFds = numFds;
41 native_handle_t* native_handle_create(int numFds, int numInts) { argument
42 if (numFds < 0 || numInts < 0 || numFds > kMaxNativeFds || numInts > kMaxNativeInts) {
47 size_t mallocSize = sizeof(native_handle_t) + (sizeof(int) * (numFds + numInts));
51 h->numFds = numFds;
58 native_handle_t* clone = native_handle_create(handle->numFds, handl
89 const int numFds = h->numFds; local
[all...]

Completed in 473 milliseconds