/external/freetype/src/base/ |
md5.c | 79 (ctx->block[(n)] = \ 85 (ctx->block[(n)]) 92 static void *body(MD5_CTX *ctx, void *data, unsigned long size) 100 a = ctx->a; 101 b = ctx->b; 102 c = ctx->c; 103 d = ctx->d; 191 ctx->a = a; 192 ctx->b = b; 193 ctx->c = c [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
arbprogram.c | 76 GET_CURRENT_CONTEXT(ctx); 77 ASSERT_OUTSIDE_BEGIN_END(ctx); 81 (ctx->Extensions.NV_vertex_program || 82 ctx->Extensions.ARB_vertex_program)) { 83 curProg = &ctx->VertexProgram.Current->Base; 86 && ctx->Extensions.NV_fragment_program) || 88 && ctx->Extensions.ARB_fragment_program)) { 89 curProg = &ctx->FragmentProgram.Current->Base; 92 _mesa_error(ctx, GL_INVALID_ENUM, "glBindProgramNV/ARB(target)"); 105 newProg = &ctx->Shared->DefaultVertexProgram->Base [all...] |
texenv.c | 44 _mesa_error(ctx, errCode, msg, _mesa_lookup_enum_by_nr(value)); 49 set_env_mode(struct gl_context *ctx, 72 legal = ctx->Extensions.NV_texture_env_combine4; 79 FLUSH_VERTICES(ctx, _NEW_TEXTURE); 89 set_env_color(struct gl_context *ctx, 95 FLUSH_VERTICES(ctx, _NEW_TEXTURE); 106 set_combiner_mode(struct gl_context *ctx, 121 legal = ctx->Extensions.ARB_texture_env_combine; 125 legal = (ctx->API == API_OPENGL && 126 ctx->Extensions.EXT_texture_env_dot3 & [all...] |
convolve.c | 49 GET_CURRENT_CONTEXT(ctx); 51 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionFilter1D"); 57 GET_CURRENT_CONTEXT(ctx); 59 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionFilter2D"); 66 GET_CURRENT_CONTEXT(ctx); 68 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionParameterf"); 75 GET_CURRENT_CONTEXT(ctx); 77 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionParameterfv"); 84 GET_CURRENT_CONTEXT(ctx); 86 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionParameteri") [all...] |
varray.c | 68 type_to_bit(const struct gl_context *ctx, GLenum type) 86 if (ctx->Extensions.ARB_half_float_vertex) 95 return _mesa_is_desktop_gl(ctx) ? FIXED_GL_BIT : FIXED_ES_BIT; 123 update_array(struct gl_context *ctx, 146 if (ctx->API == API_OPENGL_CORE 147 && (ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj)) { 148 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(no array object bound)", 153 if (_mesa_is_gles(ctx)) { 164 if (ctx->Version < 30) 1286 struct gl_context *ctx = (struct gl_context *) userData; local [all...] |
texgetimage.c | 75 get_tex_depth(struct gl_context *ctx, GLuint dimensions, 86 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glGetTexImage"); 95 ctx->Driver.MapTextureImage(ctx, texImage, img, 101 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, 106 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack); 109 ctx->Driver.UnmapTextureImage(ctx, texImage, img); 112 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glGetTexImage") [all...] |
/external/mesa3d/src/mesa/main/ |
arbprogram.c | 76 GET_CURRENT_CONTEXT(ctx); 77 ASSERT_OUTSIDE_BEGIN_END(ctx); 81 (ctx->Extensions.NV_vertex_program || 82 ctx->Extensions.ARB_vertex_program)) { 83 curProg = &ctx->VertexProgram.Current->Base; 86 && ctx->Extensions.NV_fragment_program) || 88 && ctx->Extensions.ARB_fragment_program)) { 89 curProg = &ctx->FragmentProgram.Current->Base; 92 _mesa_error(ctx, GL_INVALID_ENUM, "glBindProgramNV/ARB(target)"); 105 newProg = &ctx->Shared->DefaultVertexProgram->Base [all...] |
texenv.c | 44 _mesa_error(ctx, errCode, msg, _mesa_lookup_enum_by_nr(value)); 49 set_env_mode(struct gl_context *ctx, 72 legal = ctx->Extensions.NV_texture_env_combine4; 79 FLUSH_VERTICES(ctx, _NEW_TEXTURE); 89 set_env_color(struct gl_context *ctx, 95 FLUSH_VERTICES(ctx, _NEW_TEXTURE); 106 set_combiner_mode(struct gl_context *ctx, 121 legal = ctx->Extensions.ARB_texture_env_combine; 125 legal = (ctx->API == API_OPENGL && 126 ctx->Extensions.EXT_texture_env_dot3 & [all...] |
convolve.c | 49 GET_CURRENT_CONTEXT(ctx); 51 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionFilter1D"); 57 GET_CURRENT_CONTEXT(ctx); 59 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionFilter2D"); 66 GET_CURRENT_CONTEXT(ctx); 68 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionParameterf"); 75 GET_CURRENT_CONTEXT(ctx); 77 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionParameterfv"); 84 GET_CURRENT_CONTEXT(ctx); 86 _mesa_error(ctx, GL_INVALID_ENUM, "glConvolutionParameteri") [all...] |
varray.c | 68 type_to_bit(const struct gl_context *ctx, GLenum type) 86 if (ctx->Extensions.ARB_half_float_vertex) 95 return _mesa_is_desktop_gl(ctx) ? FIXED_GL_BIT : FIXED_ES_BIT; 123 update_array(struct gl_context *ctx, 146 if (ctx->API == API_OPENGL_CORE 147 && (ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj)) { 148 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(no array object bound)", 153 if (_mesa_is_gles(ctx)) { 164 if (ctx->Version < 30) 1286 struct gl_context *ctx = (struct gl_context *) userData; local [all...] |
texgetimage.c | 75 get_tex_depth(struct gl_context *ctx, GLuint dimensions, 86 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glGetTexImage"); 95 ctx->Driver.MapTextureImage(ctx, texImage, img, 101 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, 106 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack); 109 ctx->Driver.UnmapTextureImage(ctx, texImage, img); 112 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glGetTexImage") [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_uevents.cpp | 54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) 88 ctx->mExtDisplay->setExtDpyNum(dpy); 99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; 102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; 113 ctx->mExtDisplay->processUEventOffline(udata); 114 if(ctx->mFBUpdate[dpy]) { 115 Locker::Autolock _l(ctx->mExtSetLock); 116 delete ctx->mFBUpdate[dpy]; 117 ctx->mFBUpdate[dpy] = NULL; 119 if(ctx->mCopyBit[dpy]) 183 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local [all...] |
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_uevents.cpp | 54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) 88 ctx->mExtDisplay->setExtDpyNum(dpy); 99 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; 102 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; 113 ctx->mExtDisplay->processUEventOffline(udata); 114 if(ctx->mFBUpdate[dpy]) { 115 Locker::Autolock _l(ctx->mExtSetLock); 116 delete ctx->mFBUpdate[dpy]; 117 ctx->mFBUpdate[dpy] = NULL; 119 if(ctx->mCopyBit[dpy]) 183 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_driver.c | 39 nouveau_get_string(struct gl_context *ctx, GLenum name) 49 sprintf(hardware_name, "nv%02X", context_chipset(ctx)); 59 nouveau_flush(struct gl_context *ctx) 61 struct nouveau_context *nctx = to_nouveau_context(ctx); 62 struct nouveau_pushbuf *push = context_push(ctx); 66 if (_mesa_is_winsys_fbo(ctx->DrawBuffer) && 67 ctx->DrawBuffer->_ColorDrawBufferIndexes[0] == BUFFER_FRONT_LEFT) { 77 nouveau_finish(struct gl_context *ctx) 79 struct nouveau_context *nctx = to_nouveau_context(ctx); 80 struct nouveau_pushbuf *push = context_push(ctx); [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_driver.c | 39 nouveau_get_string(struct gl_context *ctx, GLenum name) 49 sprintf(hardware_name, "nv%02X", context_chipset(ctx)); 59 nouveau_flush(struct gl_context *ctx) 61 struct nouveau_context *nctx = to_nouveau_context(ctx); 62 struct nouveau_pushbuf *push = context_push(ctx); 66 if (_mesa_is_winsys_fbo(ctx->DrawBuffer) && 67 ctx->DrawBuffer->_ColorDrawBufferIndexes[0] == BUFFER_FRONT_LEFT) { 77 nouveau_finish(struct gl_context *ctx) 79 struct nouveau_context *nctx = to_nouveau_context(ctx); 80 struct nouveau_pushbuf *push = context_push(ctx); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_cc.c | 43 struct gl_context *ctx = &brw->intel.ctx; local 50 if (ctx->Transform.DepthClamp) { 52 ccv->min_depth = MIN2(ctx->Viewport.Near, ctx->Viewport.Far); 53 ccv->max_depth = MAX2(ctx->Viewport.Near, ctx->Viewport.Far); 99 struct gl_context *ctx = &brw->intel.ctx; local 107 if (ctx->Stencil._Enabled) 242 struct gl_context *ctx = &intel->ctx; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_cc.c | 43 struct gl_context *ctx = &brw->intel.ctx; local 50 if (ctx->Transform.DepthClamp) { 52 ccv->min_depth = MIN2(ctx->Viewport.Near, ctx->Viewport.Far); 53 ccv->max_depth = MAX2(ctx->Viewport.Near, ctx->Viewport.Far); 99 struct gl_context *ctx = &brw->intel.ctx; local 107 if (ctx->Stencil._Enabled) 242 struct gl_context *ctx = &intel->ctx; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/modes/ |
ccm128.c | 63 void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx, 66 memset(ctx->nonce.c,0,sizeof(ctx->nonce.c)); 67 ctx->nonce.c[0] = ((u8)(L-1)&7) | (u8)(((M-2)/2)&7)<<3; 68 ctx->blocks = 0; 69 ctx->block = block; 70 ctx->key = key; 76 int CRYPTO_ccm128_setiv(CCM128_CONTEXT *ctx, 79 unsigned int L = ctx->nonce.c[0]&7; /* the L parameter */ 84 ctx->nonce.c[8] = (u8)(mlen>>(56%(sizeof(mlen)*8))) [all...] |
/external/openssl/crypto/modes/ |
ccm128.c | 63 void CRYPTO_ccm128_init(CCM128_CONTEXT *ctx, 66 memset(ctx->nonce.c,0,sizeof(ctx->nonce.c)); 67 ctx->nonce.c[0] = ((u8)(L-1)&7) | (u8)(((M-2)/2)&7)<<3; 68 ctx->blocks = 0; 69 ctx->block = block; 70 ctx->key = key; 76 int CRYPTO_ccm128_setiv(CCM128_CONTEXT *ctx, 79 unsigned int L = ctx->nonce.c[0]&7; /* the L parameter */ 84 ctx->nonce.c[8] = (u8)(mlen>>(56%(sizeof(mlen)*8))) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_context.c | 46 _tnl_CreateContext( struct gl_context *ctx ) 53 ctx->swtnl_context = tnl = (TNLcontext *) CALLOC( sizeof(TNLcontext) ); 61 tnl->vb.Size = ctx->Const.MaxArrayLockSize + MAX_CLIPPED_VERTICES; 66 if (ctx->VertexProgram._MaintainTnlProgram) { 67 _tnl_install_pipeline( ctx, _tnl_vp_pipeline ); 69 _tnl_install_pipeline( ctx, _tnl_default_pipeline ); 96 vbo_set_draw_func(ctx, _tnl_vbo_draw_prims); 106 _tnl_DestroyContext( struct gl_context *ctx ) 109 TNLcontext *tnl = TNL_CONTEXT(ctx); 117 _tnl_destroy_pipeline( ctx ); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_context.c | 47 static void init_legacy_currval(struct gl_context *ctx) 49 struct vbo_context *vbo = vbo_context(ctx); 63 cl->Size = check_size(ctx->Current.Attrib[i]); 69 cl->Ptr = (const void *)ctx->Current.Attrib[i]; 71 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 72 ctx->Shared->NullBufferObj); 77 static void init_generic_currval(struct gl_context *ctx) 79 struct vbo_context *vbo = vbo_context(ctx); 93 cl->Ptr = (const void *)ctx->Current.Attrib[VERT_ATTRIB_GENERIC0 + i]; 98 _mesa_reference_buffer_object(ctx, &cl->BufferObj [all...] |
/external/icu4c/samples/ucnv/ |
flagcb.c | 18 FromUFLAGContext *ctx; local 20 ctx = (FromUFLAGContext*) malloc(sizeof(FromUFLAGContext)); 22 ctx->subCallback = NULL; 23 ctx->subContext = NULL; 24 ctx->flag = FALSE; 26 return ctx; 154 static debugCBContext *debugCB_clone(debugCBContext *ctx) 162 newCtx->subCallback = ctx->subCallback; 163 newCtx->subContext = ctx->subContext; 166 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial) 180 debugCBContext *ctx = (debugCBContext*)context; local 270 debugCBContext *ctx; local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_context.c | 46 _tnl_CreateContext( struct gl_context *ctx ) 53 ctx->swtnl_context = tnl = (TNLcontext *) CALLOC( sizeof(TNLcontext) ); 61 tnl->vb.Size = ctx->Const.MaxArrayLockSize + MAX_CLIPPED_VERTICES; 66 if (ctx->VertexProgram._MaintainTnlProgram) { 67 _tnl_install_pipeline( ctx, _tnl_vp_pipeline ); 69 _tnl_install_pipeline( ctx, _tnl_default_pipeline ); 96 vbo_set_draw_func(ctx, _tnl_vbo_draw_prims); 106 _tnl_DestroyContext( struct gl_context *ctx ) 109 TNLcontext *tnl = TNL_CONTEXT(ctx); 117 _tnl_destroy_pipeline( ctx ); [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_context.c | 47 static void init_legacy_currval(struct gl_context *ctx) 49 struct vbo_context *vbo = vbo_context(ctx); 63 cl->Size = check_size(ctx->Current.Attrib[i]); 69 cl->Ptr = (const void *)ctx->Current.Attrib[i]; 71 _mesa_reference_buffer_object(ctx, &cl->BufferObj, 72 ctx->Shared->NullBufferObj); 77 static void init_generic_currval(struct gl_context *ctx) 79 struct vbo_context *vbo = vbo_context(ctx); 93 cl->Ptr = (const void *)ctx->Current.Attrib[VERT_ATTRIB_GENERIC0 + i]; 98 _mesa_reference_buffer_object(ctx, &cl->BufferObj [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_uevents.cpp | 55 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) 80 ctx->mExtDisplay->setExtDpyNum(dpy); 91 ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive = false; 94 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].isActive = true; 105 ctx->mExtDisplay->processUEventOffline(udata); 106 Locker::Autolock _l(ctx->mDrawLock); 107 clearSecondaryObjs(ctx, dpy); 110 ctx->dpyAttr[dpy].connected = false; 112 ctx->proc->hotplug(ctx->proc, dpy, connected) 188 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); local [all...] |