/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/pdfium/core/fpdfapi/render/ |
cpdf_imagecacheentry.cpp | 97 CPDF_RenderContext* pContext = m_pRenderStatus->GetContext(); 98 CPDF_PageRenderCache* pPageRenderCache = pContext->GetPageCache();
|
/external/icu/icu4c/source/common/ |
cmemory.c | 33 static const void *pContext; 80 return (*pAlloc)(pContext, s); 99 (*pFree)(pContext, buffer); 106 return (*pRealloc)(pContext, buffer, size); 121 (*pFree)(pContext, buffer); 149 pContext = context; 157 pContext = NULL;
|
/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mspcall.h | 50 MSPSTREAMCONTEXT *pContext; 51 WINBOOL operator ==(struct _THREADPOOLWAITBLOCK &t) { return ((hWaitHandle==t.hWaitHandle) && (pContext==t.pContext)); } 59 static VOID NTAPI DispatchGraphEvent(VOID *pContext,BOOLEAN bFlag); 60 virtual VOID HandleGraphEvent(MSPSTREAMCONTEXT *pContext);
|
mspthrd.h | 16 PVOID pContext;
|
elscore.h | 54 LPVOID pContext; 107 LPVOID pContext;
|
/system/nfc/halimpl/pn54x/utils/ |
phNxpNciHal_utils.h | 49 void* pContext; 84 void* pContext);
|
/external/opencv/cxcore/src/ |
cxerror.cpp | 375 CvContext *pContext; 385 pContext = icvCreateContext(); 386 if( pContext == NULL) 388 TlsSetValue( g_TlsIndex, (LPVOID)pContext ); 394 pContext = (CvContext*)TlsGetValue( g_TlsIndex ); 395 if( pContext != NULL ) 396 icvDestroyContext( pContext ); 403 pContext = (CvContext*)TlsGetValue( g_TlsIndex ); 404 if( pContext != NULL ) 405 icvDestroyContext( pContext ); [all...] |
/external/pdfium/core/fpdfapi/parser/ |
cpdf_crypto_handler.cpp | 91 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); 92 pContext->m_bIV = true; 93 pContext->m_BlockOffset = 0; 94 CRYPT_AESSetKey(pContext->m_Context, 16, m_EncryptKey, 32, bEncrypt); 97 pContext->m_Block[i] = (uint8_t)rand(); 99 CRYPT_AESSetIV(pContext->m_Context, pContext->m_Block); 101 return pContext; 117 AESCryptContext* pContext = FX_Alloc(AESCryptContext, 1); 118 pContext->m_bIV = true [all...] |
/external/pdfium/fpdfsdk/ |
cpdfsdk_widgethandler.cpp | 240 CPDFXFA_Context* pContext = pPageView->GetFormFillEnv()->GetXFAContext(); 241 if (pContext->GetDocType() == DOCTYPE_STATIC_XFA) {
|
fpdftext.cpp | 53 CPDFXFA_Context* pContext = pPage->GetContext(); 54 CPDF_ViewerPreferences viewRef(pContext->GetPDFDoc());
|
fsdk_actionhandler.cpp | 160 IJS_EventContext* pContext = pRuntime->NewEventContext(); 161 pContext->OnLink_MouseUp(pFormFillEnv); 164 bool bRet = pContext->RunScript(swJS, &csInfo); 165 pRuntime->ReleaseEventContext(pContext); 284 IJS_EventContext* pContext = pRuntime->NewEventContext(); 286 bool bRet = pContext->RunScript(swJS, &csInfo); 287 pRuntime->ReleaseEventContext(pContext); 323 IJS_EventContext* pContext = pRuntime->NewEventContext(); 324 pContext->OnBookmark_MouseUp(pBookmark); 327 bool bRet = pContext->RunScript(swJS, &csInfo) [all...] |
cpdfsdk_interform.cpp | 256 IJS_EventContext* pContext = pRuntime->NewEventContext(); 260 pContext->OnField_Calculate(pFormField, pField, sValue, bRC); 263 bool bRet = pContext->RunScript(csJS, &sInfo); 264 pRuntime->ReleaseEventContext(pContext); 297 IJS_EventContext* pContext = pRuntime->NewEventContext(); 298 pContext->OnField_Format(pFormField, Value, true); 300 bool bRet = pContext->RunScript(script, &sInfo); 301 pRuntime->ReleaseEventContext(pContext);
|
/external/pdfium/fpdfsdk/javascript/ |
cjs_runtime.cpp | 86 IJS_EventContext* pContext = NewEventContext(); 88 ReleaseEventContext(pContext); 155 void CJS_Runtime::ReleaseEventContext(IJS_EventContext* pContext) { 158 static_cast<CJS_EventContext*>(pContext)));
|
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 70 void LE_reset(LoudnessEnhancerContext *pContext) 72 ALOGV(" > LE_reset(%p)", pContext); 74 if (pContext->mCompressor != NULL) { 75 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification 76 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); 77 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); 79 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); 96 // pContext: effect engine context 104 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_jpeg.c | 553 TOPAZSC_JPEG_ENCODER_CONTEXT *pContext = ctx->jpeg_ctx; 562 ui32RemainMCUs = pContext->sScan_Encode_Info.ui32NumberMCUsToEncode; 564 for (ui16BCnt = 0; ui16BCnt < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers 565 && pContext->sScan_Encode_Info.ui16SScan > 0; ui16BCnt++) { 566 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].ui16ScanNumber = 567 pContext->sScan_Encode_Info.ui16SScan--; 568 if (pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers < 2 || 569 pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers > PNW_JPEG_MAX_SCAN_NUM) { 575 pContext->sScan_Encode_Info.aBufferTable[ui16BCnt].i8MTXNumber = 576 (aui32_jpg_mtx_num[pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers - 1 [all...] |
/external/pdfium/fxjs/ |
cfxjse_context.cpp | 48 explicit CFXJSE_ScopeUtil_IsolateHandleContext(CFXJSE_Context* pContext) 49 : m_context(pContext), 50 m_parent(pContext->m_pIsolate), 51 m_cscope(v8::Local<v8::Context>::New(pContext->m_pIsolate, 52 pContext->m_hContext)) {} 155 CFXJSE_Context* pContext = new CFXJSE_Context(pIsolate); 159 lpGlobalClassObj = CFXJSE_Class::Create(pContext, lpGlobalClass, true); 181 pContext->m_hContext.Reset(pIsolate, hNewContext); 182 return pContext;
|
/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...] |
/system/nfc/halimpl/pn54x/common/ |
phNfcCommon.h | 159 void* pContext; /* Parameter to be passed to the callback function */
|
/system/nfc/halimpl/pn54x/tml/ |
phTmlNfc.h | 82 * pContext - Context provided by upper layer 86 void* pContext, phTmlNfc_TransactInfo_t* pInfo); 134 void* pContext; /*Context passed while invocation of operation */ 214 void* pContext); 217 void* pContext);
|
/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...] |
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 98 uint32_t Visualizer_getDeltaTimeMsFromUpdatedTime(VisualizerContext* pContext) { 100 if (pContext->mBufferUpdateTime.tv_sec != 0) { 103 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; 104 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; 116 void Visualizer_reset(VisualizerContext *pContext) 118 pContext->mCaptureIdx = 0; 119 pContext->mLastCaptureIdx = 0; 120 pContext->mBufferUpdateTime.tv_sec = 0; 121 pContext->mLatency = 0; 122 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_lsprof.c | 375 ProfilerContext *pContext;
393 pContext = pObj->freelistProfilerContext;
394 if (pContext) {
395 pObj->freelistProfilerContext = pContext->previous;
399 pContext = (ProfilerContext*)
401 if (pContext == NULL) {
406 initContext(pObj, pContext, profEntry);
418 ProfilerContext *pContext;
420 pContext = pObj->currentProfilerContext;
421 if (pContext == NULL) [all...] |
/external/pdfium/core/fxcrt/ |
fx_extension.cpp | 549 FX_MTRANDOMCONTEXT* pContext = FX_Alloc(FX_MTRANDOMCONTEXT, 1); 550 pContext->mt[0] = dwSeed; 551 uint32_t& i = pContext->mti; 552 uint32_t* pBuf = pContext->mt; 556 pContext->bHaveSeed = true; 557 return pContext; 559 uint32_t FX_Random_MT_Generate(void* pContext) { 560 ASSERT(pContext); 561 FX_MTRANDOMCONTEXT* pMTC = static_cast<FX_MTRANDOMCONTEXT*>(pContext); 590 void FX_Random_MT_Close(void* pContext) { [all...] |