/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/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());
|
H A D | aidl.cpp | 211 p = fn.c_str() + (len - expected.length()); 227 valid = !strcasecmp(expected.c_str(), p); 234 filename, name->lineno, name->data, expected.c_str()); 358 type->QualifiedName().c_str()); 367 type->QualifiedName().c_str(), newKind); 369 old->DeclFile().c_str(), old->DeclLine(), oldKind); 637 to = fopen(fileName.c_str(), "wb"); 639 to = fopen(options.depFileName.c_str(), "wb"); 653 fprintf(to, "%s: \\\n", options.outputFileName.c_str()); 658 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slas [all...] |
/frameworks/base/core/jni/ |
H A D | android_net_wifi_Wifi.cpp | 133 return (jboolean)(::wifi_connect_to_supplicant(ifname.c_str()) == 0); 139 ::wifi_close_supplicant_connection(ifname.c_str()); 146 int nread = ::wifi_wait_for_event(ifname.c_str(), buf, sizeof buf); 160 if (command.c_str() == NULL) { 163 if (DBG) ALOGD("doBoolean: %s", command.c_str()); 164 return doBooleanCommand(ifname.c_str(), "OK", "%s", command.c_str()); 173 if (command.c_str() == NULL) { 176 if (DBG) ALOGD("doInt: %s", command.c_str()); 177 return doIntCommand(ifname.c_str(), " [all...] |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 189 if (strlcpy(localFileName, nativeLibPath.c_str(), sizeof(localFileName)) != nativeLibPath.size()) { 209 if (strlcpy(localTmpFileName, nativeLibPath.c_str(), sizeof(localTmpFileName)) 278 if (zipFile.open(filePath.c_str()) != NO_ERROR) { 279 ALOGI("Couldn't open APK %s\n", filePath.c_str()); 318 ALOGV("Comparing ABIs %s and %s versus %s\n", cpuAbi.c_str(), cpuAbi2.c_str(), cpuAbiOffset); 321 && !strncmp(cpuAbiOffset, cpuAbi.c_str(), cpuAbiRegionSize)) { 322 ALOGV("Using primary ABI %s\n", cpuAbi.c_str()); 326 && !strncmp(cpuAbiOffset, cpuAbi2.c_str(), cpuAbiRegionSize)) { 333 ALOGV("Already saw primary ABI, skipping secondary ABI %s\n", cpuAbi2.c_str()); [all...] |
H A D | android_os_Trace.cpp | 34 Tracer::traceCounter(tag, name.c_str(), value); 40 Tracer::traceBegin(tag, name.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 | 57 if (!strncmp(desc.c_str(), "H264/", 5)) { 60 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 62 } else if (!strncmp(desc.c_str(), "H263-1998/", 10) 63 || !strncmp(desc.c_str(), "H263-2000/", 10)) { 66 } else if (!strncmp(desc.c_str(), "AMR/", 4)) { 68 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) { 70 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8) 71 || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) { 74 } else if (ARawAudioAssembler::Supports(desc.c_str())) { 75 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), param [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...] |
H A D | APacketSource.cpp | 83 char c = s.c_str()[i]; 260 const char *s = val.c_str(); 422 if (!strncmp(desc.c_str(), "H264/", 5)) { 433 MakeAVCCodecSpecificData(params.c_str(), &encWidth, &encHeight); 453 } else if (!strncmp(desc.c_str(), "H263-2000/", 10) 454 || !strncmp(desc.c_str(), "H263-1998/", 10)) { 465 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) { 470 desc.c_str(), &sampleRate, &numChannels); 476 MakeAACCodecSpecificData(params.c_str()); 481 } else if (!strncmp(desc.c_str(), "AM [all...] |
H A D | MyHandler.h | 149 mSessionURL.c_str(), &host, &port, &path, &user, &pass)); 159 ALOGI("rewritten session url: '%s'", mSessionURL.c_str()); 173 mConn->connect(mOriginalSessionURL.c_str(), reply); 221 memcpy(&data[offset], cname.c_str(), cname.size()); 231 memcpy(&data[offset], tool.c_str(), tool.size()); 265 if (!GetAttribute(transport.c_str(), 271 struct hostent *ent = gethostbyname(mSessionHost.c_str()); 274 mSessionHost.c_str()); 281 addr.sin_addr.s_addr = inet_addr(source.c_str()); 284 if (!GetAttribute(transport.c_str(), [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 | base64.cpp | 31 if (n >= 1 && s.c_str()[n - 1] == '=') { 34 if (n >= 2 && s.c_str()[n - 2] == '=') { 47 char c = s.c_str()[i];
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 104 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); 143 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str()); 172 // ALOGI("#%s#", line.c_str()); 259 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI)); 283 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); 307 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); 354 ALOGV("key=%s value=%s", key.c_str(), val.c_str()); 356 if (!strcasecmp("bandwidth", key.c_str())) { [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 282 "closing >] in: %s", rectDesc.c_str()); 374 testPrintE("Error parsing format from: %s", rectStr.c_str()); 377 format = hwcTestGraphicFormatLookup(str.c_str()); 379 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); 387 testPrintE("Invalid display frame in: %s", rectStr.c_str()); 412 rectStr.c_str()); 434 testPrintE("Unknown transform of \"%s\" in: %s", str.c_str(), 435 rectStr.c_str()); 449 testPrintE("Unknown blend of \"%s\" in: %s", str.c_str(), 450 rectStr.c_str()); [all...] |
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 73 "%s:%d: %s", file, line, str.c_str()); 141 TickCountToString(time).c_str(), 144 EventPhaseToString(phase)).c_str()); 171 mUserAgent = ua.c_str(); 289 request->status().os_error()).c_str()); 300 request->GetResponseCode()).c_str()); 310 request->GetResponseCode()).c_str()); 324 MY_LOGV(StringPrintf("response headers: %s", headers.c_str()).c_str()); 330 request->GetExpectedContentSize(), contentType.c_str()); [all...] |
H A D | DataUriSource.cpp | 43 mMimeType = mimeTypeStr.c_str(); 57 const char *dataBuf = mData.c_str();
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | SectionMap.cpp | 30 if (0 == strncmp(pInput.c_str(), 31 (*it).inputSubStr.c_str(), 35 else if (0 == strcmp("*", (*it).inputSubStr.c_str()))
|
H A D | SectionMerger.cpp | 36 if (0 == strncmp(pName.c_str(), 37 (*it).inputSubStr.c_str(), 41 else if(0 == strcmp("*", (*it).inputSubStr.c_str()))
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflection_base.cpp | 82 mOF.open(cf.c_str()); 94 printf("Generating %s\n", filename.c_str()); 119 //printf("%s%s\n", mIndent.c_str(), t.c_str()); 137 FILE *pfin = fopen(filename.c_str(), "wt"); 139 fprintf(stderr, "Error: could not write file %s\n", filename.c_str()); 144 fprintf(pfin, "%s\n", txt[ct].c_str());
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitReader.cpp | 38 *OutMessage = strdup(Message.c_str()); 58 *OutMessage = strdup(Message.c_str());
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitReader.cpp | 38 *OutMessage = strdup(Message.c_str()); 58 *OutMessage = strdup(Message.c_str());
|
/frameworks/compile/mclinker/utils/gtest/src/ |
H A D | gtest-all.cpp | 1386 const BiggestConvertible parsed = _strtoui64(str.c_str(), &end, 10); 1391 const BiggestConvertible parsed = strtoull(str.c_str(), &end, 10); 1690 const char* const gtest_output_flag = GTEST_FLAG(output).c_str(); 1702 const char* const gtest_output_flag = GTEST_FLAG(output).c_str(); 1728 GetOutputFormat().c_str())); 1757 if (PatternMatchesString(cur_pattern, name.c_str())) { 1781 test_case_name.c_str(), 1782 test_name.c_str()); 1786 const char* const p = GTEST_FLAG(filter).c_str(); 1791 positive = GTEST_FLAG(filter).c_str(); // Whol 2131 ShowCStringQuoted(const char* c_str) argument 2153 CloneCString(const char* c_str) argument [all...] |