/external/chromium_org/printing/ |
printing_utils_unittest.cc | 16 EXPECT_STREQ("", Simplify("").c_str()); 19 "Long string. Long string. Long string.").c_str()); 21 Simplify("C\ron\ntrol Charac\15ters").c_str()); 22 EXPECT_STREQ("", Simplify("\n\r\n\r\t\r").c_str());
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-string.h | 88 static inline const char* ShowCString(const char* c_str) { 89 return c_str ? c_str : "(null)"; 99 static String ShowCStringQuoted(const char* c_str); 108 static const char* CloneCString(const char* c_str); 161 String(const char* c_str) : c_str_(NULL) { // NOLINT 162 *this = c_str; 191 bool operator==(const char* c_str) const { 192 return CStringEquals(c_str_, c_str); 197 bool operator!=(const char* c_str) const 218 const char* c_str() const { return c_str_; } function in class:testing::internal::String [all...] |
/external/chromium/testing/gtest/test/ |
gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); 96 GetCurrentExecutableName().c_str() + ".xml")).c_str(); 99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); [all...] |
/external/gtest/test/ |
gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); 96 GetCurrentExecutableName().c_str() + ".xml")).c_str(); 99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); [all...] |
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-string.h | 90 static String ShowCStringQuoted(const char* c_str); 99 static const char* CloneCString(const char* c_str); 114 static LPCWSTR AnsiToUtf16(const char* c_str); 193 String(const char* c_str) { // NOLINT 194 if (c_str == NULL) { 198 ConstructNonNull(c_str, strlen(c_str)); 226 ConstructNonNull(str.c_str(), str.length()); 229 operator ::std::string() const { return ::std::string(c_str(), length()); } 234 ConstructNonNull(str.c_str(), str.length()) 275 const char* c_str() const { return c_str_; } function in class:testing::internal::String 318 const char* const c_str = str.c_str(); local 323 os << c_str[i]; local [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-string.h | 90 static String ShowCStringQuoted(const char* c_str); 99 static const char* CloneCString(const char* c_str); 114 static LPCWSTR AnsiToUtf16(const char* c_str); 193 String(const char* c_str) { // NOLINT 194 if (c_str == NULL) { 198 ConstructNonNull(c_str, strlen(c_str)); 226 ConstructNonNull(str.c_str(), str.length()); 229 operator ::std::string() const { return ::std::string(c_str(), length()); } 234 ConstructNonNull(str.c_str(), str.length()) 275 const char* c_str() const { return c_str_; } function in class:testing::internal::String 318 const char* const c_str = str.c_str(); local 323 os << c_str[i]; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.cons/ |
pointer.pass.cpp | 25 std::ofstream fs(temp.c_str()); 29 std::ifstream fs(temp.c_str()); 34 std::remove(temp.c_str()); 36 std::wofstream fs(temp.c_str()); 40 std::wifstream fs(temp.c_str()); 45 std::remove(temp.c_str());
|
move.pass.cpp | 26 std::ofstream fso(temp.c_str()); 31 std::ifstream fs(temp.c_str()); 36 std::remove(temp.c_str()); 38 std::wofstream fso(temp.c_str()); 43 std::wifstream fs(temp.c_str()); 48 std::remove(temp.c_str());
|
/external/chromium/chrome/browser/content_settings/ |
content_settings_pattern_unittest.cc | 45 .CanonicalizePattern().c_str()); 47 .CanonicalizePattern().c_str()); 49 .CanonicalizePattern().c_str()); 51 .CanonicalizePattern().c_str()); 53 "file:///tmp/file.html").CanonicalizePattern().c_str()); 57 "[*.]\xC4\x87ira.com").CanonicalizePattern().c_str()); 59 "\xC4\x87ira.com").CanonicalizePattern().c_str()); 61 "file:///\xC4\x87ira.html").CanonicalizePattern().c_str()); 65 "file:///tmp/bar/../test.html").CanonicalizePattern().c_str()); 69 "*example.com").CanonicalizePattern().c_str()); [all...] |
/external/chromium_org/gpu/command_buffer/common/ |
debug_marker_manager_unittest.cc | 25 EXPECT_STREQ("", manager_.GetMarker().c_str()); 29 EXPECT_STREQ("", manager_.GetMarker().c_str()); 32 EXPECT_STREQ(".mark1", manager_.GetMarker().c_str()); 34 EXPECT_STREQ(".mark2", manager_.GetMarker().c_str()); 37 EXPECT_STREQ(".abc", manager_.GetMarker().c_str()); 40 EXPECT_STREQ(".abc.mark3", manager_.GetMarker().c_str()); 42 EXPECT_STREQ(".abc.mark4", manager_.GetMarker().c_str()); 45 EXPECT_STREQ(".abc.def", manager_.GetMarker().c_str()); 48 EXPECT_STREQ(".abc.def.mark5", manager_.GetMarker().c_str()); 50 EXPECT_STREQ(".abc.def.mark6", manager_.GetMarker().c_str()); [all...] |
/external/chromium_org/chrome/browser/extensions/api/log_private/ |
syslog_parser_unittest.cc | 41 EXPECT_STREQ(output[0]->level.c_str(), "error"); 42 EXPECT_STREQ(output[0]->process.c_str(), "shill:"); 43 EXPECT_STREQ(output[0]->process_id.c_str(), "unknown"); 44 EXPECT_STREQ(output[0]->full_entry.c_str(), kShillLogEntry); 48 EXPECT_STREQ(output[1]->level.c_str(), "unknown"); 49 EXPECT_STREQ(output[1]->process.c_str(), "wpa_supplicant"); 50 EXPECT_STREQ(output[1]->process_id.c_str(), "894"); 51 EXPECT_STREQ(output[1]->full_entry.c_str(), kWpaSupplicantLogEntry);
|
/external/chromium_org/rlz/examples/ |
rlz_id.cc | 12 printf("%s\n", machine_id.c_str());
|
/external/chromium_org/base/android/ |
fifo_utils.cc | 16 return mkfifo(path.value().c_str(), mode) == 0 && 17 chmod(path.value().c_str(), mode) == 0; 21 return freopen(path.value().c_str(), mode, stream) != NULL;
|
/external/chromium_org/base/test/ |
scoped_locale.cc | 15 EXPECT_TRUE(setlocale(LC_ALL, locale.c_str()) != NULL) << 20 EXPECT_STREQ(prev_locale_.c_str(), setlocale(LC_ALL, prev_locale_.c_str()));
|
/external/chromium_org/chromeos/network/ |
network_profile.cc | 15 path.c_str()); 18 path.c_str(), 19 userhash.c_str());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.assign/ |
member_swap.pass.cpp | 26 std::ofstream fs1(temp1.c_str()); 27 std::ofstream fs2(temp2.c_str()); 35 std::ifstream fs(temp1.c_str()); 42 std::remove(temp1.c_str()); 44 std::ifstream fs(temp2.c_str()); 51 std::remove(temp2.c_str()); 53 std::wofstream fs1(temp1.c_str()); 54 std::wofstream fs2(temp2.c_str()); 62 std::wifstream fs(temp1.c_str()); 69 std::remove(temp1.c_str()); [all...] |
nonmember_swap.pass.cpp | 27 std::ofstream fs1(temp1.c_str()); 28 std::ofstream fs2(temp2.c_str()); 36 std::ifstream fs(temp1.c_str()); 43 std::remove(temp1.c_str()); 45 std::ifstream fs(temp2.c_str()); 52 std::remove(temp2.c_str()); 54 std::wofstream fs1(temp1.c_str()); 55 std::wofstream fs2(temp2.c_str()); 63 std::wifstream fs(temp1.c_str()); 70 std::remove(temp1.c_str()); [all...] |
move_assign.pass.cpp | 26 std::ofstream fso(temp.c_str()); 32 std::ifstream fs(temp.c_str()); 37 std::remove(temp.c_str()); 39 std::wofstream fso(temp.c_str()); 45 std::wifstream fs(temp.c_str()); 50 std::remove(temp.c_str());
|
/external/protobuf/gtest/test/ |
gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); 81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), 82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); 87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), 88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); 96 _strcmpi(output_file.c_str(), 98 FilePath("path\\gtest-options_test.xml")).c_str()) == 0 || 99 _strcmpi(output_file.c_str(), 101 FilePath("path\\gtest-options-ex_test.xml")).c_str()) == 0 | [all...] |
/external/chromium_org/chrome/common/cloud_print/ |
cloud_print_helpers_unittest.cc | 23 EXPECT_EQ(base::StringPrintf("%ssearch", expected_url_base.c_str()), 26 EXPECT_EQ(base::StringPrintf("%ssubmit", expected_url_base.c_str()), 30 expected_url_base.c_str()), 34 EXPECT_EQ(base::StringPrintf("%sregister", expected_url_base.c_str()), 38 expected_url_base.c_str()), 42 expected_url_base.c_str()), 47 expected_url_base.c_str()), 52 expected_url_base.c_str()), 57 expected_url_base.c_str()), 62 expected_url_base.c_str()), [all...] |
/external/chromium/chrome/browser/debugger/ |
devtools_remote_message_unittest.cc | 33 DevToolsRemoteMessageHeaders::kTool).c_str()); 34 ASSERT_STREQ("DevToolsService", message.tool().c_str()); 35 ASSERT_STREQ(content.c_str(), message.content().c_str()); 55 DevToolsRemoteMessageHeaders::kTool).c_str()); 58 message->tool().c_str()); 62 DevToolsRemoteMessageHeaders::kDestination).c_str()); 65 message->destination().c_str()); 69 ASSERT_STREQ(content.c_str(), message->content().c_str()); [all...] |
/external/chromium_org/chrome/installer/util/ |
registry_key_backup_unittest.cc | 36 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), destination_path_.c_str())); 37 EXPECT_FALSE(RegKey(test_data_.root_key(), destination_path_.c_str(), 48 non_existent_key_path.c_str())); 49 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), destination_path_.c_str())); 50 EXPECT_FALSE(RegKey(test_data_.root_key(), destination_path_.c_str(), 59 test_data_.non_empty_key_path().c_str())); 60 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), destination_path_.c_str())); 62 destination_path_.c_str()); 72 test_data_.non_empty_key_path().c_str())); 75 destination_path_.c_str())); [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-filepath.cc | 63 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { 64 return FilePath(String(pathname_.c_str(), pathname_.GetLength() - 4)); 76 const char* const last_sep = strrchr(c_str(), kPathSeparator); 87 const char* const last_sep = strrchr(c_str(), kPathSeparator); 88 return FilePath(last_sep ? String(c_str(), last_sep + 1 - c_str()) 104 return FilePath(String::Format("%s%c%s.%s", dir.c_str(), kPathSeparator, 105 base_name.c_str(), extension)); 107 return FilePath(String::Format("%s%c%s_%d.%s", dir.c_str(), kPathSeparator, 108 base_name.c_str(), number, extension)) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
browser_action_apitest.cc | 22 EXPECT_STREQ(WideToUTF8(L"Hreggvi\u00F0ur: l10n browser action").c_str(), 23 extension->description().c_str()); 24 EXPECT_STREQ(WideToUTF8(L"Hreggvi\u00F0ur is my name").c_str(), 25 extension->name().c_str()); 28 EXPECT_STREQ(WideToUTF8(L"Hreggvi\u00F0ur").c_str(), 29 extension->browser_action()->GetTitle(tab_id).c_str());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.members/ |
open_pointer.pass.cpp | 30 fs.open(temp.c_str()); 35 std::ifstream fs(temp.c_str()); 40 std::remove(temp.c_str()); 47 fs.open(temp.c_str()); 52 std::wifstream fs(temp.c_str()); 57 std::remove(temp.c_str());
|