Home
last modified time | relevance | path

Searched refs:raw_span (Results 1 – 24 of 24) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_metadata_unittest.cpp19 stream->SetData(ByteStringView(data).raw_span()); in TEST()
36 stream->SetData(ByteStringView(data).raw_span()); in TEST()
53 stream->SetData(ByteStringView(data).raw_span()); in TEST()
70 stream->SetData(ByteStringView(data).raw_span()); in TEST()
88 stream->SetData(ByteStringView(data).raw_span()); in TEST()
102 stream->SetData(ByteStringView(data).raw_span()); in TEST()
118 stream->SetData(ByteStringView(data).raw_span()); in TEST()
148 stream->SetData(ByteStringView(data).raw_span()); in TEST()
Dcpdf_defaultappearance.cpp62 CPDF_SimpleParser syntax(m_csDA.AsStringView().raw_span()); in GetFont()
78 CPDF_SimpleParser syntax(m_csDA.AsStringView().raw_span()); in GetColor()
Dcpdf_formcontrol.cpp83 return PDF_DecodeText(csOn.raw_span()); in GetExportValue()
/external/pdfium/core/fxge/
Dfx_font.cpp116 pdfium::span<const uint8_t> raw_span = utf16_be.raw_span(); in GetNameFromTT() local
118 reinterpret_cast<const uint16_t*>(raw_span.data()), in GetNameFromTT()
119 raw_span.size() / 2) in GetNameFromTT()
Dcfx_folderfontinfo.cpp231 ByteString facename = GetNameFromTT(names.raw_span(), 1); in ReportFace()
235 ByteString style = GetNameFromTT(names.raw_span(), 2); in ReportFace()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_seekablemultistream_unittest.cpp44 stream1->InitStream(ByteStringView("one t").raw_span(), in TEST()
46 stream2->InitStream(ByteStringView("wo ").raw_span(), in TEST()
48 stream3->InitStream(ByteStringView("three!!!").raw_span(), in TEST()
Dcpdf_string.cpp67 return PDF_DecodeText(m_String.raw_span()); in GetUnicodeText()
73 pdfium::span<const uint8_t> data = m_String.raw_span(); in WriteTo()
Dcpdf_name.cpp51 return PDF_DecodeText(m_Name.raw_span()); in GetUnicodeText()
Dcpdf_security_handler.cpp51 CRYPT_MD5Update(&md5, okey.raw_span()); in CalcEncryptKey()
55 CRYPT_MD5Update(&md5, file_id.raw_span()); in CalcEncryptKey()
465 CRYPT_MD5Update(&md5, m_FileId.raw_span()); in CheckUserPassword()
606 CRYPT_MD5Update(&md5, file_id.raw_span()); in OnCreateInternal()
Dcpdf_crypto_handler.cpp259 DecryptStream(context, str.raw_span(), dest_buf); in Decrypt()
/external/pdfium/fpdfsdk/
Dfpdf_flatten.cpp181 pNewContents->SetData(contents.raw_span()); in NewIndirectContentsStream()
216 pContentsStream->SetDataAndRemoveFilter(sStream.raw_span()); in SetPageContents()
416 pNewXObject->SetDataAndRemoveFilter(sStream.raw_span()); in FPDFPage_Flatten()
Dfpdf_attachment.cpp36 HexDecode(bsHex.raw_span(), &result, &size); in CFXByteStringHexDecode()
Dfpdf_ppo.cpp703 pNewXObject->SetDataAndRemoveFilter(bsSrcContentStream.raw_span()); in MakeXObjectFromPage()
734 pStream->SetData(bsContent.raw_span()); in FinishPage()
Dfpdf_transformpage.cpp242 pEndStream->SetData(ByteStringView(" Q").raw_span()); in FPDFPage_TransFormWithClip()
Dfpdf_view.cpp1022 name_tree.LookupNamedDest(pDoc, PDF_DecodeText(name_view.raw_span()))); in FPDF_GetNamedDestByName()
1126 wsName = PDF_DecodeText(bsName.raw_span()); in FPDF_GetNamedDest()
Dcpdfsdk_interactiveform.cpp95 WideString csWValue = PDF_DecodeText(csBValue.raw_span()); in FDFToURLEncodedData()
Dfpdf_annot.cpp843 pNewIndirectStream->SetData(newAPStream.raw_span()); in FPDFAnnot_SetAP()
Dcpdfsdk_appstream.cpp1942 pStream->SetDataAndRemoveFilter(sContents.raw_span()); in Write()
/external/pdfium/core/fxcrt/
Dbytestring.h91 pdfium::span<const uint8_t> raw_span() const { in raw_span() function
Dstring_view_template.h163 pdfium::span<const UnsignedType> raw_span() const { return m_Span; } in raw_span() function
Dbytestring_unittest.cpp31 pdfium::span<const uint8_t> abc_raw_span = abc.raw_span(); in TEST()
1425 EXPECT_EQ(byte_string_c.raw_span(), span5); in TEST()
1643 pdfium::span<const uint8_t> rspan = empty_str.raw_span(); in TEST()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmap.cpp328 auto pBytes = pString.raw_span(); in GetNextChar()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_document_parser.cpp249 auto pStream = pdfium::MakeRetain<CFX_ReadOnlyMemoryStream>(wsXML.raw_span()); in ParseXMLData()
Dcxfa_node.cpp404 std::vector<uint8_t> buffer = XFA_RemoveBase64Whitespace(bsStr.raw_span()); in XFA_Base64Decode()
490 pdfium::MakeRetain<CFX_ReadOnlyMemoryStream>(bsData.raw_span()); in XFA_LoadImageData()