/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | api.cpp | 51 void SetupDefaultState(SWR_CONTEXT *pContext); 58 void WakeAllThreads(SWR_CONTEXT *pContext) in WakeAllThreads() argument 60 pContext->FifosNotEmpty.notify_all(); in WakeAllThreads() 74 SWR_CONTEXT *pContext = new (pContextMem) SWR_CONTEXT(); in SwrCreateContext() local 76 pContext->privateStateSize = pCreateInfo->privateStateSize; in SwrCreateContext() 78 pContext->dcRing.Init(KNOB_MAX_DRAWS_IN_FLIGHT); in SwrCreateContext() 79 pContext->dsRing.Init(KNOB_MAX_DRAWS_IN_FLIGHT); in SwrCreateContext() 81 …pContext->pMacroTileManagerArray = (MacroTileMgr*)AlignedMalloc(sizeof(MacroTileMgr) * KNOB_MAX_DR… in SwrCreateContext() 82 …pContext->pDispatchQueueArray = (DispatchQueue*)AlignedMalloc(sizeof(DispatchQueue) * KNOB_MAX_DRA… in SwrCreateContext() 86 pContext->dcRing[dc].pArena = new CachingArena(pContext->cachingArenaAllocator); in SwrCreateContext() [all …]
|
D | threads.cpp | 248 void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId = 0, bool bindProcGr… in bindThread() argument 251 if (pContext->threadInfo.MAX_WORKER_THREADS && bindProcGroup == false) in bindThread() 278 if (!pContext->threadInfo.MAX_WORKER_THREADS) in bindThread() 299 uint32_t GetEnqueuedDraw(SWR_CONTEXT *pContext) in GetEnqueuedDraw() argument 301 return pContext->dcRing.GetHead(); in GetEnqueuedDraw() 305 DRAW_CONTEXT *GetDC(SWR_CONTEXT *pContext, uint32_t drawId) in GetDC() argument 307 return &pContext->dcRing[(drawId-1) % KNOB_MAX_DRAWS_IN_FLIGHT]; in GetDC() 320 bool CheckDependency(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t lastRetiredDraw) in CheckDependency() argument 325 bool CheckDependencyFE(SWR_CONTEXT *pContext, DRAW_CONTEXT *pDC, uint32_t lastRetiredDraw) in CheckDependencyFE() argument 332 INLINE void UpdateClientStats(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEXT* pDC) in UpdateClientStats() argument [all …]
|
D | threads.h | 47 SWR_CONTEXT *pContext; member 62 void CreateThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool); 63 void StartThreadPool(SWR_CONTEXT* pContext, THREAD_POOL* pPool); 64 void DestroyThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool); 67 void WorkOnFifoFE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawFE); 68 bool WorkOnFifoBE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE, TileSet &usedTiles… 69 void WorkOnCompute(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE); 70 int32_t CompleteDrawContext(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC);
|
D | tilemgr.cpp | 86 HOTTILE* HotTileMgr::GetHotTile(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, SWR_REN… in GetHotTile() argument 102 uint32_t numaNode = ((x ^ y) & pContext->threadPool.numaMask); in GetHotTile() 126 uint32_t numaNode = ((x ^ y) & pContext->threadPool.numaMask); in GetHotTile() 166 pContext->pfnStoreTile(GetPrivateState(pDC), format, attachment, in GetHotTile() 170 pContext->pfnLoadTile(GetPrivateState(pDC), format, attachment, in GetHotTile() 181 SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t macroID, in GetHotTileNoLoad() argument 379 void HotTileMgr::InitializeHotTiles(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC, uint32_t workerId, ui… in InitializeHotTiles() argument 395 …HOTTILE* pHotTile = GetHotTile(pContext, pDC, macroID, (SWR_RENDERTARGET_ATTACHMENT)(SWR_ATTACHMEN… in InitializeHotTiles() 401 …pContext->pfnLoadTile(GetPrivateState(pDC), KNOB_COLOR_HOT_TILE_FORMAT, (SWR_RENDERTARGET_ATTACHME… in InitializeHotTiles() 419 … HOTTILE* pHotTile = GetHotTile(pContext, pDC, macroID, SWR_ATTACHMENT_DEPTH, true, numSamples); in InitializeHotTiles() [all …]
|
D | clip.cpp | 184 SWR_CONTEXT *pContext = pDC->pContext; in ClipTriangles() local 193 SWR_CONTEXT *pContext = pDC->pContext; in ClipLines() local 201 SWR_CONTEXT *pContext = pDC->pContext; in ClipPoints() local
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_crypto_handler.cpp | 91 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() local 92 pContext->m_bIV = true; in CryptStart() 93 pContext->m_BlockOffset = 0; in CryptStart() 94 CRYPT_AESSetKey(pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt); in CryptStart() 97 pContext->m_Block[i] = (uint8_t)rand(); in CryptStart() 99 CRYPT_AESSetIV(pContext->m_Context, pContext->m_Block); in CryptStart() 101 return pContext; in CryptStart() 117 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); in CryptStart() local 118 pContext->m_bIV = true; in CryptStart() 119 pContext->m_BlockOffset = 0; in CryptStart() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdf_progressive.cpp | 47 CPDF_PageRenderContext* pContext = new CPDF_PageRenderContext; in FPDF_RenderPageBitmap_Start() local 48 pPage->SetRenderContext(pdfium::WrapUnique(pContext)); in FPDF_RenderPageBitmap_Start() 50 pContext->m_pDevice.reset(pDevice); in FPDF_RenderPageBitmap_Start() 55 FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y, in FPDF_RenderPageBitmap_Start() 58 if (pContext->m_pRenderer) { in FPDF_RenderPageBitmap_Start() 60 pContext->m_pRenderer->GetStatus()); in FPDF_RenderPageBitmap_Start() 74 CPDF_PageRenderContext* pContext = pPage->GetRenderContext(); in FPDF_RenderPage_Continue() local 75 if (pContext && pContext->m_pRenderer) { in FPDF_RenderPage_Continue() 77 pContext->m_pRenderer->Continue(&IPauseAdapter); in FPDF_RenderPage_Continue() 79 pContext->m_pRenderer->GetStatus()); in FPDF_RenderPage_Continue() [all …]
|
D | fsdk_actionhandler.cpp | 160 IJS_EventContext* pContext = pRuntime->NewEventContext(); in ExecuteLinkAction() local 161 pContext->OnLink_MouseUp(pFormFillEnv); in ExecuteLinkAction() 164 bool bRet = pContext->RunScript(swJS, &csInfo); in ExecuteLinkAction() 165 pRuntime->ReleaseEventContext(pContext); in ExecuteLinkAction() 284 IJS_EventContext* pContext = pRuntime->NewEventContext(); in ExecuteScreenAction() local 286 bool bRet = pContext->RunScript(swJS, &csInfo); in ExecuteScreenAction() 287 pRuntime->ReleaseEventContext(pContext); in ExecuteScreenAction() 323 IJS_EventContext* pContext = pRuntime->NewEventContext(); in ExecuteBookMark() local 324 pContext->OnBookmark_MouseUp(pBookmark); in ExecuteBookMark() 327 bool bRet = pContext->RunScript(swJS, &csInfo); in ExecuteBookMark() [all …]
|
D | fpdfsave.cpp | 79 CPDFXFA_Context* pContext, in SaveXFADocumentData() argument 81 if (!pContext) in SaveXFADocumentData() 84 if (pContext->GetDocType() != DOCTYPE_DYNAMIC_XFA && in SaveXFADocumentData() 85 pContext->GetDocType() != DOCTYPE_STATIC_XFA) in SaveXFADocumentData() 88 CXFA_FFDocView* pXFADocView = pContext->GetXFADocView(); in SaveXFADocumentData() 92 CPDF_Document* pPDFDocument = pContext->GetPDFDoc(); in SaveXFADocumentData() 222 bool SendPostSaveToXFADoc(CPDFXFA_Context* pContext) { in SendPostSaveToXFADoc() argument 223 if (!pContext) in SendPostSaveToXFADoc() 226 if (pContext->GetDocType() != DOCTYPE_DYNAMIC_XFA && in SendPostSaveToXFADoc() 227 pContext->GetDocType() != DOCTYPE_STATIC_XFA) in SendPostSaveToXFADoc() [all …]
|
D | fpdfview.cpp | 72 void RenderPageImpl(CPDF_PageRenderContext* pContext, in RenderPageImpl() argument 79 if (!pContext->m_pOptions) in RenderPageImpl() 80 pContext->m_pOptions = pdfium::MakeUnique<CPDF_RenderOptions>(); in RenderPageImpl() 83 pContext->m_pOptions->m_Flags |= RENDER_CLEARTYPE; in RenderPageImpl() 85 pContext->m_pOptions->m_Flags &= ~RENDER_CLEARTYPE; in RenderPageImpl() 88 pContext->m_pOptions->m_Flags |= RENDER_NO_NATIVETEXT; in RenderPageImpl() 90 pContext->m_pOptions->m_Flags |= RENDER_LIMITEDIMAGECACHE; in RenderPageImpl() 92 pContext->m_pOptions->m_Flags |= RENDER_FORCE_HALFTONE; in RenderPageImpl() 95 pContext->m_pOptions->m_Flags |= RENDER_NOTEXTSMOOTH; in RenderPageImpl() 97 pContext->m_pOptions->m_Flags |= RENDER_NOIMAGESMOOTH; in RenderPageImpl() [all …]
|
D | fpdfformfill.cpp | 89 CPDFXFA_Context* pContext = pPage->GetContext(); in FFLCommon() local 90 if (!pContext) in FFLCommon() 92 CPDF_Document* pPDFDoc = pContext->GetPDFDoc(); in FFLCommon() 426 CPDFXFA_Context* pContext = static_cast<CPDFXFA_Context*>(document); in FPDF_Widget_Undo() local 427 if (pContext->GetDocType() != XFA_DOCTYPE_Dynamic && in FPDF_Widget_Undo() 428 pContext->GetDocType() != XFA_DOCTYPE_Static) in FPDF_Widget_Undo() 439 CPDFXFA_Context* pContext = static_cast<CPDFXFA_Context*>(document); in FPDF_Widget_Redo() local 440 if (pContext->GetDocType() != XFA_DOCTYPE_Dynamic && in FPDF_Widget_Redo() 441 pContext->GetDocType() != XFA_DOCTYPE_Static) in FPDF_Widget_Redo() 452 CPDFXFA_Context* pContext = static_cast<CPDFXFA_Context*>(document); in FPDF_Widget_SelectAll() local [all …]
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTShadowVol.cpp | 381 const SPVRTContext * const pContext) in PVRTShadowVolMeshInitMesh() argument 390 _ASSERT(pContext && pContext->pglExt); in PVRTShadowVolMeshInitMesh() 392 if(!pContext || !pContext->pglExt) in PVRTShadowVolMeshInitMesh() 397 PVRT_UNREFERENCED_PARAMETER(pContext); in PVRTShadowVolMeshInitMesh() 418 hRes = pContext->pDev->CreateBuffer(&sVBBufferDesc, NULL, &psMesh->pivb) != S_OK; in PVRTShadowVolMeshInitMesh() 428 pContext->pDev->GetImmediateContext(&pDeviceContext); in PVRTShadowVolMeshInitMesh() 441 _ASSERT(pContext && pContext->pglExt); in PVRTShadowVolMeshInitMesh() 442 if (!pContext || !pContext->pglExt) in PVRTShadowVolMeshInitMesh() 444 pContext->pglExt->glGenBuffersARB(1, &psMesh->pivb); in PVRTShadowVolMeshInitMesh() 445 pContext->pglExt->glBindBufferARB(GL_ARRAY_BUFFER_ARB, psMesh->pivb); in PVRTShadowVolMeshInitMesh() [all …]
|
D | PVRTShadowVol.h | 115 const SPVRTContext * const pContext); 128 const SPVRTContext * const pContext); 172 const SPVRTContext * const pContext = 0); 190 const SPVRTContext * const pContext = 0); 242 const SPVRTContext * const pContext);
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_jpegmodule.h | 40 void Finish(FXJPEG_Context* pContext); 41 void Input(FXJPEG_Context* pContext, 46 int ReadHeader(FXJPEG_Context* pContext, 51 int ReadHeader(FXJPEG_Context* pContext, 58 bool StartScanline(FXJPEG_Context* pContext, int down_scale); 59 bool ReadScanline(FXJPEG_Context* pContext, uint8_t* dest_buf); 60 uint32_t GetAvailInput(FXJPEG_Context* pContext, uint8_t** avail_buf_ptr);
|
D | ccodec_gifmodule.h | 20 void Finish(FXGIF_Context* pContext) override; 21 uint32_t GetAvailInput(FXGIF_Context* pContext, 24 void Input(FXGIF_Context* pContext, 28 int32_t ReadHeader(FXGIF_Context* pContext, 36 int32_t LoadFrameInfo(FXGIF_Context* pContext, int* frame_num) override; 37 int32_t LoadFrame(FXGIF_Context* pContext,
|
D | icodec_gifmodule.h | 40 virtual void Finish(FXGIF_Context* pContext) = 0; 41 virtual uint32_t GetAvailInput(FXGIF_Context* pContext, 44 virtual void Input(FXGIF_Context* pContext, 48 virtual int32_t ReadHeader(FXGIF_Context* pContext, 56 virtual int32_t LoadFrameInfo(FXGIF_Context* pContext, int* frame_num) = 0; 57 virtual int32_t LoadFrame(FXGIF_Context* pContext,
|
D | ccodec_bmpmodule.h | 19 void Finish(FXBMP_Context* pContext) override; 20 uint32_t GetAvailInput(FXBMP_Context* pContext, 22 void Input(FXBMP_Context* pContext, 25 int32_t ReadHeader(FXBMP_Context* pContext, 33 int32_t LoadImage(FXBMP_Context* pContext) override;
|
D | icodec_bmpmodule.h | 28 virtual void Finish(FXBMP_Context* pContext) = 0; 29 virtual uint32_t GetAvailInput(FXBMP_Context* pContext, 31 virtual void Input(FXBMP_Context* pContext, 34 virtual int32_t ReadHeader(FXBMP_Context* pContext, 42 virtual int32_t LoadImage(FXBMP_Context* pContext) = 0;
|
/external/icu/icu4c/source/common/ |
D | cmemory.c | 33 static const void *pContext; variable 80 return (*pAlloc)(pContext, s); in uprv_malloc() 99 (*pFree)(pContext, buffer); in uprv_realloc() 106 return (*pRealloc)(pContext, buffer, size); in uprv_realloc() 121 (*pFree)(pContext, buffer); in uprv_free() 149 pContext = context; in u_setMemoryFunctions() 157 pContext = NULL; in cmemory_cleanup()
|
/external/python/cpython2/Modules/ |
D | _lsprof.c | 375 ProfilerContext *pContext; in ptrace_enter_call() local 393 pContext = pObj->freelistProfilerContext; in ptrace_enter_call() 394 if (pContext) { in ptrace_enter_call() 395 pObj->freelistProfilerContext = pContext->previous; in ptrace_enter_call() 399 pContext = (ProfilerContext*) in ptrace_enter_call() 401 if (pContext == NULL) { in ptrace_enter_call() 406 initContext(pObj, pContext, profEntry); in ptrace_enter_call() 418 ProfilerContext *pContext; in ptrace_leave_call() local 420 pContext = pObj->currentProfilerContext; in ptrace_leave_call() 421 if (pContext == NULL) in ptrace_leave_call() [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_annotlist.cpp | 107 CPDF_RenderContext* pContext, in DisplayPass() argument 146 if (pContext) { in DisplayPass() 147 pAnnot->DrawInContext(pPage, pContext, &matrix, CPDF_Annot::Normal); in DisplayPass() 157 CPDF_RenderContext* pContext, in DisplayAnnots() argument 164 DisplayPass(pPage, pDevice, pContext, bPrinting, pUser2Device, false, in DisplayAnnots() 168 DisplayPass(pPage, pDevice, pContext, bPrinting, pUser2Device, true, in DisplayAnnots() 174 CPDF_RenderContext* pContext, in DisplayAnnots() argument 181 DisplayAnnots(pPage, nullptr, pContext, bPrinting, pMatrix, dwAnnotFlags, in DisplayAnnots()
|
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/inc/ |
D | Ala.h | 201 ALA_OpenChannel(Ala_ImageInfo_t* pContext, tJBL_STATUS status, Ala_TranscieveInfo_t* pInfo); 204 ALA_SelectAla(Ala_ImageInfo_t* pContext, tJBL_STATUS status, Ala_TranscieveInfo_t* pInfo); 207 ALA_StoreData(Ala_ImageInfo_t* pContext, tJBL_STATUS status, Ala_TranscieveInfo_t* pInfo); 214 ALA_update_seq_handler(tJBL_STATUS (*seq_handler[])(Ala_ImageInfo_t* pContext, tJBL_STATUS status, … 218 tJBL_STATUS GetVer_seq_handler(tJBL_STATUS (*seq_handler[])(Ala_ImageInfo_t* pContext, tJBL_STATUS … 245 ALA_update_seq_handler(tJBL_STATUS (*seq_handler[])(Ala_ImageInfo_t* pContext, tJBL_STATUS status, … 248 JsblCerId_seq_handler(tJBL_STATUS (*seq_handler[])(Ala_ImageInfo_t* pContext, tJBL_STATUS status, A… 253 pContext, tJBL_STATUS status, Ala_TranscieveInfo_t* pInfo));
|
/external/pdfium/fxjs/ |
D | cfxjse_context.cpp | 48 explicit CFXJSE_ScopeUtil_IsolateHandleContext(CFXJSE_Context* pContext) in CFXJSE_ScopeUtil_IsolateHandleContext() argument 49 : m_context(pContext), in CFXJSE_ScopeUtil_IsolateHandleContext() 50 m_parent(pContext->m_pIsolate), in CFXJSE_ScopeUtil_IsolateHandleContext() 51 m_cscope(v8::Local<v8::Context>::New(pContext->m_pIsolate, in CFXJSE_ScopeUtil_IsolateHandleContext() 52 pContext->m_hContext)) {} in CFXJSE_ScopeUtil_IsolateHandleContext() 155 CFXJSE_Context* pContext = new CFXJSE_Context(pIsolate); in Create() local 159 lpGlobalClassObj = CFXJSE_Class::Create(pContext, lpGlobalClass, true); in Create() 181 pContext->m_hContext.Reset(pIsolate, hNewContext); in Create() 182 return pContext; in Create()
|
/external/pdfium/core/fxcrt/ |
D | fx_extension.cpp | 549 FX_MTRANDOMCONTEXT* pContext = FX_Alloc(FX_MTRANDOMCONTEXT, 1); in FX_Random_MT_Start() local 550 pContext->mt[0] = dwSeed; in FX_Random_MT_Start() 551 uint32_t& i = pContext->mti; in FX_Random_MT_Start() 552 uint32_t* pBuf = pContext->mt; in FX_Random_MT_Start() 556 pContext->bHaveSeed = true; in FX_Random_MT_Start() 557 return pContext; in FX_Random_MT_Start() 559 uint32_t FX_Random_MT_Generate(void* pContext) { in FX_Random_MT_Generate() argument 560 ASSERT(pContext); in FX_Random_MT_Generate() 561 FX_MTRANDOMCONTEXT* pMTC = static_cast<FX_MTRANDOMCONTEXT*>(pContext); in FX_Random_MT_Generate() 590 void FX_Random_MT_Close(void* pContext) { in FX_Random_MT_Close() argument [all …]
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | xfa_fm2jscontext.cpp | 622 CXFA_FM2JSContext* pContext = ToJSContext(pThis, nullptr); in Count() local 623 v8::Isolate* pIsolate = pContext->GetScriptRuntime(); in Count() 636 pContext->ThrowArgumentMismatchException(); in Count() 695 CXFA_FM2JSContext* pContext = ToJSContext(pThis, nullptr); in Max() local 696 v8::Isolate* pIsolate = pContext->GetScriptRuntime(); in Max() 709 pContext->ThrowArgumentMismatchException(); in Max() 769 CXFA_FM2JSContext* pContext = ToJSContext(pThis, nullptr); in Min() local 770 v8::Isolate* pIsolate = pContext->GetScriptRuntime(); in Min() 783 pContext->ThrowArgumentMismatchException(); in Min() 843 CXFA_FM2JSContext* pContext = ToJSContext(pThis, nullptr); in Mod() local [all …]
|