c_str 4581 3rdparty/include/opencl/1.2/CL/cl.hpp const char * strings = source.c_str(); c_str 4616 3rdparty/include/opencl/1.2/CL/cl.hpp const char * strings = source.c_str(); c_str 4652 3rdparty/include/opencl/1.2/CL/cl.hpp const char * strings = source.c_str(); c_str 4798 3rdparty/include/opencl/1.2/CL/cl.hpp kernelNames.c_str(), c_str 6788 3rdparty/include/opencl/1.2/CL/cl.hpp kernel_(program, name.c_str(), err) c_str 110 3rdparty/openexr/Iex/IexBaseExc.cpp return c_str(); c_str 129 3rdparty/openexr/IlmImf/ImfAcesFile.cpp _data->rgbaFile = new RgbaOutputFile (name.c_str(), c_str 188 3rdparty/openexr/IlmImf/ImfAcesFile.cpp _data->rgbaFile = new RgbaOutputFile (name.c_str(), c_str 224 3rdparty/openexr/IlmImf/ImfAcesFile.cpp _data->rgbaFile = new RgbaOutputFile (name.c_str(), c_str 472 3rdparty/openexr/IlmImf/ImfAcesFile.cpp _data->rgbaFile = new RgbaInputFile (name.c_str(), numThreads); c_str 501 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp typedAttribute<Imf::StringAttribute>(name).value().c_str(); c_str 87 3rdparty/openexr/IlmImf/ImfChannelList.cpp insert (name.c_str(), channel); c_str 118 3rdparty/openexr/IlmImf/ImfChannelList.cpp return this->operator[] (name.c_str()); c_str 125 3rdparty/openexr/IlmImf/ImfChannelList.cpp return this->operator[] (name.c_str()); c_str 148 3rdparty/openexr/IlmImf/ImfChannelList.cpp return findChannel (name.c_str()); c_str 155 3rdparty/openexr/IlmImf/ImfChannelList.cpp return findChannel (name.c_str()); c_str 204 3rdparty/openexr/IlmImf/ImfChannelList.cpp return find (name.c_str()); c_str 211 3rdparty/openexr/IlmImf/ImfChannelList.cpp return find (name.c_str()); c_str 289 3rdparty/openexr/IlmImf/ImfChannelList.cpp return channelsWithPrefix (prefix.c_str(), first, last); c_str 298 3rdparty/openexr/IlmImf/ImfChannelList.cpp return channelsWithPrefix (prefix.c_str(), first, last); c_str 92 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp insert (name.c_str(), slice); c_str 129 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp return this->operator[] (name.c_str()); c_str 136 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp return this->operator[] (name.c_str()); c_str 159 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp return findSlice (name.c_str()); c_str 166 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp return findSlice (name.c_str()); c_str 215 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp return find (name.c_str()); c_str 222 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp return find (name.c_str()); c_str 327 3rdparty/openexr/IlmImf/ImfHeader.cpp insert (name.c_str(), attribute); c_str 358 3rdparty/openexr/IlmImf/ImfHeader.cpp return this->operator[] (name.c_str()); c_str 365 3rdparty/openexr/IlmImf/ImfHeader.cpp return this->operator[] (name.c_str()); c_str 414 3rdparty/openexr/IlmImf/ImfHeader.cpp return find (name.c_str()); c_str 421 3rdparty/openexr/IlmImf/ImfHeader.cpp return find (name.c_str()); c_str 579 3rdparty/openexr/IlmImf/ImfHeader.h return typedAttribute<T> (name.c_str()); c_str 587 3rdparty/openexr/IlmImf/ImfHeader.h return typedAttribute<T> (name.c_str()); c_str 613 3rdparty/openexr/IlmImf/ImfHeader.h return findTypedAttribute<T> (name.c_str()); c_str 621 3rdparty/openexr/IlmImf/ImfHeader.h return findTypedAttribute<T> (name.c_str()); c_str 86 3rdparty/openexr/IlmImf/ImfIO.cpp return _fileName.c_str(); c_str 105 3rdparty/openexr/IlmImf/ImfIO.cpp return _fileName.c_str(); c_str 182 apps/annotation/opencv_annotation.cpp ofstream output(annotations.c_str()); c_str 320 apps/traincascade/boost.cpp minHitRate = (float) atof( val.c_str() ); c_str 324 apps/traincascade/boost.cpp maxFalseAlarm = (float) atof( val.c_str() ); c_str 328 apps/traincascade/boost.cpp weight_trim_rate = (float) atof( val.c_str() ); c_str 332 apps/traincascade/boost.cpp max_depth = atoi( val.c_str() ); c_str 336 apps/traincascade/boost.cpp weak_count = atoi( val.c_str() ); c_str 116 apps/traincascade/cascadeclassifier.cpp winSize.width = atoi( val.c_str() ); c_str 120 apps/traincascade/cascadeclassifier.cpp winSize.height = atoi( val.c_str() ); c_str 32 apps/traincascade/imagestorage.cpp std::ifstream file(_filename.c_str()); c_str 131 apps/traincascade/imagestorage.cpp file = fopen( _filename.c_str(), "rb" ); c_str 140 apps/traincascade/imagestorage.cpp CV_Error_( CV_StsParseError, ("wrong file format for %s\n", _filename.c_str()) ); c_str 340 modules/calib3d/test/test_cameracalibration.cpp filepath = cv::format("%scv/cameracalibration/", ts->get_data_path().c_str() ); c_str 341 modules/calib3d/test/test_cameracalibration.cpp filename = cv::format("%sdatafiles.txt", filepath.c_str() ); c_str 342 modules/calib3d/test/test_cameracalibration.cpp datafile = fopen( filename.c_str(), "r" ); c_str 345 modules/calib3d/test/test_cameracalibration.cpp ts->printf( cvtest::TS::LOG, "Could not open file with list of test files: %s\n", filename.c_str() ); c_str 357 modules/calib3d/test/test_cameracalibration.cpp filename = cv::format("%s%s", filepath.c_str(), i_dat_file); c_str 358 modules/calib3d/test/test_cameracalibration.cpp file = fopen(filename.c_str(),"r"); c_str 365 modules/calib3d/test/test_cameracalibration.cpp "Can't open current test file: %s\n",filename.c_str()); c_str 1387 modules/calib3d/test/test_cameracalibration.cpp filepath = cv::format("%scv/stereo/case%d/stereo_calib.txt", ts->get_data_path().c_str(), testcase ); c_str 1388 modules/calib3d/test/test_cameracalibration.cpp f = fopen(filepath.c_str(), "rt"); c_str 1394 modules/calib3d/test/test_cameracalibration.cpp ts->printf( cvtest::TS::LOG, "The file %s can not be opened or has invalid content\n", filepath.c_str() ); c_str 1409 modules/calib3d/test/test_cameracalibration.cpp filepath = cv::format("%scv/stereo/case%d/%s", ts->get_data_path().c_str(), testcase, buf ); c_str 1436 modules/calib3d/test/test_cameracalibration.cpp imglist[i*2].c_str(), imglist[i*2+1].c_str(), testcase ); c_str 1446 modules/calib3d/test/test_cameracalibration.cpp imglist[i*2].c_str(), imglist[i*2+1].c_str(), testcase ); c_str 179 modules/calib3d/test/test_chesscorners.cpp ts->printf(cvtest::TS::LOG, "\nRunning batch %s\n", filename.c_str()); c_str 203 modules/calib3d/test/test_chesscorners.cpp ts->printf( cvtest::TS::LOG, "%s can not be readed or is not valid\n", (folder + filename).c_str() ); c_str 225 modules/calib3d/test/test_chesscorners.cpp ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", img_file.c_str() ); c_str 260 modules/calib3d/test/test_chesscorners.cpp ts->printf( cvtest::TS::LOG, "chessboard is detected incorrectly in %s\n", img_file.c_str() ); c_str 292 modules/calib3d/test/test_chesscorners.cpp ts->printf( cvtest::TS::LOG, "Image %s: bad accuracy of adjusted corners %f\n", img_file.c_str(), err ); c_str 297 modules/calib3d/test/test_chesscorners.cpp ts->printf(cvtest::TS::LOG, "Error on %s is %f\n", img_file.c_str(), err); c_str 78 modules/calib3d/test/test_chesscorners_timing.cpp filepath = cv::format("%scv/cameracalibration/", ts->get_data_path().c_str() ); c_str 79 modules/calib3d/test/test_chesscorners_timing.cpp filename = cv::format("%schessboard_timing_list.dat", filepath.c_str() ); c_str 80 modules/calib3d/test/test_chesscorners_timing.cpp CvFileStorage* fs = cvOpenFileStorage( filename.c_str(), 0, CV_STORAGE_READ ); c_str 108 modules/calib3d/test/test_chesscorners_timing.cpp filename = cv::format("%s%s", filepath.c_str(), imgname ); c_str 115 modules/calib3d/test/test_chesscorners_timing.cpp ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", filename.c_str() ); c_str 436 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "file %s can not be read or written\n", fullResultFilename.c_str() ); c_str 458 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "images or left ground-truth disparities of dataset %s can not be read", datasetName.c_str() ); c_str 582 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "\nquality of case named %s\n", caseNames[caseIdx].c_str() ); c_str 583 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "%s\n", RMS_STR.c_str() ); c_str 585 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "%s\n", BAD_PXLS_FRACTION_STR.c_str() ); c_str 615 modules/calib3d/test/test_stereomatching.cpp String sf = fn[i+1]; params.dispScaleFactor = atoi(sf.c_str()); c_str 616 modules/calib3d/test/test_stereomatching.cpp String uv = fn[i+2]; params.dispUnknVal = atoi(uv.c_str()); c_str 643 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "%s = %f\n", string(ERROR_PREFIXES[i]+errName).c_str(), *it ); c_str 667 modules/calib3d/test/test_stereomatching.cpp ts->printf( cvtest::TS::LOG, "bad accuracy of %s (valid=%f; calc=%f)\n", string(ERROR_PREFIXES[i]+errName).c_str(), *validIt, *calcIt ); c_str 702 modules/calib3d/test/test_stereomatching.cpp String ndisp = fn[i+2]; params.ndisp = atoi(ndisp.c_str()); c_str 703 modules/calib3d/test/test_stereomatching.cpp String winSize = fn[i+3]; params.winSize = atoi(winSize.c_str()); c_str 758 modules/calib3d/test/test_stereomatching.cpp String ndisp = fn[i+2]; params.ndisp = atoi(ndisp.c_str()); c_str 759 modules/calib3d/test/test_stereomatching.cpp String winSize = fn[i+3]; params.winSize = atoi(winSize.c_str()); c_str 760 modules/calib3d/test/test_stereomatching.cpp String fullDP = fn[i+4]; params.fullDP = atoi(fullDP.c_str()) == 0 ? false : true; c_str 518 modules/core/include/opencv2/core/cvstd.hpp const char* c_str() const; c_str 779 modules/core/include/opencv2/core/cvstd.hpp return strcmp(c_str(), s); c_str 786 modules/core/include/opencv2/core/cvstd.hpp return strcmp(c_str(), str.c_str()); c_str 818 modules/core/include/opencv2/core/cvstd.hpp return find(str.c_str(), pos, str.len_); c_str 861 modules/core/include/opencv2/core/cvstd.hpp return rfind(str.c_str(), pos, str.len_); c_str 893 modules/core/include/opencv2/core/cvstd.hpp return find_first_of(str.c_str(), pos, str.len_); c_str 932 modules/core/include/opencv2/core/cvstd.hpp return find_last_of(str.c_str(), pos, str.len_); c_str 81 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(allocate(len), str.c_str(), len); c_str 93 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(allocate(len), str.c_str() + pos, len); c_str 103 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(allocate(len), str.c_str(), len); c_str 128 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(s.cstr_ + lhs.len_, rhs.c_str(), rhslen); c_str 138 modules/core/include/opencv2/core/cvstd.inl.hpp memcpy(s.cstr_, lhs.c_str(), lhslen); c_str 168 modules/core/include/opencv2/core/cvstd.inl.hpp return os << str.c_str(); c_str 61 modules/core/src/command_line_parser.cpp std::stringstream ss(str.c_str()); c_str 345 modules/core/src/command_line_parser.cpp printf("\nERRORS:\n%s\n", impl->error_message.c_str()); c_str 353 modules/core/src/command_line_parser.cpp printf("%s\n", impl->about_message.c_str()); c_str 355 modules/core/src/command_line_parser.cpp printf("Usage: %s [params] ", impl->app_name.c_str()); c_str 362 modules/core/src/command_line_parser.cpp printf("%s ", name.c_str()); c_str 384 modules/core/src/command_line_parser.cpp printf("%s", k.c_str()); c_str 394 modules/core/src/command_line_parser.cpp printf(" (value:%s)", dv.c_str()); c_str 396 modules/core/src/command_line_parser.cpp printf("\n\t\t%s\n", impl->data[i].help_message.c_str()); c_str 409 modules/core/src/command_line_parser.cpp printf("%s", k.c_str()); c_str 414 modules/core/src/command_line_parser.cpp printf(" (value:%s)", dv.c_str()); c_str 416 modules/core/src/command_line_parser.cpp printf("\n\t\t%s\n", impl->data[i].help_message.c_str()); c_str 887 modules/core/src/convert.cpp ocl::memopTypeToStr(depth), cn, dstargs.c_str(), c_str 888 modules/core/src/convert.cpp processelem.c_str(), indexdecl.c_str())); c_str 1058 modules/core/src/convert.cpp dcn, ocl::memopTypeToStr(depth), srcargs.c_str(), c_str 1059 modules/core/src/convert.cpp indexdecl.c_str(), processelem.c_str(), cndecl.c_str())); c_str 1327 modules/core/src/convert.cpp ocl::memopTypeToStr(depth), declsrc.c_str(), decldst.c_str(), c_str 1328 modules/core/src/convert.cpp declproc.c_str(), indexdecl.c_str(), declcn.c_str())); c_str 1866 modules/core/src/dxt.cpp dft_depth == CV_64F ? " -D DOUBLE_SUPPORT" : "", radix_processing.c_str()); c_str 1919 modules/core/src/dxt.cpp ocl::Kernel k(kernel_name.c_str(), ocl::core::fft_oclsrc, options); c_str 83 modules/core/src/glob.cpp size_t copied = mbstowcs(wfull_path, full_path.c_str(), MAX_PATH); c_str 88 modules/core/src/glob.cpp dir->handle = ::FindFirstFileExA((cv::String(path) + "\\*").c_str(), c_str 152 modules/core/src/glob.cpp size_t copied = mbstowcs(wpath, path.c_str(), MAX_PATH); c_str 156 modules/core/src/glob.cpp status = ::GetFileAttributesExA(path.c_str(), GetFileExInfoStandard, &all_attrs); c_str 165 modules/core/src/glob.cpp if (0 != stat( path.c_str(), &stat_buf)) c_str 225 modules/core/src/glob.cpp if ((dir = opendir (directory.c_str())) != 0) c_str 245 modules/core/src/glob.cpp if (wildchart.empty() || wildcmp(name, wildchart.c_str())) c_str 257 modules/core/src/glob.cpp else CV_Error(CV_StsObjectNotFound, cv::format("could not open directory: %s", directory.c_str())); c_str 3064 modules/core/src/matrix.cpp ocl::Kernel k(kernelName.c_str(), ocl::core::transpose_oclsrc, c_str 89 modules/core/src/ocl.cpp CV_ErrorNoReturn(cv::Error::StsBadArg, cv::format("Invalid value for %s parameter: %s", name, value.c_str())); c_str 114 modules/core/src/ocl.cpp int v = atoi(valueStr.c_str()); c_str 121 modules/core/src/ocl.cpp CV_ErrorNoReturn(cv::Error::StsBadArg, cv::format("Invalid value for %s parameter: %s", name, value.c_str())); c_str 1778 modules/core/src/ocl.cpp const char *pstr = deviceVersion.c_str(); c_str 1785 modules/core/src/ocl.cpp major = atoi(temp.c_str()); c_str 1787 modules/core/src/ocl.cpp minor = atoi(temp.c_str()); c_str 1813 modules/core/src/ocl.cpp else if (vendorName_ == "Intel(R) Corporation" || vendorName_ == "Intel" || strstr(name_.c_str(), "Iris") != 0) c_str 2280 modules/core/src/ocl.cpp deviceID = atoi(deviceName.c_str()); c_str 2584 modules/core/src/ocl.cpp HashKey k(src.hash(), crc64((const uchar*)prefix.c_str(), prefix.size())); c_str 2711 modules/core/src/ocl.cpp CV_OPENCL_SVM_TRACE_P("Device extension doesn't have cl_amd_svm: %s\n", extensions.c_str()); c_str 3480 modules/core/src/ocl.cpp const char* srcptr = srcstr.c_str(); c_str 3501 modules/core/src/ocl.cpp buildflags.c_str(), 0, 0); c_str 3519 modules/core/src/ocl.cpp printf("OpenCL program build log: %s\n%s\n", buildflags.c_str(), errmsg.c_str()); c_str 3542 modules/core/src/ocl.cpp const char* pos0 = _buf.c_str(); c_str 3576 modules/core/src/ocl.cpp memcpy(buf, prefix.c_str(), prefixlen); c_str 3692 modules/core/src/ocl.cpp dev.name().c_str(), dev.driverVersion().c_str(), buildflags.c_str()); c_str 3711 modules/core/src/ocl.cpp h = crc64((uchar*)src.c_str(), src.size()); c_str 5417 modules/core/src/ocl.cpp return cv::format(" -D %s=%s", name ? name : "COEFF", func(kernel).c_str()); c_str 5518 modules/core/src/ocl.cpp name.c_str(), ocl::typeToStr(type), c_str 5519 modules/core/src/ocl.cpp name.c_str(), ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), c_str 5520 modules/core/src/ocl.cpp name.c_str(), (int)CV_MAT_CN(type), c_str 5521 modules/core/src/ocl.cpp name.c_str(), (int)CV_ELEM_SIZE(type), c_str 5522 modules/core/src/ocl.cpp name.c_str(), (int)CV_ELEM_SIZE1(type), c_str 5523 modules/core/src/ocl.cpp name.c_str(), (int)depth c_str 139 modules/core/src/out.cpp return prologue.c_str(); c_str 159 modules/core/src/out.cpp return epilogue.c_str(); c_str 121 modules/core/src/persistence.cpp const char* filename = _filename.c_str(); c_str 5027 modules/core/src/persistence.cpp cvWrite( fs, name.c_str(), struct_ptr, attributes ); c_str 5119 modules/core/src/persistence.cpp const char* dt = fmt.c_str(); c_str 5163 modules/core/src/persistence.cpp fs.reset(cvOpenFileStorage( filename.c_str(), 0, flags, c_str 5164 modules/core/src/persistence.cpp !encoding.empty() ? encoding.c_str() : 0)); c_str 5202 modules/core/src/persistence.cpp const char* _str = str.c_str(); c_str 5238 modules/core/src/persistence.cpp cvStartWriteStruct( *fs, fs.elname.size() > 0 ? fs.elname.c_str() : 0, c_str 5263 modules/core/src/persistence.cpp cvWriteRawData( fs, vec, (int)(len/elemSize), fmt.c_str()); c_str 5271 modules/core/src/persistence.cpp cvWrite( fs, name.size() > 0 ? name.c_str() : 0, obj ); c_str 5277 modules/core/src/persistence.cpp return FileNode(fs, cvGetFileNodeByName(fs, 0, nodename.c_str())); c_str 5287 modules/core/src/persistence.cpp return FileNode(fs, cvGetFileNodeByName(fs, node, nodename.c_str())); c_str 5440 modules/core/src/persistence.cpp cvReadRawDataSlice( fs, (CvSeqReader*)&reader, (int)count, vec, fmt.c_str() ); c_str 5445 modules/core/src/persistence.cpp cvReadRawData( fs, container, vec, fmt.c_str() ); c_str 5454 modules/core/src/persistence.cpp { cvWriteInt( *fs, name.size() ? name.c_str() : 0, value ); } c_str 5457 modules/core/src/persistence.cpp { cvWriteReal( *fs, name.size() ? name.c_str() : 0, value ); } c_str 5460 modules/core/src/persistence.cpp { cvWriteReal( *fs, name.size() ? name.c_str() : 0, value ); } c_str 5463 modules/core/src/persistence.cpp { cvWriteString( *fs, name.size() ? name.c_str() : 0, value.c_str() ); } c_str 5475 modules/core/src/persistence.cpp { cvWriteString( *fs, 0, value.c_str() ); } c_str 5483 modules/core/src/persistence.cpp cvWrite( *fs, name.size() ? name.c_str() : 0, &mat ); c_str 5488 modules/core/src/persistence.cpp cvWrite( *fs, name.size() ? name.c_str() : 0, &mat ); c_str 5496 modules/core/src/persistence.cpp cvWrite( *fs, name.size() ? name.c_str() : 0, mat ); c_str 5503 modules/core/src/persistence.cpp cvStartWriteStruct(**fs, !name.empty() ? name.c_str() : 0, flags, c_str 5504 modules/core/src/persistence.cpp !typeName.empty() ? typeName.c_str() : 0); c_str 213 modules/core/src/system.cpp const char* Exception::what() const throw() { return msg.c_str(); } c_str 218 modules/core/src/system.cpp msg = format("%s:%d: error: (%d) %s in function %s\n", file.c_str(), line, code, err.c_str(), func.c_str()); c_str 220 modules/core/src/system.cpp msg = format("%s:%d: error: (%d) %s\n", file.c_str(), line, code, err.c_str()); c_str 559 modules/core/src/system.cpp DeleteFileW(temp_file.c_str()); c_str 562 modules/core/src/system.cpp size_t copied = wcstombs(aname, temp_file.c_str(), MAX_PATH); c_str 601 modules/core/src/system.cpp const int fd = mkstemp((char*)fname.c_str()); c_str 605 modules/core/src/system.cpp remove(fname.c_str()); c_str 632 modules/core/src/system.cpp customErrorCallback(exc.code, exc.func.c_str(), exc.err.c_str(), c_str 633 modules/core/src/system.cpp exc.file.c_str(), exc.line, customErrorCallbackData); c_str 640 modules/core/src/system.cpp errorStr, exc.err.c_str(), exc.func.size() > 0 ? c_str 641 modules/core/src/system.cpp exc.func.c_str() : "unknown function", exc.file.c_str(), exc.line ); c_str 195 modules/core/test/test_io.cpp ts->printf( cvtest::TS::LOG, "filename %s can not be read\n", !mem ? filename.c_str() : content.c_str()); c_str 382 modules/core/test/test_io.cpp remove(filename.c_str()); c_str 158 modules/core/test/test_mat.cpp srcTypeStr.c_str(), dstTypeStr.c_str(), opTypeStr, dimStr ); c_str 572 modules/core/test/test_mat.cpp const char* ptr = s.c_str(); c_str 808 modules/core/test/test_mat.cpp i, sidx.c_str(), all_vals[i], v); c_str 869 modules/core/test/test_mat.cpp ts->printf(cvtest::TS::LOG, "SparseMat M[%s] = %g/%g/%g (while it should be %g)\n", sidx.c_str(), val1, val2, val3, val0 ); c_str 895 modules/core/test/test_mat.cpp ts->printf(cvtest::TS::LOG, "SparseMat: after deleting M[%s], it is =%g/%g (while it should be 0)\n", sidx.c_str(), val1, val2 ); c_str 917 modules/core/test/test_mat.cpp "(%g, %g, %s, %s) vs (%g, %g, %s, %s)\n", si, val1, val2, s1.c_str(), s2.c_str(), c_str 918 modules/core/test/test_mat.cpp min_val, max_val, min_sidx.c_str(), max_sidx.c_str()); c_str 929 modules/core/test/test_mat.cpp "(%g, %g, %s, %s) vs (%g, %g, %s, %s)\n", si, val1, val2, s1.c_str(), s2.c_str(), c_str 930 modules/core/test/test_mat.cpp min_val, max_val, min_sidx.c_str(), max_sidx.c_str()); c_str 1063 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.depth(), depth); c_str 1069 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.rows, dst.cols, size.height, size.width); c_str 1075 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.channels(), channels); c_str 1083 modules/core/test/test_mat.cpp commonLog.str().c_str(), static_cast<float>(diffElemCount)/(channels*size.area())); c_str 1112 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.size(), channels); c_str 1120 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].rows, dst[i].cols, size.height, size.width); c_str 1126 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].depth(), depth); c_str 1132 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].channels(), 1); c_str 1141 modules/core/test/test_mat.cpp commonLog.str().c_str(), static_cast<float>(diffElemCount)/(channels*size.area())); c_str 430 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); c_str 458 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); c_str 495 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); c_str 815 modules/core/test/test_operations.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); c_str 682 modules/core/test/test_umat.cpp ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str()); c_str 63 modules/cudacodec/src/cuvid_video_source.cpp CUresult cuRes = cuvidCreateVideoSource(&videoSource_, fname.c_str(), ¶ms); c_str 108 modules/cudacodec/src/ffmpeg_video_source.cpp stream_ = create_InputMediaStream_FFMPEG_p(fname.c_str(), &codec, &chroma_format, &width, &height); c_str 775 modules/cudacodec/src/video_writer.cpp stream_ = create_OutputMediaStream_FFMPEG_p(fileName.c_str(), frameSize.width, frameSize.height, fps); c_str 279 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(pred, msg.c_str(), err); \ c_str 288 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(NCV_SUCCESS==_ncvStat, msg.c_str(), _ncvStat); \ c_str 297 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ c_str 306 modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp ncvAssertPrintReturn(cudaSuccess==res, msg.c_str(), errCode); \ c_str 134 modules/cudalegacy/src/NCV.cpp std::cout << msg.c_str() << std::endl; c_str 77 modules/cudalegacy/test/NCVAutoTestLister.hpp testSuiteName.c_str(), c_str 92 modules/cudalegacy/test/NCVAutoTestLister.hpp curTest.getName().c_str(), c_str 95 modules/cudalegacy/test/NCVAutoTestLister.hpp curReport.statsText["rcode"].c_str()); c_str 139 modules/cudalegacy/test/NCVAutoTestLister.hpp testSuiteName.c_str(), c_str 210 modules/cudalegacy/test/NCVTest.hpp std::ofstream stream(fname.c_str(), std::ios::trunc | std::ios::out); c_str 302 modules/cudalegacy/test/main_nvidia.cpp path = test_data_path.c_str(); c_str 63 modules/cudalegacy/test/test_nvidia.cpp _path = TS::ptr()->get_data_path().c_str(); c_str 156 modules/cudaobjdetect/src/cascadeclassifier.cpp CV_Error(Error::GpuApiCallError, msg.c_str()); c_str 160 modules/cudaobjdetect/test/test_objdetect.cpp f.open((std::string(cvtest::TS::ptr()->get_data_path()) + "hog/expected_output.bin").c_str(), std::ios_base::binary); c_str 124 modules/cudaoptflow/src/brox.cpp CV_Error(cv::Error::GpuApiCallError, msg.c_str()); c_str 94 modules/cudaoptflow/test/test_optflow.cpp std::ifstream f(fname.c_str(), std::ios_base::binary); c_str 114 modules/cudaoptflow/test/test_optflow.cpp std::ofstream f(fname.c_str(), std::ios_base::binary); c_str 56 modules/features2d/test/test_descriptors_regression.cpp FILE* f = fopen( filename.c_str(), "wb"); c_str 72 modules/features2d/test/test_descriptors_regression.cpp FILE* f = fopen( filename.c_str(), "rb" ); c_str 142 modules/features2d/test/test_descriptors_regression.cpp ts->printf(cvtest::TS::LOG, ss.str().c_str() ); c_str 199 modules/features2d/test/test_descriptors_regression.cpp ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str() ); c_str 361 modules/features2d/test/test_descriptors_regression.cpp string imgname = format("%s/img%d.png", path.c_str(), i+1); c_str 397 modules/features2d/test/test_descriptors_regression.cpp printf("%d. image: %s:\n", (int)i, fnames[i].c_str()); c_str 398 modules/features2d/test/test_descriptors_regression.cpp if( strstr(fnames[i].c_str(), "MP.png") != 0 ) c_str 400 modules/features2d/test/test_descriptors_regression.cpp bool checkCount = strstr(fnames[i].c_str(), "templ.png") == 0; c_str 184 modules/features2d/test/test_detectors_regression.cpp ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str() ); c_str 216 modules/features2d/test/test_detectors_regression.cpp ts->printf( cvtest::TS::LOG, "File %s can not be opened to write.\n", resFilename.c_str() ); c_str 72 modules/features2d/test/test_keypoints.cpp ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str()); c_str 554 modules/features2d/test/test_matchers_algorithmic.cpp ASSERT_NE( strstr(str.c_str(), "4.5"), (char*)0 ); c_str 317 modules/features2d/test/test_nearestneighbors.cpp createIndex( data, SavedIndexParams(filename.c_str())); c_str 318 modules/features2d/test/test_nearestneighbors.cpp remove( filename.c_str() ); c_str 212 modules/features2d/test/test_rotation_and_scale_invariance.cpp ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imageFilename.c_str()); c_str 324 modules/features2d/test/test_rotation_and_scale_invariance.cpp ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imageFilename.c_str()); c_str 408 modules/features2d/test/test_rotation_and_scale_invariance.cpp ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imageFilename.c_str()); c_str 527 modules/features2d/test/test_rotation_and_scale_invariance.cpp ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imageFilename.c_str()); c_str 114 modules/flann/include/opencv2/flann/any.h out << (*reinterpret_cast<cv::String const*>(*src)).c_str(); c_str 107 modules/flann/include/opencv2/flann/autotuned_index.h Logger::info("%s", stream.str().c_str()); c_str 117 modules/flann/include/opencv2/flann/autotuned_index.h Logger::info("%s", stream.str().c_str()); c_str 77 modules/flann/include/opencv2/flann/flann_base.hpp FILE* fin = fopen(filename.c_str(), "rb"); c_str 138 modules/flann/include/opencv2/flann/flann_base.hpp FILE* fout = fopen(filename.c_str(), "wb"); c_str 87 modules/flann/include/opencv2/flann/hdf5.h file_id = H5Fopen(filename.c_str(), H5F_ACC_RDWR, H5P_DEFAULT); c_str 89 modules/flann/include/opencv2/flann/hdf5.h file_id = H5Fcreate(filename.c_str(), H5F_ACC_EXCL, H5P_DEFAULT, H5P_DEFAULT); c_str 102 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dcreate2(file_id, name.c_str(), get_hdf5_type<T>(), space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); c_str 104 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dcreate(file_id, name.c_str(), get_hdf5_type<T>(), space_id, H5P_DEFAULT); c_str 109 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dopen2(file_id, name.c_str(), H5P_DEFAULT); c_str 111 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dopen(file_id, name.c_str()); c_str 131 modules/flann/include/opencv2/flann/hdf5.h hid_t file_id = H5Fopen(filename.c_str(), H5F_ACC_RDWR, H5P_DEFAULT); c_str 136 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dopen2(file_id, name.c_str(), H5P_DEFAULT); c_str 138 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dopen(file_id, name.c_str()); c_str 182 modules/flann/include/opencv2/flann/hdf5.h hid_t file_id = H5Fopen(filename.c_str(), H5F_ACC_RDWR, plist_id); c_str 187 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dopen2(file_id, name.c_str(), H5P_DEFAULT); c_str 189 modules/flann/include/opencv2/flann/hdf5.h dataset_id = H5Dopen(file_id, name.c_str()); c_str 659 modules/flann/src/miniflann.cpp FILE* fout = fopen(filename.c_str(), "wb"); c_str 661 modules/flann/src/miniflann.cpp CV_Error_( Error::StsError, ("Can not open file %s for writing FLANN index\n", filename.c_str()) ); c_str 728 modules/flann/src/miniflann.cpp FILE* fin = fopen(filename.c_str(), "rb"); c_str 158 modules/highgui/src/window.cpp cvNamedWindow( winname.c_str(), flags ); c_str 163 modules/highgui/src/window.cpp cvDestroyWindow( winname.c_str() ); c_str 173 modules/highgui/src/window.cpp cvResizeWindow( winname.c_str(), width, height ); c_str 178 modules/highgui/src/window.cpp cvMoveWindow( winname.c_str(), x, y ); c_str 183 modules/highgui/src/window.cpp cvSetWindowProperty( winname.c_str(), prop_id, prop_value); c_str 188 modules/highgui/src/window.cpp return cvGetWindowProperty(winname.c_str(), prop_id); c_str 200 modules/highgui/src/window.cpp return cvCreateTrackbar2(trackbarName.c_str(), winName.c_str(), c_str 206 modules/highgui/src/window.cpp cvSetTrackbarPos(trackbarName.c_str(), winName.c_str(), value ); c_str 211 modules/highgui/src/window.cpp cvSetTrackbarMax(trackbarName.c_str(), winName.c_str(), maxval); c_str 216 modules/highgui/src/window.cpp return cvGetTrackbarPos(trackbarName.c_str(), winName.c_str()); c_str 221 modules/highgui/src/window.cpp cvSetMouseCallback(windowName.c_str(), onMouse, param); c_str 238 modules/highgui/src/window.cpp cvSetOpenGlDrawCallback(name.c_str(), callback, userdata); c_str 243 modules/highgui/src/window.cpp cvSetOpenGlContext(windowName.c_str()); c_str 248 modules/highgui/src/window.cpp cvUpdateWindow(windowName.c_str()); c_str 275 modules/highgui/src/window.cpp cvShowImage(winname.c_str(), &c_img); c_str 285 modules/highgui/src/window.cpp cvShowImage(winname.c_str(), &c_img); c_str 386 modules/highgui/src/window.cpp CvFont f = cvFontQt(nameFont.c_str(), pointSize,color,weight, style); c_str 394 modules/highgui/src/window.cpp cvAddText( &_img, text.c_str(), org, (CvFont*)&font); c_str 399 modules/highgui/src/window.cpp cvDisplayStatusBar(name.c_str(),text.c_str(), delayms); c_str 404 modules/highgui/src/window.cpp cvDisplayOverlay(name.c_str(),text.c_str(), delayms); c_str 419 modules/highgui/src/window.cpp cvSaveWindowParameters(windowName.c_str()); c_str 424 modules/highgui/src/window.cpp cvLoadWindowParameters(windowName.c_str()); c_str 429 modules/highgui/src/window.cpp return cvCreateButton(button_name.c_str(), on_change, userdata, button_type , initial_button_state ); c_str 192 modules/highgui/src/window_QT.cpp Q_ARG(QString, QString(winname.c_str())), c_str 193 modules/highgui/src/window_QT.cpp Q_ARG(QString, QString(title.c_str()))); c_str 839 modules/highgui/src/window_carbon.cpp CvWindow* window = icvFindWindowByName(winname.c_str()); c_str 844 modules/highgui/src/window_carbon.cpp window = icvFindWindowByName(winname.c_str()); c_str 850 modules/highgui/src/window_carbon.cpp if (noErr != SetWindowTitleWithCFString(window->window, CFStringCreateWithCString(NULL, title.c_str(), kCFStringEncodingASCII))) c_str 851 modules/highgui/src/window_carbon.cpp CV_Error_(Error::StsError, ("Failed to set \"%s\" window title to \"%s\"", winname.c_str(), title.c_str())); c_str 738 modules/highgui/src/window_gtk.cpp CvWindow* window = icvFindWindowByName(winname.c_str()); c_str 743 modules/highgui/src/window_gtk.cpp window = icvFindWindowByName(winname.c_str()); c_str 750 modules/highgui/src/window_gtk.cpp gtk_window_set_title(GTK_WINDOW(window->frame), title.c_str()); c_str 1704 modules/highgui/src/window_gtk.cpp gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), sname.c_str()); c_str 495 modules/highgui/src/window_w32.cpp CvWindow* window = icvFindWindowByName(winname.c_str()); c_str 500 modules/highgui/src/window_w32.cpp window = icvFindWindowByName(winname.c_str()); c_str 506 modules/highgui/src/window_w32.cpp if (!SetWindowText(window->frame, title.c_str())) c_str 507 modules/highgui/src/window_w32.cpp CV_Error_(Error::StsError, ("Failed to set \"%s\" window title to \"%s\"", winname.c_str(), title.c_str())); c_str 118 modules/imgcodecs/src/bitstrm.cpp m_file = fopen( filename.c_str(), "rb" ); c_str 396 modules/imgcodecs/src/bitstrm.cpp m_file = fopen( filename.c_str(), "wb" ); c_str 81 modules/imgcodecs/src/grfmt_base.cpp return signature.size() >= len && memcmp( signature.c_str(), m_signature.c_str(), len ) == 0; c_str 131 modules/imgcodecs/src/grfmt_base.cpp CV_Error( CV_BadImageSize, msg.c_str() ); c_str 113 modules/imgcodecs/src/grfmt_exr.cpp m_file = new InputFile( m_filename.c_str() ); c_str 611 modules/imgcodecs/src/grfmt_exr.cpp OutputFile file( m_filename.c_str(), header ); c_str 428 modules/imgcodecs/src/grfmt_gdal.cpp m_dataset = (GDALDataset*) GDALOpen( m_filename.c_str(), GA_ReadOnly); c_str 526 modules/imgcodecs/src/grfmt_gdal.cpp std::string str = signature.c_str(); c_str 70 modules/imgcodecs/src/grfmt_hdr.cpp file = fopen(m_filename.c_str(), "rb"); c_str 105 modules/imgcodecs/src/grfmt_hdr.cpp (!memcmp(signature.c_str(), m_signature.c_str(), m_signature.size()) || c_str 106 modules/imgcodecs/src/grfmt_hdr.cpp !memcmp(signature.c_str(), m_signature_alt.c_str(), m_signature_alt.size()))) c_str 139 modules/imgcodecs/src/grfmt_hdr.cpp FILE *fout = fopen(m_filename.c_str(), "wb"); c_str 236 modules/imgcodecs/src/grfmt_jpeg.cpp m_f = fopen( m_filename.c_str(), "rb" ); c_str 574 modules/imgcodecs/src/grfmt_jpeg.cpp fw.f = fopen( m_filename.c_str(), "wb" ); c_str 116 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_stream_t* stream = jas_stream_fopen( m_filename.c_str(), "rb" ); c_str 479 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_stream_t *stream = jas_stream_fopen( m_filename.c_str(), "wb" ); c_str 166 modules/imgcodecs/src/grfmt_png.cpp m_f = fopen( m_filename.c_str(), "rb" ); c_str 369 modules/imgcodecs/src/grfmt_png.cpp f = fopen( m_filename.c_str(), "wb" ); c_str 104 modules/imgcodecs/src/grfmt_tiff.cpp (memcmp(signature.c_str(), fmtSignTiffII, 4) == 0 || c_str 105 modules/imgcodecs/src/grfmt_tiff.cpp memcmp(signature.c_str(), fmtSignTiffMM, 4) == 0); c_str 127 modules/imgcodecs/src/grfmt_tiff.cpp tif = TIFFOpen(m_filename.c_str(), "r"); c_str 557 modules/imgcodecs/src/grfmt_tiff.cpp TIFF* pTiffHandle = TIFFOpen(m_filename.c_str(), "w"); c_str 653 modules/imgcodecs/src/grfmt_tiff.cpp TIFF* tif = TIFFOpen(m_filename.c_str(), "w"); c_str 862 modules/imgcodecs/src/grfmt_tiff.cpp FILE* f = fopen( m_filename.c_str(), "r+b" ); c_str 81 modules/imgcodecs/src/grfmt_webp.cpp if(VP8_STATUS_OK == WebPGetFeatures((uint8_t *)signature.c_str(), c_str 102 modules/imgcodecs/src/grfmt_webp.cpp wfile = fopen(m_filename.c_str(), "rb"); c_str 286 modules/imgcodecs/src/grfmt_webp.cpp FILE *fd = fopen(m_filename.c_str(), "wb"); c_str 136 modules/imgcodecs/src/loadsave.cpp FILE* f= fopen( filename.c_str(), "rb" ); c_str 144 modules/imgcodecs/src/loadsave.cpp maxlen = fread( (void*)signature.c_str(), 1, maxlen, f ); c_str 175 modules/imgcodecs/src/loadsave.cpp memcpy( (void*)signature.c_str(), buf.data, maxlen ); c_str 191 modules/imgcodecs/src/loadsave.cpp const char* ext = strrchr( _ext.c_str(), '.' ); c_str 201 modules/imgcodecs/src/loadsave.cpp const char* descr = strchr( description.c_str(), '(' ); c_str 483 modules/imgcodecs/src/loadsave.cpp FILE* f = fopen( filename.c_str(), "wb" ); c_str 495 modules/imgcodecs/src/loadsave.cpp remove(filename.c_str()); c_str 537 modules/imgcodecs/src/loadsave.cpp remove(filename.c_str()); c_str 605 modules/imgcodecs/src/loadsave.cpp FILE* f = fopen( filename.c_str(), "rb" ); c_str 613 modules/imgcodecs/src/loadsave.cpp remove(filename.c_str()); c_str 334 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text1.c_str(), &font, &textSize, &baseline ); c_str 341 modules/imgcodecs/test/test_drawing.cpp cvPutText( &img, text1.c_str(), textOrg, &font, cvScalar(150,0,150) ); c_str 347 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 349 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 352 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 354 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 357 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 359 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 362 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 364 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 367 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 369 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 372 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 374 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 377 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 379 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 382 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 384 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 388 modules/imgcodecs/test/test_drawing.cpp cvGetTextSize( text2.c_str(), &font, &textSize, &baseline ); c_str 390 modules/imgcodecs/test/test_drawing.cpp cvPutText(&img, text2.c_str(), textOrg, &font, color ); c_str 190 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "image type depth:%d channels:%d ext: %s\n", CV_8U, num_channels, ext_from_int(ext).c_str()); c_str 194 modules/imgcodecs/test/test_grfmt.cpp string img_path = cv::tempfile(ext_from_int(ext).c_str()); c_str 195 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "writing image : %s\n", img_path.c_str()); c_str 198 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "reading test image : %s\n", img_path.c_str()); c_str 226 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "reading test image : %s\n", filename.c_str()); c_str 257 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "reading test image : %s\n", filename.c_str()); c_str 495 modules/imgcodecs/test/test_grfmt.cpp remove(output_progressive.c_str()); c_str 519 modules/imgcodecs/test/test_grfmt.cpp remove(output_optimized.c_str()); c_str 543 modules/imgcodecs/test/test_grfmt.cpp remove(output_rst.c_str()); c_str 586 modules/imgcodecs/test/test_grfmt.cpp remove(file3.c_str()); c_str 587 modules/imgcodecs/test/test_grfmt.cpp remove(file4.c_str()); c_str 618 modules/imgcodecs/test/test_grfmt.cpp FILE* fp = fopen(filename.c_str(), "wb"); c_str 633 modules/imgcodecs/test/test_grfmt.cpp remove(filename.c_str()); c_str 699 modules/imgcodecs/test/test_grfmt.cpp std::ofstream outfile(filename.c_str(), std::ofstream::binary); c_str 705 modules/imgcodecs/test/test_grfmt.cpp remove(filename.c_str()); c_str 724 modules/imgcodecs/test/test_grfmt.cpp sprintf(buffer, "%smultipage_p%d.tif", folder.c_str(), i + 1); c_str 768 modules/imgcodecs/test/test_grfmt.cpp wfile = fopen(output.c_str(), "rb"); c_str 790 modules/imgcodecs/test/test_grfmt.cpp remove(output.c_str()); c_str 817 modules/imgcodecs/test/test_grfmt.cpp remove(output.c_str()); c_str 842 modules/imgcodecs/test/test_grfmt.cpp remove(output.c_str()); c_str 7082 modules/imgproc/src/color.cpp k.create(kernelName.c_str(), ocl::imgproc::cvtcolor_oclsrc, c_str 7101 modules/imgproc/src/color.cpp k.create(kernelName.c_str(), ocl::imgproc::cvtcolor_oclsrc, c_str 7126 modules/imgproc/src/color.cpp k.create(format("BGR2%s", lab ? "Lab" : "Luv").c_str(), c_str 7250 modules/imgproc/src/color.cpp k.create(format("%s2BGR", lab ? "Lab" : "Luv").c_str(), c_str 407 modules/imgproc/src/corner.cpp ocl::Kernel k(format("sobel%d", aperture_size).c_str(), ocl::imgproc::covardata_oclsrc, c_str 728 modules/imgproc/src/deriv.cpp ocl::kernelToStr(kernelX, wdepth, "KERNEL_MATRIX_X").c_str(), c_str 729 modules/imgproc/src/deriv.cpp ocl::kernelToStr(kernelY, wdepth, "KERNEL_MATRIX_Y").c_str(), c_str 4111 modules/imgproc/src/filter.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), kerStr.c_str()); c_str 4152 modules/imgproc/src/filter.cpp doubleSupport ? " -D DOUBLE_SUPPORT" : "", kerStr.c_str(), c_str 4242 modules/imgproc/src/filter.cpp ocl::Kernel k(kernelName.c_str(), cv::ocl::imgproc::filterSepRow_oclsrc, c_str 4335 modules/imgproc/src/filter.cpp ocl::kernelToStr(row_kernel, wdepth, "KERNEL_MATRIX_X").c_str(), c_str 4336 modules/imgproc/src/filter.cpp ocl::kernelToStr(col_kernel, wdepth, "KERNEL_MATRIX_Y").c_str(), c_str 4552 modules/imgproc/src/imgwarp.cpp ocl::Kernel k(kernelName.c_str(), ocl::imgproc::remap_oclsrc, buildOptions); c_str 1449 modules/imgproc/src/morph.cpp processing.c_str(), op2str[op], c_str 1450 modules/imgproc/src/morph.cpp actual_op == op ? "" : cv::format(" -D %s", op2str[actual_op]).c_str()); c_str 1596 modules/imgproc/src/morph.cpp doubleSupport ? " -D DOUBLE_SUPPORT" : "", processing.c_str(), c_str 1601 modules/imgproc/src/morph.cpp current_op == op ? "" : cv::format(" -D %s", op2str[current_op]).c_str()); c_str 2606 modules/imgproc/src/smooth.cpp ocl::Kernel k(kname.c_str(), ocl::imgproc::medianFilter_oclsrc, kdefs.c_str() ); c_str 3030 modules/imgproc/src/smooth.cpp ocl::Kernel k(kernelName.c_str(), ocl::imgproc::bilateral_oclsrc, c_str 3033 modules/imgproc/src/smooth.cpp radius, maxk, cn, ocl::typeToStr(CV_32SC(cn)), cnstr.c_str(), c_str 165 modules/imgproc/test/test_houghLines.cpp String test_case_name = format("lines_%s_%.0f_%.2f_%d_%d_%d", picture_name.c_str(), rhoStep, thetaStep, c_str 282 modules/imgproc/test/test_imgwarp_strict.cpp PRINT_TO_LOG("Interpolation: %s\n", interpolation_to_string(area_fast ? INTER_LANCZOS4 + 1 : interpolation).c_str()); c_str 28 modules/java/generator/src/cpp/Mat.cpp env->ThrowNew(je, what.c_str()); c_str 30 modules/java/generator/src/cpp/Mat.cpp LOGE("%s caught %s", method, what.c_str()); c_str 2183 modules/java/generator/src/cpp/Mat.cpp return env->NewStringUTF(s.c_str()); c_str 509 modules/ml/src/data.cpp file = fopen( filename.c_str(), "rt" ); c_str 678 modules/ml/src/data.cpp const char* str = s.c_str(); c_str 1117 modules/ml/src/gbt.cpp cvStartWriteStruct( fs, s.c_str(), CV_NODE_SEQ ); c_str 1171 modules/ml/src/gbt.cpp trees_fnode = cvGetFileNodeByName( fs, node, s.c_str() ); c_str 579 modules/ml/src/lr.cpp fs<<"classifier"<<desc.c_str(); c_str 587 modules/ml/test/test_emknearestkmeans.cpp remove( filename.c_str() ); c_str 107 modules/ml/test/test_gbttest.cpp if (data->read_csv(datasets[dataset_num].c_str())) c_str 186 modules/ml/test/test_gbttest.cpp gtb->save(model_file_name1.c_str()); c_str 188 modules/ml/test/test_gbttest.cpp gtb->load(model_file_name1.c_str()); c_str 190 modules/ml/test/test_gbttest.cpp gtb->save(model_file_name2.c_str()); c_str 203 modules/ml/test/test_gbttest.cpp ifstream f1( model_file_name1.c_str() ), f2( model_file_name2.c_str() ); c_str 214 modules/ml/test/test_gbttest.cpp lineIdx, lineIdx, s1.c_str(), lineIdx, s2.c_str() ); c_str 221 modules/ml/test/test_gbttest.cpp lineIdx, lineIdx, s1.c_str(), lineIdx, s2.c_str() ); c_str 227 modules/ml/test/test_gbttest.cpp remove( model_file_name1.c_str() ); c_str 228 modules/ml/test/test_gbttest.cpp remove( model_file_name2.c_str() ); c_str 214 modules/ml/test/test_lr.cpp remove( filename.c_str() ); c_str 300 modules/ml/test/test_mltests2.cpp ts->printf( cvtest::TS::LOG, "file %s can not be read\n", filename.c_str() ); c_str 68 modules/ml/test/test_save_load.cpp save( fname1.c_str() ); c_str 69 modules/ml/test/test_save_load.cpp load( fname1.c_str() ); c_str 72 modules/ml/test/test_save_load.cpp save( fname2.c_str() ); c_str 85 modules/ml/test/test_save_load.cpp FILE *fs1 = fopen(fname1.c_str(), "rb"), *fs2 = fopen(fname2.c_str(), "rb"); c_str 112 modules/ml/test/test_save_load.cpp testCaseIdx, fname1.c_str(), fname2.c_str(), c_str 129 modules/ml/test/test_save_load.cpp remove( fname1.c_str() ); c_str 130 modules/ml/test/test_save_load.cpp remove( fname2.c_str() ); c_str 297 modules/ml/test/test_save_load.cpp remove(tname.c_str()); c_str 897 modules/objdetect/src/cascadedetect.cpp oldCascade.reset((CvHaarClassifierCascade*)cvLoad(filename.c_str(), 0, 0, 0)); c_str 271 modules/objdetect/src/cascadedetect_convert.cpp remove(newcascade.c_str()); c_str 3439 modules/objdetect/src/hog.cpp if ((modelfl = fopen(modelfile.c_str(), "rb")) == NULL) c_str 260 modules/objdetect/test/test_cascadeandhog.cpp printf("detector %s\n", detectorFilename.c_str()); c_str 430 modules/objdetect/test/test_cascadeandhog.cpp Ptr<CvHaarClassifierCascade> c_cascade(cvLoadHaarClassifierCascade(filename.c_str(), cvSize(0,0))); c_str 463 modules/objdetect/test/test_cascadeandhog.cpp strcmp(filename.c_str() + (filename.size() - pattern.size()), c_str 464 modules/objdetect/test/test_cascadeandhog.cpp pattern.c_str()) == 0 ) c_str 537 modules/objdetect/test/test_cascadeandhog.cpp remove(tempfilename.c_str()); c_str 1380 modules/objdetect/test/test_cascadeandhog.cpp printf("%d. %s\n", i, cascades[i].c_str()); c_str 113 modules/photo/src/fast_nlmeans_denoising_opencl.hpp format("long%s", hn > 1 ? format("%d", hn).c_str() : "").c_str(), c_str 115 modules/photo/src/fast_nlmeans_denoising_opencl.hpp format("convert_long%s", hn > 1 ? format("%d", hn).c_str() : "").c_str(), c_str 117 modules/photo/src/fast_nlmeans_denoising_opencl.hpp format("long%s", cn > 1 ? format("%d", cn).c_str() : "").c_str(), c_str 119 modules/photo/src/fast_nlmeans_denoising_opencl.hpp format("convert_long%s", cn > 1 ? format("%d", cn).c_str() : "").c_str(), c_str 111 modules/photo/test/test_denoising.cpp string original_path = format("%slena_noised_gaussian_sigma=20_multi_%d.png", folder.c_str(), i); c_str 136 modules/photo/test/test_denoising.cpp string original_path = format("%slena_noised_gaussian_sigma=20_multi_%d.png", folder.c_str(), i); c_str 63 modules/photo/test/test_hdr.cpp ifstream list_file((path + "list.txt").c_str()); c_str 79 modules/photo/test/test_hdr.cpp ifstream resp_file(path.c_str()); c_str 160 modules/photo/test/test_hdr.cpp loadExposureSeq((test_path + "exposures/").c_str() , images); c_str 590 modules/python/src2/cv2.cpp return PyString_FromString(value.empty() ? "" : value.c_str()); c_str 1045 modules/python/src2/cv2.cpp if( strcmp(k.c_str(), "algorithm") == 0 ) c_str 1252 modules/python/src2/cv2.cpp PyObject * submod = PyDict_GetItemString(d, short_name.c_str()); c_str 1255 modules/python/src2/cv2.cpp submod = PyImport_AddModule(full_name.c_str()); c_str 1256 modules/python/src2/cv2.cpp PyDict_SetItemString(d, short_name.c_str(), submod); c_str 63 modules/stitching/include/opencv2/stitching/detail/util.hpp __android_log_print(ANDROID_LOG_DEBUG, "STITCHING", "%s", _os.str().c_str()); \ c_str 730 modules/stitching/src/motion_estimators.cpp str << "\"" << name_src.c_str() << "\" -- \"" << name_dst.c_str() << "\"" c_str 745 modules/stitching/src/motion_estimators.cpp str << "\"" << name.c_str() << "\";\n"; c_str 750 modules/stitching/src/motion_estimators.cpp return str.str().c_str(); c_str 491 modules/ts/include/opencv2/ts.hpp const char* descr = _descr.c_str() ? _descr.c_str() : ""; c_str 2091 modules/ts/include/opencv2/ts/ts_gtest.h RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT c_str 2095 modules/ts/include/opencv2/ts/ts_gtest.h RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT c_str 2113 modules/ts/include/opencv2/ts/ts_gtest.h return FullMatch(str.c_str(), re); c_str 2116 modules/ts/include/opencv2/ts/ts_gtest.h return PartialMatch(str.c_str(), re); c_str 2122 modules/ts/include/opencv2/ts/ts_gtest.h return FullMatch(str.c_str(), re); c_str 2125 modules/ts/include/opencv2/ts/ts_gtest.h return PartialMatch(str.c_str(), re); c_str 3441 modules/ts/include/opencv2/ts/ts_gtest.h static const char* CloneCString(const char* c_str); c_str 3456 modules/ts/include/opencv2/ts/ts_gtest.h static LPCWSTR AnsiToUtf16(const char* c_str); c_str 3616 modules/ts/include/opencv2/ts/ts_gtest.h const char* c_str() const { return pathname_.c_str(); } c_str 7542 modules/ts/include/opencv2/ts/ts_gtest.h FormatFileLocation(file, line).c_str(), test_name, case_name); c_str 7603 modules/ts/include/opencv2/ts/ts_gtest.h + StreamableToString(index)).c_str(), c_str 7604 modules/ts/include/opencv2/ts/ts_gtest.h GetPrefixUntilComma(test_names).c_str(), c_str 7605 modules/ts/include/opencv2/ts/ts_gtest.h GetTypeName<Type>().c_str(), c_str 8136 modules/ts/include/opencv2/ts/ts_gtest.h gtest_ar_, text, #actual, #expected).c_str()) c_str 8387 modules/ts/include/opencv2/ts/ts_gtest.h ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \ c_str 10569 modules/ts/include/opencv2/ts/ts_gtest.h test_case_name.c_str(), c_str 10570 modules/ts/include/opencv2/ts/ts_gtest.h test_name_stream.GetString().c_str(), c_str 10572 modules/ts/include/opencv2/ts/ts_gtest.h PrintToString(*param_it).c_str(), c_str 17181 modules/ts/include/opencv2/ts/ts_gtest.h return file_name_.empty() ? NULL : file_name_.c_str(); c_str 17189 modules/ts/include/opencv2/ts/ts_gtest.h const char* summary() const { return summary_.c_str(); } c_str 17192 modules/ts/include/opencv2/ts/ts_gtest.h const char* message() const { return message_.c_str(); } c_str 17752 modules/ts/include/opencv2/ts/ts_gtest.h return message_.get() != NULL ? message_->c_str() : ""; c_str 17777 modules/ts/include/opencv2/ts/ts_gtest.h message_->append(a_message.GetString().c_str()); c_str 17951 modules/ts/include/opencv2/ts/ts_gtest.h return key_.c_str(); c_str 17956 modules/ts/include/opencv2/ts/ts_gtest.h return value_.c_str(); c_str 18105 modules/ts/include/opencv2/ts/ts_gtest.h const char* test_case_name() const { return test_case_name_.c_str(); } c_str 18108 modules/ts/include/opencv2/ts/ts_gtest.h const char* name() const { return name_.c_str(); } c_str 18114 modules/ts/include/opencv2/ts/ts_gtest.h return type_param_->c_str(); c_str 18122 modules/ts/include/opencv2/ts/ts_gtest.h return value_param_->c_str(); c_str 18245 modules/ts/include/opencv2/ts/ts_gtest.h const char* name() const { return name_.c_str(); } c_str 18251 modules/ts/include/opencv2/ts/ts_gtest.h return type_param_->c_str(); c_str 116 modules/ts/src/ocl_test.cpp DUMP_MESSAGE_STDOUT(" " << platform->name().c_str()); c_str 123 modules/ts/src/ocl_test.cpp DUMP_MESSAGE_STDOUT( " " << deviceTypeStr << ": " << current_device.name().c_str() << " (" << current_device.version().c_str() << ")"); c_str 126 modules/ts/src/ocl_test.cpp platform->name().c_str(), deviceTypeStr, current_device.name().c_str(), current_device.version().c_str()) ); c_str 185 modules/ts/src/ts.cpp CvFileNode* node = cvGetFileNodeByName(fs, 0, get_name().c_str()); c_str 230 modules/ts/src/ts.cpp errorStr, exc.err.c_str(), exc.func.size() > 0 ? c_str 231 modules/ts/src/ts.cpp exc.func.c_str() : "unknown function", exc.file.c_str(), exc.line ); c_str 239 modules/ts/src/ts.cpp ts->printf(TS::LOG, "General failure:\n\t%s (%d)\n", errorStr.c_str(), fc); c_str 349 modules/ts/src/ts.cpp const char* descr = _descr.c_str() ? _descr.c_str() : ""; c_str 460 modules/ts/src/ts.cpp sprintf( buf, "%s%s%s/", datapath_dir, haveSlash ? "" : "/", modulename.c_str() ); c_str 668 modules/ts/src/ts.cpp EXPECT_LE(0, status) << cv::ipp::getIppErrorLocation().c_str(); c_str 323 modules/ts/src/ts_arrtest.cpp arr.channels(), sizestr.c_str() ); c_str 2135 modules/ts/src/ts_func.cpp ts->printf( TS::LOG, "%s at (%s)\n", msg, idxstr.c_str() ); c_str 1430 modules/ts/src/ts_gtest.cpp const BiggestConvertible parsed = _strtoui64(str.c_str(), &end, 10); c_str 1435 modules/ts/src/ts_gtest.cpp const BiggestConvertible parsed = strtoull(str.c_str(), &end, 10); c_str 1519 modules/ts/src/ts_gtest.cpp if (write(sockfd_, message.c_str(), len) != len) { c_str 1893 modules/ts/src/ts_gtest.cpp const char* const gtest_output_flag = GTEST_FLAG(output).c_str(); c_str 1905 modules/ts/src/ts_gtest.cpp const char* const gtest_output_flag = GTEST_FLAG(output).c_str(); c_str 1931 modules/ts/src/ts_gtest.cpp GetOutputFormat().c_str())); c_str 1961 modules/ts/src/ts_gtest.cpp if (PatternMatchesString(cur_pattern, name.c_str())) { c_str 1982 modules/ts/src/ts_gtest.cpp const std::string& full_name = test_case_name + "." + test_name.c_str(); c_str 1986 modules/ts/src/ts_gtest.cpp const char* const p = GTEST_FLAG(filter).c_str(); c_str 1991 modules/ts/src/ts_gtest.cpp positive = GTEST_FLAG(filter).c_str(); // Whole string is a positive filter c_str 2004 modules/ts/src/ts_gtest.cpp return (MatchesFilter(full_name, positive.c_str()) && c_str 2005 modules/ts/src/ts_gtest.cpp !MatchesFilter(full_name, negative.c_str())); c_str 2135 modules/ts/src/ts_gtest.cpp if (strstr(r.message(), substr.c_str()) == NULL) { c_str 2430 modules/ts/src/ts_gtest.cpp internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); c_str 2439 modules/ts/src/ts_gtest.cpp internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); c_str 3131 modules/ts/src/ts_gtest.cpp CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, c_str 3132 modules/ts/src/ts_gtest.cpp suffix.c_str()); c_str 3161 modules/ts/src/ts_gtest.cpp const char* const start = str.c_str(); c_str 3421 modules/ts/src/ts_gtest.cpp RecordProperty(key, value_message.GetString().c_str()); c_str 3546 modules/ts/src/ts_gtest.cpp : ::std::runtime_error(PrintTestPartResultToString(failure).c_str()) {} c_str 3746 modules/ts/src/ts_gtest.cpp fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(), c_str 3747 modules/ts/src/ts_gtest.cpp errors.GetString().c_str()); c_str 4033 modules/ts/src/ts_gtest.cpp printf("%s\n", result.c_str()); c_str 4043 modules/ts/src/ts_gtest.cpp ::OutputDebugStringA(result.c_str()); c_str 4086 modules/ts/src/ts_gtest.cpp const char* const gtest_color = GTEST_FLAG(color).c_str(); c_str 4224 modules/ts/src/ts_gtest.cpp const char* const filter = GTEST_FLAG(filter).c_str(); c_str 4233 modules/ts/src/ts_gtest.cpp const char* const param_filter = GTEST_FLAG(param_filter).c_str(); c_str 4257 modules/ts/src/ts_gtest.cpp FormatTestCount(unit_test.test_to_run_count()).c_str(), c_str 4258 modules/ts/src/ts_gtest.cpp FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); c_str 4273 modules/ts/src/ts_gtest.cpp printf("%s from %s", counts.c_str(), test_case.name()); c_str 4313 modules/ts/src/ts_gtest.cpp test_info.result()->elapsed_time()).c_str()); c_str 4327 modules/ts/src/ts_gtest.cpp counts.c_str(), test_case.name(), c_str 4328 modules/ts/src/ts_gtest.cpp internal::StreamableToString(test_case.elapsed_time()).c_str()); c_str 4368 modules/ts/src/ts_gtest.cpp FormatTestCount(unit_test.test_to_run_count()).c_str(), c_str 4369 modules/ts/src/ts_gtest.cpp FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); c_str 4372 modules/ts/src/ts_gtest.cpp internal::StreamableToString(unit_test.elapsed_time()).c_str()); c_str 4376 modules/ts/src/ts_gtest.cpp printf("%s.\n", FormatTestCount(unit_test.successful_test_count()).c_str()); c_str 4382 modules/ts/src/ts_gtest.cpp printf("%s, listed below:\n", FormatTestCount(failed_test_count).c_str()); c_str 4595 modules/ts/src/ts_gtest.cpp if (output_file_.c_str() == NULL || output_file_.empty()) { c_str 4610 modules/ts/src/ts_gtest.cpp xmlout = posix::FOpen(output_file_.c_str(), "w"); c_str 4625 modules/ts/src/ts_gtest.cpp output_file_.c_str()); c_str 4631 modules/ts/src/ts_gtest.cpp fprintf(xmlout, "%s", StringStreamToString(&stream).c_str()); c_str 4826 modules/ts/src/ts_gtest.cpp << EscapeXmlAttribute(summary.c_str()) c_str 4829 modules/ts/src/ts_gtest.cpp OutputXmlCDataSection(stream, RemoveInvalidXmlCharacters(detail).c_str()); c_str 4959 modules/ts/src/ts_gtest.cpp host_name_.c_str(), port_num_.c_str(), &hints, &servinfo); c_str 5306 modules/ts/src/ts_gtest.cpp if (os_stack_trace.c_str() != NULL && !os_stack_trace.empty()) { c_str 5312 modules/ts/src/ts_gtest.cpp msg.GetString().c_str()); c_str 5443 modules/ts/src/ts_gtest.cpp return impl_->original_working_dir_.c_str(); c_str 5588 modules/ts/src/ts_gtest.cpp UnitTestOptions::GetAbsolutePathToOutputFile().c_str())); c_str 5591 modules/ts/src/ts_gtest.cpp output_format.c_str()); c_str 5608 modules/ts/src/ts_gtest.cpp target.c_str()); c_str 5662 modules/ts/src/ts_gtest.cpp return test_case != NULL && strcmp(test_case->name(), name_.c_str()) == 0; c_str 5906 modules/ts/src/ts_gtest.cpp ColoredPrintf(COLOR_RED, msg.GetString().c_str()); c_str 5914 modules/ts/src/ts_gtest.cpp ColoredPrintf(COLOR_RED, msg.GetString().c_str()); c_str 5923 modules/ts/src/ts_gtest.cpp ColoredPrintf(COLOR_RED, msg.GetString().c_str()); c_str 5999 modules/ts/src/ts_gtest.cpp GTEST_FLAG(param_filter).c_str()); c_str 6200 modules/ts/src/ts_gtest.cpp if (strncmp(str, flag_str.c_str(), flag_len) != 0) return NULL; c_str 6315 modules/ts/src/ts_gtest.cpp ColoredPrintf(color, "%s", std::string(str, p).c_str()); c_str 6412 modules/ts/src/ts_gtest.cpp const char* const arg = arg_string.c_str(); c_str 6793 modules/ts/src/ts_gtest.cpp fprintf(parent, "%s", message.c_str()); c_str 6797 modules/ts/src/ts_gtest.cpp fprintf(stderr, "%s", message.c_str()); c_str 6885 modules/ts/src/ts_gtest.cpp return last_death_test_message_.c_str(); c_str 7088 modules/ts/src/ts_gtest.cpp const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); c_str 7290 modules/ts/src/ts_gtest.cpp const_cast<char*>(command_line.c_str()), c_str 7441 modules/ts/src/ts_gtest.cpp args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); c_str 7663 modules/ts/src/ts_gtest.cpp args.AddArgument(filter_flag.c_str()); c_str 7664 modules/ts/src/ts_gtest.cpp args.AddArgument(internal_flag.c_str()); c_str 7839 modules/ts/src/ts_gtest.cpp SplitString(GTEST_FLAG(internal_run_death_test).c_str(), '|', &fields); c_str 8007 modules/ts/src/ts_gtest.cpp const char* const last_sep = strrchr(c_str(), kPathSeparator); c_str 8009 modules/ts/src/ts_gtest.cpp const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); c_str 8040 modules/ts/src/ts_gtest.cpp dir = std::string(c_str(), last_sep + 1 - c_str()); c_str 8081 modules/ts/src/ts_gtest.cpp LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); c_str 8087 modules/ts/src/ts_gtest.cpp return posix::Stat(pathname_.c_str(), &file_stat) == 0; c_str 8105 modules/ts/src/ts_gtest.cpp LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); c_str 8114 modules/ts/src/ts_gtest.cpp result = posix::Stat(path.c_str(), &file_stat) == 0 && c_str 8130 modules/ts/src/ts_gtest.cpp return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); c_str 8136 modules/ts/src/ts_gtest.cpp const char* const name = pathname_.c_str(); c_str 8172 modules/ts/src/ts_gtest.cpp IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); c_str 8198 modules/ts/src/ts_gtest.cpp LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); c_str 8202 modules/ts/src/ts_gtest.cpp int result = _mkdir(pathname_.c_str()); c_str 8204 modules/ts/src/ts_gtest.cpp int result = mkdir(pathname_.c_str(), 0777); c_str 8227 modules/ts/src/ts_gtest.cpp if (pathname_.c_str() == NULL) { c_str 8231 modules/ts/src/ts_gtest.cpp const char* src = pathname_.c_str(); c_str 8743 modules/ts/src/ts_gtest.cpp << FormatFileLocation(file, line).c_str() << ": "; c_str 8816 modules/ts/src/ts_gtest.cpp remove(filename_.c_str()); c_str 8828 modules/ts/src/ts_gtest.cpp FILE* const file = posix::FOpen(filename_.c_str(), "r"); c_str 8966 modules/ts/src/ts_gtest.cpp env_var << ToUpper(full_flag.c_str()[i]); c_str 8987 modules/ts/src/ts_gtest.cpp printf("%s", msg.GetString().c_str()); c_str 9004 modules/ts/src/ts_gtest.cpp printf("%s", msg.GetString().c_str()); c_str 9019 modules/ts/src/ts_gtest.cpp const char* const string_value = posix::GetEnv(env_var.c_str()); c_str 9029 modules/ts/src/ts_gtest.cpp const char* const string_value = posix::GetEnv(env_var.c_str()); c_str 9039 modules/ts/src/ts_gtest.cpp (Message() << default_value).GetString().c_str()); c_str 9051 modules/ts/src/ts_gtest.cpp const char* const value = posix::GetEnv(env_var.c_str()); c_str 9621 modules/ts/src/ts_gtest.cpp fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(), c_str 9622 modules/ts/src/ts_gtest.cpp errors_str.c_str()); c_str 223 modules/ts/src/ts_perf.cpp LOGE("Failed to open sanity data for reading: %s", storageInPath.c_str()); c_str 255 modules/ts/src/ts_perf.cpp LOGE("Could not open \"%s\" file for writing", storageOutPath.c_str()); c_str 469 modules/ts/src/ts_perf.cpp verify(node, actual, eps, cv::format("%s[%d]", node.name().c_str(), idx), err); c_str 668 modules/ts/src/ts_perf.cpp std::ifstream infile(fileName.c_str()); c_str 702 modules/ts/src/ts_perf.cpp std::ofstream outfile((perf_validation_results_directory + perf_validation_results_outfile).c_str()); c_str 806 modules/ts/src/ts_perf.cpp printf("No such strategy: %s\n", perf_strategy.c_str()); c_str 834 modules/ts/src/ts_perf.cpp fputs(available_impls[i].c_str(), stdout); c_str 842 modules/ts/src/ts_perf.cpp printf("No such implementation: %s\n", param_impl.c_str()); c_str 862 modules/ts/src/ts_perf.cpp printf("[----------]\n[ INFO ] \tImplementation variant: %s.\n[----------]\n", param_impl.c_str()), fflush(stdout); c_str 1225 modules/ts/src/ts_perf.cpp if (currentIter == 1) RecordProperty("test_start", cv::format("%llu",t1).c_str()); c_str 1226 modules/ts/src/ts_perf.cpp if (!has_next) RecordProperty("test_complete", cv::format("%llu",t1).c_str()); c_str 1450 modules/ts/src/ts_perf.cpp RecordProperty("frequency", cv::format("%.0f", m.frequency).c_str()); c_str 1451 modules/ts/src/ts_perf.cpp RecordProperty("min", cv::format("%.0f", m.min).c_str()); c_str 1452 modules/ts/src/ts_perf.cpp RecordProperty("median", cv::format("%.0f", m.median).c_str()); c_str 1453 modules/ts/src/ts_perf.cpp RecordProperty("gmean", cv::format("%.0f", m.gmean).c_str()); c_str 1454 modules/ts/src/ts_perf.cpp RecordProperty("gstddev", cv::format("%.6f", m.gstddev).c_str()); c_str 1455 modules/ts/src/ts_perf.cpp RecordProperty("mean", cv::format("%.0f", m.mean).c_str()); c_str 1456 modules/ts/src/ts_perf.cpp RecordProperty("stddev", cv::format("%.0f", m.stddev).c_str()); c_str 1468 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} c_str 1470 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} c_str 1471 modules/ts/src/ts_perf.cpp RecordProperty("impl_rec_ipp", rec_line.c_str()); c_str 1475 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} c_str 1476 modules/ts/src/ts_perf.cpp RecordProperty("impl_rec_ocl", rec_line.c_str()); c_str 1524 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} c_str 1526 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} c_str 1527 modules/ts/src/ts_perf.cpp LOGD("impl_rec_ipp =%s", rec_line.c_str()); c_str 1531 modules/ts/src/ts_perf.cpp for(int i=0; i<rec.size();i++ ){rec_line += rec[i].c_str(); rec_line += " ";} c_str 1532 modules/ts/src/ts_perf.cpp LOGD("impl_rec_ocl =%s", rec_line.c_str()); c_str 1611 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } c_str 1612 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } c_str 1616 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } c_str 1617 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } c_str 1619 modules/ts/src/ts_perf.cpp if(implConf.ocl) {printf("OCL "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_OCL); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } c_str 1660 modules/ts/src/ts_perf.cpp FILE* fp = fopen(path.c_str(), "r"); c_str 40 modules/video/perf/perf_optflowpyrlk.cpp string filename1 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()))); c_str 41 modules/video/perf/perf_optflowpyrlk.cpp string filename2 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()) + 1)); c_str 113 modules/video/perf/perf_optflowpyrlk.cpp string filename1 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()))); c_str 114 modules/video/perf/perf_optflowpyrlk.cpp string filename2 = getDataPath(cv::format(get<0>(GetParam()).c_str(), get<1>(GetParam()) + 1)); c_str 82 modules/video/test/test_optflowpyrlk.cpp sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "lk_prev.dat" ); c_str 92 modules/video/test/test_optflowpyrlk.cpp sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "lk_next.dat" ); c_str 119 modules/video/test/test_optflowpyrlk.cpp sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "rock_1.bmp" ); c_str 131 modules/video/test/test_optflowpyrlk.cpp sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "rock_2.bmp" ); c_str 62 modules/video/test/test_tvl1optflow.cpp ofstream file(fileName.c_str(), ios_base::binary); c_str 86 modules/video/test/test_tvl1optflow.cpp ifstream file(fileName.c_str(), ios_base::binary); c_str 641 modules/videoio/src/cap.cpp cap.reset(cvCreateFileCapture(filename.c_str())); c_str 777 modules/videoio/src/cap.cpp writer.reset(cvCreateVideoWriter(filename.c_str(), _fourcc, fps, frameSize, isColor)); c_str 375 modules/videoio/src/cap_gphoto2.cpp int index = findDevice(deviceName.c_str()); c_str 609 modules/videoio/src/cap_gphoto2.cpp return (intptr_t) widgetInfo.c_str(); c_str 620 modules/videoio/src/cap_gphoto2.cpp return (intptr_t) lastFlush.c_str(); c_str 1188 modules/videoio/src/cap_gphoto2.cpp ::OutputDebugString(out.c_str()); c_str 1190 modules/videoio/src/cap_gphoto2.cpp fputs(out.c_str(), stderr); c_str 195 modules/videoio/src/cap_mjpeg_decoder.cpp m_f = fopen(filename.c_str(), "rb"); c_str 413 modules/videoio/src/cap_mjpeg_decoder.cpp fprintf(stderr, "Unexpected end of file while searching for %s list\n", fourccToString(expected_fourcc).c_str()); c_str 417 modules/videoio/src/cap_mjpeg_decoder.cpp fprintf(stderr, "Unexpected element. Expected: %s. Got: %s.\n", fourccToString(LIST_CC).c_str(), fourccToString(list.m_riff_or_list_cc).c_str()); c_str 421 modules/videoio/src/cap_mjpeg_decoder.cpp fprintf(stderr, "Unexpected list type. Expected: %s. Got: %s.\n", fourccToString(expected_fourcc).c_str(), fourccToString(list.m_list_type_cc).c_str()); c_str 429 modules/videoio/src/cap_mjpeg_decoder.cpp fprintf(stderr, "Unexpected end of file while searching for %s chunk\n", fourccToString(expected_fourcc).c_str()); c_str 433 modules/videoio/src/cap_mjpeg_decoder.cpp fprintf(stderr, "Unexpected element. Expected: %s. Got: %s.\n", fourccToString(expected_fourcc).c_str(), fourccToString(chunk.m_four_cc).c_str()); c_str 108 modules/videoio/src/cap_mjpeg_encoder.cpp m_f = fopen(filename.c_str(), "wb"); c_str 388 modules/videoio/src/cap_mjpeg_encoder.cpp const char* ext = strrchr(filename.c_str(), '.'); c_str 1459 modules/videoio/src/cap_msmf.hpp DebugPrintOut(L"StreamSink::PlaceMarker: HRESULT=%i %s\n", hr, StreamSinkMarkerTypeMap.at(eMarkerType).c_str()); c_str 1514 modules/videoio/src/cap_msmf.hpp DebugPrintOut(L"StreamSink::GetEvent: HRESULT=%i %s\n", hrStatus, MediaEventTypeMap.at(meType).c_str()); c_str 1559 modules/videoio/src/cap_msmf.hpp DebugPrintOut(L"StreamSink::EndGetEvent: HRESULT=%i %s\n", hrStatus, MediaEventTypeMap.at(meType).c_str()); c_str 1580 modules/videoio/src/cap_msmf.hpp DebugPrintOut(L"StreamSink::QueueEvent: HRESULT=%i %s\n", hrStatus, MediaEventTypeMap.at(met).c_str()); c_str 596 modules/videoio/src/cap_openni.cpp status = context.RunXmlScript( XMLConfig.c_str(), scriptNode ); c_str 377 modules/videoio/src/cap_pvapi.cpp (PvAttrStringSet(Camera.Handle, "MulticastIPAddress", ip.c_str())==ePvErrSuccess)) c_str 458 modules/videoio/src/cap_pvapi.cpp if ((PvAttrEnumSet(Camera.Handle,"PixelFormat", pixelFormat.c_str())==ePvErrSuccess)) c_str 65 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); c_str 73 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); c_str 89 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); c_str 97 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); c_str 116 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); c_str 124 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); c_str 139 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); c_str 147 modules/videoio/test/test_basic_props.cpp TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); c_str 66 modules/videoio/test/test_ffmpeg.cpp p_file = fopen(filename.c_str(), "rb"); c_str 110 modules/videoio/test/test_ffmpeg.cpp const string filename = tempfile(s.c_str()); c_str 135 modules/videoio/test/test_ffmpeg.cpp fprintf(stderr, "\n\nFile name: %s\n", filename.c_str()); c_str 159 modules/videoio/test/test_ffmpeg.cpp fprintf(stderr, "ERROR: File name: %s was not created\n", filename.c_str()); c_str 167 modules/videoio/test/test_ffmpeg.cpp fprintf(stderr, "ERROR: File name: %s is very small (data write problems?)\n", filename.c_str()); c_str 171 modules/videoio/test/test_ffmpeg.cpp remove(filename.c_str()); c_str 239 modules/videoio/test/test_ffmpeg.cpp std::string fileName = tempfile(stream.str().c_str()); c_str 430 modules/videoio/test/test_ffmpeg.cpp int code = remove(i->c_str()); c_str 66 modules/videoio/test/test_framecount.cpp ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); c_str 74 modules/videoio/test/test_framecount.cpp cap.reset(cvCreateFileCapture(file_path.c_str())); c_str 77 modules/videoio/test/test_framecount.cpp ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); c_str 100 modules/videoio/test/test_framecount.cpp i+1, ext[i].c_str(), time_sec*fps, FrameCount, framecount); c_str 123 modules/videoio/test/test_positioning.cpp ts->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); c_str 138 modules/videoio/test/test_positioning.cpp ts->printf(cvtest::TS::LOG, "\nReading video file in %s...\n", file_path.c_str()); c_str 140 modules/videoio/test/test_positioning.cpp CvCapture* cap = cvCreateFileCapture(file_path.c_str()); c_str 144 modules/videoio/test/test_positioning.cpp ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); c_str 182 modules/videoio/test/test_positioning.cpp ts->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\n", i+1, ext[i].c_str()); c_str 153 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "reading image : %s\n", _name.c_str()); c_str 189 modules/videoio/test/test_video_io.cpp string full_name = cv::tempfile(ext.c_str()); c_str 190 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, " full_name : %s\n", full_name.c_str()); c_str 197 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Reading failed at fmt=%s\n", ext.c_str()); c_str 206 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Reading image from file: too big difference (=%g) with fmt=%s\n", psnr, ext.c_str()); c_str 213 modules/videoio/test/test_video_io.cpp FILE *f = fopen(full_name.c_str(), "rb"); c_str 226 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Encoding failed with fmt=%s\n", ext.c_str()); c_str 235 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Decoding failed with fmt=%s\n", ext.c_str()); c_str 244 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Decoding image from memory: too small PSNR (=%gdb) with fmt=%s\n", psnr, ext.c_str()); c_str 259 modules/videoio/test/test_video_io.cpp string tmp_name = cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); c_str 261 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "reading video : %s and converting it to %s\n", src_file.c_str(), tmp_name.c_str()); c_str 263 modules/videoio/test/test_video_io.cpp CvCapture* cap = cvCaptureFromFile(src_file.c_str()); c_str 285 modules/videoio/test/test_video_io.cpp writer = cvCreateVideoWriter(tmp_name.c_str(), fmt.fourcc, 24, cvGetSize(img)); c_str 289 modules/videoio/test/test_video_io.cpp cvtest::fourccToString(fmt.fourcc).c_str()); c_str 302 modules/videoio/test/test_video_io.cpp CvCapture *saved = cvCaptureFromFile(tmp_name.c_str()); c_str 362 modules/videoio/test/test_video_io.cpp string full_name = cv::tempfile((s_digit.str() + ".bmp").c_str()); c_str 363 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, " full_name : %s\n", full_name.c_str()); c_str 386 modules/videoio/test/test_video_io.cpp FILE *f = fopen(full_name.c_str(), "rb"); c_str 434 modules/videoio/test/test_video_io.cpp const string video_file = cv::tempfile((fourcc_str + "." + ext).c_str()); c_str 443 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Creating a video in %s...\n", video_file.c_str()); c_str 444 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Cannot create VideoWriter object with codec %s.\n", fourcc_str.c_str()); c_str 454 modules/videoio/test/test_video_io.cpp string file_path = format("%s../python/images/QCIF_%02d.bmp", dir.c_str(), i); c_str 459 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Creating a video in %s...\n", video_file.c_str()); c_str 460 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Error: cannot read frame from %s.\n", file_path.c_str()); c_str 503 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "\nFrame count checking for video_%s.%s...\n", fourcc_str.c_str(), ext.c_str()); c_str 504 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Video codec: %s\n", fourcc_str.c_str()); c_str 522 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "File name: video_%s.%s\n", fourcc_str.c_str(), ext.c_str()); c_str 523 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "Video codec: %s\n", fourcc_str.c_str()); c_str 536 modules/videoio/test/test_video_io.cpp ts->printf(ts->LOG, "\nReading frame from the file video_%s.%s...\n", fourcc_str.c_str(), ext.c_str()); c_str 68 modules/videoio/test/test_video_pos.cpp return cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); c_str 95 modules/videoio/test/test_video_pos.cpp ts->printf(ts->LOG, "\nFile: %s\n", filename.c_str()); c_str 662 modules/videostab/src/global_motion.cpp file_.open(path.c_str()); c_str 682 modules/videostab/src/global_motion.cpp file_.open(path.c_str()); c_str 487 modules/viz/src/shapes.cpp textSource->SetText(text.c_str()); c_str 524 modules/viz/src/shapes.cpp textSource->SetText(text.c_str()); c_str 554 modules/viz/src/shapes.cpp actor->SetInput(text.c_str()); c_str 580 modules/viz/src/shapes.cpp actor->SetInput(text.c_str()); c_str 63 modules/viz/src/types.cpp reader->SetFileName(file.c_str()); c_str 182 modules/viz/src/vizcore.cpp vtkXYZWriter::SafeDownCast(writer)->SetFileName(file.c_str()); c_str 187 modules/viz/src/vizcore.cpp vtkPLYWriter::SafeDownCast(writer)->SetFileName(file.c_str()); c_str 194 modules/viz/src/vizcore.cpp vtkOBJWriter::SafeDownCast(writer)->SetFileName(file.c_str()); c_str 212 modules/viz/src/vizcore.cpp vtkXYZReader::SafeDownCast(reader)->SetFileName(file.c_str()); c_str 217 modules/viz/src/vizcore.cpp CV_Assert(vtkPLYReader::CanReadFile(file.c_str())); c_str 218 modules/viz/src/vizcore.cpp vtkPLYReader::SafeDownCast(reader)->SetFileName(file.c_str()); c_str 223 modules/viz/src/vizcore.cpp vtkOBJReader::SafeDownCast(reader)->SetFileName(file.c_str()); c_str 228 modules/viz/src/vizcore.cpp vtkSTLReader::SafeDownCast(reader)->SetFileName(file.c_str()); c_str 281 modules/viz/src/vizcore.cpp bool ok = readPose(cv::format(files_format.c_str(), i), affine, tag); c_str 307 modules/viz/src/vizcore.cpp writePose(cv::format(files_format.c_str(), index), affine, tag); c_str 320 modules/viz/src/vizcore.cpp writePose(cv::format(files_format.c_str(), index), traj.at<Affine3f>((int)i), tag); c_str 324 modules/viz/src/vizcore.cpp writePose(cv::format(files_format.c_str(), index), traj.at<Affine3d>((int)i), tag); c_str 149 modules/viz/src/vizimpl.cpp window_->SetWindowName(window_name_.c_str()); c_str 177 modules/viz/src/vizimpl.cpp window_->SetWindowName(window_name_.c_str()); c_str 294 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::saveScreenshot(const String &file) { style_->saveScreenshot(file.c_str()); } c_str 96 modules/viz/src/vtk/vtkVizInteractorStyle.cpp snapshot_writer->SetFileName(file.c_str()); c_str 99 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cout << "Screenshot successfully captured (" << file.c_str() << ")" << endl; c_str 110 modules/viz/src/vtk/vtkVizInteractorStyle.cpp vtkVRMLExporter::SafeDownCast(exporter)->SetFileName(file.c_str()); c_str 115 modules/viz/src/vtk/vtkVizInteractorStyle.cpp vtkOBJExporter::SafeDownCast(exporter)->SetFilePrefix(file.c_str()); c_str 121 modules/viz/src/vtk/vtkVizInteractorStyle.cpp cout << "Scene successfully exported (" << file.c_str() << ")" << endl; c_str 128 modules/viz/src/vtk/vtkVizInteractorStyle.cpp exportScene(cv::format(format.c_str(), (unsigned int)time(0))); c_str 176 modules/viz/src/vtk/vtkVizInteractorStyle.cpp std::cout << data.c_str() << std::endl; c_str 87 modules/viz/src/widget.cpp CV_Assert(vtkPLYReader::CanReadFile(file_name.c_str())); c_str 90 modules/viz/src/widget.cpp reader->SetFileName(file_name.c_str()); c_str 268 samples/cpp/3calibration.cpp printf("%s\n", imageList[i*3+k].c_str()); c_str 365 samples/cpp/3calibration.cpp printf("%s %s %s\n", imageList[i*3].c_str(), imageList[i*3+1].c_str(), imageList[i*3+2].c_str()); c_str 45 samples/cpp/bgfg_segm.cpp cap.open(file.c_str()); c_str 54 samples/cpp/connected_components.cpp img = imread(inputImage.c_str(), 0); c_str 31 samples/cpp/dft.cpp Mat img = imread(filename.c_str(), IMREAD_GRAYSCALE); c_str 35 samples/cpp/dft.cpp printf("Cannot read image file: %s\n", filename.c_str()); c_str 118 samples/cpp/distrans.cpp gray = imread(filename.c_str(), 0); c_str 121 samples/cpp/distrans.cpp printf("Cannot read image file: %s\n", filename.c_str()); c_str 49 samples/cpp/edge.cpp printf("Cannot read image file: %s\n", filename.c_str()); c_str 104 samples/cpp/facedetect.cpp if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') ) c_str 106 samples/cpp/facedetect.cpp capture = cvCaptureFromCAM( inputName.empty() ? 0 : inputName.c_str()[0] - '0' ); c_str 107 samples/cpp/facedetect.cpp int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0' ; c_str 115 samples/cpp/facedetect.cpp capture = cvCaptureFromAVI( inputName.c_str() ); c_str 164 samples/cpp/facedetect.cpp FILE* f = fopen( inputName.c_str(), "rt" ); c_str 89 samples/cpp/image_alignment.cpp ifstream myfile(iFilename.c_str()); c_str 98 samples/cpp/image_alignment.cpp cout << "Unable to open file " << iFilename.c_str() << endl; c_str 112 samples/cpp/image_alignment.cpp ofstream outfile(fileName.c_str()); c_str 115 samples/cpp/image_alignment.cpp << "Couldn't open file '" << fileName.c_str() << "'!" << endl; c_str 52 samples/cpp/letter_recog.cpp FILE* f = fopen( filename.c_str(), "rt" ); c_str 147 samples/cpp/openni_capture.cpp int val = atoi(mask.c_str()); c_str 55 samples/cpp/pca.cpp std::ifstream file(filename.c_str(), ifstream::in); c_str 105 samples/cpp/smiledetect.cpp if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') ) c_str 107 samples/cpp/smiledetect.cpp capture = cvCaptureFromCAM( inputName.empty() ? 0 : inputName.c_str()[0] - '0' ); c_str 108 samples/cpp/smiledetect.cpp int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0' ; c_str 113 samples/cpp/smiledetect.cpp capture = cvCaptureFromAVI( inputName.c_str() ); c_str 82 samples/cpp/starter_video.cpp capture.open(atoi(arg.c_str())); c_str 480 samples/cpp/stitching_detailed.cpp ofstream f(save_graph_to.c_str()); c_str 80 samples/cpp/train_HOG.cpp file.open( (prefix+filename).c_str() ); c_str 96 samples/cpp/train_HOG.cpp Mat img = imread( (prefix+line).c_str() ); // load the image c_str 5 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp _file.open(path.c_str(), ifstream::in); c_str 4 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp _file.open(path.c_str(), ofstream::out); c_str 73 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp printf("used image %s\n", file.c_str()); c_str 74 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp cap.open(file.c_str()); c_str 97 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp printf("accelType %s\n", sAccel.c_str()); c_str 31 samples/cpp/tutorial_code/introduction/display_image/display_image.cpp image = imread(imageName.c_str(), IMREAD_COLOR); // Read the file c_str 45 samples/cpp/tutorial_code/photo/hdr_imaging/hdr_imaging.cpp ifstream list_file((path + "list.txt").c_str()); c_str 116 samples/cpp/tutorial_code/video/bg_sub.cpp putText(frame, frameNumberString.c_str(), cv::Point(15, 15), c_str 159 samples/cpp/tutorial_code/video/bg_sub.cpp putText(frame, frameNumberString.c_str(), cv::Point(15, 15), c_str 130 samples/cpp/tvl1_optical_flow.cpp ofstream file(fileName.c_str(), ios_base::binary); c_str 105 samples/cpp/ufacedetect.cpp if( inputName.empty() || (isdigit(inputName.c_str()[0]) && inputName.c_str()[1] == '\0') ) c_str 107 samples/cpp/ufacedetect.cpp int c = inputName.empty() ? 0 : inputName.c_str()[0] - '0'; c_str 152 samples/cpp/ufacedetect.cpp FILE* f = fopen( inputName.c_str(), "rt" ); c_str 269 samples/directx/d3d10_interop.cpp cv::String strMode = cv::format("%s", m_modeStr[mode].c_str()); c_str 271 samples/directx/d3d10_interop.cpp cv::String strDevName = cv::format("%s", oclDevName.c_str()); c_str 273 samples/directx/d3d11_interop.cpp cv::String strMode = cv::format("%s", m_modeStr[mode].c_str()); c_str 275 samples/directx/d3d11_interop.cpp cv::String strDevName = cv::format("%s", oclDevName.c_str()); c_str 261 samples/directx/d3d9_interop.cpp sprintf(buf, "Mode: %s", m_modeStr[mode].c_str()); c_str 271 samples/directx/d3d9_interop.cpp sprintf(buf, "OpenCL device: %s", oclDevName.c_str()); c_str 262 samples/directx/d3d9ex_interop.cpp sprintf(buf, "Mode: %s", m_modeStr[mode].c_str()); c_str 272 samples/directx/d3d9ex_interop.cpp sprintf(buf, "OpenCL device: %s", oclDevName.c_str()); c_str 158 samples/directx/d3dsample.hpp cap.open(file.c_str()); c_str 53 samples/directx/winapp.hpp (LPCTSTR)wc, m_window_name.c_str(), c_str 199 samples/gpu/cascadeclassifier.cpp capture.open(atoi(inputName.c_str())); c_str 271 samples/gpu/hog.cpp vc.open(args.src.c_str()); c_str 52 samples/gpu/morphology.cpp cerr << "Can't open image " << filename.c_str() << endl; c_str 167 samples/tapi/hog.cpp vc.open(vdo_source.c_str()); c_str 129 samples/tapi/pyrlk_optical_flow.cpp capture.open(vdofile.c_str()); c_str 133 samples/tapi/tvl1_optical_flow.cpp capture.open(vdofile.c_str()); c_str 97 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp return cv::tempfile(suffix.c_str()); c_str 130 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp wcstombs_s(&charsConverted, localPathC, outSize, localPathW.c_str(), localPathW.length());