/external/mesa3d/src/gallium/state_trackers/va/ |
va_surface.c | 52 vlVaCreateSurfaces(VADriverContextP ctx, int width, int height, int format, 55 if (!ctx) 77 va_surface[n].ctx = ctx; 85 vlVaDestroySurfaces(VADriverContextP ctx, VASurfaceID *surface_list, int num_surfaces) 87 if (!ctx) 94 vlVaSyncSurface(VADriverContextP ctx, VASurfaceID render_target) 96 if (!ctx) 103 vlVaQuerySurfaceStatus(VADriverContextP ctx, VASurfaceID render_target, VASurfaceStatus *status) 105 if (!ctx) [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta.h | 62 _mesa_meta_init(struct gl_context *ctx); 65 _mesa_meta_free(struct gl_context *ctx); 68 _mesa_meta_begin(struct gl_context *ctx, GLbitfield state); 71 _mesa_meta_end(struct gl_context *ctx); 74 _mesa_meta_in_progress(struct gl_context *ctx); 77 _mesa_meta_BlitFramebuffer(struct gl_context *ctx, 83 _mesa_meta_Clear(struct gl_context *ctx, GLbitfield buffers); 86 _mesa_meta_glsl_Clear(struct gl_context *ctx, GLbitfield buffers); 89 _mesa_meta_CopyPixels(struct gl_context *ctx, GLint srcx, GLint srcy, 94 _mesa_meta_DrawPixels(struct gl_context *ctx, [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_bufferobj.c | 34 get_bufferobj_map(struct gl_context *ctx, struct gl_buffer_object *obj, 43 nouveau_bo_map(nbo->bo, flags, context_client(ctx)); 51 nouveau_bufferobj_new(struct gl_context *ctx, GLuint buffer, GLenum target) 59 _mesa_initialize_buffer_object(ctx, &nbo->base, buffer, target); 65 nouveau_bufferobj_del(struct gl_context *ctx, struct gl_buffer_object *obj) 75 nouveau_bufferobj_data(struct gl_context *ctx, GLenum target, GLsizeiptrARB size, 91 context_chipset(ctx) < 0x10) { 97 ret = nouveau_bo_new(context_dev(ctx), 104 memcpy(get_bufferobj_map(ctx, obj, NOUVEAU_BO_WR), data, size); 110 nouveau_bufferobj_subdata(struct gl_context *ctx, GLintptrARB offset [all...] |
nouveau_render_t.c | 52 * ctx: GL context. 57 #define EMIT_VBO(out, ctx, start, delta, n) do { \ 58 struct nouveau_render_state *render = to_render_state(ctx); \ 81 #define EMIT_IMM(ctx, a, n) do { \ 96 info->emit(ctx, a, (a)->buf + n * (a)->stride); \ 101 dispatch_l(struct gl_context *ctx, unsigned int start, int delta, 104 struct nouveau_pushbuf *push = context_push(ctx); 105 RENDER_LOCALS(ctx); 107 EMIT_VBO(L, ctx, start, delta, n); 111 dispatch_i32(struct gl_context *ctx, unsigned int start, int delta [all...] |
nv20_state_fb.c | 55 setup_hierz_buffer(struct gl_context *ctx) 57 struct nouveau_pushbuf *push = context_push(ctx); 58 struct gl_framebuffer *fb = ctx->DrawBuffer; 66 nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, size, 78 nv20_emit_framebuffer(struct gl_context *ctx, int emit) 80 struct nouveau_pushbuf *push = context_push(ctx); 81 struct gl_framebuffer *fb = ctx->DrawBuffer; 117 if (context_chipset(ctx) >= 0x25) 118 setup_hierz_buffer(ctx); 129 context_dirty(ctx, VIEWPORT) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vertex.c | 109 static void choose_emit_func( struct gl_context *ctx, GLuint count, GLubyte *dest) 111 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 112 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); 136 vtx->codegen_emit(ctx); 140 _tnl_generate_hardwired_emit(ctx); 148 vtx->emit( ctx, count, dest ); 153 static void choose_interp_func( struct gl_context *ctx, 158 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); 161 (ctx->_TriangleCaps & (DD_TRI_LIGHT_TWOSIDE|DD_TRI_UNFILLED))) { 167 vtx->interp( ctx, t, edst, eout, ein, force_boundary ) [all...] |
/external/openssl/crypto/bn/ |
divtest.c | 26 BN_CTX *ctx=BN_CTX_new(); local 33 BN_RECP_CTX_set(recp,b,ctx); 34 if (BN_div(C,D,a,b,ctx) != 1) 36 if (BN_div_recp(c,d,a,recp,ctx) != 1)
|
/external/srtp/crypto/hash/ |
sha1.c | 78 sha1_ctx_t ctx; local 80 sha1_init(&ctx); 81 sha1_update(&ctx, msg, octets_in_msg); 82 sha1_final(&ctx, hash_value); 186 sha1_init(sha1_ctx_t *ctx) { 189 ctx->H[0] = 0x67452301; 190 ctx->H[1] = 0xefcdab89; 191 ctx->H[2] = 0x98badcfe; 192 ctx->H[3] = 0x10325476; 193 ctx->H[4] = 0xc3d2e1f0 [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipherContext.java | 22 OpenSSLCipherContext(long ctx) { 23 if (ctx == 0) { 24 throw new NullPointerException("ctx == 0"); 27 this.context = ctx;
|
OpenSSLDigestContext.java | 22 public OpenSSLDigestContext(long ctx) { 23 if (ctx == 0) { 24 throw new NullPointerException("ctx == 0"); 27 this.context = ctx;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 189 static int check_##NM( struct gl_context *ctx, struct radeon_state_atom *atom ) \ 195 static int check_##NM( struct gl_context *ctx, struct radeon_state_atom *atom ) \ 197 r100ContextPtr rmesa = R100_CONTEXT(ctx); \ 209 CHECK( cube0_mm, (ctx->Texture.Unit[0]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 210 CHECK( cube1_mm, (ctx->Texture.Unit[1]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 211 CHECK( cube2_mm, (ctx->Texture.Unit[2]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 212 CHECK( fog_add4, ctx->Fog.Enabled, 4 ) 214 TCL_CHECK( tcl_tex0_add4, ctx->Texture.Unit[0]._ReallyEnabled, 4 ) 215 TCL_CHECK( tcl_tex1_add4, ctx->Texture.Unit[1]._ReallyEnabled, 4 ) 216 TCL_CHECK( tcl_tex2_add4, ctx->Texture.Unit[2]._ReallyEnabled, 4 506 struct gl_context *ctx = rmesa->radeon.glCtx; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 189 static int check_##NM( struct gl_context *ctx, struct radeon_state_atom *atom ) \ 195 static int check_##NM( struct gl_context *ctx, struct radeon_state_atom *atom ) \ 197 r100ContextPtr rmesa = R100_CONTEXT(ctx); \ 209 CHECK( cube0_mm, (ctx->Texture.Unit[0]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 210 CHECK( cube1_mm, (ctx->Texture.Unit[1]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 211 CHECK( cube2_mm, (ctx->Texture.Unit[2]._ReallyEnabled & TEXTURE_CUBE_BIT), 2 + 4*5 - CUBE_STATE_SIZE ) 212 CHECK( fog_add4, ctx->Fog.Enabled, 4 ) 214 TCL_CHECK( tcl_tex0_add4, ctx->Texture.Unit[0]._ReallyEnabled, 4 ) 215 TCL_CHECK( tcl_tex1_add4, ctx->Texture.Unit[1]._ReallyEnabled, 4 ) 216 TCL_CHECK( tcl_tex2_add4, ctx->Texture.Unit[2]._ReallyEnabled, 4 506 struct gl_context *ctx = rmesa->radeon.glCtx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_state.c | 67 static void r200AlphaFunc( struct gl_context *ctx, GLenum func, GLfloat ref ) 69 r200ContextPtr rmesa = R200_CONTEXT(ctx); 70 int pp_misc = rmesa->hw.ctx.cmd[CTX_PP_MISC]; 75 R200_STATECHANGE( rmesa, ctx ); 107 rmesa->hw.ctx.cmd[CTX_PP_MISC] = pp_misc; 110 static void r200BlendColor( struct gl_context *ctx, const GLfloat cf[4] ) 113 r200ContextPtr rmesa = R200_CONTEXT(ctx); 114 R200_STATECHANGE( rmesa, ctx ); 119 rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCOLOR] = radeonPackColor( 4, color[0], color[1], color[2], color[3] ); 202 static void r200_set_blend_state( struct gl_context * ctx ) [all...] |
r200_swtcl.h | 41 extern void r200InitSwtcl( struct gl_context *ctx ); 43 extern void r200ChooseRenderState( struct gl_context *ctx ); 44 extern void r200ChooseVertexState( struct gl_context *ctx ); 46 extern void r200CheckTexSizes( struct gl_context *ctx ); 48 extern void r200BuildVertices( struct gl_context *ctx, GLuint start, GLuint count, 54 extern void r200_translate_vertex( struct gl_context *ctx, 58 extern void r200_print_vertex( struct gl_context *ctx, const radeonVertex *v ); 60 extern void r200_import_float_colors( struct gl_context *ctx ); 61 extern void r200_import_float_spec_colors( struct gl_context *ctx ); 63 extern void r200PointsBitmap( struct gl_context *ctx, GLint px, GLint py [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state.c | 67 static void r200AlphaFunc( struct gl_context *ctx, GLenum func, GLfloat ref ) 69 r200ContextPtr rmesa = R200_CONTEXT(ctx); 70 int pp_misc = rmesa->hw.ctx.cmd[CTX_PP_MISC]; 75 R200_STATECHANGE( rmesa, ctx ); 107 rmesa->hw.ctx.cmd[CTX_PP_MISC] = pp_misc; 110 static void r200BlendColor( struct gl_context *ctx, const GLfloat cf[4] ) 113 r200ContextPtr rmesa = R200_CONTEXT(ctx); 114 R200_STATECHANGE( rmesa, ctx ); 119 rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCOLOR] = radeonPackColor( 4, color[0], color[1], color[2], color[3] ); 202 static void r200_set_blend_state( struct gl_context * ctx ) [all...] |
r200_swtcl.h | 41 extern void r200InitSwtcl( struct gl_context *ctx ); 43 extern void r200ChooseRenderState( struct gl_context *ctx ); 44 extern void r200ChooseVertexState( struct gl_context *ctx ); 46 extern void r200CheckTexSizes( struct gl_context *ctx ); 48 extern void r200BuildVertices( struct gl_context *ctx, GLuint start, GLuint count, 54 extern void r200_translate_vertex( struct gl_context *ctx, 58 extern void r200_print_vertex( struct gl_context *ctx, const radeonVertex *v ); 60 extern void r200_import_float_colors( struct gl_context *ctx ); 61 extern void r200_import_float_spec_colors( struct gl_context *ctx ); 63 extern void r200PointsBitmap( struct gl_context *ctx, GLint px, GLint py [all...] |
/external/chromium_org/third_party/libva/va/x11/ |
va_dricommon.h | 79 struct dri_drawable *(*createDrawable)(VADriverContextP ctx, XID x_drawable); 80 void (*destroyDrawable)(VADriverContextP ctx, struct dri_drawable *dri_drawable); 81 void (*swapBuffer)(VADriverContextP ctx, struct dri_drawable *dri_drawable); 82 union dri_buffer *(*getRenderingBuffer)(VADriverContextP ctx, struct dri_drawable *dri_drawable); 83 void (*close)(VADriverContextP ctx); 87 Bool isDRI2Connected(VADriverContextP ctx, char **driver_name); 88 void free_drawable(VADriverContextP ctx, struct dri_drawable* dri_drawable); 89 void free_drawable_hashtable(VADriverContextP ctx); 90 struct dri_drawable *dri_get_drawable(VADriverContextP ctx, XID drawable); 91 void dri_swap_buffer(VADriverContextP ctx, struct dri_drawable *dri_drawable) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec_array.c | 68 vbo_check_buffers_are_unmapped(struct gl_context *ctx) 70 struct vbo_context *vbo = vbo_context(ctx); 87 vbo_get_minmax_index(struct gl_context *ctx, 93 const GLboolean restart = ctx->Array.PrimitiveRestart; 94 const GLuint restartIndex = ctx->Array.RestartIndex; 102 indices = ctx->Driver.MapBufferRange(ctx, (GLintptr) indices, size, 179 ctx->Driver.UnmapBuffer(ctx, ib->obj); 187 vbo_get_minmax_indices(struct gl_context *ctx, [all...] |
/external/e2fsprogs/e2fsck/ |
ehandler.c | 33 e2fsck_t ctx; local 35 ctx = (e2fsck_t) fs->priv_data; 36 if (ctx->flags & E2F_FLAG_EXITING) 59 preenhalt(ctx); 60 if (ask(ctx, _("Ignore error"), 1)) { 61 if (ask(ctx, _("Force rewrite"), 1)) 80 e2fsck_t ctx; local 82 ctx = (e2fsck_t) fs->priv_data; 83 if (ctx->flags & E2F_FLAG_EXITING) 108 preenhalt(ctx); [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_array.c | 68 vbo_check_buffers_are_unmapped(struct gl_context *ctx) 70 struct vbo_context *vbo = vbo_context(ctx); 87 vbo_get_minmax_index(struct gl_context *ctx, 93 const GLboolean restart = ctx->Array.PrimitiveRestart; 94 const GLuint restartIndex = ctx->Array.RestartIndex; 102 indices = ctx->Driver.MapBufferRange(ctx, (GLintptr) indices, size, 179 ctx->Driver.UnmapBuffer(ctx, ib->obj); 187 vbo_get_minmax_indices(struct gl_context *ctx, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
mask.c | 101 struct vg_context *ctx = vg_current_context(); local 102 struct pipe_context *pipe = ctx->pipe; 104 struct st_framebuffer *stfb = ctx->draw_buffer; 141 _vega_pack_rgba_span_float(ctx, width, temp, dataFormat, 152 struct vg_context *ctx = vg_current_context(); local 153 struct st_framebuffer *stfb = ctx->draw_buffer; 185 struct vg_context *ctx = vg_current_context(); local 190 if (!ctx->mask.union_fs) { 191 ctx->mask.union_fs = shader_create_from_text(ctx->pipe 241 struct vg_context *ctx = vg_current_context(); local 278 struct vg_context *ctx = vg_current_context(); local 332 struct vg_context *ctx = vg_current_context(); local 375 struct vg_context *ctx = vg_current_context(); local 396 struct vg_context *ctx = vg_current_context(); local 423 struct vg_context *ctx = vg_current_context(); local 449 struct vg_context *ctx = vg_current_context(); local 501 struct vg_context *ctx = vg_current_context(); local 516 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
fs-test.c | 43 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 141 ctx->transfer_inline_write(ctx, 151 pipe_set_constant_buffer(ctx, 158 ctx->transfer_inline_write(ctx, 168 pipe_set_constant_buffer(ctx, 195 ctx->set_viewport_state( ctx, &vp ); 213 handle = ctx->create_vertex_elements_state(ctx, 3, ve) [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
mask.c | 101 struct vg_context *ctx = vg_current_context(); local 102 struct pipe_context *pipe = ctx->pipe; 104 struct st_framebuffer *stfb = ctx->draw_buffer; 141 _vega_pack_rgba_span_float(ctx, width, temp, dataFormat, 152 struct vg_context *ctx = vg_current_context(); local 153 struct st_framebuffer *stfb = ctx->draw_buffer; 185 struct vg_context *ctx = vg_current_context(); local 190 if (!ctx->mask.union_fs) { 191 ctx->mask.union_fs = shader_create_from_text(ctx->pipe 241 struct vg_context *ctx = vg_current_context(); local 278 struct vg_context *ctx = vg_current_context(); local 332 struct vg_context *ctx = vg_current_context(); local 375 struct vg_context *ctx = vg_current_context(); local 396 struct vg_context *ctx = vg_current_context(); local 423 struct vg_context *ctx = vg_current_context(); local 449 struct vg_context *ctx = vg_current_context(); local 501 struct vg_context *ctx = vg_current_context(); local 516 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
fs-test.c | 43 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 141 ctx->transfer_inline_write(ctx, 151 pipe_set_constant_buffer(ctx, 158 ctx->transfer_inline_write(ctx, 168 pipe_set_constant_buffer(ctx, 195 ctx->set_viewport_state( ctx, &vp ); 213 handle = ctx->create_vertex_elements_state(ctx, 3, ve) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_cryptoapi.c | 291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) 293 struct aes_context *akey = ctx; 306 void aes_encrypt_deinit(void *ctx) 308 struct aes_context *akey = ctx; 323 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) 325 struct aes_context *akey = ctx; 338 void aes_decrypt_deinit(void *ctx) 340 aes_encrypt_deinit(ctx); 355 struct crypto_hash *ctx; local 393 ctx = os_zalloc(sizeof(*ctx)) 511 struct crypto_cipher *ctx; local [all...] |