Lines Matching refs:SkString
16 static SkString pdf_date(const SkTime::DateTime& dt) { in pdf_date()
92 SkString(reinterpret_cast<const char*>(&doc), sizeof(UUID))); in CreatePdfId()
94 SkString(reinterpret_cast<const char*>(&instance), sizeof(UUID))); in CreatePdfId()
100 static SkString sk_string_printf(const char* format, ...) { in sk_string_printf()
108 return SkString(buffer, length); in sk_string_printf()
114 SkString string((size_t)length); in sk_string_printf()
130 return SkString(); in sk_string_printf()
133 return SkString(buffer, length); in sk_string_printf()
135 SkString string((size_t)length); in sk_string_printf()
146 static const SkString get(const SkTArray<SkDocument::Attribute>& info, in get()
153 return SkString(); in get()
164 static SkString uuid_to_string(const SkPDFMetadata::UUID& uuid) { in uuid_to_string()
182 return SkString(buffer, 36); in uuid_to_string()
189 PDFXMLObject(SkString xml) : fXML(std::move(xml)) {} in PDFXMLObject()
208 const SkString fXML;
212 static int count_xml_escape_size(const SkString& input) { in count_xml_escape_size()
224 const SkString escape_xml(const SkString& input, in escape_xml()
236 SkString output(input.size() + extra + beforeLen + afterLen); in escape_xml()
300 SkString creationDate; in createXMPObject()
301 SkString modificationDate; in createXMPObject()
302 SkString metadataDate; in createXMPObject()
304 SkString tmp; in createXMPObject()
312 SkString tmp; in createXMPObject()
321 SkString title = in createXMPObject()
324 SkString author = in createXMPObject()
328 SkString subject = escape_xml(get(fInfo, "Subject"), in createXMPObject()
331 SkString keywords1 = in createXMPObject()
334 SkString keywords2 = escape_xml(get(fInfo, "Keywords"), "<pdf:Keywords>", in createXMPObject()
338 SkString creator = escape_xml(get(fInfo, "Creator"), "<xmp:CreatorTool>", in createXMPObject()
340 SkString documentID = uuid_to_string(doc); // no need to escape in createXMPObject()
342 SkString instanceID = uuid_to_string(instance); in createXMPObject()