Home
last modified time | relevance | path

Searched refs:prefix (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
H A Ddecoder.rs427 let prefix = <$prefix_type>::from_u8(buf[buf_index - 1]); in decode()
428 let mid_bit = prefix.prefix_midbit_value(buf[buf_index - 1]); in decode()
429 let mask = prefix.prefix_index_mask(); in decode()
433 Ok(idx) => DecResult::Decoded((buf_index, prefix, mid_bit, idx)), in decode()
438 <$trailing_bytes>::new(prefix, mid_bit, int).decode(&buf[buf_index..]); in decode()
439 if let DecResult::Decoded((cnt, prefix, mid_bit, int)) = res { in decode()
440 return DecResult::Decoded((cnt + buf_index, prefix, mid_bit, int)); in decode()
467 prefix: $prefix_type,
473 fn new(prefix: $prefix_type, mid_bit: MidBit, index: IntegerDecoder) -> Self { in new()
475 prefix, in new()
[all...]
/commonlibrary/ets_utils/js_api_module/xml/
H A Djs_xml.cpp107 void XmlSerializer::SetNamespace(std::string prefix, const std::string &nsTemp) in SetNamespace() argument
114 elementStack[depth_ * 3] = prefix; // 3: number of args in SetNamespace()
954 std::string XmlPullParser::GetNamespace(const std::string &prefix) in GetNamespace() argument
960 if (prefix == "" && nspStack_[i] == "") { in GetNamespace()
962 } else if (prefix == nspStack_[i]) { in GetNamespace()
1033 std::string prefix; in ParseNsp() local
1035 prefix = attrName.substr(0, cut); in ParseNsp()
1038 prefix = attrName; in ParseNsp()
1043 if (!(prefix == "xmlns")) { in ParseNsp()
H A Dnative_module_xml.cpp278 std::string prefix; in SetNamespace() local
280 XmlSerializer::DealNapiStrValue(env, args[0], prefix); in SetNamespace()
282 object->SetNamespace(prefix, nsTemp); in SetNamespace()
H A Djs_xml.h82 * @param prefix The parameter is the prefix of the current element and its children.
85 void SetNamespace(std::string prefix, const std::string &nsTemp);
238 * Get the current element prefix.
240 * @param info The parameter is to return the current element prefix.
340 std::string GetNamespace(const std::string &prefix);
/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);
58 static std::string SetNamespaceFunction(napi_env env, std::string prefix, const std::string &nsTemp);
343 std::string XmlTest::GetNamespace(napi_env env, const std::string prefix, size_t depth) in GetNamespace() argument
346 const std::string preStr = prefix; in GetNamespace()
446 std::string XmlTest::SetNamespaceFunction(napi_env env, std::string prefix, const std::string &nsTemp) in SetNamespaceFunction() argument
451 xmlSerializer.SetNamespace(prefix, nsTemp); in SetNamespaceFunction()
H A Dtest_xml.cpp2218 std::string prefix = ""; in HWTEST_F() local
2220 std::string res = XmlTest::GetNamespace(env, prefix, depth); in HWTEST_F()
2223 prefix = "fix"; in HWTEST_F()
2225 std::string res1 = XmlTest::GetNamespace(env, prefix, depth); in HWTEST_F()

Completed in 13 milliseconds