Home
last modified time | relevance | path

Searched refs:SEPARATOR (Results 1 - 7 of 7) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dcommon.h18 constexpr char SEPARATOR = '/'; member
20 constexpr char SEPARATOR = '\\'; member
H A Doptions.cpp364 std::string curPath = File::AdapterPath(StringHelper::Replace(package, '.', SEPARATOR)); in GetPackagePath()
368 if (StringHelper::EndWith(rootPath, SEPARATOR)) { in GetPackagePath()
372 std::string subPath = StringHelper::Replace(package.substr(rootPackage.size() + 1), '.', SEPARATOR); in GetPackagePath()
390 return StringHelper::Format("%s%c%s.idl", dir.c_str(), SEPARATOR, className.c_str()); in GetImportFilePath()
H A Dfile.cpp201 while ((pos = path.find(SEPARATOR, pos)) != std::string::npos) { in CreateParentDir()
237 if (c == SEPARATOR) { in CreateParentDir()
302 std::string dirPath = dirs.front().back() == SEPARATOR ? dirs.front() : dirs.front() + SEPARATOR; in CreateParentDir()
/drivers/hdf_core/framework/tools/hdi-gen/lexer/
H A Dtoken.cpp30 size_t index = token.location.filePath.rfind(SEPARATOR); in LocInfo()
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcode_emitter.cpp120 std::string outPath = StringHelper::EndWith(outDir, SEPARATOR) ? outDir.substr(0, outDir.size() - 1) : outDir; in GetFileParentPath()
122 std::string subPath = StringHelper::Replace(subPackage, '.', SEPARATOR); in GetFileParentPath()
137 filePath.Append(SEPARATOR); in PackageToFilePath()
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
H A Dpreprocessor.cpp130 size_t startIndex = info.filePath_.rfind(SEPARATOR); in ParseFileDetail()
329 size_t index = filePath.rfind(SEPARATOR); in CheckPackageName()
/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp1742 size_t index = filePath.rfind(SEPARATOR); in CheckPackageName()

Completed in 6 milliseconds