Searched refs:nh1 (Results 1 – 2 of 2) sorted by relevance
132 bool isWindowNativeHandleEqual(const native_handle_t *nh1, const native_handle_t *nh2) { in isWindowNativeHandleEqual() argument133 if (nh1->numFds !=0 || nh2->numFds !=0) { in isWindowNativeHandleEqual()137 if (nh1->version != nh2->version || nh1->numFds != nh2->numFds || in isWindowNativeHandleEqual()138 nh1->numInts != nh2->numInts) { in isWindowNativeHandleEqual()141 for (int i = 0; i < nh1->numInts; i++) { in isWindowNativeHandleEqual()142 if(nh1->data[i] != nh2->data[i]) { in isWindowNativeHandleEqual()149 bool isWindowNativeHandleLessThan(const native_handle_t *nh1, const native_handle_t *nh2) { in isWindowNativeHandleLessThan() argument150 if (isWindowNativeHandleEqual(nh1, nh2)) { in isWindowNativeHandleLessThan()153 if (nh1->numInts != nh2->numInts) { in isWindowNativeHandleLessThan()154 return nh1->numInts < nh2->numInts; in isWindowNativeHandleLessThan()[all …]
55 bool isWindowNativeHandleEqual(const native_handle_t *nh1, const native_handle_t *nh2);57 bool isWindowNativeHandleLessThan(const native_handle_t *nh1, const native_handle_t *nh2);60 bool isWindowNativeHandleGreaterThan(const native_handle_t *nh1, const native_handle_t *nh2);