Home
last modified time | relevance | path

Searched refs:li_node (Results 1 – 2 of 2) sorted by relevance

/external/dynamic_depth/internal/xmpmeta/xml/
Dserializer_impl.cc94 xmlNodePtr li_node = xmlNewNode(nullptr, ToXmlChar(XmlConst::RdfLi())); in CreateItemSerializer() local
98 xmlSetNs(li_node, rdf_prefix_ns); in CreateItemSerializer()
99 xmlAddChild(node_, li_node); in CreateItemSerializer()
100 xmlAddChild(li_node, new_node); in CreateItemSerializer()
193 xmlNodePtr li_node = xmlNewNode(nullptr, ToXmlChar(XmlConst::RdfLi())); in WriteIntArray() local
194 xmlSetNs(li_node, rdf_prefix_ns); in WriteIntArray()
195 xmlAddChild(seq_node, li_node); in WriteIntArray()
196 xmlNodeSetContent(li_node, ToXmlChar(std::to_string(value).c_str())); in WriteIntArray()
237 xmlNodePtr li_node = xmlNewNode(nullptr, ToXmlChar(XmlConst::RdfLi())); in WriteDoubleArray() local
238 xmlSetNs(li_node, rdf_prefix_ns); in WriteDoubleArray()
[all …]
Ddeserializer_impl.cc173 xmlNodePtr li_node = GetElementAt(seq_node, index); in CreateDeserializerFromListElementAt() local
174 if (li_node == nullptr) { in CreateDeserializerFromListElementAt()
180 new DeserializerImpl(li_node)); // NOLINT in CreateDeserializerFromListElementAt()
281 for (xmlNodePtr li_node = GetElementAt(seq_node, 0); li_node != nullptr; in ParseIntArray() local
282 li_node = GetElementAt(seq_node, ++i)) { in ParseIntArray()
283 string value = GetLiNodeContent(li_node); in ParseIntArray()
306 for (xmlNodePtr li_node = GetElementAt(seq_node, 0); li_node != nullptr; in ParseDoubleArray() local
307 li_node = GetElementAt(seq_node, ++i)) { in ParseDoubleArray()
309 if (!dynamic_depth::strings::safe_strtod(GetLiNodeContent(li_node), in ParseDoubleArray()