Searched refs:CACHE_DIR (Results 1 – 7 of 7) sorted by relevance
33 const std::string CACHE_DIR = "./cache"; variable34 const std::string CACHE_PATH = CACHE_DIR + "/0.nncache";35 const std::string CACHE_INFO_PATH = CACHE_DIR + "/cache_info.nncache";
26 CreateFolder(CACHE_DIR); in SetUp()30 DeleteFolder(CACHE_DIR); in TearDown()37 .cacheDir = CACHE_DIR, in GenCacheFile()75 … ASSERT_EQ(OH_NN_SUCCESS, OH_NNCompilation_SetCache(compilation, CACHE_DIR.c_str(), CACHEVERSION));331 … ASSERT_EQ(OH_NN_SUCCESS, OH_NNCompilation_SetCache(compilation, CACHE_DIR.c_str(), CACHEVERSION));
30 CreateFolder(CACHE_DIR); in SetUp()34 DeleteFolder(CACHE_DIR); in TearDown()89 returnCode = OH_NNCompilation_SetCache(compilation, CACHE_DIR.c_str(), 1); in ConstructCompilation()
35 CreateFolder(CACHE_DIR); in SetUp()39 DeleteFolder(CACHE_DIR); in TearDown()