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

/system/core/include/cutils/
H A Dnative_handle.h35 int numInts; /* number of ints at &data[numFds] */ member in struct:native_handle
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.h35 int numInts; /* number of ints at &data[numFds] */ member in struct:native_handle
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.h35 int numInts; /* number of ints at &data[numFds] */ member in struct:native_handle
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
37 handle->numInts = numInts;
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));
52 h->numInts = numInts;
58 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts);
[all...]

Completed in 3661 milliseconds