/external/openssl/crypto/evp/ |
m_sigver.c | 66 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 70 if (ctx->pctx == NULL) 71 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); 72 if (ctx->pctx == NULL) 90 if (ctx->pctx->pmeth->verifyctx_init) 92 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <=0) 94 ctx->pctx->operation = EVP_PKEY_OP_VERIFYCTX; 96 else if (EVP_PKEY_verify_init(ctx->pctx) <= 0 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
r600.h | 101 void si_get_backend_mask(struct r600_context *ctx); 102 void si_context_flush(struct r600_context *ctx, unsigned flags); 104 struct r600_query *r600_context_query_create(struct r600_context *ctx, unsigned query_type); 105 void r600_context_query_destroy(struct r600_context *ctx, struct r600_query *query); 106 boolean r600_context_query_result(struct r600_context *ctx, 109 void r600_query_begin(struct r600_context *ctx, struct r600_query *query); 110 void r600_query_end(struct r600_context *ctx, struct r600_query *query); 111 void r600_context_queries_suspend(struct r600_context *ctx); 112 void r600_context_queries_resume(struct r600_context *ctx); 113 void r600_query_predication(struct r600_context *ctx, struct r600_query *query, int operation [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv10_state_raster.c | 35 nv10_emit_alpha_func(struct gl_context *ctx, int emit) 37 struct nouveau_pushbuf *push = context_push(ctx); 40 PUSH_DATAb(push, ctx->Color.AlphaEnabled); 43 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); 44 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); 48 nv10_emit_blend_color(struct gl_context *ctx, int emit) 50 struct nouveau_pushbuf *push = context_push(ctx); 53 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | 54 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | 55 FLOAT_TO_UBYTE(ctx->Color.BlendColor[1]) << 8 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_rasterizer.c | 60 struct gl_context *ctx = st->ctx; local 62 const struct gl_vertex_program *vertProg = ctx->VertexProgram._Current; 63 const struct gl_fragment_program *fragProg = ctx->FragmentProgram._Current; 71 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); 79 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_BOTTOM) { 87 if (ctx->Light.ShadeModel == GL_FLAT) 90 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION_EXT) 94 raster->light_twoside = ctx->VertexProgram._TwoSideEnabled; 98 ctx->Light._ClampVertexColor [all...] |
st_atom_clip.c | 47 const struct gl_context *ctx = st->ctx; local 50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); 55 if (ctx->Shader.CurrentVertexProgram) 60 use_eye ? ctx->Transform.EyeUserPlane 61 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
r600.h | 101 void si_get_backend_mask(struct r600_context *ctx); 102 void si_context_flush(struct r600_context *ctx, unsigned flags); 104 struct r600_query *r600_context_query_create(struct r600_context *ctx, unsigned query_type); 105 void r600_context_query_destroy(struct r600_context *ctx, struct r600_query *query); 106 boolean r600_context_query_result(struct r600_context *ctx, 109 void r600_query_begin(struct r600_context *ctx, struct r600_query *query); 110 void r600_query_end(struct r600_context *ctx, struct r600_query *query); 111 void r600_context_queries_suspend(struct r600_context *ctx); 112 void r600_context_queries_resume(struct r600_context *ctx); 113 void r600_query_predication(struct r600_context *ctx, struct r600_query *query, int operation [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_raster.c | 35 nv10_emit_alpha_func(struct gl_context *ctx, int emit) 37 struct nouveau_pushbuf *push = context_push(ctx); 40 PUSH_DATAb(push, ctx->Color.AlphaEnabled); 43 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); 44 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); 48 nv10_emit_blend_color(struct gl_context *ctx, int emit) 50 struct nouveau_pushbuf *push = context_push(ctx); 53 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | 54 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | 55 FLOAT_TO_UBYTE(ctx->Color.BlendColor[1]) << 8 [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_rasterizer.c | 60 struct gl_context *ctx = st->ctx; local 62 const struct gl_vertex_program *vertProg = ctx->VertexProgram._Current; 63 const struct gl_fragment_program *fragProg = ctx->FragmentProgram._Current; 71 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); 79 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_BOTTOM) { 87 if (ctx->Light.ShadeModel == GL_FLAT) 90 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION_EXT) 94 raster->light_twoside = ctx->VertexProgram._TwoSideEnabled; 98 ctx->Light._ClampVertexColor [all...] |
/external/openssh/ |
gss-serv.c | 78 ssh_gssapi_acquire_cred(Gssctxt *ctx) 85 gss_add_oid_set_member(&status, ctx->oid, &oidset); 92 if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) { 94 return (ctx->major); 97 if ((ctx->major = gss_acquire_cred(&ctx->minor, 98 ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL))) 99 ssh_gssapi_error(ctx); 102 return (ctx->major) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
attrib.c | 211 GET_CURRENT_CONTEXT(ctx); 212 ASSERT_OUTSIDE_BEGIN_END(ctx); 215 _mesa_debug(ctx, "glPushAttrib %x\n", (int) mask); 217 if (ctx->AttribStackDepth >= MAX_ATTRIB_STACK_DEPTH) { 218 _mesa_error( ctx, GL_STACK_OVERFLOW, "glPushAttrib" ); 229 memcpy( attr, &ctx->Accum, sizeof(struct gl_accum_attrib) ); 237 memcpy( attr, &ctx->Color, sizeof(struct gl_colorbuffer_attrib) ); 238 /* push the Draw FBO's DrawBuffer[] state, not ctx->Color.DrawBuffer[] */ 239 for (i = 0; i < ctx->Const.MaxDrawBuffers; i ++) 240 attr->DrawBuffer[i] = ctx->DrawBuffer->ColorDrawBuffer[i] [all...] |
errors.h | 54 _mesa_init_errors( struct gl_context *ctx ); 57 _mesa_free_errors_data( struct gl_context *ctx ); 63 _mesa_problem( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3); 66 _mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... ) PRINTFLIKE(3, 4); 69 _mesa_debug( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3); 72 _mesa_shader_debug( struct gl_context *ctx, GLenum type, GLuint id, const char *msg, int len );
|
/external/mesa3d/src/mesa/main/ |
attrib.c | 211 GET_CURRENT_CONTEXT(ctx); 212 ASSERT_OUTSIDE_BEGIN_END(ctx); 215 _mesa_debug(ctx, "glPushAttrib %x\n", (int) mask); 217 if (ctx->AttribStackDepth >= MAX_ATTRIB_STACK_DEPTH) { 218 _mesa_error( ctx, GL_STACK_OVERFLOW, "glPushAttrib" ); 229 memcpy( attr, &ctx->Accum, sizeof(struct gl_accum_attrib) ); 237 memcpy( attr, &ctx->Color, sizeof(struct gl_colorbuffer_attrib) ); 238 /* push the Draw FBO's DrawBuffer[] state, not ctx->Color.DrawBuffer[] */ 239 for (i = 0; i < ctx->Const.MaxDrawBuffers; i ++) 240 attr->DrawBuffer[i] = ctx->DrawBuffer->ColorDrawBuffer[i] [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_context.c | 55 _swrast_update_rasterflags( struct gl_context *ctx ) 57 SWcontext *swrast = SWRAST_CONTEXT(ctx); 61 if (ctx->Color.AlphaEnabled) rasterMask |= ALPHATEST_BIT; 62 if (ctx->Color.BlendEnabled) rasterMask |= BLEND_BIT; 63 if (ctx->Depth.Test) rasterMask |= DEPTH_BIT; 65 if (ctx->Scissor.Enabled) rasterMask |= CLIP_BIT; 66 if (ctx->Stencil._Enabled) rasterMask |= STENCIL_BIT; 67 for (i = 0; i < ctx->Const.MaxDrawBuffers; i++) { 68 if (!ctx->Color.ColorMask[i][0] || 69 !ctx->Color.ColorMask[i][1] | [all...] |
swrast.h | 117 _swrast_CreateContext( struct gl_context *ctx ); 120 _swrast_DestroyContext( struct gl_context *ctx ); 125 _swrast_GetDeviceDriverReference( struct gl_context *ctx ); 128 _swrast_Bitmap( struct gl_context *ctx, 135 _swrast_CopyPixels( struct gl_context *ctx, 142 swrast_fast_copy_pixels(struct gl_context *ctx, 147 _swrast_DrawPixels( struct gl_context *ctx, 155 _swrast_BlitFramebuffer(struct gl_context *ctx, 161 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers); 168 _swrast_ResetLineStipple( struct gl_context *ctx ); [all...] |
s_feedback.h | 34 extern void _swrast_feedback_point( struct gl_context *ctx, const SWvertex *v ); 36 extern void _swrast_feedback_line( struct gl_context *ctx, 39 extern void _swrast_feedback_triangle( struct gl_context *ctx, const SWvertex *v0, 42 extern void _swrast_select_point( struct gl_context *ctx, const SWvertex *v ); 44 extern void _swrast_select_line( struct gl_context *ctx, 47 extern void _swrast_select_triangle( struct gl_context *ctx, const SWvertex *v0,
|
/external/mesa3d/src/mesa/swrast/ |
s_context.c | 55 _swrast_update_rasterflags( struct gl_context *ctx ) 57 SWcontext *swrast = SWRAST_CONTEXT(ctx); 61 if (ctx->Color.AlphaEnabled) rasterMask |= ALPHATEST_BIT; 62 if (ctx->Color.BlendEnabled) rasterMask |= BLEND_BIT; 63 if (ctx->Depth.Test) rasterMask |= DEPTH_BIT; 65 if (ctx->Scissor.Enabled) rasterMask |= CLIP_BIT; 66 if (ctx->Stencil._Enabled) rasterMask |= STENCIL_BIT; 67 for (i = 0; i < ctx->Const.MaxDrawBuffers; i++) { 68 if (!ctx->Color.ColorMask[i][0] || 69 !ctx->Color.ColorMask[i][1] | [all...] |
swrast.h | 117 _swrast_CreateContext( struct gl_context *ctx ); 120 _swrast_DestroyContext( struct gl_context *ctx ); 125 _swrast_GetDeviceDriverReference( struct gl_context *ctx ); 128 _swrast_Bitmap( struct gl_context *ctx, 135 _swrast_CopyPixels( struct gl_context *ctx, 142 swrast_fast_copy_pixels(struct gl_context *ctx, 147 _swrast_DrawPixels( struct gl_context *ctx, 155 _swrast_BlitFramebuffer(struct gl_context *ctx, 161 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers); 168 _swrast_ResetLineStipple( struct gl_context *ctx ); [all...] |
/external/chromium_org/third_party/libusb/src/libusb/ |
io.c | 533 void *event_thread_func(void *ctx) 536 libusb_handle_events(ctx); 575 libusb_hotplug_deregister_callback(ctx, hotplug_cb_handle); // This wakes up libusb_handle_events() 577 libusb_exit(ctx); 631 libusb_handle_events(ctx); 676 libusb_get_pollfds(ctx) 678 libusb_get_next_timeout(ctx); 682 libusb_handle_events_timeout(ctx, &zero_tv); 684 libusb_handle_events_timeout(ctx, &zero_tv); 712 libusb_get_pollfds(ctx) 1237 struct libusb_context *ctx = ITRANSFER_CTX(transfer); local 1436 struct libusb_context *ctx = TRANSFER_CTX(transfer); local 1526 struct libusb_context *ctx = TRANSFER_CTX(transfer); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/common/ |
dri_context.c | 43 dri_pp_query(struct dri_context *ctx) 48 ctx->pp_enabled[i] = driQueryOptioni(&ctx->optionCache, pp_filters[i].name); 71 struct dri_context *ctx = NULL; local 104 ctx = CALLOC_STRUCT(dri_context); 105 if (ctx == NULL) { 110 cPriv->driverPrivate = ctx; 111 ctx->cPriv = cPriv; 112 ctx->sPriv = sPriv; 114 driParseConfigFiles(&ctx->optionCache 169 struct dri_context *ctx = dri_context(cPriv); local 195 struct dri_context *ctx = dri_context(cPriv); local 218 struct dri_context *ctx = dri_context(cPriv); local [all...] |
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
dri_context.c | 43 dri_pp_query(struct dri_context *ctx) 48 ctx->pp_enabled[i] = driQueryOptioni(&ctx->optionCache, pp_filters[i].name); 71 struct dri_context *ctx = NULL; local 104 ctx = CALLOC_STRUCT(dri_context); 105 if (ctx == NULL) { 110 cPriv->driverPrivate = ctx; 111 ctx->cPriv = cPriv; 112 ctx->sPriv = sPriv; 114 driParseConfigFiles(&ctx->optionCache 169 struct dri_context *ctx = dri_context(cPriv); local 195 struct dri_context *ctx = dri_context(cPriv); local 218 struct dri_context *ctx = dri_context(cPriv); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_blitter.c | 129 struct blitter_context_priv *ctx; local 137 ctx = CALLOC_STRUCT(blitter_context_priv); 138 if (!ctx) 141 ctx->base.pipe = pipe; 142 ctx->base.draw_rectangle = util_blitter_draw_rectangle; 145 ctx->base.saved_blend_state = INVALID_PTR; 146 ctx->base.saved_dsa_state = INVALID_PTR; 147 ctx->base.saved_rs_state = INVALID_PTR; 148 ctx->base.saved_fs = INVALID_PTR; 149 ctx->base.saved_vs = INVALID_PTR 292 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 865 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 891 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1032 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1090 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1125 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1284 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1333 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1397 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1450 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1513 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1570 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_blitter.c | 129 struct blitter_context_priv *ctx; local 137 ctx = CALLOC_STRUCT(blitter_context_priv); 138 if (!ctx) 141 ctx->base.pipe = pipe; 142 ctx->base.draw_rectangle = util_blitter_draw_rectangle; 145 ctx->base.saved_blend_state = INVALID_PTR; 146 ctx->base.saved_dsa_state = INVALID_PTR; 147 ctx->base.saved_rs_state = INVALID_PTR; 148 ctx->base.saved_fs = INVALID_PTR; 149 ctx->base.saved_vs = INVALID_PTR 292 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 865 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 891 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1032 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1090 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1125 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1284 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1333 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1397 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1450 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1513 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local 1570 struct blitter_context_priv *ctx = (struct blitter_context_priv*)blitter; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
api_transform.c | 36 struct vg_context *ctx = vg_current_context(); local 37 struct matrix *mat = vg_state_matrix(&ctx->state.vg); 43 struct vg_context *ctx = vg_current_context(); local 46 if (!ctx) 50 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 54 mat = vg_state_matrix(&ctx->state.vg); 57 if (ctx->state.vg.matrix_mode != VG_MATRIX_IMAGE_USER_TO_SURFACE) { 65 struct vg_context *ctx = vg_current_context(); local 68 if (!ctx) 72 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR) 82 struct vg_context *ctx = vg_current_context(); local 105 struct vg_context *ctx = vg_current_context(); local 112 struct vg_context *ctx = vg_current_context(); local 119 struct vg_context *ctx = vg_current_context(); local 126 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_context.c | 72 static const GLubyte *r200GetString( struct gl_context *ctx, GLenum name ) 74 r200ContextPtr rmesa = R200_CONTEXT(ctx); 151 R200_STATECHANGE( rmesa, ctx ); 153 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= R200_COLOR_TILE_ENABLE; 155 else rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= ~R200_COLOR_TILE_ENABLE; 211 struct gl_context *ctx; local 292 ctx = rmesa->radeon.glCtx; 295 _swrast_CreateContext( ctx ); 296 _vbo_CreateContext( ctx ); 297 _tnl_CreateContext( ctx ); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
e_bf.c | 67 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 75 #define data(ctx) EVP_C_DATA(EVP_BF_KEY,ctx) 81 static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 84 BF_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
|