Home
last modified time | relevance | path

Searched refs:rootPtr (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/base/web/webview/test/unittest/nweb_config_helper_test/
H A Dnweb_config_helper_test.cpp269 xmlNodePtr rootPtr = nullptr; variable
284 EXPECT_NE(rootPtr, nullptr);
286 xmlAddChild(rootPtr, childNodePtr);
303 EXPECT_NE(rootPtr, nullptr);
305 xmlAddChild(rootPtr, childNodePtr);
319 EXPECT_NE(rootPtr, nullptr);
321 xmlAddChild(rootPtr, childNodePtr);
335 EXPECT_NE(rootPtr, nullptr);
337 xmlAddChild(rootPtr, childNodePtr);
354 EXPECT_NE(rootPtr, nullptr);
[all …]
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_config_test.cpp149 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); variable
150 if (rootPtr == nullptr || rootPtr->name == nullptr ||
151 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) {
156 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode…
196 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); variable
197 if (rootPtr == nullptr || rootPtr->name == nullptr ||
198 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) {
203 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode…
/ohos5.0/base/web/webview/ohos_nweb/src/
H A Dnweb_config_helper.cpp156 void NWebConfigHelper::ReadConfig(const xmlNodePtr &rootPtr, std::shared_ptr<NWebEngineInitArgsImpl… in ReadConfig() argument
158 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode… in ReadConfig()
242 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in ParseWebConfigXml() local
243 if (rootPtr == nullptr || rootPtr->name == nullptr || in ParseWebConfigXml()
244 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar *>("WEB"))) { in ParseWebConfigXml()
250 xmlNodePtr initNodePtr = GetChildrenNode(rootPtr, INIT_CONFIG); in ParseWebConfigXml()
256 ReadConfig(rootPtr, initArgs); in ParseWebConfigXml()
259 xmlNodePtr deleteNodePtr = GetChildrenNode(rootPtr, DELETE_CONFIG); in ParseWebConfigXml()
266 xmlNodePtr perfNodePtr = GetChildrenNode(rootPtr, PERFORMANCE_CONFIG); in ParseWebConfigXml()
270 xmlNodePtr adapterNodePtr = GetChildrenNode(rootPtr, BASE_WEB_CONFIG); in ParseWebConfigXml()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_scene_config_test.cpp170 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); variable
171 if (rootPtr == nullptr || rootPtr->name == nullptr ||
172 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) {
177 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode…
212 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); variable
213 if (rootPtr == nullptr || rootPtr->name == nullptr ||
214 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) {
219 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode…
259 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); variable
260 if (rootPtr == nullptr || rootPtr->name == nullptr ||
[all …]
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_config.cpp92 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in LoadConfigXml() local
93 if (rootPtr == nullptr || rootPtr->name == nullptr || in LoadConfigXml()
94 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in LoadConfigXml()
100 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode… in LoadConfigXml()
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_config.cpp109 void WindowManagerConfig::ReadConfig(const xmlNodePtr& rootPtr, std::map<std::string, ConfigItem>& … in ReadConfig() argument
111 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode… in ReadConfig()
175 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in LoadConfigXml() local
176 if (rootPtr == nullptr || rootPtr->name == nullptr || in LoadConfigXml()
177 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in LoadConfigXml()
185 ReadConfig(rootPtr, *config_.mapValue_); in LoadConfigXml()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dwindow_scene_config.cpp130 void WindowSceneConfig::ReadConfig(const xmlNodePtr& rootPtr, std::map<std::string, ConfigItem>& ma… in ReadConfig() argument
132 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode… in ReadConfig()
196 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in LoadConfigXml() local
197 if (rootPtr == nullptr || rootPtr->name == nullptr || in LoadConfigXml()
198 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in LoadConfigXml()
206 ReadConfig(rootPtr, *config_.mapValue_); in LoadConfigXml()
H A Dscreen_scene_config.cpp157 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in LoadConfigXml() local
158 if (rootPtr == nullptr || rootPtr->name == nullptr || in LoadConfigXml()
159 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in LoadConfigXml()
164 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode… in LoadConfigXml()
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_manager_config_test.cpp153 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in ReadConfig() local
154 if (rootPtr == nullptr || rootPtr->name == nullptr || in ReadConfig()
155 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in ReadConfig()
162 WindowManagerConfig::ReadConfig(rootPtr, *config.mapValue_); in ReadConfig()
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dwindow_scene_config_test.cpp164 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in ReadConfig() local
165 if (rootPtr == nullptr || rootPtr->name == nullptr || in ReadConfig()
166 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in ReadConfig()
173 WindowSceneConfig::ReadConfig(rootPtr, *cfgItem.mapValue_); in ReadConfig()
H A Dscene_session_manager_test2.cpp49 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in ReadConfig() local
50 if (rootPtr == nullptr || rootPtr->name == nullptr || in ReadConfig()
51 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in ReadConfig()
58 WindowSceneConfig::ReadConfig(rootPtr, *config.mapValue_); in ReadConfig()
H A Dscene_session_manager_test3.cpp48 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in ReadConfig() local
49 if (rootPtr == nullptr || rootPtr->name == nullptr || in ReadConfig()
50 xmlStrcmp(rootPtr->name, reinterpret_cast<const xmlChar*>("Configs"))) { in ReadConfig()
57 WindowSceneConfig::ReadConfig(rootPtr, *config.mapValue_); in ReadConfig()
/ohos5.0/base/powermgr/power_manager/services/native/src/
H A Dpower_save_mode.cpp68 auto rootPtr = xmlDocGetRootElement(docPtr.get()); in StartXMlParse() local
69 if (!IsNodeLegal(rootPtr, TAG_ROOT)) { in StartXMlParse()
74 for (auto nodePtr = rootPtr->xmlChildrenNode; nodePtr != nullptr; nodePtr = nodePtr->next) { in StartXMlParse()
/ohos5.0/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/
H A Dpara_config.cpp42 xmlNodePtr rootPtr = xmlDocGetRootElement(docPtr); in IsXmlPrepared() local
43 if (rootPtr == nullptr || rootPtr->name == nullptr) { in IsXmlPrepared()
48 …for (xmlNodePtr curNodePtr = rootPtr->xmlChildrenNode; curNodePtr != nullptr; curNodePtr = curNode… in IsXmlPrepared()
/ohos5.0/base/web/webview/ohos_nweb/include/
H A Dnweb_config_helper.h40 void ReadConfig(const xmlNodePtr &rootPtr, std::shared_ptr<NWebEngineInitArgsImpl> initArgs);
45 …void ParseDeleteConfig(const xmlNodePtr &rootPtr, std::shared_ptr<NWebEngineInitArgsImpl> initArgs…
/ohos5.0/foundation/window/window_manager/wmserver/include/
H A Dwindow_manager_config.h48 static void ReadConfig(const xmlNodePtr& rootPtr, std::map<std::string, ConfigItem>& mapValue);
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dwindow_scene_config.h49 static void ReadConfig(const xmlNodePtr& rootPtr, std::map<std::string, ConfigItem>& mapValue);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_api.cpp1321 ArkUI_Int32 MeasureLayoutAndDraw(ArkUIVMContext vmContext, ArkUINodeHandle rootPtr) in MeasureLayoutAndDraw() argument
1323 auto* root = reinterpret_cast<FrameNode*>(rootPtr); in MeasureLayoutAndDraw()
1328 MeasureNode(vmContext, rootPtr, &measureData[0]); in MeasureLayoutAndDraw()
1331 LayoutNode(vmContext, rootPtr, &layoutData); in MeasureLayoutAndDraw()
1334 DrawNode(vmContext, rootPtr, &drawData[0]); in MeasureLayoutAndDraw()