/external/gtest/test/ |
gtest_unittest.cc | 764 const char* ansi = String::Utf16ToAnsi(L"str"); local 765 EXPECT_STREQ("str", ansi); 766 delete [] ansi; 773 const char* ansi = String::Utf16ToAnsi(L".:\\ \"*?"); local 774 EXPECT_STREQ(".:\\ \"*?", ansi); 775 delete [] ansi; [all...] |
/external/protobuf/gtest/test/ |
gtest_unittest.cc | 1447 const char* ansi = String::Utf16ToAnsi(L"str"); local 1456 const char* ansi = String::Utf16ToAnsi(L".:\\\\ \\"*?"); local [all...] |
/external/chromium/testing/gtest/src/ |
gtest.cc | 855 // Creates a UTF-16 wide string from the given ANSI string, allocating 859 LPCWSTR String::AnsiToUtf16(const char* ansi) { 860 if (!ansi) return NULL; 861 const int length = strlen(ansi); 863 MultiByteToWideChar(CP_ACP, 0, ansi, length, 866 MultiByteToWideChar(CP_ACP, 0, ansi, length, 872 // Creates an ANSI string from the given wide string, allocating 874 // value using delete[]. Returns the ANSI string, or NULL if the 881 char* ansi = new char[ansi_length + 1]; local 883 ansi, ansi_length, NULL, NULL) [all...] |
/external/chromium/testing/gtest/test/ |
gtest_unittest.cc | 1224 const char* ansi = String::Utf16ToAnsi(L"str"); local 1233 const char* ansi = String::Utf16ToAnsi(L".:\\\\ \\"*?"); local [all...] |
/external/gtest/src/ |
gtest.cc | 833 // Creates a UTF-16 wide string from the given ANSI string, allocating 837 LPCWSTR String::AnsiToUtf16(const char* ansi) { 838 if (!ansi) return NULL; 839 const int length = strlen(ansi); 841 MultiByteToWideChar(CP_ACP, 0, ansi, length, 844 MultiByteToWideChar(CP_ACP, 0, ansi, length, 850 // Creates an ANSI string from the given wide string, allocating 852 // value using delete[]. Returns the ANSI string, or NULL if the 859 char* ansi = new char[ansi_length + 1]; local 861 ansi, ansi_length, NULL, NULL) [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest.cc | 828 // Creates a UTF-16 wide string from the given ANSI string, allocating 832 LPCWSTR String::AnsiToUtf16(const char* ansi) { 833 if (!ansi) return NULL; 834 const int length = strlen(ansi); 836 MultiByteToWideChar(CP_ACP, 0, ansi, length, 839 MultiByteToWideChar(CP_ACP, 0, ansi, length, 845 // Creates an ANSI string from the given wide string, allocating 847 // value using delete[]. Returns the ANSI string, or NULL if the 854 char* ansi = new char[ansi_length + 1]; local 856 ansi, ansi_length, NULL, NULL) [all...] |
/external/protobuf/gtest/src/ |
gtest.cc | 820 // Creates a UTF-16 wide string from the given ANSI string, allocating 824 LPCWSTR String::AnsiToUtf16(const char* ansi) { 825 if (!ansi) return NULL; 826 const int length = strlen(ansi); 828 MultiByteToWideChar(CP_ACP, 0, ansi, length, 831 MultiByteToWideChar(CP_ACP, 0, ansi, length, 837 // Creates an ANSI string from the given wide string, allocating 839 // value using delete[]. Returns the ANSI string, or NULL if the 846 char* ansi = new char[ansi_length + 1]; local 848 ansi, ansi_length, NULL, NULL) [all...] |