Searched refs:c_str (Results 126 - 150 of 267) sorted by relevance

1234567891011

/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp234 if (fileName8.c_str() == NULL) {
245 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode);
248 jniThrowException(env, "java/io/FileNotFoundException", fileName8.c_str());
300 if (fileName8.c_str() == NULL) {
304 Asset* a = am->open(fileName8.c_str(), Asset::ACCESS_RANDOM);
307 jniThrowException(env, "java/io/FileNotFoundException", fileName8.c_str());
329 if (fileName8.c_str() == NULL) {
340 ? am->openNonAsset(static_cast<int32_t>(cookie), fileName8.c_str(),
342 : am->openNonAsset(fileName8.c_str(), (Asset::AccessMode)mode);
345 jniThrowException(env, "java/io/FileNotFoundException", fileName8.c_str());
[all...]
H A Dcom_android_internal_net_NetworkStatsFactory.cpp101 if (path8.c_str() == NULL) {
105 FILE *fp = fopen(path8.c_str(), "r");
117 if (string8.c_str() != NULL) {
118 limitIfaces.add(String8(string8.c_str()));
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp312 buffer->meta()->setString("cipher-method", method.c_str());
317 ALOGE("Unsupported cipher method '%s'", method.c_str());
333 ssize_t err = mHTTPDownloader->fetchFile(keyURI.c_str(), &key);
338 ALOGE("failed to fetch cipher key from '%s'.", keyURI.c_str());
341 ALOGE("key file '%s' wasn't 16 bytes in size.", keyURI.c_str());
372 ALOGE("malformed cipher IV '%s'.", iv.c_str());
382 char c1 = tolower(iv.c_str()[2 + 2 * i]);
383 char c2 = tolower(iv.c_str()[3 + 2 * i]);
385 ALOGE("malformed cipher IV '%s'.", iv.c_str());
545 FLOGV("resumeUntilAsync: params=%s", params->debugString().c_str());
[all...]
H A DLiveSession.cpp384 extra == NULL ? "NULL" : extra->debugString().c_str());
984 ALOGI("onConnect %s", uriDebugString(mMasterURL).c_str());
1005 addFetcher(mMasterURL.c_str())->fetchPlaylistAsync();
1024 uriDebugString(mMasterURL).c_str());
1180 newUri ? mStreams[i].mNewUri.c_str() : mStreams[i].mUri.c_str());
1220 ALOGE("did not find fetcher for uri: %s", uri.c_str());
1615 msg->setString(mStreams[i].uriKey().c_str(), URIs[i].c_str());
1702 CHECK(msg->findString(uriKey.c_str(),
[all...]
H A DHTTPDownloader.cpp109 range_offset + range_length - 1).c_str()).c_str()));
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp277 NULL /* httpService */, mPath.c_str());
299 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
301 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) {
318 mCodecLooper, mime.c_str(), false /* encoder */);
332 while (format->findBuffer(AStringPrintf("csd-%d", j).c_str(), &buffer)) {
580 if (!strncasecmp(mime.c_str(), "audio/", 6)) {
H A Dcodec.cpp100 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6);
101 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
124 looper, mime.c_str(), false /* encoder */);
301 ALOGV("INFO_FORMAT_CHANGED: %s", format->debugString().c_str());
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp99 ret.setTo(name.c_str());
231 int32_t bufferCount = strtol(tmp.c_str(), NULL, 10);
348 if (nameIsType && !strncasecmp(name.c_str(), "video/", 6)) {
361 ssize_t codecIdx = mcl->findCodecByName(tmp.c_str());
632 ALOGD("MediaCodec::reclaim(%p) %s", this, mInitName.c_str());
1270 mComponentName.c_str(),
1271 mInputFormat->debugString(4).c_str(),
1272 mOutputFormat->debugString(4).c_str());
1294 mComponentName.c_str(),
1295 mInputFormat->debugString(4).c_str(),
[all...]
H A DFileSource.cpp67 fd, nameForFd(fd).c_str(), (long long) offset, (long long) length);
96 nameForFd(fd).c_str(),
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DTypeConverter.cpp251 if (strcmp(mTable[i].literal, str.c_str()) == 0) {
265 char *literal = strdup(str.c_str());
279 char *literal = strdup(str.c_str());
H A DAudioPatch.cpp60 device.c_str());
75 device.c_str());
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp47 uint32_t langId = FontStyle::registerLanguageList(str.c_str());
202 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER);
219 ALOGE("addFontFromAsset failed to create font %s", str.c_str());
/frameworks/av/include/media/stagefright/foundation/
H A DAString.h44 const char *c_str() const;
/frameworks/base/media/jni/
H A Dandroid_media_ExifInterface.cpp164 map.add(String8("Make"), String8(image_data.maker.c_str()));
168 map.add(String8("Model"), String8(image_data.model.c_str()));
172 map.add(String8("DateTime"), String8(image_data.date_time.c_str()));
289 String8(image_data.gps.date_stamp.c_str()));
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp134 tool_output_file Out(OutputFilename.c_str(), EC,
/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringEntry.h84 void setValue(const std::string& pVal) { setValue(pVal.c_str()); }
/frameworks/compile/slang/
H A Dllvm-rs-as.cpp84 (new tool_output_file(OutputFilename.c_str(), EC, llvm::sys::fs::F_None));
H A Dllvm-rs-cc.cpp122 return SavedStrings->save(OutputFile.c_str());
242 OptTbl->PrintHelp(llvm::outs(), Argv0.c_str(),
H A Dslang_rs_reflection_cpp.cpp365 if (genCreateFieldPacker(ERT, FieldPackerName.c_str())) {
366 genPackVarOfType(ERT, nullptr, FieldPackerName.c_str());
424 FILE *pfin = fopen(mBitCodeFilePath.c_str(), "rb");
427 mBitCodeFilePath.c_str());
572 bool isBool = !strcmp(TypeName.c_str(), "bool");
607 bool isBool = !strcmp(TypeName.c_str(), "bool");
800 genPackVarOfType(C, ECAT->getElementType(), ElementVarName.c_str(),
831 genPackVarOfType(F->getType(), FieldName.c_str(), FieldPackerName);
1032 mOut << s.c_str();
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp139 tokenized_gl_extensions.push(String8(str.c_str()));
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp132 ret.appendFormat("string(%s)", val.c_str());
195 String8 ret(tmp.c_str());
/frameworks/base/libs/hwui/
H A DPathParser.cpp228 ALOGD("%s", os.str().c_str());
235 ALOGD("points are : %s", os.str().c_str());
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp57 llvm::StringRef result2 = m_pTestee->insertString(s2.c_str());
59 EXPECT_STREQ(s2.c_str(), result2.data());
/frameworks/rs/
H A DrsCppUtils.h79 return this->c_str();
90 const char*const str = this->c_str();
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp82 ALOGV("setDataSource(%p) url(%s)", this, uriDebugString(url, false).c_str());
665 snprintf(buf, sizeof(buf), " mime(%s)\n", mime.c_str());
671 snprintf(buf, sizeof(buf), " decoder(%s)\n", name.c_str());
698 ALOGI("%s", logString.c_str());
702 fprintf(out, "%s", logString.c_str());

Completed in 584 milliseconds

1234567891011