Lines Matching refs:h
38 native_handle_t* h = malloc(mallocSize); in native_handle_create() local
39 if (h) { in native_handle_create()
40 h->version = sizeof(native_handle_t); in native_handle_create()
41 h->numFds = numFds; in native_handle_create()
42 h->numInts = numInts; in native_handle_create()
44 return h; in native_handle_create()
47 int native_handle_delete(native_handle_t* h) in native_handle_delete() argument
49 if (h) { in native_handle_delete()
50 if (h->version != sizeof(native_handle_t)) in native_handle_delete()
52 free(h); in native_handle_delete()
57 int native_handle_close(const native_handle_t* h) in native_handle_close() argument
59 if (h->version != sizeof(native_handle_t)) in native_handle_close()
62 const int numFds = h->numFds; in native_handle_close()
65 close(h->data[i]); in native_handle_close()