/foundation/ace/ace_engine/frameworks/core/components/common/properties/ |
D | decoration.cpp | 388 for (const auto& cache : caches_) { in ToString() local 389 switch (cache.first) { in ToString() 392 str.append(cache.second.cmds).append(" "); in ToString() 397 str.append(std::to_string(cache.second.para1)).append(","); in ToString() 398 str.append(std::to_string(cache.second.para2)).append(","); in ToString() 399 str.append(std::to_string(cache.second.para3)).append(","); in ToString() 400 str.append(std::to_string(cache.second.para4)).append(","); in ToString() 401 str.append(std::to_string(cache.second.para5)).append(","); in ToString() 402 str.append(std::to_string(cache.second.para6)).append(" "); in ToString() 407 str.append(std::to_string(cache.second.para1)).append(","); in ToString() [all …]
|
/foundation/graphic/standard/frameworks/wm/src/ |
D | wl_buffer_cache.cpp | 34 cache.clear(); in Deinit() 59 for (const auto &c : cache) { in GetWlBuffer() 91 cache.push_back(ele); in AddWlBuffer() 105 for (const auto &c : cache) { in GetSurfaceBuffer() 118 for (auto it = cache.begin(); it != cache.end(); it++) { in CleanCache() 127 cache.erase(it); in CleanCache()
|
D | window_manager_impl.cpp | 177 auto cache = windowCache; in GetWindowByID() local 179 for (const auto &wptrWindow : cache) { in GetWindowByID()
|
/foundation/communication/dsoftbus/core/connection/ble/src/ |
D | softbus_ble_trans_manager.c | 74 if (targetNode->recvCache[availableIndex].cache == NULL) { in FindAvailableCacheIndex() 75 targetNode->recvCache[availableIndex].cache = (char *)SoftBusCalloc(MAX_DATA_LEN); in FindAvailableCacheIndex() 76 if (targetNode->recvCache[availableIndex].cache == NULL) { in FindAvailableCacheIndex() 115 … if (memcpy_s(targetNode->recvCache[canIndex].cache + header.offset, MAX_DATA_LEN - header.offset, in BleTransRecv() 126 return targetNode->recvCache[canIndex].cache; in BleTransRecv() 140 if (targetNode->recvCache[index].cache != NULL) { in BleTransCacheFree() 141 SoftBusFree(targetNode->recvCache[index].cache); in BleTransCacheFree() 142 targetNode->recvCache[index].cache = NULL; in BleTransCacheFree()
|
/foundation/ace/ace_engine_lite/frameworks/packages/runtime-core/src/observer/ |
D | subject.js | 144 function hijack(target, key, cache) { argument 155 const subSubject = Subject.of(cache); 160 return cache; 163 cache = value;
|
/foundation/ace/ace_engine/frameworks/core/image/ |
D | image_cache.cpp | 46 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache, in CacheWithCountLimitLRU() argument 49 auto iter = cache.find(key); in CacheWithCountLimitLRU() 50 if (iter == cache.end()) { in CacheWithCountLimitLRU() 51 if (cache.size() == capacity) { in CacheWithCountLimitLRU() 52 cache.erase(cacheList.back().cacheKey); in CacheWithCountLimitLRU() 56 cache.emplace(key, cacheList.begin()); in CacheWithCountLimitLRU() 68 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache) in GetCacheObjWithCountLimitLRU() argument 70 auto iter = cache.find(key); in GetCacheObjWithCountLimitLRU() 71 if (iter != cache.end()) { in GetCacheObjWithCountLimitLRU()
|
D | image_cache.h | 181 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache, 188 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache);
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/include/ |
D | kvdb_manager.h | 85 const std::map<std::string, IKvDB *> &cache, bool isNeedCheckPasswd, int &errCode) const; 87 …sOpenMemoryDb(const KvDBProperties &properties, const std::map<std::string, IKvDB *> &cache) const; 121 …mCacheByIdentify(const std::string &identifier, const std::map<std::string, IKvDB *> &cache) const;
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gatt/ |
D | gatt_client_profile.cpp | 784 auto cache = pimpl->cacheMap_.find(connectHandle); in GetServices() local 785 if (cache != pimpl->cacheMap_.end()) { in GetServices() 786 return &cache->second.GetServices(); in GetServices() 794 auto cache = pimpl->cacheMap_.find(connectHandle); in GetCharacteristicEndHandle() local 795 if (cache != pimpl->cacheMap_.end()) { in GetCharacteristicEndHandle() 796 return cache->second.GetCharacteristicEndHandle(svcHandle, handle); in GetCharacteristicEndHandle() 812 auto cache = pimpl->cacheMap_.find(connectHandle); in GetService() local 813 if (cache != pimpl->cacheMap_.end()) { in GetService() 814 auto sIt = cache->second.GetServices().find(handle); in GetService() 815 if (sIt != cache->second.GetServices().end()) { in GetService() [all …]
|
/foundation/multimedia/histreamer/engine/pipeline/filters/muxer/ |
D | muxer_filter.cpp | 114 for (const auto& cache: capabilityCache_) { in Negotiate() local 115 auto tmp = FindAvailablePlugins(cache.second, Plugin::PluginType::MUXER); in Negotiate() 165 for (const auto& cache: metaCache_) { in ConfigureToStart() local 166 ret = AddTrackThenConfigure(cache); in ConfigureToStart() 168 …MEDIA_LOG_E("add and configure for track from inPort %" PUBLIC_LOG "s failed", cache.first.c_str()… in ConfigureToStart()
|
/foundation/graphic/standard/frameworks/surface/src/ |
D | buffer_queue_producer.cpp | 207 static std::map<int32_t, wptr<SurfaceBuffer>> cache; in RequestBuffer() local 221 cache[retval.sequence] = retval.buffer; in RequestBuffer() 226 retval.buffer = cache[retval.sequence].promote(); in RequestBuffer() 229 retval.buffer = cache[retval.sequence].promote(); in RequestBuffer() 237 cache.erase(buffer); in RequestBuffer()
|
/foundation/ace/ace_engine_lite/frameworks/common/ |
D | BUILD.gn | 35 "$ace_common_root/memory/cache", 48 "$ace_common_root/memory/cache/cache_manager.cpp",
|
/foundation/graphic/standard/frameworks/surface/test/unittest/ |
D | buffer_queue_test.cpp | 50 static inline std::map<int32_t, sptr<SurfaceBuffer>> cache; member in OHOS::Rosen::BufferQueueTest 142 cache[retval.sequence] = retval.buffer; 293 cache[retval2.sequence] = retval2.buffer; 330 retval.buffer = cache[retval.sequence]; 360 for (auto it = cache.begin(); it != cache.end(); it++) {
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/gavdp/a2dp_codec/sbclib/src/ |
D | sbc_frame.cpp | 532 #define PUT_BITS(data, cache, count, v, n) \ argument 534 cache = (v) | (cache << (n)); \ 539 (cache >> count); \ 542 (cache >> count); \ 546 #define FLUSH_BITS(data, cache, count) \ argument 551 (cache >> count); \ 555 (cache << (VALUE8 - count)); \
|
/foundation/multimedia/histreamer/ |
D | .gitignore | 5 .ccls-cache
|
/foundation/ace/ace_engine/frameworks/core/components_v2/common/ |
D | element_proxy.cpp | 292 LazyForEachCache cache(lazyForEachComponent_); in OnDataReloaded() local 294 count_ = cache.TotalCount(); in OnDataReloaded() 312 size_t newIdx = cache[child->GetId()]; in OnDataReloaded() 315 child->Update(cache[newIdx], startIndex_ + newIdx); in OnDataReloaded() 324 if (idx >= i && !cache.IsInCache(idx - i)) { in OnDataReloaded() 325 auto component = cache[idx - i]; in OnDataReloaded() 328 child->Update(cache[idx - i], startIndex_ + idx - i); in OnDataReloaded() 334 if (idx + i < count_ && !cache.IsInCache(idx + i)) { in OnDataReloaded() 335 auto component = cache[idx + i]; in OnDataReloaded() 338 child->Update(cache[idx + i], startIndex_ + idx + i); in OnDataReloaded()
|
/foundation/graphic/ui/frameworks/font/ |
D | ui_font_allocator.h | 57 void CombineFree(Chunk* cache);
|
/foundation/communication/dsoftbus/core/connection/ble/include/ |
D | softbus_ble_connection_inner.h | 42 char *cache; member
|
/foundation/graphic/standard/frameworks/wm/include/ |
D | wl_buffer_cache.h | 60 std::vector<WlBufferCache::BufferCache> cache; variable
|
/foundation/multimedia/audio_standard/frameworks/native/pulseaudio/ |
D | ohos_paconfig.sh | 23 …rm -rf autom4te.cache/ build-aux/ config.h config.h.in config.h.in~ config.log config.status confi…
|
/foundation/resourceschedule/memmgr/ |
D | README_zh.md | 84 在内存低负载时,可以将热点文件cache在内存中以提升性能(规划中)。
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/storage/src/ |
D | kvdb_manager.cpp | 399 …IsOpenMemoryDb(const KvDBProperties &properties, const std::map<std::string, IKvDB *> &cache) const in IsOpenMemoryDb() 402 auto iter = cache.find(identifier); in IsOpenMemoryDb() 403 if (iter != cache.end()) { in IsOpenMemoryDb() 457 const std::map<std::string, IKvDB *> &cache) const in GetKvDBFromCacheByIdentify() 459 auto iter = cache.find(identifier); in GetKvDBFromCacheByIdentify() 460 if (iter != cache.end()) { in GetKvDBFromCacheByIdentify() 697 …r::FindKvDBFromCache(const KvDBProperties &properties, const std::map<std::string, IKvDB *> &cache, in FindKvDBFromCache() argument 702 auto iter = cache.find(identifier); in FindKvDBFromCache() 703 if (iter != cache.end()) { in FindKvDBFromCache()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/common/src/ |
D | schema_object.cpp | 331 std::vector<uint8_t> cache; in VerifyValue() local 335 cache.assign(inValue.first + schemaSkipSize_, inValue.first + inValue.second); in VerifyValue() 336 rawValue = {cache.data(), cache.size()}; in VerifyValue() 349 TypeValue &outExtract, std::vector<uint8_t> *cache) const in ExtractValue() 367 } else if ((cache != nullptr) && (cache->size() >= (inValue.second - schemaSkipSize_))) { in ExtractValue() 369 cache->assign(inValue.first + schemaSkipSize_, inValue.first + inValue.second); in ExtractValue() 370 …rawValue = {cache->data(), inValue.second - schemaSkipSize_}; // Attention: Do not use cache.size(… in ExtractValue()
|
/foundation/ace/ace_engine_lite/frameworks/ |
D | CMakeLists.txt | 69 ${JSFWK_SOURCE_PATH}/base/cache 96 aux_source_directory(${JSFWK_SOURCE_PATH}/base/cache CACHE)
|
/foundation/ace/ace_engine_lite/frameworks/targets/simulator/ |
D | BUILD.gn | 35 "$ACE_LITE_COMMON_PATH/memory/cache/cache_manager.cpp",
|