Home
last modified time | relevance | path

Searched refs:PathType (Results 1 – 9 of 9) sorted by relevance

/test/xts/acts/ai/neural_network_runtime/v1_0/common/
Dnnrt_utils.cpp323 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 …]
Dnnrt_utils.h87 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/
Dnnrt_utils.cpp323 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 …]
Dnnrt_utils.h87 enum class PathType { FILE, DIR, UNKNOWN, NOT_FOUND }; enum
88 PathType CheckPath(const std::string &path);
/test/xts/acts/ai/nncore/common/
Dnncore_utils.cpp359 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 …]
Dnncore_utils.h162 enum class PathType { FILE, DIR, UNKNOWN, NOT_FOUND }; enum
163 PathType CheckPath(const std::string &path);
/test/xts/acts/ai/nncore/nncoretest/src/
DHdiCompilationTest.cpp41 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/
DCompileTest.cpp54 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/
DCompileTest.cpp54 ASSERT_TRUE(CheckPath(CACHE_PATH) == PathType::FILE); in GenCacheFile()
55 ASSERT_TRUE(CheckPath(CACHE_INFO_PATH) == PathType::FILE); in GenCacheFile()