Home
last modified time | relevance | path

Searched refs:CacheData (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/
H A Dcache_data_test.cpp59 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 Dcache_data.cpp31 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 Dcache_data.h29 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 Dshader_cache.cpp51 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 Dshader_cache.h79 std::unique_ptr<CacheData> cacheData_;
/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/
H A Daudio_server_sink_plugin_test.cpp348 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 Dbase_stream_demuxer.h47 class CacheData {
49 CacheData() {} in CacheData() function
50 ~CacheData() in ~CacheData()
H A Dstream_demuxer.h69 std::map<int32_t, CacheData> cacheDataMap_;
H A Dstream_demuxer.cpp215 CacheData cacheTmp; in PullDataWithoutCache()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/param/
H A Dproperties.cpp187 class CacheData { class
191CacheData(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 Dreport_data_cache.h40 int32_t CacheData(const struct SensorEvent *event, sptr<ReportDataCache> cache);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/include/
H A Daudio_dump_pcm.h44 virtual void CacheData(std::string &dumpFileName, void* dataPointer, size_t dataLength) = 0;
H A Daudio_dump_pcm_private.h80 void CacheData(std::string &dumpFileName, void* dataPointer, size_t dataLength) override;
/ohos5.0/base/sensors/medical_sensor/utils/src/
H A Dreport_data_cache.cpp54 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 Dfile_fd_source_plugin.h72 void CacheData();
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/
H A Dsoftbus_adapter.h95 Status CacheData(const std::string &deviceId, const DataInfo &dataInfo);
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/sink/
H A Daudio_server_sink_plugin.h179 void CacheData(uint8_t* inputBuffer, size_t bufferSize);
H A Daudio_server_sink_plugin.cpp878 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 Dsoftbus_adapter_standard.cpp360 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 Daudio_dump_pcm.cpp169 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 Daudio_process_in_server.cpp494 AudioCacheMgr::GetInstance().CacheData(dumpFileName_, buffer, bufferSize); in WriteDumpFile()
H A Dcapturer_in_server.cpp251 AudioCacheMgr::GetInstance().CacheData(dumpFileName_, in ReadData()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_effect_chain.cpp384 AudioCacheMgr::GetInstance().CacheData(fileName, buffer, len); in DumpEffectProcessData()
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_service.cpp116 DataCacheFunc cacheData = &ReportDataCache::CacheData; in InitDataCache()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp532 AudioCacheMgr::GetInstance().CacheData(dumpFileName_, static_cast<void *>(&data), len); in RenderFrame()

12