Home
last modified time | relevance | path

Searched refs:RealPath (Results 1 – 25 of 45) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Djson_helper.cc30 RETURN_IF_NOT_OK(RealPath(in_dir)); in CreateAlbum()
53 Status JsonHelper::RealPath(const std::string &path) { in RealPath() function in mindspore::dataset::JsonHelper
55 RETURN_IF_NOT_OK(Path::RealPath(path, real_path)); in RealPath()
71 RETURN_IF_NOT_OK(RealPath(in_file)); in UpdateArray()
106 RETURN_IF_NOT_OK(RealPath(in_file)); in RemoveKey()
Djson_helper.h73 RETURN_IF_NOT_OK(RealPath(in_file));
117 RETURN_IF_NOT_OK(RealPath(in_file));
178 RETURN_IF_NOT_OK(Path::RealPath(in_file, real_in_file)); in WriteBinFile()
217 Status RealPath(const std::string &path);
Dpath.h119 static Status RealPath(const std::string &path, std::string &realpath_str); // NOLINT
/third_party/mindspore/mindspore/lite/tools/cropper/
Dcropper_flags.cc42 this->package_file_ = RealPath(this->package_file_.c_str()); in CheckPackageFile()
58 this->model_folder_path_ = RealPath(this->model_folder_path_.c_str()); in CheckModelFile()
71 this->config_file_ = RealPath(this->config_file_.c_str()); in CheckConfigFile()
87 folder_name = RealPath(folder_name.c_str()); in CheckOutputFile()
Dcropper.cc136 std::string real_path = RealPath(file.c_str()); in GetModelFiles()
155 …std::string real_path = RealPath(std::string(buf).substr(0, std::string(buf).length() - 1).c_str()… in GetModelFiles()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp42 SmallString<256> RealPath; in getRealPath() local
51 auto EC = sys::fs::real_path(Directory, RealPath); in getRealPath()
54 SymlinkMap[Directory] = RealPath.str(); in getRealPath()
56 RealPath = DirWithSymlink->second; in getRealPath()
59 sys::path::append(RealPath, FileName); in getRealPath()
60 Result.swap(RealPath); in getRealPath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileCollector.h57 void addFileToMapping(StringRef VirtualPath, StringRef RealPath) { in addFileToMapping() argument
58 VFSWriter.addFileMapping(VirtualPath, RealPath); in addFileToMapping()
/third_party/mindspore/mindspore/lite/test/ut/src/
Dgraph_test.cc36 std::string RealPath(const char *path) { in RealPath() function
61 std::ifstream ifs(RealPath(file)); in ReadModelFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinkerDeclContext.h40 SmallString<256> RealPath; in resolve() local
41 sys::fs::real_path(ParentPath, RealPath); in resolve()
42 ResolvedPaths.insert({ParentPath, StringRef(RealPath).str()}); in resolve()
/third_party/mindspore/mindspore/lite/tools/common/
Dprotobuf_utils.cc45 std::string realPath = RealPath(file.c_str()); in ReadProtoFromText()
75 std::string realPath = RealPath(file.c_str()); in ReadProtoFromBinaryFile()
Dparse_config_utils.cc34 std::string real_path = RealPath(file_path.c_str()); in ReadFileToIfstream()
104 auto real_path = RealPath(config_file_path.c_str()); in ParseConfigFile()
/third_party/mindspore/mindspore/lite/java/native/common/
Djni_utils.h21 std::string RealPath(const char *path);
Djni_utils.cpp24 std::string RealPath(const char *path) { in RealPath() function
/third_party/mindspore/mindspore/lite/src/common/
Dfile_utils.cc71 std::string real_path = RealPath(file); in ReadFile()
103 std::string RealPath(const char *path) { in RealPath() function
Ddynamic_library_loader.cc35 std::string real_path = RealPath(lib_path.c_str()); in Open()
Dfile_utils.h34 std::string RealPath(const char *path);
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Dserialization.cc30 static Status RealPath(const std::string &file, std::string *realpath_str) { in RealPath() function
54 auto status = RealPath(file, &real_path); in ReadFile()
169 auto status = RealPath(CharToString(file), &file_path); in Load()
257 auto status = RealPath(CharToString(file), &file_path); in Load()
/third_party/mindspore/tests/st/cpp/model/
Dtest_zero_copy.cc52 std::string RealPath(std::string_view path);
191 std::string RealPath(std::string_view path) { in RealPath() function
205 std::string real_path = RealPath(dir_name); in OpenDir()
/third_party/mindspore/mindspore/lite/examples/quick_start_cpp/
Dmain.cc30 std::string RealPath(const char *path) { in RealPath() function
117 auto model_path = RealPath(argv[1]); in QuickStart()
/third_party/mindspore/mindspore/lite/examples/runtime_gpu_extend/
Dmain.cc34 std::string RealPath(const char *path) { in RealPath() function
124 auto model_path = RealPath(argv[1]); in CompileAndRun()
/third_party/mindspore/mindspore/lite/tools/schema_gen/
Dschema_gen.cc94 flags.export_path_ = RealPath(flags.export_path_.c_str()); in RunSchemaGen()
/third_party/mindspore/mindspore/lite/java/native/runtime/
Dmodel.cpp41 auto model_path_char = RealPath(env->GetStringUTFChars(model_path, JNI_FALSE)); in Java_com_mindspore_lite_Model_loadModelByPath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc577 SmallVectorImpl<char> *RealPath) {
585 if(!RealPath)
587 RealPath->clear();
593 RealPath->append(Buffer, Buffer + strlen(Buffer));
601 RealPath->append(Buffer, Buffer + CharCount);
605 RealPath->append(Buffer, Buffer + strlen(Buffer));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc368 SmallVectorImpl<char> &RealPath) {
369 RealPath.clear();
390 return UTF16ToUTF8(Data, CountChars, RealPath);
1187 SmallVectorImpl<char> &RealPath) {
1194 EC = realPathFromHandle(File, RealPath);
1201 SmallVectorImpl<char> *RealPath) {
1202 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath);
1207 SmallVectorImpl<char> *RealPath) {
1212 if (Result && RealPath)
1213 realPathFromHandle(*Result, *RealPath);
/third_party/mindspore/mindspore/ccsrc/debug/
Ddebug_services.cc683 std::string real_dump_iter_dir = RealPath(dump_key); in ProcessConvertToHostFormat()
745 std::string abspath = RealPath(specific_dump_dir); in ConvertReadTensors()
766 std::string abspath = RealPath(specific_dump_dir); in ConvertWatchPointNodes()
991 std::string abspath = RealPath(specific_dump_dir); in ReadDumpedTensorSync()
1122 std::string abspath = RealPath(specific_dump_dir); in ReadNeededDumpedTensors()
1317 overflow_bin_path = RealPath(overflow_bin_path); in CheckOpOverflow()
1334 std::string abspath = RealPath(overflow_bin_path); in CheckOpOverflow()
1482 std::string DebugServices::RealPath(const std::string &input_path) { in RealPath() function in mindspore::DebugServices

12