Home
last modified time | relevance | path

Searched refs:is_identity (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/posix/
Dfile_descriptor_shuffle.cc36 const bool is_identity = i->source == i->dest; in PerformInjectiveMultimapDestructive() local
40 if (!is_identity && i->dest == j->source) { in PerformInjectiveMultimapDestructive()
65 if (!is_identity) { in PerformInjectiveMultimapDestructive()
70 if (!is_identity && i->close) in PerformInjectiveMultimapDestructive()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c67 unsigned is_identity = 1; in rc_remove_unused_constants() local
114 is_identity = 0; in rc_remove_unused_constants()
122 assert( is_identity || new_count < c->Program.Constants.Count); in rc_remove_unused_constants()
126 if (!is_identity) { in rc_remove_unused_constants()
/external/skia/tests/
DMatrix44Test.cpp68 static bool is_identity(const SkMatrix44& m) { in is_identity() function
840 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
845 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
850 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
858 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
860 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()
872 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
887 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
DMatrixTest.cpp68 static bool is_identity(const SkMatrix& m) { in is_identity() function
828 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
833 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
839 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
847 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
849 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()