Home | History | Annotate | Download | only in libcutils

Lines Matching refs:handle

34     native_handle_t* handle = (native_handle_t*) storage;
35 handle->version = sizeof(native_handle_t);
36 handle->numFds = numFds;
37 handle->numInts = numInts;
38 return handle;
57 native_handle_t* native_handle_clone(const native_handle_t* handle) {
58 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts);
61 for (int i = 0; i < handle->numFds; i++) {
62 clone->data[i] = dup(handle->data[i]);
71 memcpy(&clone->data[handle->numFds], &handle->data[handle->numFds],
72 sizeof(int) * handle->numInts);