Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 25 of 1663) sorted by relevance

12345678910>>...67

/external/google-breakpad/src/testing/gtest/test/
Dgtest-options_test.cc71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), in TEST()
82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); in TEST()
87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), in TEST()
88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); in TEST()
96 GetCurrentExecutableName().c_str() + ".xml")).c_str(); in TEST()
99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST()
101 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST()
106 const std::string exe_str = GetCurrentExecutableName().c_str(); in TEST()
[all …]
Dgtest-filepath_test.cc78 filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()
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()); in TEST()
130 FilePath("afile").RemoveDirectoryName().c_str()); in TEST()
136 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str()); in TEST()
142 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().c_str()); in TEST()
148 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str()); in TEST()
155 .RemoveDirectoryName().c_str()); in TEST()
[all …]
/external/protobuf/gtest/test/
Dgtest-options_test.cc71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(), in TEST()
82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); in TEST()
87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(), in TEST()
88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str()); in TEST()
96 GetCurrentExecutableName().c_str() + ".xml")).c_str(); in TEST()
99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST()
101 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST()
106 const std::string exe_str = GetCurrentExecutableName().c_str(); in TEST()
[all …]
Dgtest-filepath_test.cc78 filepath.RemoveTrailingPathSeparator().c_str()); in _rmdir()
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()); in TEST()
126 FilePath("afile").RemoveDirectoryName().c_str()); in TEST()
132 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str()); in TEST()
138 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().c_str()); in TEST()
144 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().c_str()); in TEST()
151 .RemoveDirectoryName().c_str()); in TEST()
[all …]
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc75 if (SSCANF(identifier.c_str(), in InitializeFromString()
89 if (SSCANF(identifier.c_str(), "%08X%x", &signature_, &age_) != 2) { in InitializeFromString()
196 error, path_.c_str()); in ~AutoDeleter()
204 int error = remove(path_.c_str()); in Delete()
229 debug_or_code_file.c_str(), in LocateFile()
230 debug_or_code_id.c_str(), in LocateFile()
231 version.c_str()); in LocateFile()
238 const_cast<char *>(symbol_path_.c_str()), in LocateFile()
242 debug_or_code_file.c_str(), in LocateFile()
243 debug_or_code_id.c_str(), in LocateFile()
[all …]
/external/lldb/source/Expression/
DExpressionSourceCode.cpp74 m_prefix.c_str(), in GetText()
75 m_name.c_str(), in GetText()
76 m_body.c_str()); in GetText()
87 m_prefix.c_str(), in GetText()
88 m_name.c_str(), in GetText()
90 m_body.c_str()); in GetText()
107 m_prefix.c_str(), in GetText()
108 m_name.c_str(), in GetText()
109 m_name.c_str(), in GetText()
110 m_body.c_str()); in GetText()
[all …]
/external/webrtc/test/testsupport/metrics/
Dvideo_metrics_unittest.cc50 EXPECT_EQ(0, I420PSNRFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
56 EXPECT_EQ(0, I420SSIMFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
62 EXPECT_EQ(0, I420MetricsFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
72 I420PSNRFromFiles(kNonExistingFileName, video_file_.c_str(), in TEST_F()
78 I420SSIMFromFiles(kNonExistingFileName, video_file_.c_str(), in TEST_F()
84 I420MetricsFromFiles(kNonExistingFileName, video_file_.c_str(), in TEST_F()
92 I420PSNRFromFiles(video_file_.c_str(), kNonExistingFileName, in TEST_F()
98 I420SSIMFromFiles(video_file_.c_str(), kNonExistingFileName, in TEST_F()
104 I420MetricsFromFiles(video_file_.c_str(), kNonExistingFileName, in TEST_F()
112 I420PSNRFromFiles(kEmptyFileName, video_file_.c_str(), in TEST_F()
[all …]
/external/google-breakpad/src/testing/gtest/src/
Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
130 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); in FindLastPathSeparator()
163 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
182 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName()
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName()
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc118 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
119 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
128 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
130 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); in FindLastPathSeparator()
161 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
180 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName()
182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName()
194 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, in ConcatPaths()
195 relative_path.c_str())); in ConcatPaths()
202 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
130 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); in FindLastPathSeparator()
163 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
182 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName()
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName()
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
[all …]
/external/protobuf/gtest/src/
Dgtest-filepath.cc120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { in RemoveExtension()
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); in RemoveExtension()
130 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator()
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); in FindLastPathSeparator()
163 dir = String(c_str(), last_sep + 1 - c_str()); in RemoveFileName()
182 file = String::Format("%s.%s", base_name.c_str(), extension); in MakeFileName()
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); in MakeFileName()
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, in ConcatPaths()
197 relative_path.c_str())); in ConcatPaths()
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
[all …]
/external/webrtc/src/modules/audio_processing/test/
Dunpack.cc84 FILE* input_file = fopen(FLAGS_input_file.c_str(), "wb"); in main()
86 printf("Unable to open %s\n", FLAGS_input_file.c_str()); in main()
89 FILE* output_file = fopen(FLAGS_output_file.c_str(), "wb"); in main()
91 printf("Unable to open %s\n", FLAGS_output_file.c_str()); in main()
94 FILE* reverse_file = fopen(FLAGS_reverse_file.c_str(), "wb"); in main()
96 printf("Unable to open %s\n", FLAGS_reverse_file.c_str()); in main()
99 FILE* settings_file = fopen(FLAGS_settings_file.c_str(), "wb"); in main()
101 printf("Unable to open %s\n", FLAGS_settings_file.c_str()); in main()
109 delay_file = fopen(FLAGS_delay_file.c_str(), "wb"); in main()
111 printf("Unable to open %s\n", FLAGS_delay_file.c_str()); in main()
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
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()); in String()
230 operator ::std::string() const { return ::std::string(c_str(), length()); } in string()
234 ConstructNonNull(str.c_str(), str.length()); in String()
237 operator ::string() const { return ::string(c_str(), length()); } in string()
241 bool empty() const { return (c_str() != NULL) && (length() == 0); } in empty()
275 const char* c_str() const { return c_str_; } in c_str() function
286 if (rhs.c_str() == NULL) {
[all …]
/external/protobuf/gtest/include/gtest/internal/
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()); in String()
230 operator ::std::string() const { return ::std::string(c_str(), length()); } in string()
234 ConstructNonNull(str.c_str(), str.length()); in String()
237 operator ::string() const { return ::string(c_str(), length()); } in string()
241 bool empty() const { return (c_str() != NULL) && (length() == 0); } in empty()
275 const char* c_str() const { return c_str_; } in c_str() function
286 if (rhs.c_str() == NULL) {
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
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()); in String()
230 operator ::std::string() const { return ::std::string(c_str(), length()); } in string()
234 ConstructNonNull(str.c_str(), str.length()); in String()
237 operator ::string() const { return ::string(c_str(), length()); } in string()
241 bool empty() const { return (c_str() != NULL) && (length() == 0); } in empty()
275 const char* c_str() const { return c_str_; } in c_str() function
286 if (rhs.c_str() == NULL) {
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
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()); in String()
230 operator ::std::string() const { return ::std::string(c_str(), length()); } in string()
234 ConstructNonNull(str.c_str(), str.length()); in String()
237 operator ::string() const { return ::string(c_str(), length()); } in string()
241 bool empty() const { return (c_str() != NULL) && (length() == 0); } in empty()
275 const char* c_str() const { return c_str_; } in c_str() function
286 if (rhs.c_str() == NULL) {
[all …]
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/
Dmember_swap.pass.cpp26 std::ofstream fs1(temp1.c_str()); in main()
27 std::ofstream fs2(temp2.c_str()); in main()
35 std::ifstream fs(temp1.c_str()); in main()
42 std::remove(temp1.c_str()); in main()
44 std::ifstream fs(temp2.c_str()); in main()
51 std::remove(temp2.c_str()); in main()
53 std::wofstream fs1(temp1.c_str()); in main()
54 std::wofstream fs2(temp2.c_str()); in main()
62 std::wifstream fs(temp1.c_str()); in main()
69 std::remove(temp1.c_str()); in main()
[all …]
Dnonmember_swap.pass.cpp27 std::ofstream fs1(temp1.c_str()); in main()
28 std::ofstream fs2(temp2.c_str()); in main()
36 std::ifstream fs(temp1.c_str()); in main()
43 std::remove(temp1.c_str()); in main()
45 std::ifstream fs(temp2.c_str()); in main()
52 std::remove(temp2.c_str()); in main()
54 std::wofstream fs1(temp1.c_str()); in main()
55 std::wofstream fs2(temp2.c_str()); in main()
63 std::wifstream fs(temp1.c_str()); in main()
70 std::remove(temp1.c_str()); in main()
[all …]
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp38 fsBuilder->codeAppendf("%s;", tmpDecl.c_str()); in emitCode()
40 fsBuilder->codeAppendf("%s = ", tmpVar.c_str()); in emitCode()
41 fsBuilder->appendTextureLookup(samplers[0], coords[0].c_str(), coords[0].getType()); in emitCode()
46 fsBuilder->codeAppendf("%s = %s.bgra;", outputColor, tmpVar.c_str()); in emitCode()
53 tmpVar.c_str(), tmpVar.c_str(), swiz, tmpVar.c_str(), tmpVar.c_str()); in emitCode()
62 tmpVar.c_str(), tmpVar.c_str(), swiz, tmpVar.c_str(), tmpVar.c_str()); in emitCode()
67 … tmpVar.c_str(), tmpVar.c_str(), tmpVar.c_str(), swiz, tmpVar.c_str(), tmpVar.c_str()); in emitCode()
72 … tmpVar.c_str(), tmpVar.c_str(), tmpVar.c_str(), swiz, tmpVar.c_str(), tmpVar.c_str()); in emitCode()
78 fsBuilder->codeAppendf("%s = %s;", outputColor, tmpVar.c_str()); in emitCode()
82 fsBuilder->codeAppend(modulate.c_str()); in emitCode()
DGrBezierEffect.cpp555 fsBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); in onEmitCode()
556 fsBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); in onEmitCode()
558 dfdx.c_str(), v.fsIn(), v.fsIn(), dklmdx.c_str(), v.fsIn(), in onEmitCode()
559 dklmdx.c_str(), v.fsIn(), dklmdx.c_str()); in onEmitCode()
561 dfdy.c_str(), v.fsIn(), v.fsIn(), dklmdy.c_str(), v.fsIn(), in onEmitCode()
562 dklmdy.c_str(), v.fsIn(), dklmdy.c_str()); in onEmitCode()
563 fsBuilder->codeAppendf("%s = vec2(%s, %s);", gF.c_str(), dfdx.c_str(), dfdy.c_str()); in onEmitCode()
564 fsBuilder->codeAppendf("%s = sqrt(dot(%s, %s));", gFM.c_str(), gF.c_str(), gF.c_str()); in onEmitCode()
566 func.c_str(), v.fsIn(), v.fsIn(), v.fsIn(), v.fsIn(), v.fsIn()); in onEmitCode()
567 fsBuilder->codeAppendf("%s = abs(%s);", func.c_str(), func.c_str()); in onEmitCode()
[all …]
/external/gtest/test/
Dgtest-options_test.cc71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST()
102 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST()
110 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 || in TEST()
111 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 || in TEST()
112 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 || in TEST()
113 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0; in TEST()
138 posix::ChDir(original_working_dir_.string().c_str()); in TearDown()
175 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F()
[all …]
/external/jsoncpp/src/jsontestrunner/
Dmain.cpp68 fprintf( fout, "%s=null\n", path.c_str() ); in printValueTree()
71 fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestInt() ).c_str() ); in printValueTree()
74 … fprintf( fout, "%s=%s\n", path.c_str(), Json::valueToString( value.asLargestUInt() ).c_str() ); in printValueTree()
77 … fprintf( fout, "%s=%s\n", path.c_str(), normalizeFloatingPointStr(value.asDouble()).c_str() ); in printValueTree()
80 fprintf( fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str() ); in printValueTree()
83 fprintf( fout, "%s=%s\n", path.c_str(), value.asBool() ? "true" : "false" ); in printValueTree()
87 fprintf( fout, "%s=[]\n", path.c_str() ); in printValueTree()
99 fprintf( fout, "%s={}\n", path.c_str() ); in printValueTree()
131 kind.c_str(), in parseAndSaveValueTree()
132 reader.getFormattedErrorMessages().c_str() ); in parseAndSaveValueTree()
[all …]
/external/protobuf/src/google/protobuf/testing/
Dfile.cc62 return access(name.c_str(), F_OK) == 0; in Exists()
67 FILE* file = fopen(name.c_str(), "rb"); in ReadFileToString()
86 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFile()
104 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFileOrDie()
115 return mkdir(name.c_str(), mode) == 0; in CreateDir()
142 HANDLE find_handle = FindFirstFile((name + "/*").c_str(), &find_data); in DeleteRecursively()
145 DeleteFile(name.c_str()); in DeleteRecursively()
146 RemoveDirectory(name.c_str()); in DeleteRecursively()
156 RemoveDirectory(path.c_str()); in DeleteRecursively()
158 DeleteFile(path.c_str()); in DeleteRecursively()
[all …]
/external/skia/dm/
DDM.cpp62 SkDebugf("\n\nFAILURE: %s\n\n", err.c_str()); in fail()
74 SkString id = SkStringPrintf("%s %s %s %s", config.c_str(), src.c_str(), in done()
75 srcOptions.c_str(), name.c_str()); in done()
96 , HumanizeMs(ms).c_str() in done()
97 , id.c_str() in done()
98 , note.c_str() in done()
99 , log.c_str()); in done()
109 SkString id = SkStringPrintf("%s %s %s %s", config.c_str(), src.c_str(), in start()
110 srcOptions.c_str(), name.c_str()); in start()
140 if (!JsonWriter::ReadJson(path.c_str(), add_gold)) { in gather_gold()
[all …]
/external/deqp/modules/gles31/functional/
Des31fIntegerStateQueryTests.cpp696 …context, (std::string() + "max_color_texture_samples_" + verifierSuffix).c_str(), "Test GL_MAX… in init()
697 …context, (std::string() + "max_depth_texture_samples_" + verifierSuffix).c_str(), "Test GL_MAX… in init()
698 …ase(m_context, (std::string() + "max_integer_samples_" + verifierSuffix).c_str(), "Test GL_M… in init()
700 …xt, (std::string() + "texture_binding_2d_multisample_" + verifierSuffix).c_str(), "Test TEXTURE… in init()
701 …std::string() + "texture_binding_2d_multisample_array_" + verifierSuffix).c_str(), "Test TEXTURE_… in init()
702 …xt, (std::string() + "texture_binding_cube_map_array_" + verifierSuffix).c_str(), "Test TEXTURE… in init()
704 …, (std::string() + "max_vertex_attrib_relative_offset_" + verifierSuffix).c_str(), "Test MAX_VERT… in init()
705 …context, (std::string() + "max_vertex_attrib_bindings_" + verifierSuffix).c_str(), "Test MAX_VE… in init()
706 …m_context, (std::string() + "max_vertex_attrib_stride_" + verifierSuffix).c_str(), "Test MAX_V… in init()
707 …se(m_context, (std::string() + "max_sample_mask_words_" + verifierSuffix).c_str(), "Test MAX_S… in init()
[all …]

12345678910>>...67