Searched refs:PathType (Results 1 – 9 of 9) sorted by relevance
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
D | nnrt_utils.cpp | 323 PathType CheckPath(const std::string &path) in CheckPath() 327 return PathType::NOT_FOUND; in CheckPath() 332 return PathType::DIR; in CheckPath() 334 return PathType::FILE; in CheckPath() 336 return PathType::UNKNOWN; in CheckPath() 340 return PathType::NOT_FOUND; in CheckPath() 349 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile() 435 PathType ret = CheckPath(path.substr(0, i)); in CreateFolder() 437 case PathType::DIR: in CreateFolder() 439 case PathType::NOT_FOUND: in CreateFolder() [all …]
|
D | nnrt_utils.h | 87 enum class PathType { FILE, DIR, UNKNOWN, NOT_FOUND }; enum 88 PathType CheckPath(const std::string &path);
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
D | nnrt_utils.cpp | 323 PathType CheckPath(const std::string &path) in CheckPath() 327 return PathType::NOT_FOUND; in CheckPath() 332 return PathType::DIR; in CheckPath() 334 return PathType::FILE; in CheckPath() 336 return PathType::UNKNOWN; in CheckPath() 340 return PathType::NOT_FOUND; in CheckPath() 349 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile() 435 PathType ret = CheckPath(path.substr(0, i)); in CreateFolder() 437 case PathType::DIR: in CreateFolder() 439 case PathType::NOT_FOUND: in CreateFolder() [all …]
|
D | nnrt_utils.h | 87 enum class PathType { FILE, DIR, UNKNOWN, NOT_FOUND }; enum 88 PathType CheckPath(const std::string &path);
|
/test/xts/acts/ai/nncore/common/ |
D | nncore_utils.cpp | 359 PathType CheckPath(const std::string &path) in CheckPath() 363 return PathType::NOT_FOUND; in CheckPath() 368 return PathType::DIR; in CheckPath() 370 return PathType::FILE; in CheckPath() 372 return PathType::UNKNOWN; in CheckPath() 376 return PathType::NOT_FOUND; in CheckPath() 385 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile() 471 PathType ret = CheckPath(path.substr(0, i)); in CreateFolder() 473 case PathType::DIR: in CreateFolder() 475 case PathType::NOT_FOUND: in CreateFolder() [all …]
|
D | nncore_utils.h | 162 enum class PathType { FILE, DIR, UNKNOWN, NOT_FOUND }; enum 163 PathType CheckPath(const std::string &path);
|
/test/xts/acts/ai/nncore/nncoretest/src/ |
D | HdiCompilationTest.cpp | 41 ASSERT_TRUE(CheckPath(CACHE_PATH) == PathType::FILE); in GenCacheFile() 42 ASSERT_TRUE(CheckPath(CACHE_INFO_PATH) == PathType::FILE); in GenCacheFile()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
D | CompileTest.cpp | 54 ASSERT_TRUE(CheckPath(CACHE_PATH) == PathType::FILE); in GenCacheFile() 55 ASSERT_TRUE(CheckPath(CACHE_INFO_PATH) == PathType::FILE); in GenCacheFile()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
D | CompileTest.cpp | 54 ASSERT_TRUE(CheckPath(CACHE_PATH) == PathType::FILE); in GenCacheFile() 55 ASSERT_TRUE(CheckPath(CACHE_INFO_PATH) == PathType::FILE); in GenCacheFile()
|