Searched refs:cacheTime (Results 1 - 10 of 10) sorted by relevance
/foundation/ability/idl_tool/ast/ |
H A D | ast_method.h | 75 void SetCacheable(int cacheTime) in SetCacheable() argument 78 cacheTime_ = cacheTime; in SetCacheable()
|
/foundation/ability/idl_tool/parser/ |
H A D | parser.h | 68 bool ParseMethodProperties(bool& oneway, bool& cacheable, int& cacheTime); 80 void SetMethodAttr(ASTMethod* method, ASTType *returnType, bool oneway, bool cacheable, int cacheTime);
|
H A D | parser.cpp | 231 bool Parser::ParseMethodProperties(bool& oneway, bool& cacheable, int& cacheTime) in ParseMethodProperties() argument 252 if (!lexer_.ParseCacheable(cacheTime)) { in ParseMethodProperties() 277 void Parser::SetMethodAttr(ASTMethod* method, ASTType *returnType, bool oneway, bool cacheable, int cacheTime) in SetMethodAttr() argument 283 method->SetCacheable(cacheTime); in SetMethodAttr() 378 int cacheTime; in ParseMethod() local 380 if ((token == Token::BRACKETS_LEFT) && (ParseMethodProperties(oneway, cacheable, cacheTime) == false)) { in ParseMethod() 395 SetMethodAttr(method, type, oneway, cacheable, cacheTime); in ParseMethod()
|
H A D | lexer.h | 78 bool ParseCacheable(int& cacheTime);
|
H A D | lexer.cpp | 364 bool Lexer::ParseCacheable(int& cacheTime) in ParseCacheable() argument 393 ret = strToInt(numberStr.string(), numberStr.GetLength(), cacheTime); in ParseCacheable()
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_file_cache.cpp | 170 auto cacheTime = time(nullptr); in SaveCacheInner() local 180 infoIter->accessTime = cacheTime; in SaveCacheInner() 183 cacheFileInfo_.emplace_front(cacheFileName, cacheSize, cacheTime, in SaveCacheInner()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
H A D | file_fd_source_plugin.cpp | 685 float cacheTime = GetCacheTime(avgDownloadSpeed_ / currentBitRate_); in UpdateWaterLineAbove() local 686 MEDIA_LOG_I("cacheTime: " PUBLIC_LOG_F "avgDownloadSpeed_: " PUBLIC_LOG_F in UpdateWaterLineAbove() 687 "currentBitRate: " PUBLIC_LOG_D32, cacheTime, avgDownloadSpeed_, currentBitRate_); in UpdateWaterLineAbove() 688 waterLineAbove_ = cacheTime * currentBitRate_ > GetLastSize(cachePosition_.load()) ? in UpdateWaterLineAbove() 689 GetLastSize(cachePosition_.load()) : cacheTime * currentBitRate_; in UpdateWaterLineAbove()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/ |
H A D | http_media_downloader.cpp | 1215 float cacheTime = 0; in UpdateWaterLineAbove() local 1219 cacheTime = GetCacheDuration(ratio); in UpdateWaterLineAbove() 1221 cacheTime = DEFAULT_CACHE_TIME; in UpdateWaterLineAbove() 1223 waterLineAbove = static_cast<size_t>(cacheTime * currentBitRate_ / BYTES_TO_BIT); in UpdateWaterLineAbove()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | hls_media_downloader.cpp | 1465 float cacheTime = 0; in UpdateWaterLineAbove() local 1470 cacheTime = GetCacheDuration(ratio); in UpdateWaterLineAbove() 1472 cacheTime = DEFAULT_CACHE_TIME; in UpdateWaterLineAbove() 1474 waterLineAbove = static_cast<size_t>(cacheTime * currentBitRate_ / BYTES_TO_BIT); in UpdateWaterLineAbove()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | renderer_in_client.cpp | 621 int64_t cacheTime = static_cast<int64_t>(cacheTimeDsp + cacheTimePa) * AUDIO_NS_PER_US; in GetAudioTime() local 629 int64_t cacheTimeNow = cacheTime - deltaTimeStamp + deltaPaWriteIndexNs; in GetAudioTime()
|
Completed in 18 milliseconds