diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2021-07-28 19:19:29 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2021-07-28 19:44:41 +0900 |
commit | 3089d37cddba236d897011fae81441e21742b3c2 (patch) | |
tree | 0a7a1d27e46c5f4622967445453290cd028281e4 /third_party/googletest/src/include/gtest/internal/gtest-string.h | |
parent | f23bdd269a98e2774c603d1461e235222d94aeac (diff) | |
parent | b41ffb53f1000ab2227c1736d8c1355aa5081c40 (diff) | |
download | libvpx-3089d37cddba236d897011fae81441e21742b3c2.tar.gz libvpx-3089d37cddba236d897011fae81441e21742b3c2.tar.bz2 libvpx-3089d37cddba236d897011fae81441e21742b3c2.zip |
Bump up to v1.10.0tizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen/20210730.070304accepted/tizen/unified/20210802.135805accepted/tizen/7.0/unified/hotfix/20221116.111044accepted/tizen/7.0/unified/20221110.062557accepted/tizen/6.5/unified/20211029.014243tizen_7.0_hotfixtizen_6.5accepted/tizen_7.0_unified_hotfixaccepted/tizen_6.5_unified
- Remove .gbs.conf to fix build error with upstream branch.
Change-Id: I60b6ad46daae0f1b16b7eaafe74766a29be48cb7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Diffstat (limited to 'third_party/googletest/src/include/gtest/internal/gtest-string.h')
-rw-r--r-- | third_party/googletest/src/include/gtest/internal/gtest-string.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/third_party/googletest/src/include/gtest/internal/gtest-string.h b/third_party/googletest/src/include/gtest/internal/gtest-string.h index 4c9b6262c..0b2a91a5d 100644 --- a/third_party/googletest/src/include/gtest/internal/gtest-string.h +++ b/third_party/googletest/src/include/gtest/internal/gtest-string.h @@ -47,6 +47,7 @@ #endif #include <string.h> +#include <cstdint> #include <string> #include "gtest/internal/gtest-port.h" @@ -94,7 +95,8 @@ class GTEST_API_ String { static const char* Utf16ToAnsi(LPCWSTR utf16_str); #endif - // Compares two C strings. Returns true iff they have the same content. + // Compares two C strings. Returns true if and only if they have the same + // content. // // Unlike strcmp(), this function can handle NULL argument(s). A // NULL C string is considered different to any non-NULL C string, @@ -107,16 +109,16 @@ class GTEST_API_ String { // returned. static std::string ShowWideCString(const wchar_t* wide_c_str); - // Compares two wide C strings. Returns true iff they have the same - // content. + // Compares two wide C strings. Returns true if and only if they have the + // same content. // // Unlike wcscmp(), this function can handle NULL argument(s). A // NULL C string is considered different to any non-NULL C string, // including the empty string. static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs); - // Compares two C strings, ignoring case. Returns true iff they - // have the same content. + // Compares two C strings, ignoring case. Returns true if and only if + // they have the same content. // // Unlike strcasecmp(), this function can handle NULL argument(s). // A NULL C string is considered different to any non-NULL C string, @@ -124,8 +126,8 @@ class GTEST_API_ String { static bool CaseInsensitiveCStringEquals(const char* lhs, const char* rhs); - // Compares two wide C strings, ignoring case. Returns true iff they - // have the same content. + // Compares two wide C strings, ignoring case. Returns true if and only if + // they have the same content. // // Unlike wcscasecmp(), this function can handle NULL argument(s). // A NULL C string is considered different to any non-NULL wide C string, @@ -139,8 +141,8 @@ class GTEST_API_ String { static bool CaseInsensitiveWideCStringEquals(const wchar_t* lhs, const wchar_t* rhs); - // Returns true iff the given string ends with the given suffix, ignoring - // case. Any string is considered to end with an empty suffix. + // Returns true if and only if the given string ends with the given suffix, + // ignoring case. Any string is considered to end with an empty suffix. static bool EndsWithCaseInsensitive( const std::string& str, const std::string& suffix); @@ -150,6 +152,9 @@ class GTEST_API_ String { // Formats an int value as "%X". static std::string FormatHexInt(int value); + // Formats an int value as "%X". + static std::string FormatHexUInt32(uint32_t value); + // Formats a byte as "%02X". static std::string FormatByte(unsigned char value); |