/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/ |
H A D | cache_data_test.cpp | 59 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(0, 0, 0, "TestDir"); 85 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(0, 0, 0, "TestDir"); 116 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(0, 0, 0, testFileDir); 144 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(0, 0, 0, testFileDir); 174 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(0, 0, 0, testFileDir); 204 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(2, 2, 4, testFileDir); 235 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(8, 8, 15, testFileDir); 274 std::shared_ptr<CacheData> cacheData = std::make_shared<CacheData>(4, 4, 6, testFileDir);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | cache_data.cpp | 31 CacheData::CacheData(const size_t maxKeySize, const size_t maxValueSize, in CacheData() function in OHOS::Rosen::CacheData 38 CacheData::~CacheData() {} in ~CacheData() 79 void CacheData::ReadFromFile() in ReadFromFile() 133 void CacheData::WriteToFile() in WriteToFile() 249 std::tuple<CacheData::ErrorCode, size_t> CacheData::Get(const void *key, const size_t keySize, in Get() 276 size_t CacheData::SerializedSize() const in SerializedSize() 396 bool CacheData::IfCleanFinished() in IfCleanFinished() 407 void CacheData::RandClean(const size_t cleanThreshold) in RandClean() 448 size_t CacheData::Clean(const size_t removeIndex) in Clean() 480 CacheData::DataPointer::~DataPointer() in ~DataPointer() [all …]
|
H A D | cache_data.h | 29 class CacheData { 39 CacheData(const size_t maxKeySize, const size_t maxValueSize, 42 ~CacheData(); 46 std::tuple<CacheData::ErrorCode, size_t> Get(const void *key, const size_t keySize, 80 CacheData(const CacheData&); 81 void operator=(const CacheData&);
|
H A D | shader_cache.cpp | 51 cacheData_ = std::make_unique<CacheData>(MAX_KEY_SIZE, MAX_VALUE_SIZE, totalSize, filePath_); in InitShaderCache() 111 CacheData::ErrorCode errorCode = CacheData::ErrorCode::NO_ERR; in Load() 113 std::tuple<CacheData::ErrorCode, size_t> res = {errorCode, valueSize}; in Load() 117 if (errorCode == CacheData::ErrorCode::VALUE_SIZE_TOO_SAMLL) { in Load() 136 if (errorCode != CacheData::ErrorCode::NO_ERR) { in Load()
|
H A D | shader_cache.h | 79 std::unique_ptr<CacheData> cacheData_;
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/ |
H A D | audio_server_sink_plugin_test.cpp | 348 audioServerSinkPlugin->CacheData(addr, config.size); 349 audioServerSinkPlugin->CacheData(addr, config.size); 354 audioServerSinkPlugin->CacheData(addr, config.size); 355 audioServerSinkPlugin->CacheData(addr, config.size); 356 audioServerSinkPlugin->CacheData(addr, config.size); 357 audioServerSinkPlugin->CacheData(addr, config.size); 358 audioServerSinkPlugin->CacheData(addr, config.size); 359 audioServerSinkPlugin->CacheData(addr, config.size); 360 audioServerSinkPlugin->CacheData(addr, config.size);
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/ |
H A D | base_stream_demuxer.h | 47 class CacheData { 49 CacheData() {} in CacheData() function 50 ~CacheData() in ~CacheData()
|
H A D | stream_demuxer.h | 69 std::map<int32_t, CacheData> cacheDataMap_;
|
H A D | stream_demuxer.cpp | 215 CacheData cacheTmp; in PullDataWithoutCache()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/param/ |
H A D | properties.cpp | 187 class CacheData { class 191 …CacheData(DataConverter converter, const T& defaultValue, PropType propType, const std::string& su… in CacheData() function in OHOS::HiviewDFX::CacheData 266 using SwitchCache = CacheData<bool>; 267 using LogLevelCache = CacheData<uint16_t>;
|
/ohos5.0/base/sensors/medical_sensor/utils/include/ |
H A D | report_data_cache.h | 40 int32_t CacheData(const struct SensorEvent *event, sptr<ReportDataCache> cache);
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/include/ |
H A D | audio_dump_pcm.h | 44 virtual void CacheData(std::string &dumpFileName, void* dataPointer, size_t dataLength) = 0;
|
H A D | audio_dump_pcm_private.h | 80 void CacheData(std::string &dumpFileName, void* dataPointer, size_t dataLength) override;
|
/ohos5.0/base/sensors/medical_sensor/utils/src/ |
H A D | report_data_cache.cpp | 54 int32_t ReportDataCache::CacheData(const struct SensorEvent* event, sptr<ReportDataCache> cache) in CacheData() function in OHOS::Sensors::ReportDataCache
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
H A D | file_fd_source_plugin.h | 72 void CacheData();
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/ |
H A D | softbus_adapter.h | 95 Status CacheData(const std::string &deviceId, const DataInfo &dataInfo);
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/sink/ |
H A D | audio_server_sink_plugin.h | 179 void CacheData(uint8_t* inputBuffer, size_t bufferSize);
|
H A D | audio_server_sink_plugin.cpp | 878 void AudioServerSinkPlugin::CacheData(uint8_t* inputBuffer, size_t bufferSize) in CacheData() function in OHOS::Media::Plugins::AudioServerSinkPlugin 951 CacheData(destBuffer, destLength); in Write() 961 CacheData(destBuffer + destLength - remained, remained); in Write()
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/ |
H A D | softbus_adapter_standard.cpp | 360 auto result = CacheData(deviceId.deviceId, dataInfo); in SendData() 372 Status SoftBusAdapter::CacheData(const std::string &deviceId, const DataInfo &dataInfo) in CacheData() function in OHOS::ObjectStore::SoftBusAdapter
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | audio_dump_pcm.cpp | 169 void AudioCacheMgrInner::CacheData(std::string &dumpFileName, void* srcDataPointer, size_t dataLeng… in CacheData() function in OHOS::AudioStandard::AudioCacheMgrInner
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_process_in_server.cpp | 494 AudioCacheMgr::GetInstance().CacheData(dumpFileName_, buffer, bufferSize); in WriteDumpFile()
|
H A D | capturer_in_server.cpp | 251 AudioCacheMgr::GetInstance().CacheData(dumpFileName_, in ReadData()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_effect_chain.cpp | 384 AudioCacheMgr::GetInstance().CacheData(fileName, buffer, len); in DumpEffectProcessData()
|
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | medical_service.cpp | 116 DataCacheFunc cacheData = &ReportDataCache::CacheData; in InitDataCache()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/ |
H A D | bluetooth_renderer_sink.cpp | 532 AudioCacheMgr::GetInstance().CacheData(dumpFileName_, static_cast<void *>(&data), len); in RenderFrame()
|