Lines Matching refs:native_handle
136 struct private_handle_t : public native_handle
141 struct native_handle nativeHandle;
245 version = sizeof(native_handle); in private_handle_t()
247 numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in private_handle_t()
277 version = sizeof(native_handle); in private_handle_t()
279 numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in private_handle_t()
314 version = sizeof(native_handle); in private_handle_t()
316 numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in private_handle_t()
329 static int validate(const native_handle *h) in validate()
333 if (!hnd || hnd->version != sizeof(native_handle) || hnd->magic != sMagic) in validate()
339 int numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in validate()
357 static private_handle_t *dynamicCast(const native_handle *in) in dynamicCast()