Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dsignal.c54 static int uv__signal_compare(uv_signal_t* w1, uv_signal_t* w2) { in uv__signal_compare() argument
57 if (w1->signum < w2->signum) return -1; in uv__signal_compare()
58 if (w1->signum > w2->signum) return 1; in uv__signal_compare()
62 if ((uintptr_t) w1->loop < (uintptr_t) w2->loop) return -1; in uv__signal_compare()
63 if ((uintptr_t) w1->loop > (uintptr_t) w2->loop) return 1; in uv__signal_compare()
65 if ((uintptr_t) w1 < (uintptr_t) w2) return -1; in uv__signal_compare()
66 if ((uintptr_t) w1 > (uintptr_t) w2) return 1; in uv__signal_compare()
/libuv/src/unix/
H A Dsignal.c49 static int uv__signal_compare(uv_signal_t* w1, uv_signal_t* w2);
500 static int uv__signal_compare(uv_signal_t* w1, uv_signal_t* w2) { in uv__signal_compare() argument
506 if (w1->signum < w2->signum) return -1; in uv__signal_compare()
507 if (w1->signum > w2->signum) return 1; in uv__signal_compare()
513 f2 = w2->flags & UV_SIGNAL_ONE_SHOT; in uv__signal_compare()
520 if (w1->loop < w2->loop) return -1; in uv__signal_compare()
521 if (w1->loop > w2->loop) return 1; in uv__signal_compare()
523 if (w1 < w2) return -1; in uv__signal_compare()
524 if (w1 > w2) return 1; in uv__signal_compare()

Completed in 7 milliseconds