/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_on_size_change_function.cpp | 26 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 D | string.h | 384 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 D | sms_adapter.cpp | 82 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 D | json.h | 102 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 D | image_cache.cpp | 142 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 D | json.h | 104 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 D | file_operations_helper.cpp | 142 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 D | file_operations_helper_mock.cpp | 167 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 D | item_data_box.cpp | 103 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 D | rs_common_def.h | 413 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 D | file_metadata_stream.cpp | 453 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 D | storage_daemon_service_mock.h | 222 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override
|
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/ |
H A D | storage_daemon_proxy_mock.h | 83 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
|
H A D | storage_manager_proxy_mock.h | 103 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/ |
H A D | storage_daemon_communication.h | 87 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize);
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/ |
H A D | storage_daemon_proxy.h | 83 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
|
H A D | istorage_daemon.h | 95 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) = 0;
|
/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_daemon_proxy_mock.cpp | 224 int32_t StorageDaemonProxy::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_daemon_stub.cpp | 705 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 D | json.h | 968 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 D | storage_manager.cpp | 626 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 D | storage_daemon_communication.cpp | 615 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 D | mock_storage_manager_service.h | 322 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override
|
/foundation/filemanagement/storage_service/services/storage_manager/include/ipc/ |
H A D | storage_manager.h | 114 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_service_mock.h | 294 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override
|