/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nncompiled_cache.cpp | 222 std::string cachePath = path; in GenerateCacheModel() local 224 std::string cacheModelFile = cachePath + "/" + m_modelName + std::to_string(i) + ".nncache"; in GenerateCacheModel() 277 std::string cachePath = path; in WriteCacheInfo() local 278 std::string cacheInfoPath = cachePath + "/" + m_modelName + "cache_info.nncache"; in WriteCacheInfo() 438 OH_NN_ReturnCode NNCompiledCache::VerifyCachePath(const std::string& cachePath) const in VerifyCachePath() 441 if (cachePath.find(ROOT_DIR_STR) != size_t(0)) { in VerifyCachePath() 444 cachePath.c_str()); in VerifyCachePath() 449 if (cachePath.find(DOUBLE_SLASH_STR) != std::string::npos) { in VerifyCachePath() 452 cachePath.c_str()); in VerifyCachePath()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/ipc/ |
H A D | cloud_daemon.cpp | 172 …string cachePath = LOCAL_PATH_DATA_SERVICE_EL2 + to_string(userId) + LOCAL_PATH_HMDFS_DENTRY_CACHE; in StartFuse() local 173 if (mkdir(cachePath.c_str(), STAT_MODE_DIR) != 0 && errno != EEXIST) { in StartFuse() 177 if (chmod(cachePath.c_str(), STAT_MODE_DIR_DENTRY_CACHE) != 0) { in StartFuse() 180 if (chown(cachePath.c_str(), OID_DFS, OID_DFS) != 0) { in StartFuse()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | neural_network_core.cpp | 321 const char *cachePath, in OH_NNCompilation_SetCache() argument 329 if (cachePath == nullptr) { in OH_NNCompilation_SetCache() 335 compilationImpl->cachePath = const_cast<char*>(cachePath); in OH_NNCompilation_SetCache() 438 if (compilation->cachePath != nullptr) { in SetCompilationOptions() 512 } else if (compilation->cachePath != nullptr) { in CheckExceedRamLimit() 513 ret = nnrtService.CheckModelSizeFromPath(compilation->cachePath, isExceedRamLimit); in CheckExceedRamLimit() 638 } else if (compilationImpl->cachePath != nullptr) { in GetNnrtModelId() 640 nnrtService.GetNNRtModelIDFromCache(compilationImpl->cachePath, modelName.c_str()); in GetNnrtModelId() 1246 std::string cachePath = ""; in Scheduling() local 1247 if (compilationImpl->cachePath != nullptr) { in Scheduling() [all …]
|
H A D | compilation.h | 34 char* cachePath {nullptr};
|
H A D | nnrt_client.h | 40 … int (*Scheduling)(uint32_t hiaiModelId, bool* needModelLatency, const char* cachePath) = nullptr;
|
H A D | cpp_type.h | 65 std::string cachePath; member
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiocreaterender_fuzzer/ |
H A D | audiocreaterender_fuzzer.cpp | 96 std::string cachePath(reinterpret_cast<const char*>(data), size); in AudioCreateRenderFuzzTest() 98 adapter.Create(rendererOptions, cachePath); in AudioCreateRenderFuzzTest()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_audio_capturer_adapter_wrapper.cpp | 30 const std::shared_ptr<NWeb::AudioCapturerOptionsAdapter> capturerOptions, std::string cachePath) in Create() argument 32 ArkWebString str = ArkWebStringClassToStruct(cachePath); in Create()
|
H A D | ark_audio_renderer_adapter_wrapper.cpp | 30 const std::shared_ptr<NWeb::AudioRendererOptionsAdapter> options, std::string cachePath) in Create() argument 32 ArkWebString str = ArkWebStringClassToStruct(cachePath); in Create()
|
H A D | ark_audio_capturer_adapter_wrapper.h | 30 std::string cachePath = std::string()) override;
|
H A D | ark_audio_renderer_adapter_wrapper.h | 30 std::string cachePath = std::string()) override;
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_audio_capturer_adapter_impl.cpp | 31 const ArkWebRefPtr<ArkAudioCapturerOptionsAdapter> capturerOptions, ArkWebString& cachePath) in Create() argument 33 std::string str = ArkWebStringStructToClass(cachePath); in Create()
|
H A D | ark_audio_renderer_adapter_impl.cpp | 31 const ArkWebRefPtr<ArkAudioRendererOptionsAdapter> options, ArkWebString& cachePath) in Create() argument 33 std::string str = ArkWebStringStructToClass(cachePath); in Create()
|
H A D | ark_audio_capturer_adapter_impl.h | 30 …const ArkWebRefPtr<ArkAudioCapturerOptionsAdapter> capturerOptions, ArkWebString& cachePath) overr…
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/toneplayer/src/ |
H A D | toneplayer_impl.cpp | 58 TonePlayerImpl::TonePlayerImpl(const std::string cachePath, const AudioRendererInfo &rendereInfo) in TonePlayerImpl() argument 78 if (!cachePath.empty()) { in TonePlayerImpl() 80 cachePath_.assign(cachePath); in TonePlayerImpl() 103 std::shared_ptr<TonePlayer> TonePlayer::Create(const std::string cachePath, const AudioRendererInfo… in Create() argument 107 return std::make_shared<TonePlayerImpl>(cachePath, rendererInfo); in Create()
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiocapturer_fuzzer/ |
H A D | audiocaptureradapter_fuzzer.cpp | 84 std::string cachePath(reinterpret_cast<const char*>(data), size); in AudioCapturerFuzzTest() 87 adapter.Create(capturerOptions, cachePath); in AudioCapturerFuzzTest()
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocapturer/include/ |
H A D | audio_capturer.h | 192 …unique_ptr<AudioCapturer> Create(const AudioCapturerOptions &options, const std::string cachePath); 204 …:unique_ptr<AudioCapturer> Create(const AudioCapturerOptions &options, const std::string cachePath, 439 virtual void SetApplicationCachePath(const std::string cachePath) = 0;
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_photo_operations.h | 114 const std::string &cachePath); 116 const std::shared_ptr<FileAsset> &fileAsset, const std::string &cachePath); 118 const std::shared_ptr<FileAsset> &fileAsset, const std::string &cachePath); 125 const std::string &cachePath, const std::string &destPath);
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiorenderer/include/ |
H A D | audio_renderer.h | 218 static std::unique_ptr<AudioRenderer> Create(const std::string cachePath, 231 static std::unique_ptr<AudioRenderer> Create(const std::string cachePath, 715 virtual void SetApplicationCachePath(const std::string cachePath) = 0;
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | moving_photo_file_utils.cpp | 350 string cachePath = GetLivePhotoCachePath(movingPhotoImagepath, userId); in ConvertToLivePhoto() local 351 if (MediaFileUtils::IsFileExists(cachePath)) { in ConvertToLivePhoto() 352 livePhotoPath = cachePath; in ConvertToLivePhoto() 371 if (MediaFileUtils::CreateAsset(cachePath) != E_OK) { in ConvertToLivePhoto() 372 MEDIA_ERR_LOG("Failed to create file, path:%{private}s", cachePath.c_str()); in ConvertToLivePhoto() 376 CHECK_AND_RETURN_RET_LOG(PathToRealPath(cachePath, absCachePath), in ConvertToLivePhoto() 377 …E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", cachePath.c_str(), errno); in ConvertToLivePhoto()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | ace_view.h | 141 void SetCachePath(const std::string& cachePath) in SetCachePath() argument 143 cachePath_ = cachePath; in SetCachePath()
|
/ohos5.0/base/web/webview/ohos_adapter/audio_adapter/src/ |
H A D | audio_capturer_adapter_mock.cpp | 21 const std::shared_ptr<AudioCapturerOptionsAdapter> capturerOptions, std::string cachePath) in Create() argument
|
H A D | audio_renderer_adapter_mock.cpp | 22 const std::shared_ptr<AudioRendererOptionsAdapter> rendererOptions, std::string cachePath) in Create() argument
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/ |
H A D | end_to_end_test.cpp | 381 const fs::path cachePath{CACHE_DIR}; variable 382 ASSERT_EQ(false, fs::exists(cachePath)); 383 ASSERT_EQ(true, fs::create_directory(cachePath)); 388 ASSERT_EQ(false, fs::is_empty(cachePath)); 428 ASSERT_GT(fs::remove_all(cachePath), (std::uintmax_t)1);
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/toneplayer/include/ |
H A D | tone_player.h | 81 …static std::shared_ptr<TonePlayer> Create(const std::string cachePath, const AudioRendererInfo &re…
|