Searched refs:elementsObject (Results 1 – 4 of 4) sorted by relevance
/commonlibrary/ets_utils/js_api_module/convertxml/ |
D | js_convertxml.cpp | 114 napi_value elementsObject = nullptr; in GetPrevNodeList() local 115 napi_create_object(env, &elementsObject); in GetPrevNodeList() 118 SetKeyValue(env, elementsObject, options_.type, GetNodeType(curNode->type)); in GetPrevNodeList() 119 … SetKeyValue(env, elementsObject, options_.name, reinterpret_cast<const char*>(curNode->name)); in GetPrevNodeList() 122 SetKeyValue(env, elementsObject, options_.instruction, curContent); in GetPrevNodeList() 125 prevObj_.push_back(elementsObject); in GetPrevNodeList() 128 SetKeyValue(env, elementsObject, options_.type, GetNodeType(curNode->type)); in GetPrevNodeList() 131 SetKeyValue(env, elementsObject, options_.comment, curContent); in GetPrevNodeList() 134 prevObj_.push_back(elementsObject); in GetPrevNodeList() 137 SetKeyValue(env, elementsObject, options_.type, GetNodeType(curNode->type)); in GetPrevNodeList() [all …]
|
D | js_convertxml.h | 111 … void SetAttributes(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject) const; 112 …void SetXmlElementType(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject, bool &b… 113 void SetNodeInfo(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject) const; 114 …void SetEndInfo(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject, bool &bFlag) c…
|
/commonlibrary/ets_utils/js_api_module/convertxml/test/ |
D | test_convertxml.h | 29 …SetXmlElementType(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject, bool &bFlag); 30 static void SetNodeInfo(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject); 57 void CxmlTest::SetXmlElementType(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject… in SetXmlElementType() argument 60 convert.SetXmlElementType(env, curNode, elementsObject, bFlag); in SetXmlElementType() 63 void CxmlTest::SetNodeInfo(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject) in SetNodeInfo() argument 66 convert.SetNodeInfo(env, curNode, elementsObject); in SetNodeInfo()
|
D | test_convertxml.cpp | 507 napi_value elementsObject = nullptr; variable 508 napi_create_object(env, &elementsObject); 514 CxmlTest::SetXmlElementType(env, curNode1, elementsObject, flag); 517 CxmlTest::SetXmlElementType(env, curNode1, elementsObject, flag); 525 napi_value elementsObject = nullptr; variable 526 napi_create_object(env, &elementsObject); 532 CxmlTest::SetNodeInfo(env, curNode1, elementsObject);
|