Home
last modified time | relevance | path

Searched refs:GetBuffer (Results 1 – 25 of 158) sorted by relevance

1234567

/external/v8/src/runtime/
Druntime-futex.cc27 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
32 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
45 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
49 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
64 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
69 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
83 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
87 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
Druntime-atomics.cc376 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
379 uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
408 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
411 uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
440 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
443 uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
472 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
475 uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
504 RUNTIME_ASSERT(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
507 uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
[all …]
Druntime-typedarray.cc255 static_cast<uint8_t*>(typed_array->GetBuffer()->backing_store()); in RUNTIME_FUNCTION()
287 return *holder->GetBuffer(); in BUFFER_VIEW_GETTER()
338 static_cast<uint8_t*>(target->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
341 static_cast<uint8_t*>(source->GetBuffer()->backing_store()) + in RUNTIME_FUNCTION()
357 DCHECK(target->GetBuffer()->backing_store() == in RUNTIME_FUNCTION()
358 source->GetBuffer()->backing_store()); in RUNTIME_FUNCTION()
386 JSTypedArray::cast(args[0])->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
398 return isolate->heap()->ToBoolean(obj->GetBuffer()->is_shared() && in RUNTIME_FUNCTION()
412 return isolate->heap()->ToBoolean(obj->GetBuffer()->is_shared() && in RUNTIME_FUNCTION()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp21 BITMAPINFOHEADER* pbmih = (BITMAPINFOHEADER*)result.GetBuffer(len); in GetBitmapInfo()
74 FXSYS_memcpy(pBitmap->GetBuffer(), pData, pitch * height); in _FX_WindowsDIB_LoadFromBuf()
79 FXSYS_memcpy(temp_buf, pBitmap->GetBuffer() + top * pitch, pitch); in _FX_WindowsDIB_LoadFromBuf()
80 FXSYS_memcpy(pBitmap->GetBuffer() + top * pitch, in _FX_WindowsDIB_LoadFromBuf()
81 pBitmap->GetBuffer() + bottom * pitch, pitch); in _FX_WindowsDIB_LoadFromBuf()
82 FXSYS_memcpy(pBitmap->GetBuffer() + bottom * pitch, temp_buf, pitch); in _FX_WindowsDIB_LoadFromBuf()
107 pBitmap->GetBuffer(), (BITMAPINFO*)info.c_str(), in GetDDBitmap()
141 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadFromFile()
174 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadDIBitmap()
223 ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadFromDDB()
[all …]
/external/lzma/CPP/Windows/
DShell.cpp98 QueryFile(fileIndex, fileNameA.GetBuffer(bufferSize + 2), bufferSize + 1); in QueryFileName()
106 QueryFile(fileIndex, fileName.GetBuffer(bufferSize + 2), bufferSize + 1); in QueryFileName()
123 bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuffer(MAX_PATH * 2))); in GetPathFromIDList()
213 browseInfo.pszDisplayName = (LPSTR)displayName.GetBuffer(MAX_PATH); in BrowseForFolder()
216 browseInfo.pszDisplayName = displayName.GetBuffer(MAX_PATH); in BrowseForFolder()
247 bool result = BOOLToBool(shGetPathFromIDListW(itemIDList, path.GetBuffer(MAX_PATH * 2))); in GetPathFromIDList()
305 browseInfo.pszDisplayName = displayName.GetBuffer(MAX_PATH); in BrowseForFolder()
DResourceString.cpp28 len = ::LoadString(hInstance, resourceID, s.GetBuffer(size - 1), size); in MyLoadStringA()
46 len = ::LoadStringW(hInstance, resourceID, s.GetBuffer(size - 1), size); in MyLoadString2()
DWindow.cpp120 length = GetText(s.GetBuffer(length), length + 1); in GetText()
136 length = GetWindowTextW(_window, s.GetBuffer(length), length + 1); in GetText()
/external/lzma/CPP/Common/
DStringConvert.cpp18 srcString.Len(), resultString.GetBuffer(srcString.Len()), in MultiByteToUnicodeString()
32 wchar_t *destBuf = dest.GetBuffer(srcString.Len()); in MultiByteToUnicodeString2()
63 char *destBuf = dest.GetBuffer(numRequiredBytes); in UnicodeStringToMultiByte2()
104 dest.GetBuffer(numRequiredBytes), numRequiredBytes + 1, in UnicodeStringToMultiByte()
124 CharToOem(srcString, result.GetBuffer(srcString.Len() * 2)); in SystemStringToOemString()
DListFileUtils.cpp51 wchar_t *p = u.GetBuffer(num); in ReadNamesFromListFile()
73 char *p = s.GetBuffer((unsigned)fileSize); in ReadNamesFromListFile()
DUTFConvert.cpp163 Bool res = Utf8_To_Utf16(dest.GetBuffer((unsigned)destLen), &destLen, src, src.Len()); in ConvertUTF8ToUnicode()
173 Bool res = Utf16_To_Utf8(dest.GetBuffer((unsigned)destLen), &destLen, src, src.Len()); in ConvertUnicodeToUTF8()
/external/libbrillo/brillo/streams/
Dmemory_containers_unittest.cc34 MOCK_METHOD2(GetBuffer, void*(size_t, ErrorPtr*));
128 EXPECT_CALL(container_, GetBuffer(10, _)) in TEST_F()
145 EXPECT_CALL(container_, GetBuffer(80, _)) in TEST_F()
160 EXPECT_CALL(container_, GetBuffer(110, _)) in TEST_F()
200 EXPECT_CALL(container_, GetBuffer(110, _)) in TEST_F()
Dmemory_containers.cc66 void* ptr = GetBuffer(offset, error); in Write()
89 void* ContiguousReadOnlyBufferBase::GetBuffer(size_t /* offset */, in GetBuffer() function in brillo::data_container::ContiguousReadOnlyBufferBase
116 void* StringPtr::GetBuffer(size_t offset, ErrorPtr* /* error */) { in GetBuffer() function in brillo::data_container::StringPtr
Dmemory_containers.h92 virtual void* GetBuffer(size_t offset, ErrorPtr* error) = 0;
118 void* GetBuffer(size_t offset, ErrorPtr* error) override;
168 void* GetBuffer(size_t offset, ErrorPtr* /* error */) override { in GetBuffer() function
249 void* GetBuffer(size_t offset, ErrorPtr* error) override;
/external/pdfium/fpdfsdk/include/
Dfsdk_mgr.h257 (unsigned short*)bsRet.GetBuffer(bsRet.GetLength()), in FFI_GetPlatform()
270 FPDF_WIDESTRING pTo = (FPDF_WIDESTRING)bsTo.GetBuffer(wsURL.GetLength()); in FFI_GotoURL()
355 (FPDF_WIDESTRING)bstrURL.GetBuffer(bstrURL.GetLength()); in FFI_DownloadFromURL()
372 FPDF_WIDESTRING URL = (FPDF_WIDESTRING)bsURL.GetBuffer(bsURL.GetLength()); in FFI_PostRequestURL()
376 (FPDF_WIDESTRING)bsData.GetBuffer(bsData.GetLength()); in FFI_PostRequestURL()
381 (FPDF_WIDESTRING)bsContentType.GetBuffer(bsContentType.GetLength()); in FFI_PostRequestURL()
385 (FPDF_WIDESTRING)bsEncode.GetBuffer(bsEncode.GetLength()); in FFI_PostRequestURL()
389 (FPDF_WIDESTRING)bsHeader.GetBuffer(bsHeader.GetLength()); in FFI_PostRequestURL()
410 FPDF_WIDESTRING URL = (FPDF_WIDESTRING)bsURL.GetBuffer(bsURL.GetLength()); in FFI_PutRequestURL()
414 (FPDF_WIDESTRING)bsData.GetBuffer(bsData.GetLength()); in FFI_PutRequestURL()
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp136 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in OutputPath()
164 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in SetClip_PathStroke()
208 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawPath()
270 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in SetGraphState()
405 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawDIBits()
492 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawDIBits()
534 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in SetColor()
579 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in FindPSFontGlyph()
640 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in FindPSFontGlyph()
685 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawText()
/external/lzma/CPP/Windows/Control/
DComboBox.cpp24 len = GetLBText(index, s.GetBuffer((int)len + 1)); in GetLBText()
45 len = SendMessageW(CB_GETLBTEXT, index, (LPARAM)s.GetBuffer((int)len + 1)); in GetLBText()
/external/pdfium/fpdfsdk/src/
Dfsdk_mgr.cpp232 FPDF_WIDESTRING pMsg = (FPDF_WIDESTRING)bsMsg.GetBuffer(bsMsg.GetLength()); in JS_appAlert()
234 (FPDF_WIDESTRING)bsTitle.GetBuffer(bsTitle.GetLength()); in JS_appAlert()
258 (FPDF_WIDESTRING)bsQuestion.GetBuffer(bsQuestion.GetLength()); in JS_appResponse()
260 (FPDF_WIDESTRING)bsTitle.GetBuffer(bsTitle.GetLength()); in JS_appResponse()
262 (FPDF_WIDESTRING)bsDefault.GetBuffer(bsDefault.GetLength()); in JS_appResponse()
264 (FPDF_WIDESTRING)bsLabel.GetBuffer(bsLabel.GetLength()); in JS_appResponse()
330 (FPDF_WIDESTRING)bsDestination.GetBuffer(bsDestination.GetLength()); in JS_docSubmitForm()
351 FPDF_WIDESTRING pTo = (FPDF_WIDESTRING)bsTo.GetBuffer(bsTo.GetLength()); in JS_docmailForm()
352 FPDF_WIDESTRING pCC = (FPDF_WIDESTRING)bsCC.GetBuffer(bsCC.GetLength()); in JS_docmailForm()
353 FPDF_WIDESTRING pBcc = (FPDF_WIDESTRING)bsBcc.GetBuffer(bsBcc.GetLength()); in JS_docmailForm()
[all …]
Dfpdftext.cpp125 FXSYS_memcpy(result, cbUTF16str.GetBuffer(cbUTF16str.GetLength()), in FPDFText_GetText()
178 FXSYS_memcpy(buffer, cbUTF16Str.GetBuffer(size * sizeof(unsigned short)), in FPDFText_GetBoundedText()
262 FXSYS_memcpy(buffer, cbUTF16URL.GetBuffer(size * sizeof(unsigned short)), in FPDFLink_GetURL()
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtblock.cpp196 FX_WCHAR* lpDstBuf = wsKey.GetBuffer(lpItem->nKeyCount); in GetItem()
200 lpDstBuf = wsValue.GetBuffer(lpItem->nValCount); in GetItem()
296 FX_WCHAR* lpBuf = wsDel.GetBuffer(nCount); in Delete()
336 FX_WCHAR* lpBuffer = wsDel.GetBuffer(nCount); in Replace()
351 FX_WCHAR* lpBuffer = wsDisplay.GetBuffer(nLength); in GetDisplayText()
612 FX_WCHAR* lpBuf = wsField.GetBuffer(nLength); in GetNormalizedFieldText()
656 FX_WCHAR* lpBuffer = wsDisplay.GetBuffer(nLength); in GetDisplayText()
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp303 agg::rendering_buffer raw_buf(pThisLayer->GetBuffer(), pThisLayer->GetWidth(), in SetClipMask()
1006 uint8_t* dest_scan = m_pDevice->GetBuffer() + m_pDevice->GetPitch() * y; in render()
1011 pAlphaMask->GetBuffer() + pAlphaMask->GetPitch() * y; in render()
1015 ori_scan = m_pOriDevice->GetBuffer() + m_pOriDevice->GetPitch() * y; in render()
1038 clip_pos = m_pClipMask->GetBuffer() + in render()
1217 if (!GetBuffer()) { in DrawPath()
1292 uint8_t* pos = (uint8_t*)pBitmap->GetBuffer() + y * pBitmap->GetPitch() + in RgbByteOrderSetPixel()
1320 uint8_t* pBuffer = pBitmap->GetBuffer(); in RgbByteOrderCompositeRect()
1404 uint8_t* buffer = pBitmap->GetBuffer(); in RgbByteOrderTransferBitmap()
1532 if (!m_pBitmap->GetBuffer()) { in SetPixel()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_csssyntax.cpp283 FDE_ParseCSSURI(m_TextData.GetBuffer(), iURILength, iURIStart, in DoSyntaxParse()
301 const FX_WCHAR* psz = m_TextData.GetBuffer(); in DoSyntaxParse()
336 m_TextData.GetBuffer(), m_iTextDatLen); in DoSyntaxParse()
406 return m_TextData.GetBuffer(); in GetCurrentString()
/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_doc.cpp571 wsTitle = wsTitle.FromLocal(csTitle.GetBuffer(csTitle.GetLength())); in GetTitle()
609 (FPDF_WIDESTRING)bs.GetBuffer(len * sizeof(unsigned short)), "wb"); in ExportData()
847 (FPDF_WIDESTRING)bs.GetBuffer(len * sizeof(unsigned short)), in _OnBeforeNotifySumbit()
905 0, (FPDF_WIDESTRING)bs.GetBuffer(len * sizeof(unsigned short)), "rb"); in OpenLinkedFile()
1119 pEnv->FFI_Alert((FPDF_WIDESTRING)bs.GetBuffer(len * sizeof(unsigned short)), in _SubmitData()
1183 FPDF_WIDESTRING pTo = (FPDF_WIDESTRING)bsTo.GetBuffer(bsTo.GetLength()); in _SubmitData()
1184 FPDF_WIDESTRING pCC = (FPDF_WIDESTRING)bsCC.GetBuffer(bsCC.GetLength()); in _SubmitData()
1185 FPDF_WIDESTRING pBcc = (FPDF_WIDESTRING)bsBcc.GetBuffer(bsBcc.GetLength()); in _SubmitData()
1187 (FPDF_WIDESTRING)bsSubject.GetBuffer(bsSubject.GetLength()); in _SubmitData()
1188 FPDF_WIDESTRING pMsg = (FPDF_WIDESTRING)bsMsg.GetBuffer(bsMsg.GetLength()); in _SubmitData()
[all …]
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.h141 virtual uint8_t* GetBuffer() const { return m_pAggDriver->GetBuffer(); } in GetBuffer() function
/external/pdfium/core/src/fxge/agg/include/
Dfx_agg_driver.h135 virtual uint8_t* GetBuffer() const { return m_pBitmap->GetBuffer(); } in GetBuffer() function
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp413 sData.AppendBlock(sElement.GetBuffer(), sElement.GetSize()); in SaveGlobalPersisitentVariables()
428 sFile.AppendBlock(sData.GetBuffer(), sData.GetSize()); in SaveGlobalPersisitentVariables()
430 CRYPT_ArcFourCryptBlock(sFile.GetBuffer(), sFile.GetSize(), JS_RC4KEY, in SaveGlobalPersisitentVariables()
432 WriteFileBuffer(m_sFilePath.c_str(), (const FX_CHAR*)sFile.GetBuffer(), in SaveGlobalPersisitentVariables()

1234567