Home
last modified time | relevance | path

Searched refs:numFds (Results 1 – 2 of 2) sorted by relevance

/system/core/libcutils/
Dnative_handle.c31 native_handle_t* native_handle_create(int numFds, int numInts) in native_handle_create() argument
33 if (numFds < 0 || numInts < 0 || numFds > kMaxNativeFds || numInts > kMaxNativeInts) { in native_handle_create()
37 size_t mallocSize = sizeof(native_handle_t) + (sizeof(int) * (numFds + numInts)); in native_handle_create()
41 h->numFds = numFds; in native_handle_create()
62 const int numFds = h->numFds; in native_handle_close() local
64 for (i=0 ; i<numFds ; i++) { in native_handle_close()
/system/core/include/cutils/
Dnative_handle.h27 int numFds; /* number of file-descriptors at &data[0] */ member
50 native_handle_t* native_handle_create(int numFds, int numInts);