• Home
  • Raw
  • Download

Lines Matching refs:SkString

36 static SkString pdf_date(const SkTime::DateTime& dt) {  in pdf_date()
73 static SkString to_utf16be(const char* src, size_t len) { in to_utf16be()
74 SkString ret; in to_utf16be()
108 static SkString convert(const SkString& s) { in convert()
111 static SkString convert(const char* src) { in convert()
113 return utf8_is_pdfdocencoding(src, len) ? SkString(src, len) : to_utf16be(src, len); in convert()
119 SkString SkPDF::Metadata::*const valuePtr;
133 const SkString& value = metadata.*(keyValuePtr.valuePtr); in MakeDocumentInformationDict()
170 const SkString& value = metadata.*(keyValuePtr.valuePtr); in CreateUUID()
192 SkString(reinterpret_cast<const char*>(&doc), sizeof(SkUUID))); in MakePdfId()
194 SkString(reinterpret_cast<const char*>(&instance), sizeof(SkUUID))); in MakePdfId()
210 static SkString uuid_to_string(const SkUUID& uuid) { in uuid_to_string()
226 return SkString(buffer, 36); in uuid_to_string()
232 PDFXMLObject(SkString xml) : fXML(std::move(xml)) {} in PDFXMLObject()
249 const SkString fXML;
253 static int count_xml_escape_size(const SkString& input) { in count_xml_escape_size()
265 const SkString escape_xml(const SkString& input, in escape_xml()
277 SkString output(input.size() + extra + beforeLen + afterLen); in escape_xml()
343 SkString creationDate; in MakeXMPObject()
344 SkString modificationDate; in MakeXMPObject()
346 SkString tmp; in MakeXMPObject()
354 SkString tmp; in MakeXMPObject()
360 SkString title = in MakeXMPObject()
364 SkString author = in MakeXMPObject()
368 SkString subject = escape_xml( in MakeXMPObject()
372 SkString keywords1 = in MakeXMPObject()
375 SkString keywords2 = escape_xml(metadata.fKeywords, "<pdf:Keywords>", in MakeXMPObject()
379 SkString producer("<pdf:Producer>" SKPDF_PRODUCER "</pdf:Producer>\n"); in MakeXMPObject()
389 SkString creator = escape_xml(metadata.fCreator, "<xmp:CreatorTool>", in MakeXMPObject()
391 SkString documentID = uuid_to_string(doc); // no need to escape in MakeXMPObject()
393 SkString instanceID = uuid_to_string(instance); in MakeXMPObject()