/bootable/recovery/update_verifier/ |
update_verifier.cpp | 58 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(blk_device.c_str(), O_RDONLY))); 60 SLOGE("Error reading partition %s: %s\n", blk_device.c_str(), strerror(errno)); 70 bool status = android::base::ParseUint(ranges[0].c_str(), &range_count); 80 bool parse_status = android::base::ParseUint(ranges[i].c_str(), &range_start); 81 parse_status = parse_status && android::base::ParseUint(ranges[i+1].c_str(), &range_end); 83 SLOGE("Invalid range pair %s, %s.\n", ranges[i].c_str(), ranges[i+1].c_str()); 102 SLOGI("Finished reading %zu blocks on %s.\n", blk_count, blk_device.c_str()); 107 android::base::unique_fd care_map_fd(TEMP_FAILURE_RETRY(open(care_map_name.c_str(), O_RDONLY))); 112 SLOGI("Warning: care map %s not found.\n", care_map_name.c_str()); [all...] |
/device/google/dragon/crash_collector/ |
crash_collector.cc | 48 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir(path.c_str()), closedir); 60 if (unlink(path.c_str()) == 0) 63 ALOGE("Failed to unlink: %s, errno = %d", path.c_str(), errno); 73 return rmdir(path.c_str()) == 0; 116 property_get(key.c_str(), buf, ""); 164 0, coredump_filename.c_str(), proc_files_dir.c_str()); 166 minidump_filename.c_str(), mappings, memory_list, &dumper); 167 unlink(coredump_filename.c_str()); 222 if (mkdir(proc_files_dir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR) == -1) [all...] |
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_record_jni.cc | 87 ALOGD("ctor%s", GetThreadInfo().c_str()); 110 ALOGD("~dtor%s", GetThreadInfo().c_str()); 116 ALOGD("Init%s", GetThreadInfo().c_str()); 122 ALOGD("Terminate%s", GetThreadInfo().c_str()); 129 ALOGD("InitRecording%s", GetThreadInfo().c_str()); 149 ALOGD("StartRecording%s", GetThreadInfo().c_str()); 162 ALOGD("StopRecording%s", GetThreadInfo().c_str()); 198 ALOGD("EnableBuiltInAEC%s", GetThreadInfo().c_str()); 204 ALOGD("EnableBuiltInAGC%s", GetThreadInfo().c_str()); 210 ALOGD("EnableBuiltInNS%s", GetThreadInfo().c_str()); [all...] |
audio_manager_unittest.cc | 101 PRINT("%smodel: %s\n", kTag, build_info.GetDeviceModel().c_str()); 102 PRINT("%sbrand: %s\n", kTag, build_info.GetBrand().c_str()); 104 kTag, build_info.GetDeviceManufacturer().c_str()); 110 PRINT("%sbuild release: %s\n", kTag, build_info.GetBuildRelease().c_str()); 111 PRINT("%sbuild id: %s\n", kTag, build_info.GetAndroidBuildId().c_str()); 112 PRINT("%sbuild type: %s\n", kTag, build_info.GetBuildType().c_str()); 113 PRINT("%sSDK version: %s\n", kTag, build_info.GetSdkVersion().c_str());
|
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 49 pInput->getBufferIdentifier(), ec.message().c_str()); 100 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(), 101 mb_or_error.getError().message().c_str()); 117 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, /* pNoDelete */false); 132 ErrorStream.str().c_str()); 139 pModule.getModuleIdentifier().c_str()); 162 getIdentifier().c_str(), pSource.getIdentifier().c_str()); 177 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str()); 181 Source *result = CreateFromModule(pContext, pName.c_str(), *module, /* pNoDelete */false) [all...] |
/art/runtime/ |
elf_file.cc | 107 file->GetPath().c_str(), file->Fd(), strerror(errno)); 114 file->GetPath().c_str()); 128 file->GetPath().c_str(), 138 sizeof(Elf_Ehdr), file->GetPath().c_str()); 148 file->GetPath().c_str(), 151 *error_msg = StringPrintf("Failed to map ELF program headers: %s", error_msg->c_str()); 163 file->GetPath().c_str(), 166 *error_msg = StringPrintf("Failed to map ELF file: %s", error_msg->c_str()); 187 file->GetPath().c_str()); 195 file->GetPath().c_str()); [all...] |
reflection.cc | 211 PrettyDescriptor(found_descriptor).c_str()).c_str()); 233 PrettyMethod(m, false).c_str(), 235 PrettyDescriptor(dst_class).c_str(), 236 PrettyTypeOf(arg).c_str()).c_str()); 261 PrettyMethod(m, false).c_str(), \ 264 PrettyTypeOf(arg).c_str()).c_str()); \ 421 PrettyMethod(m).c_str()); [all...] |
/system/vold/ |
Utils.cpp | 61 const char* cpath = path.c_str(); 89 const char* cpath = path.c_str(); 98 const char* cpath = path.c_str(); 122 const char* cpath = path.c_str(); 152 const char* cpath = path.c_str(); 178 if (::mount(source.c_str(), target.c_str(), "", MS_BIND, NULL)) { 213 const char* cline = line.c_str(); 251 argv[i] = (char*) args[i].c_str(); 295 FILE* fp = popen(cmd.c_str(), "r") [all...] |
/system/connectivity/shill/ |
profile.cc | 119 name_.user.c_str(), name_.identifier.c_str())); 126 name_.user.c_str(), name_.identifier.c_str())); 133 name_.user.c_str(), name_.identifier.c_str())); 148 base::StringPrintf("Profile %s:%s", name_.user.c_str(), 149 name_.identifier.c_str())); 168 persistent_profile_path_.value().c_str())); 235 entry_name.c_str())); [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
xmppengine_unittest.cc | 100 engine()->HandleInput(input.c_str(), input.length()); 112 engine()->HandleInput(input.c_str(), input.length()); 120 engine()->HandleInput(input.c_str(), input.length()); 132 engine()->HandleInput(input.c_str(), input.length()); 141 engine()->HandleInput(input.c_str(), input.length()); 154 engine()->HandleInput(input.c_str(), input.length()); 165 engine()->HandleInput(input.c_str(), input.length()); 171 engine()->HandleInput(input.c_str(), input.length()); 182 engine()->HandleInput(input.c_str(), input.length()); 192 engine()->HandleInput(input.c_str(), input.length()) [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
RSScriptGroupFusion.cpp | 59 source->getName().c_str(), slot); 65 source->getName().c_str(), functionName); 104 source->getName().c_str(), slot); 111 source->getName().c_str(), slot, signature); 241 source->getName().c_str(), inputFunction->getName().str().c_str()); 250 source->getName().c_str(), inputFunction->getName().str().c_str()); 264 ALOGE("Kernel fusion (module %s function %s): %s", source->getName().c_str(), 265 inputFunction->getName().str().c_str(), rso.str().c_str()) [all...] |
/system/tools/aidl/ |
aidl_language_y.yy | 40 %token<token> IDENTIFIER INTERFACE ONEWAY C_STR 116 ps->FileName().c_str(), 117 @2.begin.line, $2->GetText().c_str()); 125 | PARCELABLE qualified_name CPP_HEADER C_STR ';' { 130 ps->FileName().c_str(), @1.begin.line); 135 ps->FileName().c_str(), @2.begin.line, $2->GetText().c_str()); 155 ps->FileName().c_str(), @2.begin.line, $2->GetText().c_str()); 162 ps->FileName().c_str(), @2.begin.line, $2->GetText().c_str()) [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
MyHandler.h | 157 mSessionURL.c_str(), &host, &port, &path, &user, &pass)); 167 ALOGV("rewritten session url: '%s'", mSessionURL.c_str()); 181 mConn->connect(mOriginalSessionURL.c_str(), reply); 193 mConn->connect(mOriginalSessionURL.c_str(), reply); 207 mBaseURL.c_str(), 208 sessionLevelControlURL.c_str(), 288 memcpy(&data[offset], cname.c_str(), cname.size()); 297 memcpy(&data[offset], tool.c_str(), tool.size()); 331 if (!GetAttribute(transport.c_str(), 337 struct hostent *ent = gethostbyname(mSessionHost.c_str()); [all...] |
/art/runtime/arch/x86/ |
instruction_set_features_x86_test.cc | 31 x86_features->GetFeatureString().c_str()); 44 x86_features->GetFeatureString().c_str()); 54 x86_default_features->GetFeatureString().c_str()); 64 x86_64_features->GetFeatureString().c_str()); 81 x86_features->GetFeatureString().c_str()); 91 x86_default_features->GetFeatureString().c_str()); 101 x86_64_features->GetFeatureString().c_str());
|
/external/deqp/modules/gles3/functional/ |
es3fUniformBlockTests.cpp | 54 de::toString(ndx).c_str(), "", bufferMode, features, (deUint32)ndx+baseSeed)); 77 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances)); 78 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances)); 81 group->addChild(new BlockBasicTypeCase(context, (string(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances)); 426 createBlockBasicTypeCases(layoutGroup, m_context, (string(precisionFlags[precNdx].name) + "_" + typeName).c_str(), 435 createBlockBasicTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + precisionFlags[precNdx].name + "_" + typeName).c_str(), 466 createBlockBasicTypeCases(layoutGroup, m_context, (string(matrixFlags[matFlagNdx].name) + "_" + typeName).c_str(), 497 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_vertex").c_str(), "", baseFlags|DECLARE_VERTEX, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 498 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_fragment").c_str(), "", baseFlags|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)); 501 modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_both").c_str(), "", baseFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, bufferModes[modeNdx].mode, isArray ? 3 : 0)) [all...] |
/external/libweave/examples/provider/ |
wifi_manager.cc | 32 args_vector.push_back(path.c_str()); 34 args_vector.push_back(i.c_str()); 36 execvp(path.c_str(), const_cast<char**>(args_vector.data())); 51 DIR* net_dir = opendir(sysfs_net.c_str()); 55 DIR* wireless_dir = opendir(path.c_str()); 91 strncpy(wreq.ifr_name, iface_.c_str(), sizeof(wreq.ifr_name)); 172 std::ofstream ofs(dnsmasq_conf.c_str());
|
/external/libweave/src/notification/ |
xmpp_iq_stanza_handler.cc | 35 base::StringAppendF(&to_attr, " to='%s'", to.c_str()); 41 base::StringAppendF(&from_attr, " from='%s'", from.c_str()); 43 return base::StringPrintf("<iq id='%s' type='%s'%s%s>%s</iq>", id.c_str(), 44 type.c_str(), from_attr.c_str(), to_attr.c_str(), 45 body.c_str());
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfFrameBuffer.cpp | 92 insert (name.c_str(), slice); 129 return this->operator[] (name.c_str()); 136 return this->operator[] (name.c_str()); 159 return findSlice (name.c_str()); 166 return findSlice (name.c_str()); 215 return find (name.c_str()); 222 return find (name.c_str());
|
/external/skia/src/gpu/glsl/ |
GrGLSLShaderBuilder.cpp | 35 this->codeAppendf("%s;", tempDecl.c_str()); 46 this->functions().appendf(" %s", outName->c_str()); 96 out->appendf(".%s", configSwizzle.c_str()); 112 this->codeAppend((GrGLSLExpr4(modulation) * GrGLSLExpr4(lookup)).c_str()); 147 this->layoutQualifiers().appendf("layout(%s", params[0].c_str()); 149 this->layoutQualifiers().appendf(", %s", params[i].c_str()); 171 fCompilerStrings[i] = fShaderStrings[i].c_str();
|
GrGLSLShaderVar.h | 52 : GrShaderVar(var.c_str(), var.getType(), var.getTypeModifier(), 169 out->appendf("layout(%s) ", fLayoutQualifier.c_str()); 184 this->getName().c_str()); 189 this->getName().c_str(), 195 this->getName().c_str()); 201 this->getName().c_str(), 208 this->getName().c_str(),
|
/external/webrtc/webrtc/tools/frame_editing/ |
frame_editing.cc | 84 const char* in_path = parser.GetFlag("in_path").c_str(); 85 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10); 86 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10); 87 int first_frame_to_cut = strtol((parser.GetFlag("f")).c_str(), NULL, 10); 88 int interval = strtol((parser.GetFlag("interval")).c_str(), NULL, 10); 89 int last_frame_to_cut = strtol((parser.GetFlag("l")).c_str(), NULL, 10); 91 const char* out_path = parser.GetFlag("out_path").c_str();
|
/frameworks/av/media/libstagefright/http/ |
MediaHTTP.cpp | 58 extHeaders.add(String8("User-Agent"), String8(MakeUserAgent().c_str())); 62 // reconnect() calls with uri == old mLastURI.c_str(), which gets zapped 66 bool success = mHTTPConnection->connect(mLastURI.c_str(), &extHeaders); 74 mName = String8::format("MediaHTTP(%s)", sanitized.c_str()); 152 return connect(mLastURI.c_str(), &mLastHeaders, offset); 168 String8(mLastURI.c_str()), mime); 194 return String8(mLastURI.c_str());
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
Serializer.cpp | 228 ALOGV("%s: %s %s=%s", __FUNCTION__, tag, Attributes::name, name.c_str()); 234 ALOGV("%s: Role=%s", __FUNCTION__, role.c_str()); 237 mixPort = new Element(String8(name.c_str()), portRole); 286 ALOGV("%s: %s %s=%s", __FUNCTION__, tag, Attributes::tagName, name.c_str()); 289 ALOGE("%s: no type for %s", __FUNCTION__, name.c_str()); 292 ALOGV("%s: %s %s=%s", __FUNCTION__, tag, Attributes::type, typeName.c_str()); 298 ALOGV("%s: %s %s=%s", __FUNCTION__, tag, Attributes::role, role.c_str()); 309 deviceDesc = new Element(type, String8(name.c_str())); 313 ALOGV("%s: address=%s for %s", __FUNCTION__, address.c_str(), name.c_str()); [all...] |
/system/connectivity/apmanager/ |
hostapd_monitor.cc | 61 control_interface_path.c_str(), 62 network_interface_name.c_str())), 64 network_interface_name.c_str())), 74 unlink(local_path_.c_str()); 95 if (stat(dest_path_.c_str(), &buf) != 0) { 127 snprintf(local.sun_path, sizeof(local.sun_path), "%s", local_path_.c_str()); 130 snprintf(dest.sun_path, sizeof(dest.sun_path), "%s", dest_path_.c_str());
|
/system/core/base/ |
file.cpp | 52 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_BINARY)); 78 unlink(path.c_str()); 87 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); 114 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags, DEFFILEMODE)); 152 int result = stat(path.c_str(), &st); 155 int result = lstat(path.c_str(), &st); 165 if (unlink(path.c_str()) == -1) {
|