Searched refs:is_identity (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/base/posix/
H A Dfile_descriptor_shuffle.cc36 const bool is_identity = i->source == i->dest; local
40 if (!is_identity && i->dest == j->source) {
65 if (!is_identity) {
70 if (!is_identity && i->close)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_remove_constants.c67 unsigned is_identity = 1; local
114 is_identity = 0;
120 /* is_identity ==> new_count == old_count
121 * !is_identity ==> new_count < old_count */
122 assert( is_identity || new_count < c->Program.Constants.Count);
126 if (!is_identity) {
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_remove_constants.c67 unsigned is_identity = 1; local
114 is_identity = 0;
120 /* is_identity ==> new_count == old_count
121 * !is_identity ==> new_count < old_count */
122 assert( is_identity || new_count < c->Program.Constants.Count);
126 if (!is_identity) {
/external/chromium_org/third_party/skia/tests/
H A DMatrix44Test.cpp68 static bool is_identity(const SkMatrix44& m) { function
563 REPORTER_ASSERT(reporter, is_identity(iden1));
568 REPORTER_ASSERT(reporter, is_identity(iden1));
573 REPORTER_ASSERT(reporter, is_identity(iden1));
581 REPORTER_ASSERT(reporter, is_identity(iden1));
583 REPORTER_ASSERT(reporter, is_identity(iden2));
594 REPORTER_ASSERT(reporter, is_identity(iden1));
605 REPORTER_ASSERT(reporter, is_identity(iden1));
H A DMatrixTest.cpp68 static bool is_identity(const SkMatrix& m) { function
742 REPORTER_ASSERT(reporter, is_identity(iden1));
747 REPORTER_ASSERT(reporter, is_identity(iden1));
753 REPORTER_ASSERT(reporter, is_identity(iden1));
761 REPORTER_ASSERT(reporter, is_identity(iden1));
763 REPORTER_ASSERT(reporter, is_identity(iden2));
/external/skia/tests/
H A DMatrix44Test.cpp68 static bool is_identity(const SkMatrix44& m) { function
534 REPORTER_ASSERT(reporter, is_identity(iden1));
539 REPORTER_ASSERT(reporter, is_identity(iden1));
544 REPORTER_ASSERT(reporter, is_identity(iden1));
552 REPORTER_ASSERT(reporter, is_identity(iden1));
554 REPORTER_ASSERT(reporter, is_identity(iden2));
565 REPORTER_ASSERT(reporter, is_identity(iden1));
576 REPORTER_ASSERT(reporter, is_identity(iden1));
H A DMatrixTest.cpp68 static bool is_identity(const SkMatrix& m) { function
712 REPORTER_ASSERT(reporter, is_identity(iden1));
717 REPORTER_ASSERT(reporter, is_identity(iden1));
723 REPORTER_ASSERT(reporter, is_identity(iden1));
731 REPORTER_ASSERT(reporter, is_identity(iden1));
733 REPORTER_ASSERT(reporter, is_identity(iden2));

Completed in 190 milliseconds