Home
last modified time | relevance | path

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

12345678910>>...140

/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/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics_unittest.cc36 remove(non_existing_file_.c_str()); // To be sure it doesn't exist. in SetUp()
41 FILE* dummy = fopen(empty_file_.c_str(), "wb"); in SetUp()
45 remove(empty_file_.c_str()); in TearDown()
56 EXPECT_EQ(0, I420PSNRFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
62 EXPECT_EQ(0, I420SSIMFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
68 EXPECT_EQ(0, I420MetricsFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
78 I420PSNRFromFiles(non_existing_file_.c_str(), in TEST_F()
79 video_file_.c_str(), kWidth, kHeight, in TEST_F()
85 I420SSIMFromFiles(non_existing_file_.c_str(), in TEST_F()
86 video_file_.c_str(), kWidth, kHeight, in TEST_F()
[all …]
/external/avb/test/
Davbtool_unittest.cc68 EXPECT_COMMAND(0, "./avbtool version > %s", path.value().c_str()); in TEST_F()
449 rootfs_path.value().c_str(), in AddHashFooterTest()
450 rootfs_path.value().c_str()); in AddHashFooterTest()
453 rootfs_path.value().c_str(), in AddHashFooterTest()
454 rootfs_path.value().c_str()); in AddHashFooterTest()
455 EXPECT_COMMAND(0, "rm -f %s.unsparse", rootfs_path.value().c_str()); in AddHashFooterTest()
468 rootfs_path.value().c_str(), in AddHashFooterTest()
470 external_vbmeta_path.value().c_str()); in AddHashFooterTest()
500 rootfs_path.value().c_str(), in AddHashFooterTest()
501 extracted_vbmeta_path.value().c_str()); in AddHashFooterTest()
[all …]
/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp58 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F()
61 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F()
65 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
69 EXPECT_STREQ(L"Hello World", engine()->GetText().c_str()); in TEST_F()
73 EXPECT_STREQ(L"Hello New World", engine()->GetText().c_str()); in TEST_F()
76 EXPECT_STREQ(L"Hello New World Cat", engine()->GetText().c_str()); in TEST_F()
86 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
90 EXPECT_STREQ(L"Hello Wo", engine()->GetText().c_str()); in TEST_F()
104 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
110 EXPECT_STREQ(L"Hello Wo", engine()->GetText().c_str()); in TEST_F()
[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/deqp-deps/SPIRV-Tools/test/val/
Dval_image_test.cpp433 CompileSuccessfully(code.c_str()); in TEST_F()
482 CompileSuccessfully(code.c_str()); in TEST_F()
493 CompileSuccessfully(code.c_str()); in TEST_F()
504 CompileSuccessfully(code.c_str()); in TEST_F()
515 CompileSuccessfully(code.c_str()); in TEST_F()
528 CompileSuccessfully(code.c_str()); in TEST_F()
541 CompileSuccessfully(code.c_str()); in TEST_F()
552 CompileSuccessfully(code.c_str()); in TEST_F()
565 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
588 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
[all …]
Dval_arithmetics_test.cpp181 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
196 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
214 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
232 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
247 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
262 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
277 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
286 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
299 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
312 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
[all …]
Dval_data_test.cpp112 CompileSuccessfully(str.c_str()); in TEST_F()
122 CompileSuccessfully(str.c_str()); in TEST_F()
132 CompileSuccessfully(str.c_str()); in TEST_F()
141 CompileSuccessfully(str.c_str()); in TEST_F()
150 CompileSuccessfully(str.c_str()); in TEST_F()
159 CompileSuccessfully(str.c_str()); in TEST_F()
169 CompileSuccessfully(str.c_str()); in TEST_F()
179 CompileSuccessfully(str.c_str()); in TEST_F()
188 CompileSuccessfully(str.c_str()); in TEST_F()
198 CompileSuccessfully(str.c_str()); in TEST_F()
[all …]
Dval_conversion_test.cpp280 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
289 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
301 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
313 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
327 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
336 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
349 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
361 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
375 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
384 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
[all …]
Dval_logicals_test.cpp270 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
279 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
290 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
305 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
314 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
326 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
338 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
356 CompileSuccessfully(GenerateKernelCode(body).c_str()); in TEST_F()
365 CompileSuccessfully(GenerateKernelCode(body).c_str()); in TEST_F()
378 CompileSuccessfully(GenerateKernelCode(body).c_str()); in TEST_F()
[all …]
Dval_bitwise_test.cpp152 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
161 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
173 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
185 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
198 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
211 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
224 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
240 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
249 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
262 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_image_test.cpp433 CompileSuccessfully(code.c_str()); in TEST_F()
482 CompileSuccessfully(code.c_str()); in TEST_F()
493 CompileSuccessfully(code.c_str()); in TEST_F()
504 CompileSuccessfully(code.c_str()); in TEST_F()
515 CompileSuccessfully(code.c_str()); in TEST_F()
528 CompileSuccessfully(code.c_str()); in TEST_F()
541 CompileSuccessfully(code.c_str()); in TEST_F()
552 CompileSuccessfully(code.c_str()); in TEST_F()
565 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
588 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
[all …]
Dval_arithmetics_test.cpp181 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
196 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
214 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
232 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
247 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
262 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
277 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
286 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
299 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
312 CompileSuccessfully(GenerateCode(body).c_str()); in TEST_F()
[all …]
Dval_data_test.cpp130 CompileSuccessfully(str.c_str()); in TEST_F()
140 CompileSuccessfully(str.c_str()); in TEST_F()
150 CompileSuccessfully(str.c_str()); in TEST_F()
159 CompileSuccessfully(str.c_str()); in TEST_F()
168 CompileSuccessfully(str.c_str()); in TEST_F()
177 CompileSuccessfully(str.c_str()); in TEST_F()
187 CompileSuccessfully(str.c_str()); in TEST_F()
197 CompileSuccessfully(str.c_str()); in TEST_F()
206 CompileSuccessfully(str.c_str()); in TEST_F()
216 CompileSuccessfully(str.c_str()); in TEST_F()
[all …]
Dval_conversion_test.cpp280 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
289 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
301 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
313 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
327 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
336 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
349 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
361 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
375 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
384 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
[all …]
Dval_logicals_test.cpp270 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
279 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
290 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
305 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
314 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
326 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
338 CompileSuccessfully(GenerateShaderCode(body).c_str()); in TEST_F()
356 CompileSuccessfully(GenerateKernelCode(body).c_str()); in TEST_F()
365 CompileSuccessfully(GenerateKernelCode(body).c_str()); in TEST_F()
378 CompileSuccessfully(GenerateKernelCode(body).c_str()); in TEST_F()
[all …]
/external/webrtc/webrtc/base/
Dhttpcommon_unittest.cc27 EXPECT_STREQ(TEST_HOST, url.host().c_str()); in TEST()
29 EXPECT_STREQ(TEST_PATH, url.path().c_str()); in TEST()
30 EXPECT_STREQ(TEST_QUERY, url.query().c_str()); in TEST()
31 EXPECT_STREQ(TEST_HOST, url.address().c_str()); in TEST()
32 EXPECT_STREQ(TEST_PATH TEST_QUERY, url.full_path().c_str()); in TEST()
33 EXPECT_STREQ(TEST_URL, url.url().c_str()); in TEST()
41 EXPECT_STREQ(TEST_HOST, url.host().c_str()); in TEST()
43 EXPECT_STREQ(TEST_PATH, url.path().c_str()); in TEST()
44 EXPECT_STREQ(TEST_QUERY, url.query().c_str()); in TEST()
45 EXPECT_STREQ(TEST_HOST, url.address().c_str()); in TEST()
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_embeddertest.cpp100 EXPECT_STREQ(L"abc", GetCPWLEdit()->GetText().c_str()); in TEST_F()
117 EXPECT_STREQ(L"ab", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
128 EXPECT_STREQ(L"A", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
132 GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
138 EXPECT_STREQ(L"MNOPQRSTUVW", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
141 EXPECT_STREQ(L"MNOPQRSTUVW", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
144 EXPECT_STREQ(L"r", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
147 EXPECT_STREQ(L"r", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
156 GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
167 EXPECT_STREQ(L"MNOPQRSTUVW", GetCPWLEdit()->GetSelectedText().c_str()); in TEST_F()
[all …]
Dcpwl_combo_box_embeddertest.cpp104 EXPECT_STREQ(L"Banana", GetCPWLComboBox()->GetText().c_str()); in TEST_F()
109 EXPECT_STREQ(L"Banana", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
113 EXPECT_STREQ(L"Apple", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
115 EXPECT_STREQ(L"Cherry", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
123 EXPECT_STREQ(L"Banana", GetCPWLComboBox()->GetText().c_str()); in TEST_F()
129 EXPECT_STREQ(L"B", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
132 EXPECT_STREQ(L"Banana", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
138 EXPECT_STREQ(L"ana", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
141 EXPECT_STREQ(L"ana", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
144 EXPECT_STREQ(L"a", GetCPWLComboBox()->GetSelectedText().c_str()); in TEST_F()
[all …]
/external/skia/src/sksl/
DSkSLHCodeGenerator.cpp27 , fFullName(String::printf("Gr%s", fName.c_str())) in HCodeGenerator()
98 return String::printf("const %s&", fieldType.c_str()); in AccessType()
128 this->writef("%s%s", prefix, s->fText.c_str()); in writeSection()
140 const char* s = section->fText.c_str(); in writeExtraConstructorParams()
184 param->fModifiers.fLayout).c_str(), in writeMake()
185 String(param->fName).c_str()); in writeMake()
191 fFullName.c_str()); in writeMake()
195 this->writef("%sstd::move(%s)", separator, String(param->fName).c_str()); in writeMake()
197 this->writef("%s%s", separator, String(param->fName).c_str()); in writeMake()
223 this->writef(" %s(", fFullName.c_str()); in writeConstructor()
[all …]
DSkSLCPPCodeGenerator.cpp27 , fFullName(String::printf("Gr%s", fName.c_str())) in CPPCodeGenerator()
232 printf("unsupported runtime value type '%s'\n", String(type.fName).c_str()); in writeRuntimeValue()
310 HCodeGenerator::FieldName(name.c_str()).c_str()); in writeVariableReference()
314 HCodeGenerator::FieldName(name.c_str()).c_str(), in writeVariableReference()
315 var.c_str(), in writeVariableReference()
316 default_value(ref.fVariable.fType).c_str()); in writeVariableReference()
324 String::printf("_outer.%s()", name.c_str()).c_str()); in writeVariableReference()
364 String(var.fName).c_str(), in writeFieldAccess()
365 String(field.fName).c_str()); in writeFieldAccess()
368 this->write(cppAccess.c_str()); in writeFieldAccess()
[all …]
/external/skqp/src/sksl/
DSkSLCPPCodeGenerator.cpp27 , fFullName(String::printf("Gr%s", fName.c_str())) in CPPCodeGenerator()
206 printf("unsupported runtime value type '%s'\n", String(type.fName).c_str()); in writeRuntimeValue()
284 HCodeGenerator::FieldName(name.c_str()).c_str()); in writeVariableReference()
288 HCodeGenerator::FieldName(name.c_str()).c_str(), in writeVariableReference()
289 var.c_str(), in writeVariableReference()
290 default_value(ref.fVariable.fType).c_str()); in writeVariableReference()
298 String::printf("_outer.%s()", name.c_str()).c_str()); in writeVariableReference()
338 to_string(index).c_str(), String(field.fName).c_str()); in writeFieldAccess()
341 this->write(cppAccess.c_str()); in writeFieldAccess()
456 if (!strncmp(s.fName.c_str(), kPrefix, strlen(kPrefix))) { in writeSetting()
[all …]
DSkSLHCodeGenerator.cpp27 , fFullName(String::printf("Gr%s", fName.c_str())) in HCodeGenerator()
96 return String::printf("const %s&", fieldType.c_str()); in AccessType()
125 this->writef("%s%s", prefix, s->fText.c_str()); in writeSection()
137 const char* s = section->fText.c_str(); in writeExtraConstructorParams()
181 param->fModifiers.fLayout).c_str(), in writeMake()
182 String(param->fName).c_str()); in writeMake()
188 fFullName.c_str()); in writeMake()
192 this->writef("%sstd::move(%s)", separator, String(param->fName).c_str()); in writeMake()
194 this->writef("%s%s", separator, String(param->fName).c_str()); in writeMake()
220 this->writef(" %s(", fFullName.c_str()); in writeConstructor()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dmerge_delay_error.cpp18 [](std::exception_ptr eptr) { printf("OnError %s\n", rxu::what(eptr).c_str()); }, in __anonfed6948f0402()
33 [](std::exception_ptr eptr) { printf("OnError %s\n", rxu::what(eptr).c_str()); }, in __anonfed6948f0902()
42 printf("[thread %s] Start task\n", get_pid().c_str());
44 printf("[thread %s] Timer1 fired\n", get_pid().c_str()); in __anonfed6948f0b02()
49 ss << "[thread " << get_pid().c_str() << "] Timer2 failed\n"; in __anonfed6948f0c02()
50 printf("%s\n", ss.str().c_str()); in __anonfed6948f0c02()
52 ss << "(Error from thread: " << get_pid().c_str() << ")\n"; in __anonfed6948f0c02()
56 printf("[thread %s] Timer3 fired\n", get_pid().c_str()); in __anonfed6948f0d02()
63 [](int v){printf("[thread %s] OnNext: %d\n", get_pid().c_str(), v);}, in __anonfed6948f0e02()
64 …tion_ptr eptr) { printf("[thread %s] OnError %s\n", get_pid().c_str(), rxu::what(eptr).c_str()); }, in __anonfed6948f0f02()
[all …]

12345678910>>...140