Searched refs:prefix (Results 51 - 56 of 56) sorted by relevance

123

/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc866 ACTION_P2(PadArgument, prefix, suffix) {
868 std::string prefix_str(prefix);
H A Dgmock-generated-matchers_test.cc1035 MATCHER_P2(EqConcat, prefix, suffix, "") {
1037 std::string prefix_str(prefix);
H A Dgmock-matchers_test.cc3247 const string prefix = local
3249 EXPECT_EQ(prefix + "points to a value that is anything", Describe(matcher));
3250 EXPECT_EQ(prefix + "does not point to a value that is anything",
4958 string prefix = local
4966 AnyOf(prefix + "{\n " + EMString(0, 0) +
4968 prefix + "{\n " + EMString(0, 1) +
4970 prefix + "{\n " + EMString(0, 0) +
4972 prefix + "{\n " + EMString(0, 1) +
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h1236 explicit StartsWithMatcher(const StringType& prefix) : prefix_(prefix) { argument
3989 // Matches a string that starts with 'prefix' (case-sensitive).
3991 StartsWith(const internal::string& prefix) { argument
3993 prefix));
4064 // Matches a string that starts with 'prefix' (case-sensitive).
4066 StartsWith(const internal::wstring& prefix) { argument
4068 prefix));
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-param-test.h109 // INSTANTIATE_TEST_CASE_P macro is a prefix that will be added to the
1421 # define INSTANTIATE_TEST_CASE_P(prefix, test_case_name, generator, ...) \
1423 gtest_##prefix##test_case_name##_EvalGenerator_() { return generator; } \
1424 ::std::string gtest_##prefix##test_case_name##_EvalGenerateName_( \
1429 int gtest_##prefix##test_case_name##_dummy_ GTEST_ATTRIBUTE_UNUSED_ = \
1435 #prefix, \
1436 &gtest_##prefix##test_case_name##_EvalGenerator_, \
1437 &gtest_##prefix##test_case_name##_EvalGenerateName_, \
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc1200 // 'context' represents the desired unchanged prefix/suffix around the diff.
4998 // If *pstr starts with the given prefix, modifies *pstr to be right
4999 // past the prefix and returns true; otherwise leaves *pstr unchanged
5000 // and returns false. None of pstr, *pstr, and prefix can be NULL.
5001 bool SkipPrefix(const char* prefix, const char** pstr) { argument
5002 const size_t prefix_len = strlen(prefix);
5003 if (strncmp(*pstr, prefix, prefix_len) == 0) {
5099 // Determines whether a string has a prefix that Google Test uses for its
5101 // If Google Test detects that a command line flag has its prefix but is not

Completed in 86 milliseconds

123