/external/pdfium/fpdfsdk/src/ |
fpdf_progressive.cpp | 35 CRenderContext* pContext = FX_NEW CRenderContext;
36 pPage->SetPrivateData((void*)1, pContext, DropContext );
38 pContext->m_pDevice = FX_NEW CFX_SkiaDevice;
40 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE);
42 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap);
44 pContext->m_pDevice = FX_NEW CFX_FxgeDevice;
46 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE);
48 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap);
53 Func_RenderPage(pContext, page, start_x, start_y, size_x, size_y, rotate, flags,FALSE, &IPauseAdapter);
56 Func_RenderPage(pContext, page, start_x, start_y, size_x, size_y, rotate, flags,FALSE, &IPauseAdapter); [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
event.cpp | 61 CJS_Context* pContext = (CJS_Context*)cc;
62 ASSERT(pContext != NULL);
63 CJS_EventHandler* pEvent = pContext->GetEventHandler();
83 CJS_Context* pContext = (CJS_Context*)cc;
84 ASSERT(pContext != NULL);
85 CJS_EventHandler* pEvent = pContext->GetEventHandler();
96 CJS_Context* pContext = (CJS_Context*)cc;
97 ASSERT(pContext != NULL);
98 CJS_EventHandler* pEvent = pContext->GetEventHandler();
107 CJS_Context* pContext = (CJS_Context*)cc; [all...] |
/frameworks/av/media/libeffects/proxy/ |
EffectProxy.cpp | 61 EffectContext* pContext; 67 pContext = new EffectContext; 68 pContext->sessionId = sessionId; 69 pContext->ioId = ioId; 70 pContext->uuid = *uuid; 71 pContext->common_itfe = &gEffectInterface; 75 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL; 81 pContext->sube = new sub_effect_entry_t*[SUB_FX_COUNT]; 82 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT] [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_resource.c | 45 nvc0_init_resource_functions(struct pipe_context *pcontext) 47 pcontext->get_transfer = u_get_transfer_vtbl; 48 pcontext->transfer_map = u_transfer_map_vtbl; 49 pcontext->transfer_flush_region = u_transfer_flush_region_vtbl; 50 pcontext->transfer_unmap = u_transfer_unmap_vtbl; 51 pcontext->transfer_destroy = u_transfer_destroy_vtbl; 52 pcontext->transfer_inline_write = u_transfer_inline_write_vtbl; 53 pcontext->create_surface = nvc0_surface_create; 54 pcontext->surface_destroy = nv50_surface_destroy;
|
nvc0_resource.h | 26 nvc0_init_resource_functions(struct pipe_context *pcontext); 48 nvc0_miptree_transfer_new(struct pipe_context *pcontext, 54 nvc0_miptree_transfer_del(struct pipe_context *pcontext, 57 nvc0_miptree_transfer_map(struct pipe_context *pcontext, 60 nvc0_miptree_transfer_unmap(struct pipe_context *pcontext,
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_resource.c | 45 nvc0_init_resource_functions(struct pipe_context *pcontext) 47 pcontext->get_transfer = u_get_transfer_vtbl; 48 pcontext->transfer_map = u_transfer_map_vtbl; 49 pcontext->transfer_flush_region = u_transfer_flush_region_vtbl; 50 pcontext->transfer_unmap = u_transfer_unmap_vtbl; 51 pcontext->transfer_destroy = u_transfer_destroy_vtbl; 52 pcontext->transfer_inline_write = u_transfer_inline_write_vtbl; 53 pcontext->create_surface = nvc0_surface_create; 54 pcontext->surface_destroy = nv50_surface_destroy;
|
nvc0_resource.h | 26 nvc0_init_resource_functions(struct pipe_context *pcontext); 48 nvc0_miptree_transfer_new(struct pipe_context *pcontext, 54 nvc0_miptree_transfer_del(struct pipe_context *pcontext, 57 nvc0_miptree_transfer_map(struct pipe_context *pcontext, 60 nvc0_miptree_transfer_unmap(struct pipe_context *pcontext,
|
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 93 uint32_t Visualizer_getDeltaTimeMsFromUpdatedTime(VisualizerContext* pContext) { 95 if (pContext->mBufferUpdateTime.tv_sec != 0) { 98 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; 99 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; 111 void Visualizer_reset(VisualizerContext *pContext) 113 pContext->mCaptureIdx = 0; 114 pContext->mLastCaptureIdx = 0; 115 pContext->mBufferUpdateTime.tv_sec = 0; 116 pContext->mLatency = 0; 117 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE) [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pContext->nLine, __VA_ARGS__) 50 #define LOG_ERROR(pContext...) 57 LIB_MANIFEST2_CONTEXT* pContext) 59 pContext->nOffset = 0; 60 pContext->nLine = 1; 61 pContext->nSectionStartOffset = 0; 132 LIB_MANIFEST2_CONTEXT* pContext, 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pContext->nLine, __VA_ARGS__) 50 #define LOG_ERROR(pContext...) 57 LIB_MANIFEST2_CONTEXT* pContext) 59 pContext->nOffset = 0; 60 pContext->nLine = 1; 61 pContext->nSectionStartOffset = 0; 132 LIB_MANIFEST2_CONTEXT* pContext, 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset [all...] |
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 66 void LE_reset(LoudnessEnhancerContext *pContext) 68 ALOGV(" > LE_reset(%p)", pContext); 70 if (pContext->mCompressor != NULL) { 71 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification 72 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); 73 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); 75 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); 92 // pContext: effect engine context 100 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
filehc.h | 13 typedef VOID (*PFN_IO_COMPLETION)(struct FIO_CONTEXT *pContext,struct FH_OVERLAPPED *lpo,DWORD cb,DWORD dwCompletionStatus); 48 FILEHC_EXPORT WINBOOL WINAPI FIOReadFile(PFIO_CONTEXT pContext,LPVOID lpBuffer,DWORD BytesToRead,FH_OVERLAPPED *lpo); 49 FILEHC_EXPORT WINBOOL WINAPI FIOReadFileEx(PFIO_CONTEXT pContext,LPVOID lpBuffer,DWORD BytesToRead,DWORD BytesAvailable,FH_OVERLAPPED *lpo,WINBOOL fFinalWrite,WINBOOL fIncludeTerminator); 50 FILEHC_EXPORT WINBOOL WINAPI FIOWriteFile(PFIO_CONTEXT pContext,LPCVOID lpBuffer,DWORD BytesToWrite,FH_OVERLAPPED *lpo); 51 FILEHC_EXPORT WINBOOL WINAPI FIOWriteFileEx(PFIO_CONTEXT pContext,LPVOID lpBuffer,DWORD BytesToWrite,DWORD BytesAvailable,FH_OVERLAPPED *lpo,WINBOOL fFinalWrite,WINBOOL fIncludeTerminator); 66 FILEHC_EXPORT WINBOOL WINAPI InsertFile(LPSTR lpstrName,FIO_CONTEXT *pContext,WINBOOL fKeepReference); 67 FILEHC_EXPORT DWORD WINAPI GetFileSizeFromContext(FIO_CONTEXT *pContext,DWORD *pcbFileSizeHigh); 86 FILEHC_EXPORT WINBOOL WINAPI AssociateContextWithName(PNAME_CACHE_CONTEXT pNameCache,LPBYTE lpbName,DWORD cbName,LPBYTE lpbData,DWORD cbData,PGENERIC_MAPPING pGenericMapping,PSECURITY_DESCRIPTOR pSecurityDescriptor,FIO_CONTEXT *pContext,WINBOOL fKeepReference); 88 FILEHC_EXPORT FIO_CONTEXT *WINAPI ProduceDotStuffedContext(FIO_CONTEXT *pContext,LPSTR lpstrName,WINBOOL fWantItDotStuffed); 90 FILEHC_EXPORT WINBOOL WINAPI GetIsFileDotTerminated(FIO_CONTEXT *pContext); [all...] |
/external/pdfium/core/include/fxcodec/ |
fx_codec_provider.h | 38 virtual void Finish(void* pContext) = 0;
40 virtual void Input(void* pContext, FX_LPCBYTE src_buf, FX_DWORD src_size) = 0;
42 virtual int ReadHeader(void* pContext, int* width, int* height, int* nComps) = 0;
45 virtual int StartScanline(void* pContext, int down_scale) = 0;
48 virtual FX_BOOL ReadScanline(void* pContext, FX_LPBYTE dest_buf) = 0;
51 virtual FX_DWORD GetAvailInput(void* pContext, FX_LPBYTE* avail_buf_ptr = NULL) = 0;
|
/hardware/intel/img/psb_video/src/ |
pnw_hostjpeg.c | 517 IMG_ERRORCODE AllocateCodedDataBuffers(TOPAZSC_JPEG_ENCODER_CONTEXT *pContext) 521 for (ui8Loop = 0 ; ui8Loop < pContext->sScan_Encode_Info.ui8NumberOfCodedBuffers; ui8Loop ++) 522 if (pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo == NULL) { 523 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferSizeBytes = ((DATA_BUFFER_SIZE(pContext->sScan_Encode_Info.ui32NumberMCUsToEncodePerScan) + sizeof(BUFFER_HEADER)) + 3) & ~3; 524 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui32DataBufferUsedBytes = 0; 525 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].i8MTXNumber = 0; // Indicates buffer is idle 526 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui16ScanNumber = 0; // Indicates buffer is idle 527 pContext->sScan_Encode_Info.aBufferTable[ui8Loop].pMemInfo = 528 (unsigned char *)pContext->jpeg_coded_buf.pMemInfo + PNW_JPEG_HEADER_MAX_SIZE + ui8Loop * pContext->ui32SizePerCodedBuffer [all...] |
/hardware/ti/omap4-aah/domx/test/sample_proxy/ |
test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; 425 pContext = (SampleCompTestCtxt *) pAppData; 435 pContext->eState = (OMX_STATETYPE) nData2; 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); 443 TIMM_OSAL_SemaphoreRelease(pContext-> 494 SampleCompTestCtxt *pContext; 501 pContext = (SampleCompTestCtxt *) pAppData; 502 pContext->nBufDoneCalls++; 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); 519 SampleCompTestCtxt *pContext; [all...] |
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; 425 pContext = (SampleCompTestCtxt *) pAppData; 435 pContext->eState = (OMX_STATETYPE) nData2; 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); 443 TIMM_OSAL_SemaphoreRelease(pContext-> 494 SampleCompTestCtxt *pContext; 501 pContext = (SampleCompTestCtxt *) pAppData; 502 pContext->nBufDoneCalls++; 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); 519 SampleCompTestCtxt *pContext; [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 179 int Reverb_init (ReverbContext *pContext); 180 void Reverb_free (ReverbContext *pContext); 181 int Reverb_setConfig (ReverbContext *pContext, effect_config_t *pConfig); 182 void Reverb_getConfig (ReverbContext *pContext, effect_config_t *pConfig); 183 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue); 184 int Reverb_getParameter (ReverbContext *pContext, 188 int Reverb_LoadPreset (ReverbContext *pContext); 221 ReverbContext *pContext = new ReverbContext; 223 pContext->itfe = &gReverbInterface; 224 pContext->hInstance = NULL [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_resource.c | 87 nv50_init_resource_functions(struct pipe_context *pcontext) 89 pcontext->get_transfer = u_get_transfer_vtbl; 90 pcontext->transfer_map = u_transfer_map_vtbl; 91 pcontext->transfer_flush_region = u_transfer_flush_region_vtbl; 92 pcontext->transfer_unmap = u_transfer_unmap_vtbl; 93 pcontext->transfer_destroy = u_transfer_destroy_vtbl; 94 pcontext->transfer_inline_write = u_transfer_inline_write_vtbl; 95 pcontext->create_surface = nv50_surface_create; 96 pcontext->surface_destroy = nv50_surface_destroy;
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_resource.c | 87 nv50_init_resource_functions(struct pipe_context *pcontext) 89 pcontext->get_transfer = u_get_transfer_vtbl; 90 pcontext->transfer_map = u_transfer_map_vtbl; 91 pcontext->transfer_flush_region = u_transfer_flush_region_vtbl; 92 pcontext->transfer_unmap = u_transfer_unmap_vtbl; 93 pcontext->transfer_destroy = u_transfer_destroy_vtbl; 94 pcontext->transfer_inline_write = u_transfer_inline_write_vtbl; 95 pcontext->create_surface = nv50_surface_create; 96 pcontext->surface_destroy = nv50_surface_destroy;
|
/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...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 134 int LvmBundle_init (EffectContext *pContext); 135 int LvmEffect_enable (EffectContext *pContext); 136 int LvmEffect_disable (EffectContext *pContext); 137 void LvmEffect_free (EffectContext *pContext); 138 int Effect_setConfig (EffectContext *pContext, effect_config_t *pConfig); 139 void Effect_getConfig (EffectContext *pContext, effect_config_t *pConfig); 140 int BassBoost_setParameter (EffectContext *pContext, void *pParam, void *pValue); 141 int BassBoost_getParameter (EffectContext *pContext, 145 int Virtualizer_setParameter (EffectContext *pContext, void *pParam, void *pValue); 146 int Virtualizer_getParameter (EffectContext *pContext, [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 116 int Equalizer_init(EqualizerContext *pContext); 117 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig); 143 EqualizerContext *pContext = new EqualizerContext; 145 pContext->itfe = &gEqualizerInterface; 146 pContext->pEqualizer = NULL; 147 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 149 ret = Equalizer_init(pContext); 152 delete pContext; 156 *pHandle = (effect_handle_t)pContext; 157 pContext->state = EQUALIZER_STATE_INITIALIZED [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_LlcpMac.h | 109 typedef void (*phFriNfc_LlcpMac_Chk_CB_t) (void *pContext, 112 typedef void (*phFriNfc_LlcpMac_LinkStatus_CB_t) (void *pContext, 117 typedef void (*phFriNfc_LlcpMac_Send_CB_t) (void *pContext, 121 typedef void (*phFriNfc_LlcpMac_Reveive_CB_t) (void *pContext, 130 void *pContext); 139 void *pContext); 144 void *pContext); 206 void *pContext); 214 void *pContext); 235 void *pContext); [all...] |
phFriNfc_LlcpMac.c | 36 void *pContext) 43 LlcpMac->LinkStatus_Context = pContext; 66 void *pContext) 101 status = LlcpMac->LlcpMacInterface.chk(LlcpMac,ChkLlcpMac_Cb,pContext); 150 void *pContext) 154 if(NULL== LlcpMac->LlcpMacInterface.send || NULL==psData || NULL==LlcpMacSend_Cb || NULL==pContext) 160 status = LlcpMac->LlcpMacInterface.send(LlcpMac,psData,LlcpMacSend_Cb,pContext); 168 void *pContext) 172 if(LlcpMac->LlcpMacInterface.receive == NULL || NULL==psData || NULL==ReceiveLlcpMac_Cb || NULL==pContext) 178 status = LlcpMac->LlcpMacInterface.receive(LlcpMac,psData,ReceiveLlcpMac_Cb,pContext); [all...] |
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 40 static inline llvm::Module *helper_load_bitcode(llvm::LLVMContext &pContext, 42 llvm::ErrorOr<llvm::Module *> moduleOrError = llvm::getLazyBitcodeModule(pInput, pContext); 60 Source *Source::CreateFromBuffer(BCCContext &pContext, 73 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, 80 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); 88 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { 100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, 107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); 115 Source *Source::CreateFromModule(BCCContext &pContext, llvm::Module &pModule, 125 Source *result = new (std::nothrow) Source(pContext, pModule, pNoDelete) [all...] |