Home
last modified time | relevance | path

Searched refs:raw_str (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp235 CRYPT_SHA256Update(&sha, password.raw_str(), password.GetLength()); in Revision6_Hash()
264 content.insert(std::end(content), password.raw_str(), in Revision6_Hash()
265 password.raw_str() + password.GetLength()); in Revision6_Hash()
321 const uint8_t* pkey = bOwner ? okey.raw_str() : ukey.raw_str(); in AES256_CheckPassword()
326 bOwner ? ukey.raw_str() : nullptr, digest); in AES256_CheckPassword()
329 CRYPT_SHA256Update(&sha, password.raw_str(), password.GetLength()); in AES256_CheckPassword()
332 CRYPT_SHA256Update(&sha, ukey.raw_str(), 48); in AES256_CheckPassword()
343 bOwner ? ukey.raw_str() : nullptr, digest); in AES256_CheckPassword()
346 CRYPT_SHA256Update(&sha, password.raw_str(), password.GetLength()); in AES256_CheckPassword()
349 CRYPT_SHA256Update(&sha, ukey.raw_str(), 48); in AES256_CheckPassword()
[all …]
Dcpdf_syntax_parser.cpp458 ByteString keyNoSlash(key.raw_str() + 1, key.GetLength() - 1); in GetObjectBodyInternal()
553 if (memcmp(m_WordBuffer, kEndStreamStr.raw_str(), in ReadStream()
648 memcmp(m_WordBuffer, kEndObjStr.raw_str(), kEndObjStr.GetLength()) == 0) { in ReadStream()
Dcpdf_simple_parser.cpp15 : m_pData(str.raw_str()), m_dwSize(str.GetLength()), m_dwCurPos(0) {} in CPDF_SimpleParser()
Dcpdf_crypto_handler.cpp270 DecryptStream(context, str.raw_str(), str.GetLength(), dest_buf); in Decrypt()
/external/pdfium/core/fxge/
Dcfx_folderfontinfo.cpp215 ByteString names = FPDF_LoadTableFromTT(pFile, tables.raw_str(), nTables, in ReportFace()
220 ByteString facename = GetNameFromTT(names.raw_str(), names.GetLength(), 1); in ReportFace()
224 ByteString style = GetNameFromTT(names.raw_str(), names.GetLength(), 2); in ReportFace()
233 ByteString os2 = FPDF_LoadTableFromTT(pFile, tables.raw_str(), nTables, in ReportFace()
236 const uint8_t* p = os2.raw_str() + 78; in ReportFace()
351 const uint8_t* p = pFont->m_FontTables.raw_str() + i * 16; in GetFontData()
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/demo/app/src/main/
Dsmartreply_jni.cc44 const char* raw_str = env->GetStringUTFChars(jstr, JNI_FALSE); in jniStringArrayToVector() local
45 result.emplace_back(std::string(raw_str)); in jniStringArrayToVector()
46 env->ReleaseStringUTFChars(jstr, raw_str); in jniStringArrayToVector()
/external/pdfium/fpdfsdk/
Dfpdf_flatten.cpp178 pNewContents->SetData(sStream.raw_str(), sStream.GetLength()); in NewIndirectContentsStream()
205 pContentsStream->SetDataAndRemoveFilter(sStream.raw_str(), in SetPageContents()
403 pNewXObject->SetDataAndRemoveFilter(sStream.raw_str(), sStream.GetLength()); in FPDFPage_Flatten()
Dfpdfattachment.cpp31 HexDecode(bsHex.raw_str(), bsHex.GetLength(), &result, &size); in CFXByteStringHexDecode()
Dfpdfannot.cpp781 pNewApStream->SetData(newValue.raw_str(), newValue.GetLength()); in FPDFAnnot_SetAP()
/external/pdfium/core/fxcrt/
Dbytestring.h75 const uint8_t* raw_str() const { in raw_str() function
83 return ByteStringView(raw_str(), GetLength()); in AsStringView()
Dcfx_checksumcontext.cpp151 CRYPT_SHA1Update(m_pByteContext.get(), bsText.raw_str(), bsText.GetLength()); in Update()
Dbytestring_unittest.cpp354 EXPECT_FALSE(null_string.raw_str()); in TEST()
362 EXPECT_FALSE(copied_null_string.raw_str()); in TEST()
368 EXPECT_TRUE(empty_string.raw_str()); in TEST()
375 EXPECT_FALSE(assigned_null_string.raw_str()); in TEST()
382 EXPECT_FALSE(assigned_nullptr_string.raw_str()); in TEST()
1088 EXPECT_EQ(nullptr, cleared_string.raw_str()); in TEST()
Dstring_view_template.h126 const UnsignedType* raw_str() const { return m_Ptr.Get(); } in raw_str() function
Dbytestring.cpp344 const uint8_t* pThat = str.raw_str(); in EqualNoCase()
Dwidestring_unittest.cpp963 EXPECT_EQ(nullptr, cleared_string.raw_str()); in TEST()
/external/pdfium/fxjs/
Dcfxjse_class.cpp126 pIsolate, reinterpret_cast<const char*>(szPropName.raw_str()), in DynPropGetterAdapter()
Dcfxjse_value.cpp424 m_pIsolate, reinterpret_cast<const char*>(szString.raw_str()), in SetString()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator.cpp109 return WriteBlock(str.raw_str(), str.GetLength()); in WriteString()
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp1082 const uint8_t* pTable = m_Table.raw_str(); in GetRGB()
Dcpdf_streamcontentparser.cpp322 memcpy(param.m_Name.m_Buffer, bsName.raw_str(), bsName.GetLength()); in AddNameParam()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_simple_parser.cpp408 const_cast<uint8_t*>(wsXML.raw_str()), wsXML.GetLength()); in ParseXMLData()
/external/pdfium/xfa/fxfa/
Dcxfa_widgetacc.cpp186 const_cast<uint8_t*>(bsContent.raw_str()), bsContent.GetLength(), in XFA_LoadImageData()