/external/pdfium/core/fxcrt/ |
D | fx_random.cpp | 86 uint32_t* pBuf = pContext->mt; in FX_Random_MT_Start() local 87 pBuf[0] = dwSeed; in FX_Random_MT_Start() 89 pBuf[i] = (1812433253UL * (pBuf[i - 1] ^ (pBuf[i - 1] >> 30)) + i); in FX_Random_MT_Start() 97 uint32_t* pBuf = pMTC->mt; in FX_Random_MT_Generate() local 103 v = (pBuf[kk] & MT_Upper_Mask) | (pBuf[kk + 1] & MT_Lower_Mask); in FX_Random_MT_Generate() 104 pBuf[kk] = pBuf[kk + MT_M] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate() 107 v = (pBuf[kk] & MT_Upper_Mask) | (pBuf[kk + 1] & MT_Lower_Mask); in FX_Random_MT_Generate() 108 pBuf[kk] = pBuf[kk + (MT_M - MT_N)] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate() 110 v = (pBuf[MT_N - 1] & MT_Upper_Mask) | (pBuf[0] & MT_Lower_Mask); in FX_Random_MT_Generate() 111 pBuf[MT_N - 1] = pBuf[MT_M - 1] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate() [all …]
|
D | cfx_binarybuf.cpp | 63 void CFX_BinaryBuf::AppendBlock(const void* pBuf, size_t size) { in AppendBlock() argument 68 if (pBuf) { in AppendBlock() 69 memcpy(m_pBuffer.get() + m_DataSize, pBuf, size); in AppendBlock()
|
D | cfx_blockbuffer.cpp | 83 wchar_t* pBuf = wsTextData.GetBuffer(length); in GetTextData() local 84 if (!pBuf) in GetTextData() 107 memcpy(pBuf + pointer, pBlockBuf + bufferPointer, in GetTextData()
|
D | cfx_binarybuf.h | 28 void AppendBlock(const void* pBuf, size_t size);
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_devicecs.cpp | 74 bool CPDF_DeviceCS::GetRGB(float* pBuf, float* R, float* G, float* B) const { in GetRGB() argument 77 *R = NormalizeChannel(*pBuf); in GetRGB() 82 *R = NormalizeChannel(pBuf[0]); in GetRGB() 83 *G = NormalizeChannel(pBuf[1]); in GetRGB() 84 *B = NormalizeChannel(pBuf[2]); in GetRGB() 88 float k = pBuf[3]; in GetRGB() 89 *R = 1.0f - std::min(1.0f, pBuf[0] + k); in GetRGB() 90 *G = 1.0f - std::min(1.0f, pBuf[1] + k); in GetRGB() 91 *B = 1.0f - std::min(1.0f, pBuf[2] + k); in GetRGB() 94 NormalizeChannel(pBuf[0]), NormalizeChannel(pBuf[1]), in GetRGB() [all …]
|
D | cpdf_colorspace.cpp | 83 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 106 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 136 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 159 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 196 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 221 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 242 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override; 580 bool CPDF_CalGray::GetRGB(float* pBuf, float* R, float* G, float* B) const { in GetRGB() argument 581 *R = *pBuf; in GetRGB() 582 *G = *pBuf; in GetRGB() [all …]
|
D | cpdf_image.cpp | 209 char* pBuf = ct.GetBuffer(6); in SetImage() local 210 pBuf[0] = (char)reset_r; in SetImage() 211 pBuf[1] = (char)reset_g; in SetImage() 212 pBuf[2] = (char)reset_b; in SetImage() 213 pBuf[3] = (char)set_r; in SetImage() 214 pBuf[4] = (char)set_g; in SetImage() 215 pBuf[5] = (char)set_b; in SetImage()
|
D | cpdf_patterncs.cpp | 53 bool CPDF_PatternCS::GetRGB(float* pBuf, float* R, float* G, float* B) const { in GetRGB() argument 56 PatternValue* pvalue = reinterpret_cast<PatternValue*>(pBuf); in GetRGB()
|
D | cpdf_patterncs.h | 28 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override;
|
D | cpdf_devicecs.h | 23 bool GetRGB(float* pBuf, float* R, float* G, float* B) const override;
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | rasterizer.cpp | 350 float *pBuf = &newTriBuffer[0]; in RasterizeTriPoint() local 351 *pBuf++ = lowerX; in RasterizeTriPoint() 352 *pBuf++ = lowerX; in RasterizeTriPoint() 353 *pBuf++ = upperX; in RasterizeTriPoint() 354 pBuf++; in RasterizeTriPoint() 355 *pBuf++ = lowerY; in RasterizeTriPoint() 356 *pBuf++ = upperY; in RasterizeTriPoint() 357 *pBuf++ = upperY; in RasterizeTriPoint() 358 pBuf++; in RasterizeTriPoint() 359 _mm_store_ps(pBuf, _mm_set1_ps(z)); in RasterizeTriPoint() [all …]
|
D | tilemgr.cpp | 275 simd16scalari *pBuf = (simd16scalari *)pHotTile->pBuffer; in ClearStencilHotTile() local 285 _simd16_store_si(pBuf, valS); in ClearStencilHotTile() 286 pBuf += 1; in ClearStencilHotTile() 353 simdscalari* pBuf = (simdscalari*)pHotTile->pBuffer; in ClearStencilHotTile() local 363 _simd_store_si(pBuf, valS); in ClearStencilHotTile() 364 pBuf += 1; in ClearStencilHotTile()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | streamout_jit.cpp | 60 Value* pBuf = getSOBuffer(pSoCtx, buffer); in oob() local 64 Value* enabled = TRUNC(LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_enable }), IRB()->getInt1Ty()); in oob() 67 Value* bufferSize = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_bufferSize }); in oob() 70 Value* streamOffset = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_streamOffset }); in oob() 73 Value* pitch = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_pitch }); in oob() 224 Value* pBuf = getSOBuffer(pSoCtx, b); in buildStream() local 225 Value* pData = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_pBuffer }); in buildStream() 226 Value* streamOffset = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_streamOffset }); in buildStream() 230 outBufferPitch[b] = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_pitch }); in buildStream() 254 Value* pBuf = getSOBuffer(pSoCtx, b); in buildStream() local [all …]
|
D | JitManager.cpp | 725 std::unique_ptr<llvm::MemoryBuffer> pBuf = nullptr; in getObject() local 746 pBuf = llvm::MemoryBuffer::getNewUninitMemBuffer(size_t(header.GetObjectSize())); in getObject() 748 pBuf = llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t(header.GetObjectSize())); in getObject() 750 if (!fread(const_cast<char*>(pBuf->getBufferStart()), header.GetObjectSize(), 1, fpObjIn)) in getObject() 752 pBuf = nullptr; in getObject() 756 if (header.GetObjectCRC() != ComputeCRC(0, pBuf->getBufferStart(), pBuf->getBufferSize())) in getObject() 759 pBuf = nullptr; in getObject() 780 return pBuf; in getObject()
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLib.c | 136 static S_BUFFER_INFO *pBuf = NULL; variable 355 memset(ptrOutL, 0, pBuf->uOutFrames); in RenderProc() 356 memset(ptrOutR, 0, pBuf->uOutFrames); in RenderProc() 359 if (pBuf->ix == 0 ) in RenderProc() 368 short* pData = pBuf->pData[--(pBuf->ix)]; in RenderProc() 372 for (i = 0; i < pBuf->uOutFrames; i+=2 ) in RenderProc() 388 memcpy(pBuf->pData[(pBuf->ix)++], pAudioBuffer, 2048); in addData() 412 while(pBuf->ix == MAX_BUFFERS - 1) in EAS_RenderWaveOut() 433 while(pBuf->ix == MAX_BUFFERS - 1) in EAS_RenderAuxMixerWaveOut() 527 pBuf = (S_BUFFER_INFO *) malloc(sizeof(S_BUFFER_INFO)); in OpenWaveOutDevice() [all …]
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3cache.cpp | 39 bool IsScanLine1bpp(uint8_t* pBuf, int width) { in IsScanLine1bpp() argument 42 if (pBuf[i]) in IsScanLine1bpp() 45 return (width % 8) && (pBuf[width / 8] & (0xff << (8 - width % 8))); in IsScanLine1bpp() 48 bool IsScanLine8bpp(uint8_t* pBuf, int width) { in IsScanLine8bpp() argument 50 if (pBuf[i] > 0x40) in IsScanLine8bpp() 63 uint8_t* pBuf = pBitmap->GetBuffer(); in DetectFirstLastScan() local 69 if (IsScanLine1bpp(pBuf + line * pitch, width)) in DetectFirstLastScan() 72 if (IsScanLine8bpp(pBuf + line * pitch, width)) in DetectFirstLastScan()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_simple_parser.cpp | 143 uint32_t* pBuf = FX_Alloc(uint32_t, nParams); in FindTagParamFromStart() local 148 pBuf[buf_index++] = m_dwCurPos; in FindTagParamFromStart() 158 FX_Free(pBuf); in FindTagParamFromStart() 165 m_dwCurPos = pBuf[buf_index]; in FindTagParamFromStart() 166 FX_Free(pBuf); in FindTagParamFromStart()
|
/external/pdfium/testing/ |
D | fake_file_access.cpp | 28 unsigned char* pBuf, in GetBlockImpl() argument 31 position, pBuf, size); in GetBlockImpl() 100 unsigned char* pBuf, in GetBlock() argument 104 return file_access_->m_GetBlock(file_access_->m_Param, position, pBuf, size); in GetBlock()
|
D | test_support.cpp | 205 TestLoader::TestLoader(const char* pBuf, size_t len) in TestLoader() argument 206 : m_pBuf(pBuf), m_Len(len) { in TestLoader() 212 unsigned char* pBuf, in GetBlock() argument 218 memcpy(pBuf, pLoader->m_pBuf + pos, size); in GetBlock()
|
D | test_support.h | 107 TestLoader(const char* pBuf, size_t len); 110 unsigned char* pBuf,
|
D | fake_file_access.h | 29 int GetBlock(unsigned long position, unsigned char* pBuf, unsigned long size);
|
/external/pdfium/fpdfsdk/ |
D | fpdf_dataavail_embeddertest.cpp | 99 int GetBlockImpl(unsigned long pos, unsigned char* pBuf, unsigned long size) { in GetBlockImpl() argument 106 memcpy(pBuf, file_contents_.get() + pos, end - pos); in GetBlockImpl() 128 unsigned char* pBuf, in SGetBlock() argument 130 return static_cast<TestAsyncLoader*>(param)->GetBlockImpl(pos, pBuf, size); in SGetBlock()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_localemgr.cpp | 1068 static std::unique_ptr<IFX_Locale> XFA_GetLocaleFromBuffer(const uint8_t* pBuf, in XFA_GetLocaleFromBuffer() argument 1070 if (!pBuf || nBufLen <= 0) in XFA_GetLocaleFromBuffer() 1076 pCodecMgr->GetFlateModule()->FlateOrLZWDecode(false, pBuf, nBufLen, true, 0, in XFA_GetLocaleFromBuffer()
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_tiffmodule.cpp | 212 void TiffBGRA2RGBA(uint8_t* pBuf, int32_t pixel, int32_t spp) { in TiffBGRA2RGBA() argument 214 uint8_t tmp = pBuf[0]; in TiffBGRA2RGBA() 215 pBuf[0] = pBuf[2]; in TiffBGRA2RGBA() 216 pBuf[2] = tmp; in TiffBGRA2RGBA() 217 pBuf += spp; in TiffBGRA2RGBA()
|
/external/swiftshader/third_party/PowerVR_SDK/Shell/API/KEGL/ |
D | PVRShellAPI.cpp | 751 bool PVRShellInit::ApiScreenCaptureBuffer(int Width,int Height,unsigned char *pBuf) in ApiScreenCaptureBuffer() argument 774 pBuf[i] = pLines2[j+2]; in ApiScreenCaptureBuffer() 775 pBuf[i+1] = pLines2[j+1]; in ApiScreenCaptureBuffer() 776 pBuf[i+2] = pLines2[j]; in ApiScreenCaptureBuffer()
|