/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dib.cpp | 19 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)result.GetBuffer(len); in GetBitmapInfo() 69 FXSYS_memcpy32(pBitmap->GetBuffer(), pData, pitch * height); in _FX_WindowsDIB_LoadFromBuf() 74 FXSYS_memcpy32(temp_buf, pBitmap->GetBuffer() + top * pitch, pitch); in _FX_WindowsDIB_LoadFromBuf() 75 … FXSYS_memcpy32(pBitmap->GetBuffer() + top * pitch, pBitmap->GetBuffer() + bottom * pitch, pitch); in _FX_WindowsDIB_LoadFromBuf() 76 FXSYS_memcpy32(pBitmap->GetBuffer() + bottom * pitch, temp_buf, pitch); in _FX_WindowsDIB_LoadFromBuf() 103 pBitmap->GetBuffer(), (BITMAPINFO*)info.c_str(), DIB_RGB_COLORS); in GetDDBitmap() 136 …int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), (BITMAPINFO*)info.c_str(), DI… in LoadFromFile() 168 …int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), (BITMAPINFO*)info.c_str(), DI… in LoadDIBitmap() 214 …ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), (BITMAPINFO*)pbmih, DIB_RGB_COLOR… in LoadFromDDB() 231 …ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), (BITMAPINFO*)&bmih, DIB_RGB_COLOR… in LoadFromDDB() [all …]
|
/external/lzma/CPP/Windows/ |
D | FileDir.cpp | 45 UINT needLength = ::GetWindowsDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetWindowsDirectory() 52 UINT needLength = ::GetSystemDirectory(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetSystemDirectory() 64 UINT needLength = ::GetWindowsDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetWindowsDirectory() 79 UINT needLength = ::GetSystemDirectoryW(path.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetSystemDirectory() 486 DWORD needLength = ::GetShortPathName(longPath, shortPath.GetBuffer(MAX_PATH + 1), MAX_PATH + 1); in MyGetShortPathName() 527 LPTSTR buffer = resultPath.GetBuffer(MAX_PATH); in MyGetFullPathName() 536 buffer = resultPath.GetBuffer(needLength + 1); in MyGetFullPathName() 562 LPWSTR buffer = resultPath.GetBuffer(MAX_PATH); in MyGetFullPathName() 571 buffer = resultPath.GetBuffer(needLength + 1); in MyGetFullPathName() 639 DWORD needLength = ::GetCurrentDirectory(MAX_PATH + 1, path.GetBuffer(MAX_PATH + 1)); in MyGetCurrentDirectory() [all …]
|
D | Registry.cpp | 244 res = QueryValue(name, value.GetBuffer(currentSize), currentSize); in QueryValue() 270 res = QueryValue(name, value.GetBuffer(currentSize), currentSize); in QueryValue() 312 LONG result = ::RegEnumKeyEx(_object, index, keyName.GetBuffer(kBufferSize), in EnumKeys()
|
/external/pdfium/fpdfsdk/include/ |
D | fsdk_mgr.h | 130 FPDF_WIDESTRING pMsg = (FPDF_WIDESTRING)bsMsg.GetBuffer(bsMsg.GetLength()); in JS_appAlert() 131 FPDF_WIDESTRING pTitle = (FPDF_WIDESTRING)bsTitle.GetBuffer(bsTitle.GetLength()); in JS_appAlert() 148 FPDF_WIDESTRING pQuestion = (FPDF_WIDESTRING)bsQuestion.GetBuffer(bsQuestion.GetLength()); in JS_appResponse() 149 FPDF_WIDESTRING pTitle = (FPDF_WIDESTRING)bsTitle.GetBuffer(bsTitle.GetLength()); in JS_appResponse() 150 FPDF_WIDESTRING pDefault = (FPDF_WIDESTRING)bsDefault.GetBuffer(bsDefault.GetLength()); in JS_appResponse() 151 FPDF_WIDESTRING pLabel = (FPDF_WIDESTRING)bsLabel.GetBuffer(bsLabel.GetLength()); in JS_appResponse() 230 …FPDF_WIDESTRING pDestination = (FPDF_WIDESTRING)bsDestination.GetBuffer(bsDestination.GetLength()); in JS_docSubmitForm() 245 FPDF_WIDESTRING pTo = (FPDF_WIDESTRING)bsTo.GetBuffer(bsTo.GetLength()); in JS_docmailForm() 246 FPDF_WIDESTRING pCC = (FPDF_WIDESTRING)bsCC.GetBuffer(bsCC.GetLength()); in JS_docmailForm() 247 FPDF_WIDESTRING pBcc = (FPDF_WIDESTRING)bsBcc.GetBuffer(bsBcc.GetLength()); in JS_docmailForm() [all …]
|
/external/lzma/CPP/Common/ |
D | StringConvert.cpp | 18 srcString.Length(), resultString.GetBuffer(srcString.Length()), in MultiByteToUnicodeString() 36 dest.GetBuffer(numRequiredBytes), numRequiredBytes + 1, in UnicodeStringToMultiByte() 56 CharToOem(srcString, result.GetBuffer(srcString.Length() * 2)); in SystemStringToOemString()
|
D | UTFConvert.cpp | 128 wchar_t *p = dest.GetBuffer((int)destLen); in ConvertUTF8ToUnicode() 140 char *p = dest.GetBuffer((int)destLen); in ConvertUnicodeToUTF8()
|
D | ListFileUtils.cpp | 31 char *p = s.GetBuffer((int)length + 1); in ReadNamesFromListFile()
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_ps.cpp | 134 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in OutputPath() 166 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in SetClip_PathStroke() 207 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in DrawPath() 264 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in SetGraphState() 376 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in DrawDIBits() 460 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in DrawDIBits() 496 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in SetColor() 530 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in FindPSFontGlyph() 589 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in FindPSFontGlyph() 630 m_pOutput->OutputPS((FX_LPCSTR)buf.GetBuffer(), buf.GetSize()); in DrawText()
|
D | fx_ge_path.cpp | 68 FX_LPBYTE dest_scan = new_dib->GetBuffer() + new_dib->GetPitch() * (row - m_Box.top); in IntersectMaskRect() 69 FX_LPBYTE src_scan = mask_dib->GetBuffer() + mask_dib->GetPitch() * (row - mask_rect.top); in IntersectMaskRect() 101 FX_LPBYTE old_scan = old_dib->GetBuffer() + (row - m_Box.top) * old_dib->GetPitch(); in IntersectMaskF() 102 FX_LPBYTE mask_scan = mask_dib->GetBuffer() + (row - top) * mask_dib->GetPitch(); in IntersectMaskF() 103 FX_LPBYTE new_scan = new_dib->GetBuffer() + (row - new_box.top) * new_dib->GetPitch(); in IntersectMaskF()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_filters.cpp | 42 m_pDestFilter->FilterIn(temp_buf.GetBuffer(), temp_buf.GetSize(), dest_buf); in FilterIn() 53 m_pDestFilter->FilterIn(temp_buf.GetBuffer(), temp_buf.GetSize(), dest_buf); in FilterFinish() 258 FXSYS_memcpy32(buffer, m_pBuffer->GetBuffer() + m_BufOffset, read_size); in ReadLeftOver() 392 FX_LPBYTE pOutput = dest_buf.GetBuffer() + dest_buf.GetSize() - m_StackLen; in v_FilterIn() 699 … FXSYS_memset8(dest_buf.GetBuffer() + dest_buf.GetSize() - m_Count, byte, m_Count); in v_FilterIn() 732 temp_buf.AppendBlock(m_InputBuf.GetBuffer(), m_InputBuf.GetSize()); in v_FilterIn() 735 jpeg_src_buf = temp_buf.GetBuffer(); in v_FilterIn() 822 temp_buf.AppendBlock(m_InputBuf.GetBuffer(), m_InputBuf.GetSize()); in v_FilterIn() 825 fax_src_buf = temp_buf.GetBuffer(); in v_FilterIn() 840 ProcessData(m_InputBuf.GetBuffer(), m_InputBuf.GetSize(), m_InputBitPos, TRUE, dest_buf); in v_FilterFinish()
|
D | fpdf_parser_decode.cpp | 401 FX_LPWSTR dest_buf = result.GetBuffer(max_chars); in PDF_DecodeText() 421 FX_LPWSTR dest_buf = result.GetBuffer(src_len); in PDF_DecodeText() 438 FX_LPSTR dest_buf1 = result.GetBuffer(len); in PDF_EncodeText() 465 FX_LPBYTE dest_buf2 = (FX_LPBYTE)result.GetBuffer(encLen); in PDF_EncodeText()
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | fx_agg_driver.cpp | 309 …agg::rendering_buffer raw_buf(pThisLayer->GetBuffer(), pThisLayer->GetWidth(), pThisLayer->GetHeig… in SetClipMask() 952 FX_LPBYTE dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render() 956 dest_scan_extra_alpha = pAlphaMask->GetBuffer() + pAlphaMask->GetPitch() * y; in render() 960 ori_scan = m_pOriDevice->GetBuffer() + m_pOriDevice->GetPitch() * y; in render() 982 …clip_pos = m_pClipMask->GetBuffer() + (y - m_ClipBox.top) * m_pClipMask->GetPitch() + x - m_ClipBo… in render() 1137 if (GetBuffer() == NULL) { in DrawPath() 1195 …FX_LPBYTE pos = (FX_BYTE*)pBitmap->GetBuffer() + y * pBitmap->GetPitch() + x * pBitmap->GetBPP() /… in RgbByteOrderSetPixel() 1218 FX_BYTE* pBuffer = pBitmap->GetBuffer(); in RgbByteOrderCompositeRect() 1289 FX_BYTE* buffer = pBitmap->GetBuffer(); in RgbByteOrderTransferBitmap() 1400 if (m_pBitmap->GetBuffer() == NULL) { in SetPixel() [all …]
|
/external/pdfium/core/src/fxge/agg/include/ |
D | fx_agg_driver.h | 102 virtual FX_LPBYTE GetBuffer() const in GetBuffer() function 104 return m_pBitmap->GetBuffer(); in GetBuffer()
|
/external/pdfium/core/src/fxge/skia/ |
D | fx_skia_device.h | 85 virtual FX_LPBYTE GetBuffer() const {return m_pAggDriver->GetBuffer();} in GetBuffer() function
|
/external/pdfium/fpdfsdk/src/ |
D | fpdftext.cpp | 98 FXSYS_memcpy(result,cbUTF16str.GetBuffer(cbUTF16str.GetLength()),cbUTF16str.GetLength()); in FPDFText_GetText() 140 FXSYS_memcpy(buffer,cbUTF16Str.GetBuffer(size*sizeof(unsigned short)),size*sizeof(unsigned short)); in FPDFText_GetBoundedText() 218 …FXSYS_memcpy(buffer,cbUTF16URL.GetBuffer(size*sizeof(unsigned short)),size*sizeof(unsigned short)); in FPDFLink_GetURL()
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | JS_GlobalData.cpp | 493 sData.AppendBlock(sElement.GetBuffer(), sElement.GetSize()); in SaveGlobalPersisitentVariables() 508 sFile.AppendBlock(sData.GetBuffer(), sData.GetSize()); in SaveGlobalPersisitentVariables() 510 CRYPT_ArcFourCryptBlock(sFile.GetBuffer(), sFile.GetSize(), JS_RC4KEY, sizeof(JS_RC4KEY)); in SaveGlobalPersisitentVariables() 511 WriteFileBuffer(m_sFilePath.c_str(), (FX_LPCSTR)sFile.GetBuffer(), sFile.GetSize()); in SaveGlobalPersisitentVariables()
|
D | util.cpp | 197 c_strResult += strSegment.GetBuffer(strSegment.GetLength()+1); in printf() 338 memcpy(tszValue, (wchar_t *)sValue.GetBuffer(sValue.GetLength()+1), in printd() 434 …memcpy(tszValue, (wchar_t *)sValue.GetBuffer(sValue.GetLength()+1),sValue.GetLength()*sizeof(wchar… in printd()
|
/external/pdfium/core/src/fxge/apple/ |
D | fx_quartz_device.cpp | 35 CGContextRef context = CGBitmapContextCreate(pBitmap->GetBuffer(), in createGraphics() 159 CGContextRef context = CGBitmapContextCreate(pBitmap->GetBuffer(), in createContextWithBitmap() 595 if (pBitmap->GetBuffer()) { in SetDIBits() 605 pBitmap1->GetBuffer(), in SetDIBits() 638 if (pBitmap->GetBuffer()) { in SetDIBits() 720 if (pBitmap->GetBuffer()) { in StretchDIBits() 730 pBitmap1->GetBuffer(), in StretchDIBits() 763 if (pBitmap->GetBuffer()) { in StretchDIBits()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_wstring.cpp | 306 FX_LPSTR buffer = result.GetBuffer(len * 2 + 2); in UTF16LE_Encode() 325 GetBuffer(len); in Reserve() 328 FX_LPWSTR CFX_WideString::GetBuffer(FX_STRSIZE nMinBufLength) in GetBuffer() function in CFX_WideString 384 FX_WCHAR* buf = result.GetBuffer(wlen); in FromUTF16LE() 960 GetBuffer(nMaxLen); in FormatV() 1031 FX_LPSTR dest_buf = bytestr.GetBuffer(dest_len); in _DefMap_GetByteString() 1045 FX_LPWSTR dest_buf = widestr.GetBuffer(dest_len); in _DefMap_GetWideString()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_content.cpp | 54 pStream->SetData(buf.GetBuffer(), buf.GetLength(), FALSE, FALSE); in GenerateContent() 161 pStream->SetData(buf.GetBuffer(), buf.GetLength(), FALSE, FALSE); in TransformContent()
|
D | fpdf_edit_image.cpp | 101 FX_LPBYTE src_buf = pBitmap->GetBuffer(); in SetImage() 133 FX_LPSTR pBuf = ct.GetBuffer(6); in SetImage() 273 FX_LPBYTE dst_buf = pNewBitmap->GetBuffer(); in SetImage()
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 236 …FXSYS_memset8(m_pAlphaMask->GetBuffer(), 0xff, m_pAlphaMask->GetHeight()*m_pAlphaMask->GetPitch()); in BuildAlphaMask() 790 …FXSYS_memset8(m_pAlphaMask->GetBuffer(), value, m_pAlphaMask->GetHeight()*m_pAlphaMask->GetPitch()… 892 FXSYS_memset8(pMask->GetBuffer(), gray[0], pMask->GetPitch() * m_Height); 924 FX_LPBYTE dest_pos = pMask->GetBuffer() + row * pMask->GetPitch(); 942 FX_LPBYTE dest_pos = pMask->GetBuffer() + row * pMask->GetPitch(); 960 FX_LPBYTE dest_pos = pMask->GetBuffer() + row * pMask->GetPitch(); 1393 FX_LPBYTE pDestBuffer = pFlipped->GetBuffer(); 1436 pDestBuffer = pFlipped->m_pAlphaMask->GetBuffer(); 1458 if (pSrc->GetBuffer() == NULL) { 1462 …f (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat(), pSrc->GetBuffer())) { [all …]
|
/external/pdfium/core/src/fpdftext/ |
D | unicodenormalization.cpp | 71 FX_LPWSTR pBuf = wsDst.GetBuffer(nLen); in FX_WideString_GetNormalization()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_icc.cpp | 425 MD5ComputeID(text.GetBuffer(0), text.GetLength(), ID); in CreateProfile() 431 CFX_ByteString ProfileKey(key.GetBuffer(), key.GetSize()); in CreateProfile() 433 pTransformKey->AppendBlock(ProfileKey.GetBuffer(0), ProfileKey.GetLength()); in CreateProfile() 487 CFX_ByteStringC TransformKey(key.GetBuffer(), key.GetSize()); in CreateTransform()
|
/external/webp/src/demux/ |
D | demux.c | 143 static WEBP_INLINE const uint8_t* GetBuffer(MemBuffer* const mem) { in GetBuffer() function 400 if (memcmp(GetBuffer(mem), "RIFF", CHUNK_SIZE_BYTES) || in ReadHeader() 401 memcmp(GetBuffer(mem) + CHUNK_HEADER_SIZE, "WEBP", CHUNK_SIZE_BYTES)) { in ReadHeader() 405 riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); in ReadHeader() 738 if (!memcmp(parser->id, GetBuffer(&dmux->mem_), TAG_SIZE)) { in WebPDemuxInternal()
|