Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 - 25 of 43) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_on_size_change_function.cpp26 JSRef<JSObject> oldSize = JSRef<JSObject>::New(); in Execute() local
28 oldSize->SetProperty<double>("width", PipelineBase::Px2VpWithCurrentDensity(oldRect.Width())); in Execute()
29 oldSize->SetProperty<double>("height", PipelineBase::Px2VpWithCurrentDensity(oldRect.Height())); in Execute()
33 params[0] = oldSize; in Execute()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring.h384 if (const auto oldSize = length(); size < oldSize) { in resize()
386 } else if (size > oldSize) { in resize()
388 const auto ptr = data() + oldSize; in resize()
391 const auto count = size - oldSize; in resize()
466 const auto oldSize = size(); in erase() local
467 if (off > oldSize) { in erase()
472 auto newSize = oldSize; in erase()
474 if (count < (oldSize - off)) { in erase()
477 const auto srcSize = oldSize in erase()
517 const auto oldSize = size(); insert() local
559 const auto oldSize = size(); push_back() local
576 const auto oldSize = size(); append() local
603 size_type oldSize; append() local
851 const auto oldSize = length(); allocate() local
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/
H A Dsms_adapter.cpp82 int32_t oldSize = BConstants::DEFAULT_VFS_CACHE_PRESSURE; in UpdateMemPara() local
83 if (storageMgr->UpdateMemoryPara(size, oldSize)) { in UpdateMemPara()
87 return oldSize; in UpdateMemPara()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Djson.h102 const size_t oldSize = out.size(); in append() local
103 out.resize(oldSize + size); in append()
108 snprintf_s(out.data() + oldSize, newSize + 1 - oldSize, size, FLOATING_FORMAT_STR, floatingPoint); in append()
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_cache.cpp142 size_t oldSize = !inCache ? 0 : iter->second->cacheObj->GetSize(); in CacheImageData() local
146 curDataSize_ -= oldSize; in CacheImageData()
155 } else if (!largerHalfSize && inCache && oldSize >= dataSize) { in CacheImageData()
156 // if the image is in the cache, and dataSize <= oldSize, we can replace the imageData in cache. in CacheImageData()
157 curDataSize_ = curDataSize_ + dataSize - oldSize; in CacheImageData()
161 } else if (!largerHalfSize && inCache && oldSize < dataSize) { in CacheImageData()
162 // if the image is in the cache, and dataSize > oldSize, we erase the old one, the try to cache the new image. in CacheImageData()
163 curDataSize_ -= oldSize; in CacheImageData()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/include/util/
H A Djson.h104 const size_t oldSize = out.size(); in append() local
105 out.resize(oldSize + size); in append()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/
H A Dfile_operations_helper.cpp142 size_t oldSize = size; in AddDirEntry() local
145 fuse_add_direntry(req, &buf[oldSize], size - oldSize, name, &ino->stat, size); in AddDirEntry()
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/
H A Dfile_operations_helper_mock.cpp167 size_t oldSize = size; in AddDirEntry() local
170 fuse_add_direntry(req, &buf[oldSize], size - oldSize, name, &ino->stat, size); in AddDirEntry()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_data_box.cpp103 size_t oldSize = dest->size();
107 dest->resize(static_cast<size_t>(oldSize + extent.length));
108 stream->Read(reinterpret_cast<char*>(dest->data()) + oldSize, static_cast<size_t>(extent.length));
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_common_def.h413 typename Container::size_type oldSize = container.size(); in EraseIf() local
422 return oldSize - container.size(); in EraseIf()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dfile_metadata_stream.cpp453 ssize_t oldSize = GetSize(); in CopyFrom() local
478 // Truncate the file only if totalBytesWritten is less than oldSize in CopyFrom()
479 if (totalBytesWritten < oldSize) { in CopyFrom()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_service_mock.h222 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/
H A Dstorage_daemon_proxy_mock.h83 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
H A Dstorage_manager_proxy_mock.h103 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/
H A Dstorage_daemon_communication.h87 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize);
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon_proxy.h83 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
H A Distorage_daemon.h95 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) = 0;
/foundation/filemanagement/storage_service/services/storage_manager/mock/
H A Dstorage_daemon_proxy_mock.cpp224 int32_t StorageDaemonProxy::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon_stub.cpp705 int32_t oldSize = 0; in HandleUpdateMemoryPara() local
706 int err = UpdateMemoryPara(size, oldSize); in HandleUpdateMemoryPara()
710 if (!reply.WriteInt32(oldSize)) { in HandleUpdateMemoryPara()
711 LOGE("StorageManagerStub::HandleUpdateMemoryPara call Write oldSize failed"); in HandleUpdateMemoryPara()
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/
H A Djson.h968 const size_t oldSize = out.size();
969 out.resize(oldSize + size);
975 out.data() + oldSize, newSize + 1 - oldSize, static_cast<size_t>(size), FLOATING_FORMAT_STR, floatingPoint);
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/
H A Dstorage_manager.cpp626 int32_t StorageManager::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument
630 return sdCommunication->UpdateMemoryPara(size, oldSize); in UpdateMemoryPara()
/foundation/filemanagement/storage_service/services/storage_manager/storage_daemon_communication/src/
H A Dstorage_daemon_communication.cpp615 int32_t StorageDaemonCommunication::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument
627 return storageDaemon_->UpdateMemoryPara(size, oldSize); in UpdateMemoryPara()
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/
H A Dmock_storage_manager_service.h322 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override
/foundation/filemanagement/storage_service/services/storage_manager/include/ipc/
H A Dstorage_manager.h114 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/
H A Dstorage_manager_service_mock.h294 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override

Completed in 18 milliseconds

12