Searched refs:c_str (Results 1 - 25 of 1452) sorted by relevance

1234567891011>>

/external/chromium/testing/gtest/test/
H A Dgtest-options_test.cc71 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...]
H A Dgtest-filepath_test.cc78 filepath.RemoveTrailingPathSeparator().c_str());
92 posix::ChDir(original_dir.c_str());
97 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
103 EXPECT_STREQ(GTEST_PATH_SEP_, cwd.c_str());
124 EXPECT_STREQ("", FilePath("").RemoveDirectoryName().c_str());
130 FilePath("afile").RemoveDirectoryName().c_str());
136 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str());
142 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().c_str());
148 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str());
155 .RemoveDirectoryName().c_str());
[all...]
/external/gtest/test/
H A Dgtest-options_test.cc71 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...]
H A Dgtest-filepath_test.cc78 filepath.RemoveTrailingPathSeparator().c_str());
92 posix::ChDir(original_dir.c_str());
97 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
103 EXPECT_STREQ(GTEST_PATH_SEP_, cwd.c_str());
124 EXPECT_STREQ("", FilePath("").RemoveDirectoryName().c_str());
130 FilePath("afile").RemoveDirectoryName().c_str());
136 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str());
142 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().c_str());
148 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str());
155 .RemoveDirectoryName().c_str());
[all...]
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_pattern_unittest.cc45 .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/protobuf/gtest/test/
H A Dgtest-options_test.cc71 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())
[all...]
H A Dgtest-filepath_test.cc78 filepath.RemoveTrailingPathSeparator().c_str());
92 posix::ChDir(original_dir.c_str());
96 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
100 EXPECT_STREQ(GTEST_PATH_SEP_, cwd.c_str());
120 EXPECT_STREQ("", FilePath("").RemoveDirectoryName().c_str());
126 FilePath("afile").RemoveDirectoryName().c_str());
132 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str());
138 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().c_str());
144 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str());
151 .RemoveDirectoryName().c_str());
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
H A Dgtest-string.h88 static inline const char* ShowCString(const char* c_str) { argument
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 argument
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) cons
218 const char* c_str() const { return c_str_; } function in class:testing::internal::String
[all...]
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-string.h90 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 argument
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(), st
275 const char* c_str() const { return c_str_; } function in class:testing::internal::String
278 operator =(const char* c_str) argument
318 const char* const c_str = str.c_str(); local
323 os << c_str[i]; local
[all...]
/external/chromium/chrome/browser/debugger/
H A Ddevtools_remote_message_unittest.cc33 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/sdch/open-vcdiff/src/gtest/
H A Dgtest-filepath.cc63 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(), numbe
[all...]
/external/chromium/net/disk_cache/
H A Dcache_util_win.cc22 HANDLE handle = FindFirstFile(name.c_str(), &data);
34 DeleteFile(current.c_str());
47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
55 DeleteFiles(path.value().c_str(), L"*");
57 RemoveDirectory(path.value().c_str());
63 if (!DeleteFile(name.value().c_str())) {
71 name.value().c_str(), access, sharing, NULL, OPEN_EXISTING, 0, NULL));
/external/webrtc/src/modules/audio_processing/test/
H A Dunpack.cc84 FILE* input_file = fopen(FLAGS_input_file.c_str(), "wb");
86 printf("Unable to open %s\n", FLAGS_input_file.c_str());
89 FILE* output_file = fopen(FLAGS_output_file.c_str(), "wb");
91 printf("Unable to open %s\n", FLAGS_output_file.c_str());
94 FILE* reverse_file = fopen(FLAGS_reverse_file.c_str(), "wb");
96 printf("Unable to open %s\n", FLAGS_reverse_file.c_str());
99 FILE* settings_file = fopen(FLAGS_settings_file.c_str(), "wb");
101 printf("Unable to open %s\n", FLAGS_settings_file.c_str());
109 delay_file = fopen(FLAGS_delay_file.c_str(), "wb");
111 printf("Unable to open %s\n", FLAGS_delay_file.c_str());
[all...]
/external/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc50 EXPECT_EQ(0, I420PSNRFromFiles(video_file_.c_str(), video_file_.c_str(),
56 EXPECT_EQ(0, I420SSIMFromFiles(video_file_.c_str(), video_file_.c_str(),
62 EXPECT_EQ(0, I420MetricsFromFiles(video_file_.c_str(), video_file_.c_str(),
72 I420PSNRFromFiles(kNonExistingFileName, video_file_.c_str(),
78 I420SSIMFromFiles(kNonExistingFileName, video_file_.c_str(),
84 I420MetricsFromFiles(kNonExistingFileName, video_file_.c_str(),
92 I420PSNRFromFiles(video_file_.c_str(), kNonExistingFileNam
[all...]
/external/chromium/testing/gtest/include/gtest/internal/
H A Dgtest-string.h92 static String ShowCStringQuoted(const char* c_str);
101 static const char* CloneCString(const char* c_str);
116 static LPCWSTR AnsiToUtf16(const char* c_str);
227 ConstructNonNull(str.c_str(), str.length());
230 operator ::std::string() const { return ::std::string(c_str(), length()); }
234 ConstructNonNull(str.c_str(), str.length());
237 operator ::string() const { return ::string(c_str(), length()); }
241 bool empty() const { return (c_str() != NULL) && (length() == 0); }
275 const char* c_str() const { return c_str_; } function in class:testing::internal::String
286 if (rhs.c_str()
320 const char* const c_str = str.c_str(); local
325 os << c_str[i]; local
[all...]
/external/gtest/include/gtest/internal/
H A Dgtest-string.h92 static String ShowCStringQuoted(const char* c_str);
101 static const char* CloneCString(const char* c_str);
116 static LPCWSTR AnsiToUtf16(const char* c_str);
227 ConstructNonNull(str.c_str(), str.length());
230 operator ::std::string() const { return ::std::string(c_str(), length()); }
234 ConstructNonNull(str.c_str(), str.length());
237 operator ::string() const { return ::string(c_str(), length()); }
241 bool empty() const { return (c_str() != NULL) && (length() == 0); }
275 const char* c_str() const { return c_str_; } function in class:testing::internal::String
286 if (rhs.c_str()
320 const char* const c_str = str.c_str(); local
325 os << c_str[i]; local
[all...]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-string.h92 static String ShowCStringQuoted(const char* c_str);
101 static const char* CloneCString(const char* c_str);
116 static LPCWSTR AnsiToUtf16(const char* c_str);
227 ConstructNonNull(str.c_str(), str.length());
230 operator ::std::string() const { return ::std::string(c_str(), length()); }
234 ConstructNonNull(str.c_str(), str.length());
237 operator ::string() const { return ::string(c_str(), length()); }
241 bool empty() const { return (c_str() != NULL) && (length() == 0); }
275 const char* c_str() const { return c_str_; } function in class:testing::internal::String
286 if (rhs.c_str()
320 const char* const c_str = str.c_str(); local
325 os << c_str[i]; local
[all...]
/external/webrtc/test/testsupport/
H A Dframe_reader.cc37 input_file_ = fopen(input_filename_.c_str(), "rb");
40 input_filename_.c_str());
46 fprintf(stderr, "Found empty file: %s\n", input_filename_.c_str());
71 input_filename_.c_str());
/external/chromium/chrome/browser/instant/
H A Dpromo_counter.cc42 prefs->RegisterBooleanPref((base_key + kShowKey).c_str(), true);
43 prefs->RegisterIntegerPref((base_key + kNumSessionsKey).c_str(), 0);
44 prefs->RegisterInt64Pref((base_key + kInitialTimeKey).c_str(), 0);
66 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
74 show_ = prefs->GetBoolean((pref_key_ + kShowKey).c_str());
81 int session_count = prefs->GetInteger((pref_key_ + kNumSessionsKey).c_str());
83 prefs->GetInt64((pref_key_ + kInitialTimeKey).c_str());
87 prefs->SetInt64((pref_key_ + kInitialTimeKey).c_str(),
95 prefs->SetInteger((pref_key_ + kNumSessionsKey).c_str(), session_count + 1);
105 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), fals
[all...]
/external/compiler-rt/lib/asan/lit_tests/
H A Dshared-lib-test.cc38 printf("opening %s ... \n", path.c_str());
39 void *lib = dlopen(path.c_str(), RTLD_NOW);
/external/openfst/src/include/fst/
H A Dicu.h69 const char *c_str = str.c_str(); local
73 U8_NEXT(c_str, i, length, c);
86 char c_str[5]; local
90 u_strToUTF8(c_str, 5, NULL, u_str.getTerminatedBuffer(), -1, error);
96 *str += c_str;
/external/chromium/chrome/browser/
H A Dprocess_singleton_linux_uitest.cc44 bool lock_exists = lstat(lock_path_.value().c_str(), &statbuf) == 0;
49 EXPECT_EQ(unlink(lock_path_.value().c_str()), 0);
108 ASSERT_EQ(0, lstat(lock_path_.value().c_str(), &statbuf));
111 ssize_t len = readlink(lock_path_.value().c_str(), buf, PATH_MAX);
114 ASSERT_EQ(0, lstat(socket_path_.value().c_str(), &statbuf));
117 len = readlink(socket_path_.value().c_str(), buf, PATH_MAX);
121 ASSERT_EQ(0, lstat(socket_target_path.value().c_str(), &statbuf));
124 len = readlink(cookie_path_.value().c_str(), buf, PATH_MAX);
130 len = readlink(remote_cookie_path.value().c_str(), buf, PATH_MAX);
189 EXPECT_EQ(0, unlink(lock_path_.value().c_str()));
[all...]
/external/chromium/testing/gtest/src/
H A Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
[all...]
/external/gtest/src/
H A Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
[all...]
/external/llvm/utils/unittest/googletest/
H A Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
[all...]

Completed in 648 milliseconds

1234567891011>>