Searched refs:c_str (Results 1 - 25 of 168) sorted by relevance

1234567

/frameworks/compile/mclinker/lib/Support/Unix/
H A DFileSystem.inc29 return ::open(pPath.native().c_str(), pOFlag);
34 return ::open(pPath.native().c_str(), pOFlag, pPerm);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp47 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 Dsearch_path.cpp46 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 DAST.cpp84 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 Dgenerate_java.cpp19 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/Support/
H A DOutputFile.cpp38 "OutputFile::CreateTemporary()!", pFileTemplate.c_str());
44 ::memcpy(tmp_filename, pFileTemplate.c_str(), pFileTemplate.length());
52 tmp_filename, err.message().c_str());
66 result->getName().c_str(), result->getErrorMessage().c_str());
/frameworks/base/core/jni/
H A Dandroid_net_wifi_Wifi.cpp133 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...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp66 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 DARTPSource.cpp58 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 DAPacketSource.cpp83 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 DAMPEG4ElementaryAssembler.cpp76 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 DAAtomizer.cpp46 return (*it).c_str();
53 return (*--entry.end()).c_str();
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp104 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 DhwcRects.cpp282 "closing >] in: %s", rectDesc.c_str());
376 testPrintE("Error parsing format from: %s", rectStr.c_str());
379 format = hwcTestGraphicFormatLookup(str.c_str());
381 testPrintE("Unknown graphic format in: %s", rectStr.c_str());
389 testPrintE("Invalid display frame in: %s", rectStr.c_str());
414 rectStr.c_str());
436 testPrintE("Unknown transform of \"%s\" in: %s", str.c_str(),
437 rectStr.c_str());
451 testPrintE("Unknown blend of \"%s\" in: %s", str.c_str(),
452 rectStr.c_str());
[all...]
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DWifiDisplaySink.cpp100 const char *colonPos = strchr(host->c_str(), ':');
112 size_t colonOffset = colonPos - host->c_str();
131 mSetupURI.c_str(),
142 mRTSPHost.c_str(), sourcePort, notify, &mSessionID);
169 detail.c_str(),
191 sendDescribe(mSessionID, mSetupURI.c_str());
252 mNetSession->sendRequest(sessionID, request.c_str(), request.size());
291 return sendSetup(sessionID, mSetupURI.c_str());
310 mPlaybackSessionID.c_str(),
334 ? mSetupURI.c_str()
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp73 "%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...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSExecutable.cpp56 pObjFile.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 DRSInfoWriter.cpp156 rsinfo::GetItemTypeName<ItemType>(), pOutput.getName().c_str(),
157 pOutput.getErrorMessage().c_str());
169 const char *output_filename = pOutput.getName().c_str();
173 output_filename, pOutput.getErrorMessage().c_str());
185 output_filename, pOutput.getErrorMessage().c_str());
193 output_filename, pOutput.getErrorMessage().c_str());
/frameworks/compile/mclinker/lib/LD/
H A DSectionMap.cpp29 if (0 == strncmp(pInput.c_str(),
30 (*it).inputSubStr.c_str(),
34 else if (0 == strcmp("*", (*it).inputSubStr.c_str()))
H A DSectionMerger.cpp36 if (0 == strncmp(pName.c_str(),
37 (*it).inputSubStr.c_str(),
41 else if(0 == strcmp("*", (*it).inputSubStr.c_str()))
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DObjectLoader.cpp107 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/compile/mclinker/lib/Support/
H A DHandleToArea.cpp24 llvm::StringRef(pHandle->path().native().c_str(),
44 llvm::StringRef(pPath.native().c_str(),
61 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(),
79 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(),
/frameworks/compile/slang/
H A Dslang_rs_reflection_base.cpp82 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/av/media/libstagefright/wifi-display/
H A DParsedMessage.cpp70 *value = strtol(stringValue.c_str(), &end, 10);
72 if (end == stringValue.c_str() || *end != '\0') {
81 return mContent.c_str();
120 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') {
196 *statusCode = strtol(statusCodeString.c_str(), &end, 10);
198 if (*end != '\0' || end == statusCodeString.c_str()
273 *value = strtol(stringValue.c_str(), &end, 10);
275 if (end == stringValue.c_str() || *end != '\0') {
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp46 pInput->getBufferIdentifier(), error.c_str());
89 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
90 ec.message().c_str());
118 pFd, ec.message().c_str());
143 pModule.getModuleIdentifier().c_str());
168 getIdentifier().c_str(),
169 pSource.getIdentifier().c_str(),
170 error.c_str());
188 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str());

Completed in 2204 milliseconds

1234567