/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 47 lib_handle_ = dlopen(lib_name.c_str(), RTLD_NOW); 49 ALOGE("NativeProgram: Error opening library: '%s': %s", lib_name.c_str(), dlerror()); 60 process_function_ = reinterpret_cast<ProcessFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 62 ALOGE("NativeProgram: Could not find process function symbol: '%s'!", func_name.c_str()); 71 init_function_ = reinterpret_cast<InitFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 78 setvalue_function_ = reinterpret_cast<SetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 85 getvalue_function_ = reinterpret_cast<GetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 92 reset_function_ = reinterpret_cast<ResetFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 99 teardown_function_ = reinterpret_cast<TeardownFunctionPtr>(dlsym(lib_handle_, func_name.c_str())); 128 setvalue_function_(key.c_str(), valu [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 136 context_c_str = context->c_str(); 164 if (path.c_str() == NULL) { 169 if (context.c_str() == NULL) { 174 char *tmp = const_cast<char *>(context.c_str()); 175 int ret = setfilecon(path.c_str(), tmp); 177 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret); 197 if (path.c_str() == NULL) { 202 int ret = getfilecon(path.c_str(), &tmp); 210 ALOGV("getFileCon(%s) => %s", path.c_str(), contex [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 216 const char *lang = item.mLanguage.empty() ? "und" : item.mLanguage.c_str(); 464 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); 513 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); 539 // ALOGI("#%s#", line.c_str()); 636 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI)); 660 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); 684 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); 707 char c = line.c_str()[offset]; 753 ALOGV("key=%s value=%s", key.c_str(), va [all...] |
/frameworks/base/tools/aidl/ |
H A D | search_path.cpp | 46 if (0 == _access(f.c_str(), 0) && /* mode 0=exist */ 47 0 == _access(f.c_str(), 4) ) { /* mode 4=readable */ 49 if (0 == access(f.c_str(), R_OK)) { 51 return strdup(f.c_str());
|
H A D | AST.cpp | 84 fprintf(to, "%s\n", this->comment.c_str()); 87 fprintf(to, "%s %s", this->variable->type->QualifiedName().c_str(), 88 this->variable->name.c_str()); 90 fprintf(to, " = %s", this->value.c_str()); 111 fprintf(to, "%s", this->value.c_str()); 126 fprintf(to, "\"%s\"", this->value.c_str()); 167 fprintf(to, "%s%s %s", this->type->QualifiedName().c_str(), dim.c_str(), 168 this->name.c_str()); 174 fprintf(to, "%s", name.c_str()); [all...] |
H A D | generate_java.cpp | 19 sprintf(name, "%s%d", m_base.c_str(), m_index); 79 // printf("outputting... filename=%s\n", filename.c_str()); 87 to = fopen(filename.c_str(), "wb"); 89 fprintf(stderr, "unable to open %s for write\n", filename.c_str());
|
/frameworks/compile/libbcc/lib/Core/ |
H A D | Source.cpp | 45 pInput->getBufferIdentifier(), ec.message().c_str()); 93 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(), 94 mb_or_error.getError().message().c_str()); 121 ErrorStream.str().c_str()); 128 pModule.getModuleIdentifier().c_str()); 153 getIdentifier().c_str(), 154 pSource.getIdentifier().c_str(), 155 error.c_str()); 173 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str());
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 66 if ((size_t)eolPos > i && desc.c_str()[eolPos - 1] == '\r') { 79 if (line.size() < 2 || line.c_str()[1] != '=') { 83 ALOGI("%s", line.c_str()); 85 switch (line.c_str()[0]) { 88 if (strcmp(line.c_str(), "v=0")) { 123 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 132 AString(line, 2, line.size() - 2).c_str()); 151 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); [all...] |
H A D | ARTPSource.cpp | 58 if (!strncmp(desc.c_str(), "H264/", 5)) { 61 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 63 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) 64 || !strncmp(desc.c_str(), "H263-2000/", 10)) { 67 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { 69 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { 71 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) 72 || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) { 75 } else if (ARawAudioAssembler::Supports(desc.c_str())) { 76 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), param [all...] |
H A D | APacketSource.cpp | 83 char c = s.c_str()[i]; 265 const char *s = val.c_str(); 427 if (!strncmp(desc.c_str(), "H264/", 5)) { 438 MakeAVCCodecSpecificData(params.c_str(), &encWidth, &encHeight); 458 } else if (!strncmp(desc.c_str(), "H263-2000/", 10) 459 || !strncmp(desc.c_str(), "H263-1998/", 10)) { 470 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 475 desc.c_str(), &sampleRate, &numChannels); 481 MakeAACCodecSpecificData(params.c_str()); 486 } else if (!strncmp(desc.c_str(), "AM [all...] |
H A D | AMPEG4ElementaryAssembler.cpp | 76 s = val.c_str(); 129 mIsGeneric = !strncasecmp(desc.c_str(),"mpeg4-generic/", 14); 133 CHECK(GetAttribute(params.c_str(), "mode", &value)); 135 if (!GetIntegerAttribute(params.c_str(), "sizeLength", &mSizeLength)) { 140 params.c_str(), "indexLength", &mIndexLength)) { 145 params.c_str(), "indexDeltaLength", &mIndexDeltaLength)) { 150 params.c_str(), "CTSDeltaLength", &mCTSDeltaLength)) { 155 params.c_str(), "DTSDeltaLength", &mDTSDeltaLength)) { 161 params.c_str(), "randomAccessIndication", &x)) { 169 params.c_str(), "streamStateIndicatio [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AAtomizer.cpp | 46 return (*it).c_str(); 53 return (*--entry.end()).c_str();
|
H A D | ParsedMessage.cpp | 71 *value = strtol(stringValue.c_str(), &end, 10); 73 if (end == stringValue.c_str() || *end != '\0') { 82 return mContent.c_str(); 124 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') { 214 *statusCode = strtol(statusCodeString.c_str(), &end, 10); 216 if (*end != '\0' || end == statusCodeString.c_str() 291 *value = strtol(stringValue.c_str(), &end, 10); 293 if (end == stringValue.c_str() || *end != '\0') {
|
H A D | base64.cpp | 31 if (n >= 1 && s.c_str()[n - 1] == '=') { 34 if (n >= 2 && s.c_str()[n - 2] == '=') { 37 if (n >= 3 && s.c_str()[n - 3] == '=') { 51 char c = s.c_str()[i];
|
/frameworks/compile/mclinker/unittests/ |
H A D | PathTest.cpp | 138 EXPECT_STREQ("/usr/lib/", m_pTestee->generic_string().c_str()); 143 EXPECT_STREQ("aa/bb/cc", m_pTestee->parent_path().c_str()); 146 EXPECT_STREQ("/aa/bb", m_pTestee->parent_path().c_str()); 149 EXPECT_STREQ("/aa", m_pTestee->parent_path().c_str()); 152 EXPECT_STREQ("aa", m_pTestee->parent_path().c_str()); 160 EXPECT_STREQ("cc", m_pTestee->filename().c_str()); 163 EXPECT_STREQ("", m_pTestee->filename().c_str()); 166 EXPECT_STREQ("aa", m_pTestee->filename().c_str());
|
/frameworks/rs/cpp/ |
H A D | ScriptC.cpp | 28 rs->mCacheDir.c_str(), rs->mCacheDir.length(), (const char *)codeTxt, codeLength);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 281 "closing >] in: %s", rectDesc.c_str()); 375 testPrintE("Error parsing format from: %s", rectStr.c_str()); 378 format = hwcTestGraphicFormatLookup(str.c_str()); 380 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); 388 testPrintE("Invalid display frame in: %s", rectStr.c_str()); 413 rectStr.c_str()); 435 testPrintE("Unknown transform of \"%s\" in: %s", str.c_str(), 436 rectStr.c_str()); 450 testPrintE("Unknown blend of \"%s\" in: %s", str.c_str(), 451 rectStr.c_str()); [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSCompilerDriver.cpp | 93 FileMutex<FileBase::kReadLock> read_output_mutex(output_path.c_str()); 96 ALOGE("Unable to acquire the read lock for %s! (%s)", output_path.c_str(), 97 read_output_mutex.getErrorMessage().c_str()); 104 InputFile *object_file = new (std::nothrow) InputFile(output_path.c_str()); 107 // ALOGE("Unable to open the %s for read! (%s)", output_path.c_str(), 108 // object_file->getErrorMessage().c_str()); 116 android::String8 info_path = RSInfo::GetPath(output_path.c_str()); 120 output_path.c_str(), info_path.string(), 121 object_file->getErrorMessage().c_str()); 153 if (!info->IsConsistent(output_path.c_str(), expectedSourceHas [all...] |
H A D | RSExecutable.cpp | 56 pObjFile.getName().c_str()); 132 android::String8 info_path = RSInfo::GetPath(mObjFile->getName().c_str()); 137 info_file.getErrorMessage().c_str()); 146 mObjFile->getName().c_str(), info_file.getErrorMessage().c_str()); 173 mObjFile->getName().c_str()); 190 func_name, mObjFile->getName().c_str(), static_cast<size_t>(result));
|
H A D | RSInfoWriter.cpp | 133 rsinfo::GetItemTypeName<ItemType>(), pOutput.getName().c_str(), 134 pOutput.getErrorMessage().c_str()); 146 const char *output_filename = pOutput.getName().c_str(); 150 output_filename, pOutput.getErrorMessage().c_str()); 162 output_filename, pOutput.getErrorMessage().c_str()); 170 output_filename, pOutput.getErrorMessage().c_str());
|
/frameworks/base/core/jni/android/graphics/ |
H A D | FontFamily.cpp | 40 fontLanguage = FontLanguage(str.c_str(), str.size()); 60 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str()); 62 ALOGE("addFont failed to create font %s", str.c_str()); 73 SkTypeface* face = SkTypeface::CreateFromFile(str.c_str()); 75 ALOGE("addFont failed to create font %s", str.c_str()); 96 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); 108 ALOGE("addFontFromAsset failed to create font %s", str.c_str());
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
H A D | ObjectLoader.cpp | 107 const char *input_filename = pFile.getName().c_str(); 113 input_filename, pFile.getErrorMessage().c_str()); 121 pFile.getErrorMessage().c_str()); 135 pFile.getErrorMessage().c_str());
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 150 const char *s = iface.c_str() + colonPos + 1; 165 if (inet_aton(iface.c_str(), &mInterfaceAddr) != 0) { 203 detail.c_str(), 572 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 602 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 647 mClientInfo.mLocalIP.c_str())); 651 "wfd_client_rtp_ports: %s\r\n", mWfdClientRtpPorts.c_str())); 662 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 708 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 732 mNetSession->sendRequest(sessionID, request.c_str(), reques [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 79 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str()); 130 mIsAudio = !strncasecmp("audio/", mime.c_str(), 6); 131 mIsVideoAVC = !strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime.c_str()); 140 ALOGV("[%s] onConfigure (surface=%p)", mComponentName.c_str(), surface.get()); 142 mCodec = MediaCodec::CreateByType(mCodecLooper, mime.c_str(), false /* encoder */); 149 ALOGI("[%s] creating", mComponentName.c_str()); 151 mCodecLooper, mComponentName.c_str()); 156 (secure ? "secure " : ""), mime.c_str()); 177 ALOGE("Failed to configure %s decoder (err=%d)", mComponentName.c_str(), er [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitReader.cpp | 38 *OutMessage = strdup(Message.c_str()); 58 *OutMessage = strdup(Message.c_str());
|