Searched refs:c_str (Results 51 - 75 of 267) sorted by relevance

1234567891011

/frameworks/base/tools/aapt2/util/
H A DFiles.cpp91 return _mkdir(path.toString().c_str());
93 return mkdir(path.toString().c_str(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP);
226 const char* tokenStr = token.c_str();
253 ignore = strncasecmp(tokenStr, filename.c_str() + filenameLen - n, n) == 0;
257 ignore = strncasecmp(tokenStr, filename.c_str(), n - 1) == 0;
259 ignore = strcasecmp(tokenStr, filename.c_str()) == 0;
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc49 HANDLE hFile = FindFirstFile(file_filter.c_str(), &FindFileData);
73 return ::_open(pPath.native().c_str(), pOFlag | _O_BINARY);
86 return ::_open(pPath.native().c_str(), pOFlag | _O_BINARY, perm);
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
H A Djni_stochastic_linear_ranker.cpp60 jstring jstr = env->NewStringUTF(key.c_str());
259 ConvertParameter2Object(env, &key_array_param, &value_array_param, ITR_NUM, s.c_str(), 0 );
262 ConvertParameter2Object(env, &key_array_param, &value_array_param, NORM_CONSTRAINT, s.c_str(), 1 );
282 ConvertParameter2Object(env, &key_array_param, &value_array_param, REG_TYPE, s.c_str(), 2 );
285 ConvertParameter2Object(env, &key_array_param, &value_array_param, LAMBDA, s.c_str(), 3 );
305 ConvertParameter2Object(env, &key_array_param, &value_array_param, UPDATE_TYPE, s.c_str(), 4 );
322 ConvertParameter2Object(env, &key_array_param, &value_array_param, ADAPT_MODE, s.c_str(), 5 );
336 ConvertParameter2Object(env, &key_array_param, &value_array_param, KERNEL_TYPE, s.c_str(), 6 );
339 ConvertParameter2Object(env, &key_array_param, &value_array_param, KERNEL_PARAM, s.c_str(), 7 );
342 ConvertParameter2Object(env, &key_array_param, &value_array_param, KERNEL_GAIN, s.c_str(),
[all...]
/frameworks/native/cmds/installd/
H A Dutils.cpp79 create_data_app_path(volume_uuid).c_str(), package_name);
91 create_data_user_ce_path(volume_uuid, user).c_str(), package_name);
101 DIR* dir = opendir(user_path.c_str());
110 auto resolved = StringPrintf("%s/%s", user_path.c_str(), ent->d_name);
133 create_data_user_de_path(volume_uuid, user).c_str(), package_name);
144 const char* tmp = _tmp.c_str();
167 return StringPrintf("%s/app", create_data_path(volume_uuid).c_str());
177 return StringPrintf("%s/data", data.c_str());
179 return StringPrintf("%s/user/%u", data.c_str(), userid);
182 return StringPrintf("%s/user/%u", data.c_str(), useri
[all...]
H A Dotapreopt_chroot.cpp92 if (mount(kBindMounts[i], trg.c_str(), nullptr, MS_BIND, nullptr) != 0) {
113 int vendor_result = mount(vendor_partition.c_str(),
/frameworks/rs/cpu_ref/
H A DrsCpuExecutable.cpp117 linkDriverName.c_str(), "-lm", "-lc",
118 objFileName.c_str(),
119 "-o", sharedLibName.c_str(),
145 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded);
149 scriptSOName.c_str(), dlerror());
160 loaded = loadSOHelper(scriptSONameSystem.c_str(), cacheDir,
164 scriptSONameSystem.c_str(), dlerror());
235 if (!ensureCacheDirExists(newName.c_str())) {
247 int r = copyFile(newName.c_str(), origName);
249 ALOGE("Could not create copy %s -> %s", origName, newName.c_str());
[all...]
H A DrsCpuScriptGroup2.cpp184 batch = new Batch(this, ss.str().c_str());
209 mFunc = dlsym(sharedObj, funcName.c_str());
281 args->push_back(batch.c_str());
285 args->push_back(batch.c_str());
400 resName, coreLibPath.c_str(), coreLibRelaxedPath.c_str(),
407 inputs.push_back(coreLibPath.c_str());
408 inputs.push_back(coreLibRelaxedPath.c_str());
419 const char* checksumStr = ss.str().c_str();
457 arguments.push_back(cloneName.c_str());
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyTransmitter.h105 mConn->connect(mServerURL.c_str(), reply);
225 addAuthentication(&request, "ANNOUNCE", mStreamURL.c_str());
236 mConn->sendRequest(request.c_str(), reply);
244 MD5_Update(&m, s.c_str(), s.size());
274 if (!strncmp(value.c_str(), "Basic", 5)) {
277 CHECK(!strncmp(value.c_str(), "Digest", 6));
282 CHECK_EQ(value.c_str()[i + 6], '\"');
411 addAuthentication(&request, "SETUP", mTrackURL.c_str());
421 mConn->sendRequest(request.c_str(), reply);
494 CHECK(GetAttribute(transport.c_str(), "server_por
[all...]
H A DSDPLoader.cpp93 ALOGV("onLoad %s", uriDebugString(url, mFlags & kFlagIncognito).c_str());
96 err = mHTTPDataSource->connect(url.c_str(), headers);
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp123 FILE *info = fopen(infoFile.c_str(), "w");
125 fprintf(stderr, "Could not open info file %s\n", infoFile.c_str());
259 if (stat(inFile.c_str(), &statInFile) < 0) {
269 FILE *in = fopen(inFile.c_str(), "r");
271 fprintf(stderr, "Could not open input file %s\n", inFile.c_str());
281 fprintf(stderr, "Could not read all of file %s\n", inFile.c_str());
352 inFile.c_str(), false);
367 fprintf(stderr, "error: %s\n", errmsg.c_str());
375 new llvm::tool_output_file(outFile.c_str(), ec,
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp73 if (strcmp(versionString, currentVersion.c_str()) == 0) {
218 String8(value.c_str())));
224 String8(value.c_str())));
243 info.mName.c_str());
252 ALOGV("%s codec info for %s: %s", info.mName.c_str(), mime.c_str(),
253 caps->getDetails()->debugString().c_str());
265 ALOGV(" colors=[%s]", nice.c_str());
281 ALOGV(" levels=[%s]", nice.c_str());
291 ALOGV(" quirks=[%s]", quirks.c_str());
[all...]
H A DACodec.cpp613 ALOGV("[%s] signalFlush", mComponentName.c_str());
834 mComponentName.c_str(),
1068 mComponentName.c_str(), newBufferCount, err);
1104 mComponentName.c_str(), bufferCount, bufferSize);
1139 mComponentName.c_str(),
1185 mComponentName.c_str(), bufferCount);
1219 mComponentName.c_str(), info.mBufferID, mem->pointer());
1229 mComponentName.c_str(), bufferCount, bufferSize);
1280 mComponentName.c_str(), info->mBufferID, info->mGraphicBuffer.get());
1318 ALOGI("[%s] %s port has %zu buffers:", mComponentName.c_str(),
[all...]
H A DFrameRenderTracker.cpp93 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs);
100 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs);
173 mComponentName.c_str(), (long long)mLastRenderTimeNs);
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp82 int32_t value = strtol(valueS.c_str(), NULL, 10);
84 ALOGV("profileCodecs results %s %s", key.c_str(), valueS.c_str());
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp151 sp<IRemoteDisplay> display = service->listenForRemoteDisplay(String16(opPackageName.c_str()),
152 client, String8(iface.c_str()));
155 iface.c_str());
H A Dandroid_util_PathParser.cpp40 doThrowIAE(env, result.failureMessage.c_str());
65 doThrowIAE(env, result.failureMessage.c_str());
/frameworks/compile/slang/
H A Dslang_rs_export_func.cpp85 ParamName.str().c_str(),
86 F->getName().c_str());
113 "reflection\n", F->getName().c_str());
/frameworks/minikin/libs/minikin/
H A DFontLanguageListCache.cpp41 outLength = uloc_canonicalize(locale.c_str(), output, outSize, &uErr);
44 ALOGD("uloc_canonicalize(\"%s\") failed: %s", locale.c_str(), u_errorName(uErr));
74 ALOGD("ICU normalized '%s' to '%s'", locale.c_str(), output);
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp149 return mName.c_str();
213 ALOGE("Codec '%s' already had its type specified", mName.c_str());
268 mCurrentCaps->mDetails->setString(key.c_str(), value.c_str());
274 mCurrentCaps->mDetails->setInt32(tag.c_str(), value);
280 mCurrentCaps->mDetails->setString(tag.c_str(), value);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderPassThrough.cpp62 ALOGV("[%s] onConfigure", mComponentName.c_str());
108 mComponentName.c_str(), mCachedBytes, mReachedEOS, mPaused);
314 mComponentName.c_str(), (long long)resumeAtMediaTimeUs);
328 mComponentName.c_str(), (long long)timeUs);
414 ALOGV("[%s] onMessage: %s", mComponentName.c_str(),
415 msg->debugString().c_str());
/frameworks/compile/mclinker/lib/Support/Unix/
H A DFileSystem.inc65 pDir.m_Handler = reinterpret_cast<intptr_t>(opendir(pDir.path().c_str()));
102 return ::open(pPath.native().c_str(), pOFlag);
126 return ::open(pPath.native().c_str(), pOFlag, perm);
/frameworks/av/media/libstagefright/omx/
H A DSoftOMXPlugin.cpp86 void *libHandle = dlopen(libName.c_str(), RTLD_NOW);
89 ALOGE("unable to dlopen %s: %s", libName.c_str(), dlerror());
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h75 ALOGW("%s: element %s already added", __FUNCTION__, name.c_str());
79 ALOGD("%s: adding element %s to collection", __FUNCTION__, name.c_str());
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp81 ALOGE("%s", os.str().c_str());
89 ALOGD("%s", strout.str().c_str());
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp141 ALOGE("%s", EC.message().c_str());
167 memcpy(c + actualWrapperLen, Buffer.c_str(), Buffer.size());

Completed in 802 milliseconds

1234567891011