/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 45 AStringPrintf("User-Agent: %s\r\n", MakeUserAgent().c_str()); 173 const char *colonPos = strchr(host->c_str(), ':'); 183 size_t colonOffset = colonPos - host->c_str(); 236 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass) 242 ALOGE("Malformed rtsp url %s", uriDebugString(url).c_str()); 252 ALOGV("user = '%s', pass = '%s'", mUser.c_str(), mPass.c_str()); 255 struct hostent *ent = gethostbyname(host.c_str()); 257 ALOGE("Unknown host %s", host.c_str()); 423 reply->setString("original-request", request.c_str(), request.size()) [all...] |
/bionic/linker/ |
linker_phdr.cpp | 187 DL_ERR("can't read file \"%s\": %s", name_.c_str(), strerror(errno)); 192 DL_ERR("\"%s\" is too small to be an ELF executable: only found %zd bytes", name_.c_str(), 201 DL_ERR("\"%s\" has bad ELF magic", name_.c_str()); 211 DL_ERR("\"%s\" is 32-bit instead of 64-bit", name_.c_str()); 213 DL_ERR("\"%s\" has unknown ELF class: %d", name_.c_str(), elf_class); 220 DL_ERR("\"%s\" is 64-bit instead of 32-bit", name_.c_str()); 222 DL_ERR("\"%s\" has unknown ELF class: %d", name_.c_str(), elf_class); 229 DL_ERR("\"%s\" not little-endian: %d", name_.c_str(), header_.e_ident[EI_DATA]); 234 DL_ERR("\"%s\" has unexpected e_type: %d", name_.c_str(), header_.e_type); 239 DL_ERR("\"%s\" has unexpected e_version: %d", name_.c_str(), header_.e_version) [all...] |
/external/google-breakpad/src/processor/ |
stackwalk_common.cc | 174 printf("\n%sStack contents:", indent.c_str()); 178 printf("\n%s %08x", indent.c_str(), static_cast<uint32_t>(address)); 180 printf("\n%s %016" PRIx64, indent.c_str(), address); 197 printf(" %s", data_as_string.c_str()); 201 printf("\n%sPossible instruction pointers:\n", indent.c_str()); 226 printf("%s *(0x%08x) = 0x%08x", indent.c_str(), 231 indent.c_str(), address, pointee_frame.instruction); 234 pointee_frame.function_name.c_str(), 235 PathnameStripper::File(pointee_frame.source_file_name).c_str(), 269 printf("%s", PathnameStripper::File(frame->module->code_file()).c_str()); [all...] |
/external/skia/tests/ |
PathOpsSkpClipTest.cpp | 93 if (!sk_exists(path.c_str())) { 94 SkDebugf("could not read %s\n", path.c_str()); 99 if (!sk_exists(path.c_str())) { 100 SkDebugf("could not read %s\n", path.c_str()); 108 if (sk_exists(path.c_str())) { 111 const char* pathStr = path.c_str(); 118 if (sk_mkdir(shorter.c_str())) { 126 SkAssertResult(sk_mkdir(shorter.c_str())); 143 SkDebugf("%s\n", path.c_str()); 178 strcpy(fFilename, filename.c_str()); [all...] |
/external/dng_sdk/source/ |
dng_xmp_sdk.cpp | 689 return (ss.c_str () == 0 || 690 ss.c_str () [0] == 0); 743 if ((ss.c_str () == 0 || 744 ss.c_str () [0] == 0)) 806 s.Set (ss.c_str ()); 836 s.Set (ss.c_str ()); 864 s.Set (ss.c_str ()); 898 s.Set (ss.c_str ()); 986 s.Set (ss.c_str ()); 1030 s.Set (ss.c_str ()); [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
util.cpp | 127 std::wstring c_ConvChar(params[0].ToCFXWideString().c_str()); 162 strSegment.Format(c_strFormat.c_str(), params[iIndex].ToInt()); 165 strSegment.Format(c_strFormat.c_str(), params[iIndex].ToDouble()); 168 strSegment.Format(c_strFormat.c_str(), 169 params[iIndex].ToCFXWideString().c_str()); 172 strSegment.Format(L"%S", c_strFormat.c_str()); 179 vRet = c_strResult.c_str(); 234 vRet = swResult.c_str(); 238 std::basic_string<wchar_t> cFormat = p1.ToCFXWideString().c_str(); 309 strFormat = wcsftime(buf, 64, cFormat.c_str(), &time) [all...] |
PublicMethods.cpp | 82 const FX_WCHAR* pTrim = sTrim.c_str(); 173 return StrRTrim(StrLTrim(pStr).c_str()); 357 StrArray.SetElement(nIndex, CJS_Value(pRuntime, StrTrim(p).c_str())); 365 StrArray.SetElement(nIndex, CJS_Value(pRuntime, StrTrim(pSub).c_str())); 492 return JS_DateParse(swTemp.c_str()); 677 if (sFullMonths.Find(sMonth.c_str(), 0) != -1) { 757 dRet = JS_DateParse(value.c_str()); 930 std::wstring wstrCurrency(params[4].ToCFXWideString().c_str()); 1006 std::wstring strValue2 = Value.c_str(); 1077 Value = strValue2.c_str(); [all...] |
/external/skia/src/pdf/ |
SkPDFMetadata.cpp | 70 md5.write(kv.fKey.c_str(), kv.fKey.size()); 72 md5.write(kv.fValue.c_str(), kv.fValue.size()); 202 stream->write(fXML.c_str(), fXML.size()); 309 tmp.c_str()); 316 "<xmp:ModifyDate>%s</xmp:ModifyDate>\n", tmp.c_str()); 318 "<xmp:MetadataDate>%s</xmp:MetadataDate>\n", tmp.c_str()); 345 templateString, modificationDate.c_str(), creationDate.c_str(), 346 metadataDate.c_str(), creator.c_str(), title.c_str() [all...] |
/system/core/crash_reporter/ |
crash_collector.cc | 111 int fd = HANDLE_EINTR(open(filename.value().c_str(), 140 sanitized_exec_name.c_str(), 154 basename.c_str(), 155 extension.c_str())); 175 if (getpwnam_r(name.c_str(), &passwd_storage, storage, sizeof(storage), 209 if (mkdir(crash_directory->value().c_str(), directory_mode) < 0 || 210 chown(crash_directory->value().c_str(), 221 << crash_directory->value().c_str(); 246 ssize_t size = readlink(symlink.value().c_str(), buffer.data(), max_size); 280 int stat_result = stat(exe_path.value().c_str(), &buf) [all...] |
/system/extras/verity/fec/ |
image.cpp | 294 int fd = TEMP_FAILURE_RETRY(open(fn.c_str(), flags | O_LARGEFILE)); 297 FATAL("failed to open file '%s': %s\n", fn.c_str(), strerror(errno)); 319 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), 323 FATAL("failed to open file '%s: %s'\n", filename.c_str(), 390 ctx->fec_filename = filename.c_str(); 404 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY)); 407 FATAL("failed to open file '%s': %s\n", filename.c_str(), 412 FATAL("failed to seek to header in '%s': %s\n", filename.c_str(), 423 filename.c_str(), strerror(errno)); 427 FATAL("invalid magic in '%s': %08x\n", filename.c_str(), p->magic) [all...] |
/frameworks/base/tools/aapt2/ |
ConfigDescription.cpp | 471 uint16_t w = (uint16_t)atoi(xName.c_str()); 472 uint16_t h = (uint16_t)atoi(yName.c_str()); 503 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str()); 525 out->screenWidthDp = (uint16_t)atoi(xName.c_str()); 547 out->screenHeightDp = (uint16_t)atoi(xName.c_str()); 573 out->sdkVersion = (uint16_t)atoi(sdkName.c_str()); 594 if (parseMcc(partIter->c_str(), &config)) { 601 if (parseMnc(partIter->c_str(), &config)) { 621 if (parseLayoutDirection(partIter->c_str(), &config)) { 628 if (parseSmallestScreenWidthDp(partIter->c_str(), &config)) [all...] |
/external/llvm/tools/bugpoint/ |
ToolRunner.cpp | 100 std::ifstream ErrorFile(StdOutFileName.c_str()); 137 std::ifstream ErrorFile(ErrorFilename.c_str()); 145 sys::fs::remove(ErrorFilename.c_str()); 186 LLIArgs.push_back(LLIPath.c_str()); 192 LLIArgs.push_back((*i).c_str()); 197 LLIArgs.push_back(ToolArgs[i].c_str()); 199 LLIArgs.push_back(Bitcode.c_str()); 202 LLIArgs.push_back(Args[i].c_str()); 307 ProgramArgs.push_back(CompilerCommand.c_str()); 310 ProgramArgs.push_back(CompilerArgs.at(i).c_str()); [all...] |
/art/compiler/ |
image_test.cc | 89 const int rmdir_result = rmdir(image_dir.c_str()); 96 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); 132 std::string cur_location(StringPrintf("%s-%d.art", location.GetFilename().c_str(), i)); 138 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); 144 int mkdir_result = mkdir(image_dir.c_str(), 0700); 147 image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); 153 oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); 160 oat_filename_vector.push_back(file.c_str()); 164 image_filename_vector.push_back(file.c_str()); 221 dex_file->GetLocation().c_str(), [all...] |
/art/runtime/base/ |
systrace.h | 33 explicit ScopedTrace(const std::string& name) : ScopedTrace(name.c_str()) {}
|
/art/runtime/ |
oat_file_test.cc | 95 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(encoding1.c_str(), &error_msg)) 98 EXPECT_TRUE(OatFile::GetDexLocationsFromDependencies(encoding1.c_str(), &split1)); 106 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(encoding2.c_str(), &error_msg)) 109 EXPECT_TRUE(OatFile::GetDexLocationsFromDependencies(encoding2.c_str(), &split2));
|
/external/deqp/modules/gles3/stress/ |
es3sVertexArrayTests.cpp | 57 : TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage).c_str()) 108 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); 162 : TestCaseGroup (context, Array::inputTypeToString(type).c_str(), Array::inputTypeToString(type).c_str()) 213 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); 267 : TestCaseGroup (context, Array::inputTypeToString(type).c_str(), Array::inputTypeToString(type).c_str()) [all...] |
/external/deqp/modules/glshared/ |
glsShaderLibrary.cpp | 47 return new tcu::TestCaseGroup(m_testCtx, name.c_str(), description.c_str(), children); 52 return new ShaderLibraryCase(m_testCtx, m_renderCtx, m_contextInfo, name.c_str(), description.c_str(), spec);
|
/external/eigen/bench/spbench/ |
spbenchsolver.cpp | 50 statbuf.open(statFile.c_str(), std::ios::out); 65 tol = atof(inval.c_str()); 67 maxiters = atoi(inval.c_str()); 78 statbuf.open(statFile.c_str(), std::ios::app);
|
/external/google-benchmark/src/ |
console_reporter.cc | 97 name_field_width_, result.benchmark_name.c_str()); 111 13, rate.c_str(), 112 18, items.c_str(), 113 result.report_label.c_str());
|
/external/google-breakpad/src/common/ |
dwarf_line_to_module_unittest.cc | 57 EXPECT_STREQ("/file1", files[0]->name.c_str()); 92 EXPECT_STREQ("/directory1/file1", files[0]->name.c_str()); 93 EXPECT_STREQ("/directory1/file2", files[1]->name.c_str()); 94 EXPECT_STREQ("/directory2/file1", files[2]->name.c_str()); 95 EXPECT_STREQ("/directory2/file2", files[3]->name.c_str()); 96 EXPECT_STREQ("/file3", files[4]->name.c_str()); 139 EXPECT_STREQ("/absolute", files[0]->name.c_str()); 157 EXPECT_STREQ("/directory1/relative", files[0]->name.c_str()); 172 EXPECT_STREQ("/directory1/", lines[0].file->name.c_str()); 185 EXPECT_STREQ("/file1", lines[0].file->name.c_str()); [all...] |
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-string.h | 92 static String ShowCStringQuoted(const char* c_str); 101 static const char* CloneCString(const char* c_str); 116 static LPCWSTR AnsiToUtf16(const char* c_str); 227 ConstructNonNull(str.c_str(), str.length()); 230 operator ::std::string() const { return ::std::string(c_str(), length()); } 234 ConstructNonNull(str.c_str(), str.length()); 237 operator ::string() const { return ::string(c_str(), length()); } 241 bool empty() const { return (c_str() != NULL) && (length() == 0); } 275 const char* c_str() const { return c_str_; } function in class:testing::internal::String 286 if (rhs.c_str() == NULL) 320 const char* const c_str = str.c_str(); local 325 os << c_str[i]; local [all...] |
/external/gtest/src/ |
gtest-filepath.cc | 132 const char* const last_sep = strrchr(c_str(), kPathSeparator); 134 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 165 dir = std::string(c_str(), last_sep + 1 - c_str()); 206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 230 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && 255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); 261 const char* const name = pathname_.c_str(); [all...] |
/external/libbrillo/brillo/ |
cryptohome.cc | 90 base::StringPrintf("%s%s", g_user_home_prefix, hashed_username.c_str())); 103 "%s%s", g_root_home_prefix, SanitizeUserName(username).c_str())); 121 g_user_home_prefix, sizeof(g_user_home_prefix), "%s", prefix.c_str()); 128 g_root_home_prefix, sizeof(g_root_home_prefix), "%s", prefix.c_str());
|
/external/libchrome/base/metrics/ |
metrics_hashes.cc | 27 base::MD5Sum(name.c_str(), name.size(), &digest);
|
/external/libchrome/base/test/ |
test_file_util_linux.cc | 18 ScopedFD fd(open(file.value().c_str(), O_RDONLY));
|