/external/webrtc/webrtc/modules/video_coding/codecs/tools/ |
video_quality_measurement.cc | 157 test_file = fopen(FLAGS_input_filename.c_str(), "rb"); 160 FLAGS_input_filename.c_str()); 168 if (!(stat(FLAGS_output_dir.c_str(), &dir_info) == 0 && 171 FLAGS_output_dir.c_str()); 196 test_file = fopen(config->output_filename.c_str(), "wb"); 199 config->output_filename.c_str()); 307 config->input_filename.c_str(), config->output_filename.c_str(), 318 config->input_filename.c_str(), config->output_filename.c_str(), [all...] |
/external/webrtc/webrtc/tools/frame_analyzer/ |
frame_analyzer.cc | 81 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 82 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 91 webrtc::test::RunAnalysis(parser.GetFlag("reference_file").c_str(), 92 parser.GetFlag("test_file").c_str(), 93 parser.GetFlag("stats_file").c_str(), width, height,
|
/external/webrtc/webrtc/tools/psnr_ssim_analyzer/ |
psnr_ssim_analyzer.cc | 122 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 123 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 130 CompareFiles(parser.GetFlag("reference_file").c_str(), 131 parser.GetFlag("test_file").c_str(), 132 parser.GetFlag("results_file").c_str(), width, height);
|
/external/webrtc/webrtc/voice_engine/test/cmd_test/ |
voe_cmd_test.cc | 151 res = VoiceEngine::SetTraceFile(trace_filename.c_str()); 155 printf("Outputting logs to file: %s\n", trace_filename.c_str()); 557 res = file->StartPlayingFileLocally(0, audio_filename.c_str()); 661 mic_filename.c_str()); 662 res = file->StartRecordingMicrophone(mic_filename.c_str()); 665 printf("\n Start recording playout as %s \n", play_filename.c_str()); 666 res = file->StartRecordingPlayout(chan, play_filename.c_str()); 685 printf("\n 1. Play %s", mic_filename.c_str()); 686 printf("\n 2. Play %s", play_filename.c_str()); 691 mic_filename.c_str()); [all...] |
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
iio.hpp | 91 int id = mraa_iio_get_device_num_by_name(deviceName.c_str()); 136 mraa_result_t res = mraa_iio_read_int(m_iio, attributeName.c_str(), &value); 158 mraa_result_t res = mraa_iio_read_float(m_iio, attributeName.c_str(), &value); 178 mraa_result_t res = mraa_iio_write_int(m_iio, attributeName.c_str(), value); 198 mraa_result_t res = mraa_iio_write_float(m_iio, attributeName.c_str(), value);
|
/hardware/bsp/intel/peripheral/libmraa/examples/c++/ |
Iio-dummy.cpp | 83 fprintf(stdout, "%s: %s\n", test_name.c_str(), result.c_str()); 85 fprintf(stdout, "%s(%s): %s\n", test_name.c_str(), attr_name.c_str(), result.c_str());
|
/ndk/tests/device/test-gnustl-full/unit/ |
locale_test.cpp | 46 CPPUNIT_MESSAGE( loc.name().c_str() ); 81 locale loc(very_large_locale_name.c_str()); 95 locale loc(very_large_locale_name.c_str()); 108 locale loc(very_large_locale_name.c_str()); 285 CPPUNIT_MESSAGE( ostr.str().c_str() );
|
/ndk/tests/device/test-stlport/unit/ |
locale_test.cpp | 46 CPPUNIT_MESSAGE( loc.name().c_str() ); 81 locale loc(very_large_locale_name.c_str()); 95 locale loc(very_large_locale_name.c_str()); 108 locale loc(very_large_locale_name.c_str()); 285 CPPUNIT_MESSAGE( ostr.str().c_str() );
|
/system/connectivity/apmanager/ |
dhcp_server.cc | 104 file_name.c_str())); 142 &config, "dhcp-range=%s,%s\n", address_low.c_str(), address_high.c_str()); 143 base::StringAppendF(&config, "interface=%s\n", interface_name_.c_str()); 147 base::StringAppendF(&config, "dhcp-leasefile=%s\n", lease_file_path.c_str());
|
/system/core/adb/client/ |
main.cpp | 48 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 66 int fd = unix_open(log_file_path.c_str(), O_WRONLY | O_CREAT | O_APPEND, 0640); 68 fatal("cannot open '%s': %s", log_file_path.c_str(), strerror(errno)); 119 fatal("could not install *smartsocket* listener: %s", error.c_str()); 146 android::base::SystemErrorCodeToString(GetLastError()).c_str());
|
/system/core/bootstat/ |
boot_event_record_store_test.cpp | 43 android::base::unique_fd record_fd(creat(record_path.c_str(), S_IRUSR | S_IWUSR)); 61 if (utimes(record_path.c_str(), times) != 0) { 79 ScopedDIR dir(opendir(path.c_str()), closedir); 93 unlink(entry_path.c_str()); 97 rmdir(path.c_str());
|
/system/core/metricsd/ |
metrics_library.cc | 176 metricsd_proxy_->recordHistogram(String16(name.c_str()), sample, min, 185 metricsd_proxy_->recordLinearHistogram(String16(name.c_str()), sample, 192 metricsd_proxy_->recordLinearHistogram(String16(name.c_str()), 199 metricsd_proxy_->recordSparseHistogram(String16(name.c_str()), sample) 210 if (strcmp(event.c_str(), kCrosEventNames[i]) == 0) {
|
/system/extras/simpleperf/ |
cmd_dumprecord.cpp | 128 printf("feature: %s\n", GetFeatureName(feature).c_str()); 194 GetFeatureName(feature).c_str(), section.offset, section.size); 202 PrintIndented(1, "osrelease: %s\n", s.c_str()); 205 PrintIndented(1, "arch: %s\n", s.c_str()); 208 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str());
|
/system/netd/tests/ |
dns_responder.cpp | 45 #define APLOGI(fmt, ...) ALOGI(fmt ": [%d] %s", __VA_ARGS__, errno, errno2str().c_str()) 153 return name.c_str(); 181 name.substr(pos, dot_pos - pos).c_str(), len); 537 "address %s", name, dnstype2str(type), it->second.c_str(), 577 int rv = getaddrinfo(listen_address_.c_str(), listen_service_.c_str(), 580 ALOGI("getaddrinfo(%s, %s) failed: %s", listen_address_.c_str(), 581 listen_service_.c_str(), gai_strerror(rv)); 597 ALOGI("bound to UDP %s:%s", host_str.c_str(), listen_service_.c_str()); [all...] |
/system/core/fastboot/ |
fastboot.cpp | 126 path.c_str(), product, img_name); 230 printf("%s\tfastboot", serial.c_str()); 232 printf("%-22s fastboot", serial.c_str()); 277 error.c_str()); 293 fprintf(stderr, "error: %s\n", error.c_str()); 569 int fd = open(marker_file.c_str(), O_CREAT | O_WRONLY | O_CLOEXEC, 0666); 572 marker_file.c_str(), errno, strerror(errno)); 581 if (unlink(marker_file.c_str()) == -1) { 583 marker_file.c_str(), errno, strerror(errno)); 586 if (rmdir(dir.c_str()) == -1) [all...] |
/bootable/recovery/applypatch/ |
applypatch.cpp | 124 const char* partition = pieces[1].c_str(); 132 size[i] = strtol(pieces[i*2+2].c_str(), NULL, 10); 137 sha1sum[i] = pieces[i*2+3].c_str(); 222 if (ParseSha1(sha1sum[index[i]].c_str(), parsed_sha) != 0) { 223 printf("failed to parse sha1 %s in %s\n", sha1sum[index[i]].c_str(), filename); 231 size[index[i]], sha1sum[index[i]].c_str()); 326 const char* partition = pieces[1].c_str(); 662 printf("already %s\n", short_sha1(target_sha1).c_str()); 741 if (LoadPartitionContents(fullname.c_str(), &source_file) == 0 && 745 printf("already %s\n", short_sha1(target_sha1).c_str()); [all...] |
/external/tinyxml/ |
tinyxml.cpp | 67 outString->append( str.c_str() + i, 1 ); 132 strcpy( buffer, str.c_str() ); 171 target->SetValue (value.c_str() ); 774 fprintf( cfile, "<%s", value.c_str() ); 796 fprintf( cfile, "</%s>", value.c_str() ); 813 fprintf( cfile, "</%s>", value.c_str() ); 968 // address as it's c_str() method, and so bad things happen. Looks 975 FILE* file = fopen( value.c_str (), "rb" ); 1075 Parse( data.c_str(), 0, encoding ); 1115 target->errorDesc = errorDesc.c_str (); [all...] |
/external/deqp/executor/tools/ |
xeCommandLineExecutor.cpp | 292 xe::TestGroup* package = root.createGroup(packageName.c_str(), ""); 312 if (checkCasePathPatternMatch(filter, fullPath.c_str(), isGroup)) 336 if (checkCasePathPatternMatch(filter, fullPath.c_str(), isGroup)) 424 if (batchResult.hasTestCaseResult(fullPath.c_str())) 426 xe::ConstTestCaseResultPtr resultData = batchResult.getTestCaseResult(fullPath.c_str()); 465 link->start(cmdLine.serverBinOrAddress.c_str(), DE_NULL, cmdLine.port); 480 address.setHost(cmdLine.serverBinOrAddress.c_str()); 582 readCaseLists(root, cmdLine.caseListDir.c_str()); 589 addMatchingCases(root, testSet, filterIter->c_str()); 596 removeMatchingCases(root, testSet, filterIter->c_str()); [all...] |
/external/libchrome/base/strings/ |
string_piece_unittest.cc | 47 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ 48 BasicStringPiece<TypeParam>((rhs.c_str())))); \ 49 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ 50 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ 57 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ 58 BasicStringPiece<TypeParam>((rhs.c_str())))); \ 59 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ 60 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ 507 c.set(foobar.c_str()); 509 c.set(foobar.c_str(), 6) [all...] |
/external/libweave/third_party/chromium/base/strings/ |
string_piece_unittest.cc | 36 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ 37 BasicStringPiece<TypeParam>((rhs.c_str())))); \ 38 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ 39 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ 46 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ 47 BasicStringPiece<TypeParam>((rhs.c_str())))); \ 48 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ 49 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ 496 c.set(foobar.c_str()); 498 c.set(foobar.c_str(), 6) [all...] |
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
xfa_fmparse.cpp | 48 XFA_FM_KeywordToString(op), ws_TempString.c_str());
107 ws_TempString.c_str());
136 ws_TempString.c_str());
218 ws_TempString.c_str());
232 ws_TempString.c_str());
561 ws_TempString.c_str());
596 XFA_FM_KeywordToString(TOKrparen), ws_TempString.c_str());
651 XFA_FM_KeywordToString(TOKrparen), ws_TempString.c_str());
707 ws_TempString.c_str());
742 ws_TempString.c_str());
[all...] |
/system/core/libbacktrace/ |
BacktraceOffline.cpp | 274 int found = dwarf_find_debug_frame(0, &di, ip, segbase, filename.c_str(), map.start, map.end); 631 if (stat(filename.c_str(), &st) != 0 || !S_ISREG(st.st_mode)) { 634 FILE* fp = fopen(filename.c_str(), "reb"); 650 if (stat(apk_path.c_str(), &st) != 0 || !S_ISREG(st.st_mode)) { 653 FILE* fp = fopen(apk_path.c_str(), "reb"); 688 BACK_LOGW("%s is not a valid apk file", apk_file.c_str()); 692 int32_t ret_code = OpenArchive(apk_file.c_str(), &handle); 695 BACK_LOGW("failed to open archive %s: %s", apk_file.c_str(), ErrorCodeString(ret_code)); 700 ret_code = FindEntry(handle, ZipString(elf_file.c_str()), &zentry); 702 BACK_LOGW("failed to find %s in %s: %s", elf_file.c_str(), apk_file.c_str() [all...] |
/bootable/recovery/ |
recovery-refresh.cpp | 82 if (!strstr(LAST_KMSG_FILE, sub.c_str()) && 83 !strstr(LAST_LOG_FILE, sub.c_str())) { 100 return __android_log_pmsg_file_write(logId, prio, name.c_str(), buf, len);
|
/device/google/contexthub/util/nanotool/ |
calibrationfile.cpp | 71 json_root_->toString().c_str()); 122 json_str.c_str()); 124 ssize_t bytes_written = file_->write(json_str.c_str(), json_str.size());
|
/external/ImageMagick/Magick++/lib/ |
CoderInfo.cpp | 59 magickInfo=GetMagickInfo(name_.c_str(),exceptionInfo); 63 name_.c_str()); 152 return(UnregisterMagickInfo(_name.c_str()) != MagickFalse);
|