/external/webrtc/webrtc/test/testsupport/metrics/ |
video_metrics_unittest.cc | 36 remove(non_existing_file_.c_str()); // To be sure it doesn't exist. 41 FILE* dummy = fopen(empty_file_.c_str(), "wb"); 45 remove(empty_file_.c_str()); 56 EXPECT_EQ(0, I420PSNRFromFiles(video_file_.c_str(), video_file_.c_str(), 62 EXPECT_EQ(0, I420SSIMFromFiles(video_file_.c_str(), video_file_.c_str(), 68 EXPECT_EQ(0, I420MetricsFromFiles(video_file_.c_str(), video_file_.c_str(), 78 I420PSNRFromFiles(non_existing_file_.c_str(), [all...] |
/external/google-breakpad/src/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/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()); 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...] |
/ndk/tests/build/standalone-toolchain/ |
foo.cpp | 6 printf("%s\n", s.c_str());
|
/external/webrtc/webrtc/base/ |
httpcommon_unittest.cc | 27 EXPECT_STREQ(TEST_HOST, url.host().c_str()); 29 EXPECT_STREQ(TEST_PATH, url.path().c_str()); 30 EXPECT_STREQ(TEST_QUERY, url.query().c_str()); 31 EXPECT_STREQ(TEST_HOST, url.address().c_str()); 32 EXPECT_STREQ(TEST_PATH TEST_QUERY, url.full_path().c_str()); 33 EXPECT_STREQ(TEST_URL, url.url().c_str()); 41 EXPECT_STREQ(TEST_HOST, url.host().c_str()); 43 EXPECT_STREQ(TEST_PATH, url.path().c_str()); 44 EXPECT_STREQ(TEST_QUERY, url.query().c_str()); 45 EXPECT_STREQ(TEST_HOST, url.address().c_str()); [all...] |
/system/core/libcutils/tests/ |
trace-dev_test.cpp | 60 ASSERT_STREQ(expected.c_str(), actual.c_str()); 66 atrace_begin_body(name.c_str()); 74 ASSERT_STREQ(expected.c_str(), actual.c_str()); 79 atrace_begin_body(name.c_str()); 83 ASSERT_STREQ(expected.c_str(), actual.c_str()); 89 atrace_begin_body(name.c_str()); 97 expected += android::base::StringPrintf("%.*s", expected_len, name.c_str()); [all...] |
/bionic/libc/malloc_debug/tests/ |
malloc_debug_config_tests.cpp | 122 ASSERT_STREQ("", getFakeLogBuf().c_str()); 124 ASSERT_STREQ((log_msg + usage_string).c_str(), getFakeLogPrint().c_str()); 130 ASSERT_STREQ("", getFakeLogBuf().c_str()); 132 ASSERT_STREQ((log_msg + usage_string).c_str(), getFakeLogPrint().c_str()); 138 ASSERT_STREQ("", getFakeLogBuf().c_str()); 140 ASSERT_STREQ((log_msg + usage_string).c_str(), getFakeLogPrint().c_str()); 146 ASSERT_STREQ("", getFakeLogBuf().c_str()); [all...] |
/external/skia/tools/ |
imgconv.cpp | 21 SkString dst(src.c_str(), src.size() - 4); 25 if (SkImageDecoder::DecodeFile(src.c_str(), &bm)) { 26 if (SkImageEncoder::EncodeFile(dst.c_str(), bm, SkImageEncoder::kJPEG_Type, 100)) { 27 SkDebugf("converted %s to %s\n", src.c_str(), dst.c_str()); 29 SkDebugf("failed to encode %s\n", src.c_str()); 32 SkDebugf("failed to decode %s\n", src.c_str());
|
/external/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 148 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); 149 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); 151 dfdx.c_str(), 152 v.fsIn(), dklmdx.c_str(), 153 v.fsIn(), dklmdx.c_str(), 154 v.fsIn(), dklmdx.c_str()); 156 dfdy.c_str(), 157 v.fsIn(), dklmdy.c_str(), 158 v.fsIn(), dklmdy.c_str(), 159 v.fsIn(), dklmdy.c_str()); [all...] |
/external/libchrome/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/libcxx/test/std/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...] |
/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...] |
/external/skia/src/gpu/gl/ |
GrGLTextureRenderTarget.cpp | 28 traceMemoryDump->dumpNumericValue(dumpName.c_str(), "size", "bytes", size); 31 traceMemoryDump->dumpNumericValue(dumpName.c_str(), "purgeable_size", 37 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_texture", 38 texture_id.c_str());
|
/system/vold/ |
PublicVolume.cpp | 47 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); 66 if (!access(legacyPath.c_str(), R_OK | X_OK) 67 && access(securePath.c_str(), R_OK | X_OK)) { 68 if (rename(legacyPath.c_str(), securePath.c_str())) { 73 if (TEMP_FAILURE_RETRY(mkdir(securePath.c_str(), 0700))) { 113 mRawPath = StringPrintf("/mnt/media_rw/%s", stableName.c_str()); 115 mFuseDefault = StringPrintf("/mnt/runtime/default/%s", stableName.c_str()); 116 mFuseRead = StringPrintf("/mnt/runtime/read/%s", stableName.c_str()); 117 mFuseWrite = StringPrintf("/mnt/runtime/write/%s", stableName.c_str()); [all...] |
/hardware/bsp/intel/peripheral/libupm/src/ |
upm_exception.i | 15 SWIG_exception(SWIG_ValueError, s1.c_str()); 20 SWIG_exception(SWIG_ValueError, s1.c_str() ); 25 SWIG_exception(SWIG_OverflowError, s1.c_str() ); 30 SWIG_exception(SWIG_IndexError, s1.c_str() ); 35 SWIG_exception(SWIG_IndexError, s1.c_str() ); 40 SWIG_exception(SWIG_RuntimeError, s1.c_str() ); 50 SWIG_exception(SWIG_RuntimeError, s1.c_str()); 56 SWIG_exception(SWIG_SystemError, s1.c_str() );
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
adaptor_generator.cc | 34 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); 37 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); 38 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); 54 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str())); 73 full_itf_name.c_str())); 75 text->AddLine(StringPrintf("class %s {", itf_name.c_str())); 78 text->AddLine(StringPrintf("virtual ~%s() = default;", itf_name.c_str())); 85 full_itf_name.c_str())); 86 text->AddLine(StringPrintf("class %s {", class_name.c_str())); 98 interface.path.c_str())); [all...] |
proxy_generator.cc | 40 param_def.type.c_str(), param_def.name.c_str()); 53 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); 56 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); 57 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); 85 parser.MakeProxyName(false).c_str())); 97 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str())); 111 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); 114 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); 115 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); [all...] |
/system/bt/osi/test/ |
AlarmTestHarness.cpp | 62 char *buffer = const_cast<char *>(tmp_dir_.c_str()); 72 creat(lock_path_.c_str(), S_IRWXU); 73 creat(unlock_path_.c_str(), S_IRWXU); 75 wakelock_set_paths(lock_path_.c_str(), unlock_path_.c_str()); 83 unlink(lock_path_.c_str()); 84 unlink(unlock_path_.c_str()); 85 rmdir(tmp_dir_.c_str()); 95 int lock_fd = open(lock_path_.c_str(), O_RDONLY); 98 int unlock_fd = open(unlock_path_.c_str(), O_RDONLY) [all...] |
/build/kati/ |
exec.cc | 56 needed_by ? needed_by->output.c_str() : "(null)", 57 n->output.c_str()); 62 double output_ts = GetTimestamp(n->output.c_str()); 65 n->output.c_str(), 66 needed_by ? needed_by->output.c_str() : "(null)"); 71 n->output.c_str(), needed_by->output.c_str()); 73 ERROR("*** No rule to make target '%s'.", n->output.c_str()); 103 printf("%s\n", command->cmd.c_str()); 108 int result = RunCommand(shell_, command->cmd.c_str(), [all...] |
/external/libchrome/base/trace_event/ |
trace_config_unittest.cc | 35 EXPECT_STREQ("record-until-full", config.ToTraceOptionsString().c_str()); 42 EXPECT_STREQ("record-continuously", config.ToTraceOptionsString().c_str()); 49 EXPECT_STREQ("trace-to-console", config.ToTraceOptionsString().c_str()); 57 config.ToTraceOptionsString().c_str()); 65 config.ToTraceOptionsString().c_str()); 73 config.ToTraceOptionsString().c_str()); 81 config.ToTraceOptionsString().c_str()); 92 config.ToTraceOptionsString().c_str()); 100 EXPECT_STREQ("trace-to-console", config.ToTraceOptionsString().c_str()); 108 EXPECT_STREQ("record-until-full", config.ToTraceOptionsString().c_str()); [all...] |
/external/skia/src/svg/parser/ |
SkSVGSVG.cpp | 39 const char* hSuffix = SkParse::FindScalar(f_height.c_str(), &height); 42 const char* wSuffix = SkParse::FindScalar(f_width.c_str(), &width); 45 SkParse::FindScalars(f_viewBox.c_str(), viewBox, 4); 55 parser._addAttributeLen("translateX", x.c_str(), x.size()); 60 parser._addAttributeLen("translateY", y.c_str(), y.size()); 65 parser._addAttributeLen("scaleX", x.c_str(), x.size()); 70 parser._addAttributeLen("scaleY", y.c_str(), y.size());
|