Home
last modified time | relevance | path

Searched refs:depth (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/ets_utils/js_api_module/xml/test/
H A Dtest_xml.h46 static std::string GetNamespace(napi_env env, const std::string prefix, size_t depth);
246 xml.depth = 1; in TestParseEndTag()
250 xml.depth = 0; in TestParseEndTag()
343 std::string XmlTest::GetNamespace(napi_env env, const std::string prefix, size_t depth) in GetNamespace() argument
348 xmlPullParser.depth = depth; in GetNamespace()
385 xmlPullParser.depth = 1; in ParseNspFunction()
482 xml.depth = 1; in ParseEndTagFunction()
486 xml.depth = 0; in ParseEndTagFunction()
H A Dtest_xml.cpp2219 size_t depth = 2; in HWTEST_F() local
2220 std::string res = XmlTest::GetNamespace(env, prefix, depth); in HWTEST_F()
2224 depth = 1; in HWTEST_F()
2225 std::string res1 = XmlTest::GetNamespace(env, prefix, depth); in HWTEST_F()
/commonlibrary/ets_utils/js_api_module/xml/
H A Djs_xml.cpp486 if (iTemp > depth) { in GetNSCount()
489 return nspCounts_[depth]; in GetNSCount()
956 size_t temp = GetNSCount(depth) << 1; in GetNamespace()
983 size_t j = (nspCounts_[depth]++) << 1; in ParseNspFunc()
1153 size_t sp = depth++ * 4; // 4: number of args in ParseStartTag()
1156 if (depth >= nspCounts_.size()) { in ParseStartTag()
1157 nspCounts_.resize(depth + 4); // 4: number of args in ParseStartTag()
1159 nspCounts_[depth] = nspCounts_[depth - 1]; in ParseStartTag()
1223 if (depth in ParseEndTag()
[all...]
H A Djs_xml.h196 * Get the current depth of the element.
198 * @param info The parameter is the current depth of the returned element.
421 size_t depth {};

Completed in 12 milliseconds