/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
Usage.cpp | 32 ALOGD("%s: Usage %s has identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); 42 ALOGD("%s: %d for Usage %s", __FUNCTION__, strategy, getName().c_str()); 50 ALOGD("%s: %d for Usage %s", __FUNCTION__, mApplicableStrategy, getName().c_str());
|
/frameworks/base/libs/hwui/tests/unit/ |
OpDumperTests.cpp | 31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str()); 35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str()); 42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
|
/libcore/luni/src/test/native/ |
libcore_java_io_FileTest.cpp | 28 std::string base(baseDirUtf.c_str()); 33 int ret = stat(subDir.c_str(), &sb); 41 ret = stat(subFile.c_str(), &sb);
|
/libnativehelper/include/nativehelper/ |
ScopedUtfChars.h | 25 // passed a null jstring, and c_str will return NULL. 29 // if (name.c_str() == NULL) { 49 const char* c_str() const { function in class:ScopedUtfChars
|
/system/core/init/ |
init_parser.cpp | 49 state.filename = filename.c_str(); 76 parse_error(&state, "%s\n", ret_err.c_str()); 83 parse_error(&state, "%s\n", ret_err.c_str()); 96 INFO("Parsing file %s...\n", path.c_str()); 99 if (!read_file(path.c_str(), &data)) { 113 NOTICE("(Parsing %s took %.2fs.)\n", path.c_str(), t.duration()); 118 INFO("Parsing directory %s...\n", path.c_str()); 119 std::unique_ptr<DIR, int(*)(DIR*)> config_dir(opendir(path.c_str()), closedir); 121 ERROR("Could not import directory '%s'\n", path.c_str()); 130 android::base::StringPrintf("%s/%s", path.c_str(), current_file->d_name) [all...] |
/art/compiler/optimizing/ |
induction_var_analysis_test.cc | 235 EXPECT_STREQ("((1) * i + (0)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); 236 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(increment_[0], 0).c_str()); 243 GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str()); 268 EXPECT_STREQ("((1) * i + (100)):PrimInt", GetInductionInfo(add, 0).c_str()); 269 EXPECT_STREQ("(( - (1)) * i + (100)):PrimInt", GetInductionInfo(sub, 0).c_str()); 270 EXPECT_STREQ("((100) * i + (0)):PrimInt", GetInductionInfo(mul, 0).c_str()); 271 EXPECT_STREQ("((2) * i + (0)):PrimInt", GetInductionInfo(shl, 0).c_str()); 272 EXPECT_STREQ("(( - (1)) * i + (0)):PrimInt", GetInductionInfo(neg, 0).c_str()); 298 GetInductionInfo(store1->InputAt(1), 0).c_str()); 300 GetInductionInfo(store2->InputAt(1), 0).c_str()); [all...] |
/system/tools/aidl/ |
ast_cpp.cpp | 45 to->Write("class %s ", name_.c_str()); 48 to->Write(": public %s ", parent_.c_str()); 64 to->Write("}; // class %s\n", name_.c_str()); 86 to->Write("enum %s {\n", enum_name_.c_str()); 88 to->Write("enum %s : %s {\n", enum_name_.c_str(), underlying_type_.c_str()); 92 to->Write(" %s,\n", field.key.c_str()); 94 to->Write(" %s = %s,\n", field.key.c_str(), field.value.c_str()); 150 to->Write("%s", name_.c_str()); [all...] |
/external/skia/tests/ |
SkpSkGrTest.cpp | 93 SkDebugf("%s", test.status().c_str()); 99 strcpy(fFilename, filename.c_str()); 196 if (!sk_exists(dirName.c_str())) { 197 SkDebugf("could not read dir %s\n", dirName.c_str()); 205 if (!sk_exists(outDir.c_str())) { 206 if (!sk_mkdir(outDir.c_str())) { 207 SkDebugf("could not create dir %s\n", outDir.c_str()); 212 if (!sk_exists(grDir.c_str())) { 213 if (!sk_mkdir(grDir.c_str())) { 214 SkDebugf("could not create dir %s\n", grDir.c_str()); [all...] |
FontNamesTest.cpp | 119 strcmp(test[i].names[nameIndex].name, record.name.c_str()) == 0, 124 strcmp(test[i].names[nameIndex].language, record.language.c_str()) == 0, 128 //printf("%s <%s>\n", record.name.c_str(), record.language.c_str()); 159 SkDebugf("[%s]\n", familyName.c_str()); 167 SkDebugf("(%s) <%s>\n", familyNameLocalized.fString.c_str(), 168 familyNameLocalized.fLanguage.c_str()); 191 SkDebugf("{%s} <%s>\n", record.name.c_str(), record.language.c_str()); 203 SkDebugf("{{%s}} <%s>\n", record.name.c_str(), record.language.c_str()) [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
jvm_android.cc | 71 ALOGD("AttachCurrentThreadIfNeeded::ctor%s", GetThreadInfo().c_str()); 84 ALOGD("AttachCurrentThreadIfNeeded::dtor%s", GetThreadInfo().c_str()); 96 ALOGD("GlobalRef::ctor%s", GetThreadInfo().c_str()); 100 ALOGD("GlobalRef::dtor%s", GetThreadInfo().c_str()); 133 ALOGD("NativeRegistration::ctor%s", GetThreadInfo().c_str()); 137 ALOGD("NativeRegistration::dtor%s", GetThreadInfo().c_str()); 144 ALOGD("NativeRegistration::NewObject%s", GetThreadInfo().c_str()); 176 ALOGD("JNIEnvironment::ctor%s", GetThreadInfo().c_str()); 180 ALOGD("JNIEnvironment::dtor%s", GetThreadInfo().c_str()); 209 ALOGD("JVM::Initialize%s", GetThreadInfo().c_str()); [all...] |
/external/opencv3/modules/highgui/src/ |
window.cpp | 158 cvNamedWindow( winname.c_str(), flags ); 163 cvDestroyWindow( winname.c_str() ); 173 cvResizeWindow( winname.c_str(), width, height ); 178 cvMoveWindow( winname.c_str(), x, y ); 183 cvSetWindowProperty( winname.c_str(), prop_id, prop_value); 188 return cvGetWindowProperty(winname.c_str(), prop_id); 200 return cvCreateTrackbar2(trackbarName.c_str(), winName.c_str(), 206 cvSetTrackbarPos(trackbarName.c_str(), winName.c_str(), value ) [all...] |
/external/clang/test/SemaCXX/ |
printf-cstr.cpp | 14 const char *c_str() {return str;} function in class:HasCStr 33 printf("%d: %s\n", n, hcs.c_str()); 34 printf("%d: %s\n", n, hcs); // expected-warning{{cannot pass non-POD object of type 'HasCStr' to variadic function; expected type from format string was 'char *'}} expected-note{{did you mean to call the c_str() method?}} 36 sprintf(str, "%d: %s", n, hcs); // expected-warning{{cannot pass non-POD object of type 'HasCStr' to variadic function; expected type from format string was 'char *'}} expected-note{{did you mean to call the c_str() method?}} 52 Printf q("%s %d", hcs, 10); // expected-warning {{cannot pass non-POD object of type 'HasCStr' to variadic constructor; expected type from format string was 'char *'}} expected-note{{did you mean to call the c_str() method?}}
|
/external/libweave/examples/provider/ |
avahi_client.cc | 65 txt_vector_ptr.push_back(i.c_str()); 74 group_.get(), AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, {}, GetId().c_str(), 75 service_type.c_str(), nullptr, txt_list.get()); 85 group_.get(), AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, {}, GetId().c_str(), 86 service_type.c_str(), nullptr, nullptr, port, txt_list.get());
|
/system/tpm/tpm_manager/common/ |
print_local_data_proto.cc | 35 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 42 .c_str()); 47 base::StringAppendF(&output, "%s", value.owner_dependency(i).c_str()); 55 .c_str()); 63 .c_str());
|
print_tpm_ownership_interface_proto.cc | 39 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 53 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 59 GetProtoDebugStringWithIndent(value.status(), indent_size + 2).c_str()); 76 .c_str()); 114 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 128 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 134 GetProtoDebugStringWithIndent(value.status(), indent_size + 2).c_str()); 150 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); 157 .c_str()); 173 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str()); [all...] |
/build/kati/ |
stmt.cc | 30 expr->DebugString().c_str(), 32 after_term->DebugString().c_str(), 52 lhs->DebugString().c_str(), 53 rhs->DebugString().c_str(), 54 NoLineBreak(orig_rhs.as_string()).c_str(), 73 expr->DebugString().c_str(), LOCF(loc())); 86 lhs->DebugString().c_str(), 87 rhs->DebugString().c_str(), 95 expr->DebugString().c_str(), LOCF(loc())); 100 expr->DebugString().c_str(), [all...] |
/external/skia/src/gpu/glsl/ |
GrGLSLGeometryProcessor.cpp | 58 strUniName.c_str(), 65 varyingHandler->addVarying(strVaryingName.c_str(), &v, precision); 75 v.vsOut(), uniName, posVar.c_str()); 78 vb->codeAppendf("{ vec3 temp = %s * %s;", uniName, posVar.c_str()); 84 v.vsOut(), uniName, posVar.c_str()); 86 vb->codeAppendf("%s = %s * %s;", v.vsOut(), uniName, posVar.c_str()); 119 varyingHandler->addVarying(strVaryingName.c_str(), &v, precision); 131 vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); 142 vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); 152 gpArgs->fPositionVar.c_str(), viewMatrixName, posName) [all...] |
GrGLSLProgramBuilder.cpp | 78 fFS.codeAppend(openBrace.c_str()); 93 outputColor->c_str(), 94 outputCoverage->c_str(), 131 fFS.codeAppend(openBrace.c_str()); 142 output->c_str(), 143 input.isOnes() ? nullptr : input.c_str(), 178 fFS.codeAppend(openBrace.c_str()); 187 xp, colorIn.c_str(), 188 ignoresCoverage ? nullptr : coverageIn.c_str(), 208 swizzle.c_str()); [all...] |
/art/runtime/native/ |
java_lang_VMClassLoader.cc | 34 if (name.c_str() == nullptr) { 38 std::string descriptor(DotToDescriptor(name.c_str())); 39 const size_t descriptor_hash = ComputeModifiedUtf8Hash(descriptor.c_str()); 40 mirror::Class* c = cl->LookupClass(soa.Self(), descriptor.c_str(), descriptor_hash, loader); 57 PrettyDescriptor(c).c_str()); 64 cl->FindClassInPathClassLoader(soa, soa.Self(), descriptor.c_str(), descriptor_hash, 89 jstring javaPath = env->NewStringUTF(location.c_str());
|
/external/boringssl/src/tool/ |
server.cc | 106 if (!SSL_CTX_use_PrivateKey_file(ctx, key_file.c_str(), SSL_FILETYPE_PEM)) { 107 fprintf(stderr, "Failed to load private key: %s\n", key_file.c_str()); 110 if (!SSL_CTX_use_certificate_chain_file(ctx, key_file.c_str())) { 111 fprintf(stderr, "Failed to load cert chain: %s\n", key_file.c_str()); 116 !SSL_CTX_set_cipher_list(ctx, args_map["-cipher"].c_str())) { 122 !LoadOCSPResponse(ctx, args_map["-ocsp-response"].c_str())) { 123 fprintf(stderr, "Failed to load OCSP response: %s\n", args_map["-ocsp-response"].c_str());
|
client.cc | 95 if (!bio || !BIO_read_filename(bio.get(), file.c_str())) { 160 !SSL_CTX_set_cipher_list(ctx.get(), args_map["-cipher"].c_str())) { 169 args_map["-max-version"].c_str()); 179 args_map["-min-version"].c_str()); 188 fprintf(stderr, "Bad NPN protocol: '%s'\n", proto.c_str()); 193 const_cast<char *>(proto.c_str())); 207 fprintf(stderr, "Invalid ALPN protocols: '%s'\n", alpn_protos.c_str()); 245 if (!SSL_CTX_use_PrivateKey_file(ctx.get(), key.c_str(), SSL_FILETYPE_PEM)) { 246 fprintf(stderr, "Failed to load private key: %s\n", key.c_str()); 249 if (!SSL_CTX_use_certificate_chain_file(ctx.get(), key.c_str())) { [all...] |
/external/skia/bench/ |
ResultsWriter.h | 98 fResults[id.c_str()] = Json::Value(Json::objectValue); 99 fBench = &fResults[id.c_str()]; 119 SkString dirname = SkOSPath::Dirname(fFilename.c_str()); 120 if (!sk_exists(dirname.c_str(), kWrite_SkFILE_Flag)) { 121 if (!sk_mkdir(dirname.c_str())) { 125 SkFILEWStream stream(fFilename.c_str()); 126 stream.writeText(Json::StyledWriter().write(fRoot).c_str());
|
/system/update_engine/payload_consumer/ |
delta_performer_integration_test.cc | 149 int fd = open(path.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0644); 227 "openssl genrsa -out %s 2048", private_key_path.c_str()))); 244 payload_path.c_str(), 245 signature_size_string.c_str(), 246 hash_file.c_str()))); 260 private_key_path.c_str(), 261 hash_file.c_str(), 262 sig_file.c_str()))); 272 hash_file.c_str(), 273 sig_file2.c_str()))); [all...] |
/frameworks/native/cmds/installd/ |
otapreopt.cpp | 138 return StringPrintf("%s/%s", GetOtaDirectoryPrefix().c_str(), target_slot_.c_str()); 227 int result = setenv(ASEC_MOUNTPOINT_ENV_NAME, asec_mountpoint_.c_str(), 0); 233 if (!init_globals_from_data_and_root(GetAndroidData().c_str(), GetAndroidRoot().c_str())) { 240 if (access(GetOtaDirectoryPrefix().c_str(), R_OK) < 0) { 296 environ_.push_back(StringPrintf("BOOTCLASSPATH=%s", boot_classpath_.c_str())); 297 environ_.push_back(StringPrintf("ANDROID_DATA=%s", GetOTADataDirectory().c_str())); 298 environ_.push_back(StringPrintf("ANDROID_ROOT=%s", android_root_.c_str())); 301 putenv(const_cast<char*>(e.c_str())); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ASessionDescription.cpp | 67 if ((size_t)eolPos > i && desc.c_str()[eolPos - 1] == '\r') { 80 if (line.size() < 2 || line.c_str()[1] != '=') { 84 ALOGI("%s", line.c_str()); 86 switch (line.c_str()[0]) { 89 if (strcmp(line.c_str(), "v=0")) { 124 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); 133 AString(line, 2, line.size() - 2).c_str()); 152 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str()); [all...] |