HomeSort by relevance Sort by last modified time
    Searched refs:c_str (Results 1 - 25 of 1553) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
gtest-filepath_test.cc 78 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/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...]
  /external/gtest/include/gtest/internal/
gtest-string.h 92 static inline const char* ShowCString(const char* c_str) {
93 return c_str ? c_str : "(null)";
103 static String ShowCStringQuoted(const char* c_str);
112 static const char* CloneCString(const char* c_str);
127 static LPCWSTR AnsiToUtf16(const char* c_str);
206 String(const char* c_str) : c_str_(NULL) { // NOLINT
207 *this = c_str;
231 String(const ::std::string& str) : c_str_(NULL) { *this = str.c_str(); }
237 String(const ::string& str) : c_str_(NULL) { *this = str.c_str(); }
285 const char* c_str() const { return c_str_; } function in class:testing::internal::String
    [all...]
  /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/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...]
gtest-filepath_test.cc 75 filepath.RemoveTrailingPathSeparator().c_str());
92 _chdir(original_dir.c_str());
94 const char* const cwd_without_drive = strchr(cwd.c_str(), ':');
99 EXPECT_STREQ(GTEST_PATH_SEP_, FilePath::GetCurrentDir().c_str());
100 chdir(original_dir.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());
    [all...]
  /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...]
gtest-filepath_test.cc 78 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...]
  /frameworks/base/tools/localize/
ValuesFile_test.cpp 21 printf("%s: '%s'[%d]='%s' (%s) <!-- %s -->\n", str.pos.ToString().c_str(),
22 str.id.c_str(), str.index,
23 str.value->ContentsToString(ANDROID_NAMESPACES).c_str(),
24 str.config.ToString().c_str(), str.comment.c_str());
27 printf("XML:[[%s]]\n", canonical.c_str());
47 fprintf(stderr, "canonical=[[%s]]\n", canonical.c_str());
localize_test.cpp 15 fprintf(stderr, " locale='%s'\n", locale.c_str());
16 fprintf(stderr, " expected='%s'\n", expected.c_str());
17 fprintf(stderr, " result='%s'\n", result.c_str());
22 fprintf(stderr, " locale='%s'\n", locale.c_str());
23 fprintf(stderr, " expected='%s'\n", expected.c_str());
24 fprintf(stderr, " result='%s'\n", result.c_str());
63 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str());
69 printf("XLIFF is [[%s]]\n", xliff->ToString().c_str());
75 printf("STRING!!! id=%s value='%s' pos=%s file=%s version=%d(%s)\n", str.id.c_str(),
76 str.value->ContentsToString(ANDROID_NAMESPACES).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/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/testing/gtest/include/gtest/internal/
gtest-string.h 92 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() == NULL)
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/
gtest-string.h 92 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() == NULL)
320 const char* const c_str = str.c_str(); local
325 os << c_str[i]; local
    [all...]
  /external/chromium/net/disk_cache/
cache_util_win.cc 22 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));
  /system/media/mca/filterfw/native/core/
native_program.cpp 47 lib_handle_ = dlopen(lib_name.c_str(), RTLD_NOW);
49 LOGE("NativeProgram: Error opening library: '%s': %s", lib_name.c_str(), dlerror());
60 process_function_ = reinterpret_cast<ProcessFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
62 LOGE("NativeProgram: Could not find process function symbol: '%s'!", func_name.c_str());
71 init_function_ = reinterpret_cast<InitFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
78 setvalue_function_ = reinterpret_cast<SetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
85 getvalue_function_ = reinterpret_cast<GetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
92 reset_function_ = reinterpret_cast<ResetFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
99 teardown_function_ = reinterpret_cast<TeardownFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
128 setvalue_function_(key.c_str(), value.c_str(), user_data_)
    [all...]
  /development/tools/emulator/opengl/host/tools/emugen/
ApiGen.cpp 55 FILE *fp = fopen(filename.c_str(), "wt");
57 perror(filename.c_str());
62 const char* basename = m_basename.c_str();
78 fprintf(fp, " (%s_APIENTRY *%s_%s_proc_t) (", basename, e->name().c_str(), sideString(side));
99 FILE *fp = fopen(filename.c_str(), "wt");
101 perror(filename.c_str());
106 fprintf(fp, "#ifndef __%s_%s_ftable_t_h\n", m_basename.c_str(), sideString(side));
107 fprintf(fp, "#define __%s_%s_ftable_t_h\n", m_basename.c_str(), sideString(side));
109 fprintf(fp, "static struct _%s_funcs_by_name {\n", m_basename.c_str());
113 "} %s_funcs_by_name[] = {\n", m_basename.c_str());
    [all...]
  /build/tools/atree/
fs.cpp 25 err = stat(path.c_str(), &st);
32 int err = unlink(path.c_str());
34 fprintf(stderr, "error deleting file %s (%s)\n", path.c_str(),
47 DIR *d = opendir(path.c_str());
50 path.c_str(), strerror(errno));
71 stat(full.c_str(), &stat_buf);
96 err = rmdir(path.c_str());
98 fprintf(stderr, "error deleting directory %s (%s)\n", path.c_str(),
121 err = stat(p.c_str(), &st);
123 err = mkdir(p.c_str(), 0770)
    [all...]
  /external/chromium/chrome/browser/instant/
promo_counter.cc 42 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(), false)
    [all...]
  /external/chromium/chrome/browser/
process_singleton_linux_uitest.cc 44 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/skia/gpu/src/
GrGLProgram.cpp 326 add_helper(outputVar, colorStr.c_str(), constStr.c_str(), fsCode);
416 segments.fVSAttrs.appendf("attribute vec2 %s;\n", texCoordAttrs[t].c_str());
432 segments.fFSCode.appendf("\tvec4 %s;\n", outColor.c_str());
444 inCoords = texCoordAttrs[tcIdx].c_str();
449 inColor.size() ? inColor.c_str() : NULL,
450 outColor.c_str(),
483 const char* color = inColor.size() ? inColor.c_str() : all_ones_vec(4);
538 segments.fFSCode.appendf("\tvec4 %s;\n", outCoverage.c_str());
549 inCoords = texCoordAttrs[tcIdx].c_str();
    [all...]
  /external/chromium/testing/gtest/src/
gtest-filepath.cc 120 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/
gtest-filepath.cc 109 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
110 return FilePath(String(pathname_.c_str(), pathname_.GetLength() - 4));
122 const char* const last_sep = strrchr(c_str(), kPathSeparator);
133 const char* const last_sep = strrchr(c_str(), kPathSeparator);
134 return FilePath(last_sep ? String(c_str(), last_sep + 1 - c_str())
150 String::Format("%s.%s", base_name.c_str(), extension) :
151 String::Format("%s_%d.%s", base_name.c_str(), number, extension));
162 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
163 relative_path.c_str()));
    [all...]

Completed in 1344 milliseconds

1 2 3 4 5 6 7 8 91011>>