Lines Matching refs:UPDATE_FLAG
372 assert_se(UPDATE_FLAG(0, 0, true) == 0); in TEST()
373 assert_se(UPDATE_FLAG(0, F1, true) == F1); in TEST()
374 assert_se(UPDATE_FLAG(0, F1 | F2, true) == (F1 | F2)); in TEST()
375 assert_se(UPDATE_FLAG(F1, 0, true) == F1); in TEST()
376 assert_se(UPDATE_FLAG(F1, F1, true) == F1); in TEST()
377 assert_se(UPDATE_FLAG(F1, F3, true) == (F1 | F3)); in TEST()
378 assert_se(UPDATE_FLAG(F1, F1 | F3, true) == (F1 | F3)); in TEST()
379 assert_se(UPDATE_FLAG(F1, F_ALL, true) == F_ALL); in TEST()
380 assert_se(UPDATE_FLAG(0, 0, false) == 0); in TEST()
381 assert_se(UPDATE_FLAG(0, F1, false) == 0); in TEST()
382 assert_se(UPDATE_FLAG(0, F1 | F2, false) == 0); in TEST()
383 assert_se(UPDATE_FLAG(F1, 0, false) == F1); in TEST()
384 assert_se(UPDATE_FLAG(F1, F1, false) == 0); in TEST()
385 assert_se(UPDATE_FLAG(F1, F3, false) == F1); in TEST()
386 assert_se(UPDATE_FLAG(F1, F1 | F3, false) == 0); in TEST()
387 assert_se(UPDATE_FLAG(F1, F2 | F3, false) == F1); in TEST()
388 assert_se(UPDATE_FLAG(F1, F_ALL, false) == 0); in TEST()
389 assert_se(UPDATE_FLAG(F_ALL, F_ALL, false) == 0); in TEST()
394 assert_se(UPDATE_FLAG(--n, ++f, true) == (F1 | F2)); in TEST()