Home
last modified time | relevance | path

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

/system/libbase/include/android-base/
Dtest_utils.h57 #define __LIBBASE_GENERIC_REGEX_SEARCH(__s, __pattern) \ argument
58 (std::regex_search(__s, std::basic_regex<std::decay<decltype(__s[0])>::type>((__pattern))))
62 auto __s = (__string); \
63 if (!__LIBBASE_GENERIC_REGEX_SEARCH(__s, (__pattern))) { \
64 FAIL() << "regex mismatch: expected " << (__pattern) << " in:\n" << __s; \
70 auto __s = (__string); \
71 if (__LIBBASE_GENERIC_REGEX_SEARCH(__s, (__pattern))) { \
72 FAIL() << "regex mismatch: expected to not find " << (__pattern) << " in:\n" << __s; \
78 auto __s = (__string); \
79 if (!__LIBBASE_GENERIC_REGEX_SEARCH(__s, (__pattern))) { \
[all …]