Home | History | Annotate | Download | only in tools

Lines Matching refs:replacement

277 # Replacement macros for CHECK/DCHECK/EXPECT_TRUE/EXPECT_FALSE
280 for op, replacement in [('==', 'EQ'), ('!=', 'NE'),
283 _CHECK_REPLACEMENT['DCHECK'][op] = 'DCHECK_%s' % replacement
284 _CHECK_REPLACEMENT['CHECK'][op] = 'CHECK_%s' % replacement
285 _CHECK_REPLACEMENT['EXPECT_TRUE'][op] = 'EXPECT_%s' % replacement
286 _CHECK_REPLACEMENT['ASSERT_TRUE'][op] = 'ASSERT_%s' % replacement
287 _CHECK_REPLACEMENT['EXPECT_TRUE_M'][op] = 'EXPECT_%s_M' % replacement
288 _CHECK_REPLACEMENT['ASSERT_TRUE_M'][op] = 'ASSERT_%s_M' % replacement
1218 """Logs an error for each line containing Unicode replacement characters.
1221 or Unicode replacement characters (which it shouldn't). Note that
1233 'Line contains invalid UTF-8 (or Unicode replacement character).')
2725 # Decide the set of replacement macros that should be suggested
4023 # Change stderr to write with replacement characters so we don't die