Home
last modified time | relevance | path

Searched refs:SubStr (Results 1 – 10 of 10) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast.cpp50 name_ = StringHelper::SubStr(idlFilePath_, (index == std::string::npos) ? 0 : (index + 1), end); in SetIdlFile()
57 packageName_ = StringHelper::SubStr(fullName, 0, index); in SetFullName()
58 name_ = StringHelper::SubStr(fullName, index + 1); in SetFullName()
77 std::string ns = StringHelper::SubStr(nspaceStr, begin, index); in ParseNamespace()
Dast_smq_type.cpp107 …std::string memberName = (index == std::string::npos) ? name : StringHelper::SubStr(name, index + … in EmitCppUnMarshalling()
Dast_map_type.cpp144 …std::string memberName = (index == std::string::npos) ? name : StringHelper::SubStr(name, index + … in EmitCppUnMarshalling()
Dast_array_type.cpp511 …std::string memberName = (index == std::string::npos) ? name : StringHelper::SubStr(name, index + … in EmitCppUnMarshalling()
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dstring_helper.h39 … static std::string SubStr(const std::string &value, size_t start, size_t end = std::string::npos);
Dstring_helper.cpp125 std::string StringHelper::SubStr(const std::string &value, size_t start, size_t end) in SubStr() function in OHOS::HDI::StringHelper
Dfile.cpp202 std::string partPath = StringHelper::SubStr(path, 0, pos); in CreateParentDir()
Doptions.cpp364 std::string dir = GetPackagePath(StringHelper::SubStr(import, 0, index)); in GetImportFilePath()
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcpp_code_emitter.cpp194 return index != std::string::npos ? StringHelper::SubStr(packageName, 0, index) : packageName; in EmitNamespace()
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
Dpreprocessor.cpp136 info.fileName_ = StringHelper::SubStr(info.filePath_, startIndex + 1, endIndex); in ParseFileDetail()