Searched defs:RamCache (Results 1 – 8 of 8) sorted by relevance
| /base/request/request/frameworks/native/cache_core/src/data/ |
| D | ram.rs | 25 pub struct RamCache { struct 32 impl Drop for RamCache { argument 45 impl RamCache { impl 81 pub(crate) fn finish_write(mut self) -> Arc<RamCache> { in finish_write() 148 impl Write for RamCache { implementation 159 pub(crate) fn update_ram_cache(&'static self, cache: Arc<RamCache>) { in update_ram_cache()
|
| D | file.rs | 105 cache: Arc<RamCache>, in try_create() 210 pub(super) fn update_file_cache(&'static self, task_id: TaskId, cache: Arc<RamCache>) { in update_file_cache() 229 pub(crate) fn update_ram_from_file(&'static self, task_id: &TaskId) -> Option<Arc<RamCache>> { in update_ram_from_file() 245 ) -> Option<Arc<RamCache>> { in update_ram_from_file_inner()
|
| /base/request/request/frameworks/native/cache_core/src/ |
| D | manage.rs | 70 pub fn fetch(&'static self, task_id: &TaskId) -> Option<Arc<RamCache>> { in fetch() 87 pub(crate) fn get_cache(&'static self, task_id: &TaskId) -> Option<Arc<RamCache>> { in get_cache()
|
| D | update.rs | 43 pub fn cache_finish(&mut self) -> Arc<RamCache> { in cache_finish()
|
| /base/request/request/frameworks/native/cache_download/tests/ut/download/ |
| D | ut_task.rs | 37 fn on_success(&mut self, data: Arc<RamCache>, _task_id: &str) { in on_success()
|
| /base/request/request/frameworks/native/cache_download/src/ |
| D | services.rs | 29 fn on_success(&mut self, data: Arc<RamCache>, task_id: &str) {} in on_success() 202 pub fn fetch(&'static self, url: &str) -> Option<Arc<RamCache>> { in fetch()
|
| D | wrapper.rs | 65 fn on_success(&mut self, data: Arc<RamCache>, task_id: &str) { in on_success()
|
| /base/request/request/frameworks/native/cache_download/tests/ut/ |
| D | ut_services.rs | 46 fn on_success(&mut self, data: Arc<RamCache>, _task_id: &str) { in on_success()
|