/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string.h | 384 if (const auto oldSize = length(); size < oldSize) { in resize() local 467 if (off > oldSize) { in erase() 518 if (pos > oldSize) { in insert() 519 pos = oldSize; in insert() 541 if (pos < oldSize) { in insert() 567 ptr[oldSize] = a; in push_back() 568 ptr[oldSize + 1] = '\0'; in push_back() 569 set_size(oldSize + 1); in push_back() 603 size_type oldSize; in append() local 852 if (oldSize) { in allocate() [all …]
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_cache.cpp | 118 size_t oldSize = !inCache ? 0 : iter->second->cacheObj->GetSize(); in CacheImageData() local 122 curDataSize_ -= oldSize; in CacheImageData() 131 } else if (!largerHalfSize && inCache && oldSize >= dataSize) { in CacheImageData() 133 curDataSize_ = curDataSize_ + dataSize - oldSize; in CacheImageData() 137 } else if (!largerHalfSize && inCache && oldSize < dataSize) { in CacheImageData() 139 curDataSize_ -= oldSize; in CacheImageData()
|
/ohos5.0/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()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | mapped_file.cpp | 388 off_t oldSize = size_; in TurnNext() local 403 offset_ += oldSize; in TurnNext() 413 size_ = oldSize; in TurnNext() 421 if (curEnd + oldSize > rEnd_) { // otherwise keep original "size_" in TurnNext() 424 data_ += oldSize; in TurnNext() 425 offset_ += oldSize; in TurnNext()
|
/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | image_patch.cpp | 47 if (srcStart > param.oldSize || param.oldSize - srcStart < srcLen || in ApplyImagePatch() 50 srcStart, srcLen, param.oldSize, patchOffset); in ApplyImagePatch() 100 if (header.srcStart > param.oldSize || param.oldSize - header.srcStart < header.srcLength || in StartReadHeader() 103 header.srcStart, header.srcLength, param.oldSize, header.patchOffset); in StartReadHeader()
|
/ohos5.0/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()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | file_operations_helper_mock.cpp | 169 size_t oldSize = size; in AddDirEntry() local 172 fuse_add_direntry(req, &buf[oldSize], size - oldSize, name, &ino->stat, size); in AddDirEntry()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/async_stack/ |
H A D | stack_table_test.cpp | 56 uint32_t oldSize = stackTable->GetTabelSize(); variable 63 ASSERT_NE(stackTable->GetTabelSize(), oldSize);
|
/ohos5.0/base/update/updater/test/unittest/package/ |
H A D | pkg_manager_unittest.cpp | 422 size_t oldSize = uncompressedData.size(); in TestDecompressLz4() local 424 uncompressedData.resize(oldSize * ((start + size) / oldSize + 1)); in TestDecompressLz4() 532 size_t oldSize = uncompressedData.size(); in TestDecompressGzip() local 534 uncompressedData.resize(oldSize * ((start + size) / oldSize + 1)); in TestDecompressGzip()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_data_box.cpp | 118 size_t oldSize = dest->size(); in ReadData() local 122 dest->resize(static_cast<size_t>(oldSize + extent.length)); in ReadData() 123 … stream->Read(reinterpret_cast<char*>(dest->data()) + oldSize, static_cast<size_t>(extent.length)); in ReadData()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_common_def.h | 427 typename Container::size_type oldSize = container.size(); in EraseIf() local 436 return oldSize - container.size(); in EraseIf()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | file_metadata_stream.cpp | 453 ssize_t oldSize = GetSize(); in CopyFrom() local 479 if (totalBytesWritten < oldSize) { in CopyFrom()
|
/ohos5.0/base/update/updater/services/include/patch/ |
H A D | update_patch.h | 26 size_t oldSize; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/ |
H A D | json.h | 968 const size_t oldSize = out.size(); in CORE_BEGIN_NAMESPACE() local 969 out.resize(oldSize + size); in CORE_BEGIN_NAMESPACE() 975 …out.data() + oldSize, newSize + 1 - oldSize, static_cast<size_t>(size), FLOATING_FORMAT_STR, float… in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/ |
H A D | storage_daemon_communication.h | 77 int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize);
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_daemon_stub.cpp | 638 int32_t oldSize = 0; in HandleUpdateMemoryPara() local 639 int err = UpdateMemoryPara(size, oldSize); in HandleUpdateMemoryPara() 643 if (!reply.WriteInt32(oldSize)) { in HandleUpdateMemoryPara()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/ |
H A D | istorage_daemon.h | 85 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) = 0;
|
H A D | storage_daemon_proxy.h | 73 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/storage_daemon_communication/src/ |
H A D | storage_daemon_communication.cpp | 562 int32_t StorageDaemonCommunication::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument 574 return storageDaemon_->UpdateMemoryPara(size, oldSize); in UpdateMemoryPara()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/include/mock/ |
H A D | storage_daemon_proxy_mock.h | 73 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override;
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_daemon_proxy_mock.cpp | 207 int32_t StorageDaemonProxy::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A D | storage_daemon_service_mock.h | 200 virtual int32_t UpdateMemoryPara(int32_t size, int32_t &oldSize) override in UpdateMemoryPara() argument
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager.cpp | 586 int32_t StorageManager::UpdateMemoryPara(int32_t size, int32_t &oldSize) in UpdateMemoryPara() argument 590 return sdCommunication->UpdateMemoryPara(size, oldSize); in UpdateMemoryPara()
|