Home
last modified time | relevance | path

Searched refs:oldContent (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dobject_hierarchy_observer.cpp181 const auto oldContent = content_; in NotifyContentChangeOp() local
187 if (oldContent != newContent) { in NotifyContentChangeOp()
188 if (oldContent) { in NotifyContentChangeOp()
189 change.object = oldContent; in NotifyContentChangeOp()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon.cpp1249 static bool ReadFileToString(const std::string& pathInst, std::string& oldContent) in ReadFileToString() argument
1258 std::getline(fd, oldContent); in ReadFileToString()
1259 LOGE("StorageDaemon::ReadFileToString %{public}s", oldContent.c_str()); in ReadFileToString()
1287 std::string oldContent; in UpdateMemoryPara() local
1288 if (!ReadFileToString(VFS_CACHE_PRESSURE, oldContent)) { in UpdateMemoryPara()
1291 if (!oldContent.empty()) { in UpdateMemoryPara()
1292 oldSize = std::stoi(oldContent); in UpdateMemoryPara()
/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.cpp1391 bool AVSessionService::SaveAvQueueInfo(std::string& oldContent, const std::string &bundleName, in SaveAvQueueInfo() argument
1394 nlohmann::json values = json::parse(oldContent, nullptr, false); in SaveAvQueueInfo()
1459 std::string oldContent; in AddAvQueueInfoToFile() local
1460 if (!LoadStringFromFileEx(GetAVQueueDir(), oldContent)) { in AddAvQueueInfoToFile()
1465 if (!SaveAvQueueInfo(oldContent, bundleName, meta, session.GetUserId())) { in AddAvQueueInfoToFile()
1989 std::string oldContent; in DeleteHistoricalRecord() local
1992 if (!LoadStringFromFileEx(GetAVSortDir(userId), oldContent)) { in DeleteHistoricalRecord()
1996 values = json::parse(oldContent, nullptr, false); in DeleteHistoricalRecord()
2025 std::string oldContent; in DeleteAVQueueInfoRecord() local
2028 if (!LoadStringFromFileEx(GetAVQueueDir(userId), oldContent)) { in DeleteAVQueueInfoRecord()
[all...]
H A Davsession_service.h424 bool SaveAvQueueInfo(std::string& oldContent, const std::string &bundleName,
/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionservice_fuzzer/
H A Davsessionservice_fuzzer.cpp599 std::string oldContent; in SaveAvQueueInfo001() local
600 if (!avsessionService_->LoadStringFromFileEx(avsessionService_->GetAVQueueDir(), oldContent)) { in SaveAvQueueInfo001()
604 avsessionService_->SaveAvQueueInfo(oldContent, g_testAnotherBundleName, meta, in SaveAvQueueInfo001()
/foundation/multimedia/av_session/services/session/server/test/
H A Davsession_service_test.cpp754 std::string oldContent; in HWTEST_F() local
755 if (!avservice_->LoadStringFromFileEx(avservice_->GetAVQueueDir(), oldContent)) { in HWTEST_F()
760 avservice_->SaveAvQueueInfo(oldContent, g_testAnotherBundleName, meta, in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp4866 auto oldContent = record.previewContent;
4867 auto oldPreviewLength = static_cast<int32_t>(StringUtils::ToWstring(oldContent).length());
4873 StringUtils::ToString(StringUtils::ToWstring(oldContent)

Completed in 25 milliseconds