/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | string_helper.cpp | 32 std::string element = sources.substr(begin, pos - begin); in Split() 41 std::string element = sources.substr(begin); in Split() 103 const std::string &value, size_t position, const std::string &substr, const std::string &newstr) in Replace() argument 109 std::string prefix = value.substr(0, position); in Replace() 110 std::string suffix = value.substr(position); in Replace() 111 return prefix + Replace(suffix, substr, newstr); in Replace() 120 std::string prefix = value.substr(0, position); in Replace() 121 std::string suffix = value.substr(position); in Replace() 130 return (end == std::string::npos) ? value.substr(start) : value.substr(start, end - start); in SubStr()
|
D | options.cpp | 190 std::string package = packagePath.substr(0, index); in AddPackagePath() 191 std::string path = File::AdapterRealPath(packagePath.substr(index + 1)); in AddPackagePath() 193 Logger::E(TAG, "invalid path '%s'.", packagePath.substr(index + 1).c_str()); in AddPackagePath() 318 return package.substr(rootPackage.size() + 1); in GetSubPackage() 348 …std::string subPath = StringHelper::Replace(package.substr(rootPackage.size() + 1), '.', SEPARATOR… in GetPackagePath() 365 std::string className = import.substr(index + 1); in GetImportFilePath()
|
D | string_helper.h | 35 … const std::string &value, size_t position, const std::string &substr, const std::string &newstr);
|
/drivers/hdf_core/framework/tools/hc-gen/src/ |
D | file.cpp | 35 return path.substr(0, dotPos); in StripSuffix() 47 return path.substr(0, separatorPos + 1); in GetDir() 69 return path.substr(sepPos, len); in FileNameBase()
|
/drivers/hdf_core/framework/tools/hdi-gen/lexer/ |
D | token.cpp | 32 …(index == std::string::npos) ? token.location.filePath : token.location.filePath.substr(index + 1); in LocInfo()
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
D | driver_pkg_manager.cpp | 119 …ret->bundleName = bundleName.substr(0, bundleName.find_first_of(bundleStateCallback_->GetStiching(… in QueryMatchDriver() 120 …ret->abilityName = bundleName.substr(bundleName.find_last_of(bundleStateCallback_->GetStiching()) … in QueryMatchDriver()
|
D | drv_bundle_state_callback.cpp | 345 string bundleName = ele.first.substr(0, ele.first.find_first_of(GetStiching())); in OnBundleDrvAdded() 346 string abilityName = ele.first.substr(ele.first.find_last_of(GetStiching()) + 1); in OnBundleDrvAdded() 362 … string abilityName = iter->first.substr(iter->first.find_last_of(GetStiching()) + 1); in OnBundleDrvRemoved()
|
/drivers/peripheral/usb/test/moduletest/common/ |
D | usb_utils.cpp | 41 logTs = stod(lineStr.substr(pos + tsStartPos, tsLength)); in HasLog() 160 logTs = stod(lineStr.substr(tsStartPos, tsLength)); in GetTsFromLog()
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | code_emitter.cpp | 42 …baseName_ = StringHelper::StartWith(interfaceName_, "I") ? interfaceName_.substr(1) : interfaceNam… in Reset() 60 …std::string prefix = StringHelper::Format("%c%s", tolower(baseName_[0]), baseName_.substr(1).c_str… in Reset() 117 …std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - … in GetFileParentPath()
|
D | java_code_emitter.cpp | 40 return StringHelper::Format("%c%s", tolower(name[0]), name.substr(1).c_str()); in MethodName()
|
/drivers/peripheral/distributed_camera/hdi_service/src/utils/ |
D | dcamera.cpp | 71 tokens.push_back(str.substr(lastPos, pos - lastPos)); in SplitString() 76 tokens.push_back(str.substr(lastPos)); in SplitString()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/ |
D | stream_pipeline_builder.cpp | 35 nodeName = it.name_.substr(0, pos); in Build()
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/device_manager/ |
D | device.cpp | 32 return bundleInfo.substr(0, pos); in GetBundleName() 43 return bundleInfo.substr(pos + stiching_.length()); in GetAbilityName()
|
/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/ |
D | smq_test.cpp | 63 std::string element = src.substr(begin, pos - begin); in Split() 72 std::string element = src.substr(begin); in Split()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_provider/ |
D | dcamera_provider.cpp | 288 …(idString.empty() ? idString.c_str() : (idString.substr(0, idString.length() - INGNORE_STR_LEN)).c… in StartCapture() 310 …idString.empty() ? idString.c_str() : (idString.substr(0, idString.length() - INGNORE_STR_LEN)).c_… in StopCapture()
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | hdi_support.cpp | 113 interface = interfaceName[0] == 'I' ? interfaceName.substr(1) : interfaceName; in ParseInterface()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/ |
D | stream_pipeline_dispatcher.cpp | 238 if (name == (*it)->GetName().substr(0, 3)) { // 3:Copy length in GetNode()
|
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_interface_type.cpp | 219 …std::string stubName = StringHelper::StartWith(name_, "I") ? (name_.substr(1) + "Stub") : (name_ +… in EmitJavaReadVar() 227 …std::string stubName = StringHelper::StartWith(name_, "I") ? (name_.substr(1) + "Stub") : (name_ +… in EmitJavaReadInnerVar()
|
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/ |
D | preprocessor.cpp | 334 std::string parentDir = filePath.substr(0, index); in CheckPackageName()
|
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
D | parser.cpp | 259 seqType->SetName(seqName.substr(index + 1)); in ParseSequenceableInfo() 260 seqType->SetNamespace(ast_->ParseNamespace(seqName.substr(0, index))); in ParseSequenceableInfo() 1676 std::string parentDir = filePath.substr(0, index); in CheckPackageName() 1781 if (extendsInterfaceName.substr(index + 1).compare(interfaceName) != 0) { in CheckExtendsName()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/ |
D | mpi_device_manager.cpp | 450 std::string num = controllerName.substr((controllerName.find("#")) + 1); in CheckNodePortNum()
|