Searched refs:pstr (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h540 // If *pstr starts with the given prefix, modifies *pstr to be right
541 // past the prefix and returns true; otherwise leaves *pstr unchanged
542 // and returns false. None of pstr, *pstr, and prefix can be NULL.
543 GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc4998 // 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
5003 if (strncmp(*pstr, prefix, prefix_len) == 0) {
5004 *pstr += prefix_len;

Completed in 28 milliseconds