Lines Matching refs:XmpConst
56 xmlNodePtr root_node = xmlNewNode(nullptr, ToXmlChar(XmpConst::NodeName())); in CreateXmpRootNode()
57 xmlNsPtr root_ns = xmlNewNs(root_node, ToXmlChar(XmpConst::Namespace()), in CreateXmpRootNode()
58 ToXmlChar(XmpConst::NamespacePrefix())); in CreateXmpRootNode()
60 xmlSetNsProp(root_node, root_ns, ToXmlChar(XmpConst::AdobePropName()), in CreateXmpRootNode()
61 ToXmlChar(XmpConst::AdobePropValue())); in CreateXmpRootNode()
132 data_stream.write(XmpConst::Header(), strlen(XmpConst::Header())); in CreateStandardSectionXmpString()
144 static_cast<int>(strlen(XmpConst::ExtensionHeader()) + 1 + guid.length()); in CreateExtendedSections()
146 const int overhead = header_length + XmpConst::ExtensionHeaderOffset(); in CreateExtendedSections()
148 buffer_length / (XmpConst::ExtendedMaxBufferSize() - overhead) + 1; in CreateExtendedSections()
152 XmpConst::ExtendedMaxBufferSize()); in CreateExtendedSections()
157 data_stream.write(XmpConst::ExtensionHeader(), in CreateExtendedSections()
158 strlen(XmpConst::ExtensionHeader())); in CreateExtendedSections()
176 if (buffer.length() > XmpConst::MaxBufferSize()) { in InsertStandardXMPSection()
179 << XmpConst::MaxBufferSize() << " bytes"; in InsertStandardXMPSection()
188 StartsWith(sections->at(index).data, XmpConst::Header())) { in InsertStandardXMPSection()
256 xmlNewNs(description_node, ToXmlChar(XmpConst::NoteNamespace()), in LinkXmpStandardAndExtendedSections()
257 ToXmlChar(XmpConst::HasExtensionPrefix())); in LinkXmpStandardAndExtendedSections()
260 ToXmlChar(XmpConst::HasExtension()), in LinkXmpStandardAndExtendedSections()
262 xmlUnsetProp(description_node, ToXmlChar(XmpConst::HasExtension())); in LinkXmpStandardAndExtendedSections()