/external/pdfium/fpdfsdk/ |
fpdf_progressive.cpp | 50 CPDF_PageRenderContext* pContext = pOwnedContext.get(); 56 pContext->m_pDevice = std::move(pOwnedDevice); 60 FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y, 67 if (pContext->m_pRenderer) { 69 pContext->m_pRenderer->GetStatus()); 83 CPDF_PageRenderContext* pContext = pPage->GetRenderContext(); 84 if (pContext && pContext->m_pRenderer) { 86 pContext->m_pRenderer->Continue(&IPauseAdapter); 88 CFX_RenderDevice* pDevice = pContext->m_pDevice.get() [all...] |
cpdfsdk_widgethandler.cpp | 245 CPDFXFA_Context* pContext = pPageView->GetFormFillEnv()->GetXFAContext(); 246 if (pContext->GetFormType() == FormType::kXFAForeground) {
|
fpdftext.cpp | 55 CPDFXFA_Context* pContext = pPage->GetContext(); 56 CPDF_ViewerPreferences viewRef(pContext->GetPDFDoc());
|
fsdk_actionhandler.cpp | 162 IJS_EventContext* pContext = pRuntime->NewEventContext(); 163 pContext->OnLink_MouseUp(pFormFillEnv); 166 bool bRet = pContext->RunScript(swJS, &csInfo); 167 pRuntime->ReleaseEventContext(pContext); 286 IJS_EventContext* pContext = pRuntime->NewEventContext(); 288 bool bRet = pContext->RunScript(swJS, &csInfo); 289 pRuntime->ReleaseEventContext(pContext); 325 IJS_EventContext* pContext = pRuntime->NewEventContext(); 326 pContext->OnBookmark_MouseUp(pBookmark); 329 bool bRet = pContext->RunScript(swJS, &csInfo) [all...] |
/cts/tests/tests/security/testeffect/ |
CTSTestEffect.cpp | 56 CTSEffectsContext *pContext = new CTSEffectsContext; 58 pContext->mItfe = &gCTSEffectInterface; 60 *pHandle = (effect_handle_t)pContext; 67 CTSEffectsContext * pContext = (CTSEffectsContext *)handle; 69 if (pContext == NULL) { 72 delete pContext; 105 CTSEffectsContext * pContext = (CTSEffectsContext *)self; 107 if (pContext == NULL) { 123 memcpy(&pContext->mConfig, pCmdData, cmdSize); 131 memcpy(pReplyData, &pContext->mConfig, *replySize) [all...] |
/external/icu/icu4c/source/common/ |
cmemory.cpp | 33 static const void *pContext; 56 return (*pAlloc)(pContext, s); 75 (*pFree)(pContext, buffer); 82 return (*pRealloc)(pContext, buffer, size); 97 (*pFree)(pContext, buffer); 125 pContext = context; 133 pContext = NULL;
|
/external/pdfium/core/fpdfapi/render/ |
cpdf_imagecacheentry.cpp | 89 CPDF_RenderContext* pContext = pRenderStatus->GetContext(); 90 CPDF_PageRenderCache* pPageRenderCache = pContext->GetPageCache();
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
threads.h | 47 SWR_CONTEXT *pContext; 64 void CreateThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool); 65 void StartThreadPool(SWR_CONTEXT* pContext, THREAD_POOL* pPool); 66 void DestroyThreadPool(SWR_CONTEXT *pContext, THREAD_POOL *pPool); 69 void WorkOnFifoFE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawFE); 70 bool WorkOnFifoBE(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE, TileSet &usedTiles, uint32_t numaNode, uint32_t numaMask); 71 void WorkOnCompute(SWR_CONTEXT *pContext, uint32_t workerId, uint32_t &curDrawBE); 72 int32_t CompleteDrawContext(SWR_CONTEXT* pContext, DRAW_CONTEXT* pDC); 74 void BindApiThread(SWR_CONTEXT *pContext, uint32_t apiThreadId);
|
backend_clear.cpp | 149 HOTTILE *pHotTile = pDC->pContext->pHotTileMgr->GetHotTile(pDC->pContext, pDC, macroTile, rt, true, numSamples, renderTargetArrayIndex); 174 SWR_CONTEXT *pContext = pDC->pContext; 194 HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, (SWR_RENDERTARGET_ATTACHMENT)rt, true, numSamples, pClear->renderTargetArrayIndex); 207 HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, SWR_ATTACHMENT_DEPTH, true, numSamples, pClear->renderTargetArrayIndex); 214 HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, SWR_ATTACHMENT_STENCIL, true, numSamples, pClear->renderTargetArrayIndex) [all...] |
backend_sample.cpp | 43 SWR_CONTEXT *pContext = pDC->pContext;
|
backend_singlesample.cpp | 43 SWR_CONTEXT *pContext = pDC->pContext;
|
clip.cpp | 166 SWR_CONTEXT *pContext = pDC->pContext; 176 SWR_CONTEXT *pContext = pDC->pContext; 186 SWR_CONTEXT *pContext = pDC->pContext; 197 SWR_CONTEXT *pContext = pDC->pContext; 213 SWR_CONTEXT *pContext = pDC->pContext; [all...] |
api.cpp | 50 void SetupDefaultState(SWR_CONTEXT *pContext); 57 void WakeAllThreads(SWR_CONTEXT *pContext) 59 pContext->FifosNotEmpty.notify_all(); 73 SWR_CONTEXT *pContext = new (pContextMem) SWR_CONTEXT(); 75 pContext->privateStateSize = pCreateInfo->privateStateSize; 77 pContext->MAX_DRAWS_IN_FLIGHT = KNOB_MAX_DRAWS_IN_FLIGHT; 80 pContext->MAX_DRAWS_IN_FLIGHT = pCreateInfo->MAX_DRAWS_IN_FLIGHT; 83 pContext->dcRing.Init(pContext->MAX_DRAWS_IN_FLIGHT); 84 pContext->dsRing.Init(pContext->MAX_DRAWS_IN_FLIGHT) [all...] |
backend.cpp | 49 SWR_CONTEXT *pContext = pDC->pContext; 76 csContext.pTGSM = pContext->ppScratch[workerId]; 108 SWR_CONTEXT *pContext = pDC->pContext; 132 HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTileNoLoad(pContext, pDC, macroTile, attachment, false); 149 pContext->pfnStoreTile(GetPrivateState(pDC), srcFormat, 181 SWR_CONTEXT *pContext = pDC->pContext; [all...] |
rasterizer.cpp | 46 SWR_CONTEXT *pContext = pDC->pContext; 254 SWR_CONTEXT *pContext = pDC->pContext;
|
/frameworks/av/media/libeffects/proxy/ |
EffectProxy.cpp | 58 EffectContext* pContext; 64 pContext = new EffectContext; 65 pContext->sessionId = sessionId; 66 pContext->ioId = ioId; 67 pContext->uuid = *uuid; 68 pContext->common_itfe = &gEffectInterface; 72 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL; 78 pContext->sube = new sub_effect_entry_t*[SUB_FX_COUNT]; 79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT] [all...] |
/external/pdfium/core/fxcrt/ |
fx_random.cpp | 85 MTContext* pContext = FX_Alloc(MTContext, 1); 86 uint32_t* pBuf = pContext->mt; 91 pContext->mti = MT_N; 92 return pContext; 95 uint32_t FX_Random_MT_Generate(void* pContext) { 96 MTContext* pMTC = static_cast<MTContext*>(pContext); 122 void FX_Random_MT_Close(void* pContext) { 123 FX_Free(pContext); 127 void* pContext = ContextFromNextGlobalSeed(); 129 *pBuffer++ = FX_Random_MT_Generate(pContext); [all...] |
/external/pdfium/fxjs/ |
cjs_runtime.cpp | 97 IJS_EventContext* pContext = NewEventContext(); 99 ReleaseEventContext(pContext); 165 void CJS_Runtime::ReleaseEventContext(IJS_EventContext* pContext) { 168 static_cast<CJS_EventContext*>(pContext)));
|
cfxjse_context.cpp | 95 explicit CFXJSE_ScopeUtil_IsolateHandleContext(CFXJSE_Context* pContext) 96 : m_context(pContext), 97 m_parent(pContext->m_pIsolate), 98 m_cscope(v8::Local<v8::Context>::New(pContext->m_pIsolate, 99 pContext->m_hContext)) {} 161 auto pContext = pdfium::MakeUnique<CFXJSE_Context>(pIsolate); 165 CFXJSE_Class::Create(pContext.get(), pGlobalClass, true); 187 pContext->m_hContext.Reset(pIsolate, hNewContext); 188 return pContext;
|
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 90 void LE_reset(LoudnessEnhancerContext *pContext) 92 ALOGV(" > LE_reset(%p)", pContext); 94 if (pContext->mCompressor != NULL) { 95 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification 96 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); 97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); 99 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); 109 // pContext: effect engine context 117 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig [all...] |
/external/drrickorang/LoopbackApp/app/src/main/cpp/ |
jni_native.c | 73 void *pContext = NULL; 80 if (sEngines[engine].init(&pContext, samplingRate, frameCount, micSource, 84 pInstance->context = pContext;
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_crypto_handler.cpp | 125 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); 126 pContext->m_bIV = true; 127 pContext->m_BlockOffset = 0; 128 CRYPT_AESSetKey(&pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt); 131 pContext->m_Block[i] = (uint8_t)rand(); 133 CRYPT_AESSetIV(&pContext->m_Context, pContext->m_Block); 135 return pContext; 151 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); 152 pContext->m_bIV = true [all...] |
/external/pdfium/core/fxcodec/codec/ |
ccodec_pngmodule.cpp | 110 auto* pContext = 112 if (!pContext) 133 if (!pContext->m_pDelegate->PngReadHeader(width, height, bpc, pass, 135 png_error(pContext->m_pPng, "Read Header Callback Error"); 156 png_error(pContext->m_pPng, "Not Support Output Palette Now"); 182 auto* pContext = 184 if (!pContext) 188 if (!pContext->m_pDelegate->PngAskScanlineBuf(row_num, &src_buf)) 194 pContext->m_pDelegate->PngFillScanlineBufCompleted(pass, row_num); 237 bool CCodec_PngModule::Input(Context* pContext, [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 119 int Equalizer_init(EqualizerContext *pContext); 120 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig); 146 EqualizerContext *pContext = new EqualizerContext; 148 pContext->itfe = &gEqualizerInterface; 149 pContext->pEqualizer = NULL; 150 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 152 ret = Equalizer_init(pContext); 155 delete pContext; 159 *pHandle = (effect_handle_t)pContext; 160 pContext->state = EQUALIZER_STATE_INITIALIZED [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/ |
TftpServer.c | 24 @param [in] pContext Connection context structure address
31 IN TSDT_CONNECTION_CONTEXT * pContext
48 LengthInBytes = DIM ( pContext->FileData ) >> 1;
49 if (( pContext->ValidBytes > LengthInBytes )
50 || ( 0 == pContext->BytesRemaining )) {
57 if ( LengthInBytes > pContext->BytesRemaining ) {
58 LengthInBytes = pContext->BytesRemaining;
64 BytesRead = fread ( pContext->pFill,
67 pContext->File );
76 pContext->BytesRemaining -= BytesRead; [all...] |