HomeSort by relevance Sort by last modified time
    Searched refs:ctx (Results 326 - 350 of 3875) sorted by null

<<11121314151617181920>>

  /external/mesa3d/src/mesa/main/
bufferobj.c 63 * \param ctx the GL context
69 get_buffer_target(struct gl_context *ctx, GLenum target)
73 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)
79 return &ctx->Array.ArrayBufferObj;
81 return &ctx->Array.ArrayObj->ElementArrayBufferObj;
83 return &ctx->Pack.BufferObj;
85 return &ctx->Unpack.BufferObj;
87 return &ctx->CopyReadBuffer;
89 return &ctx->CopyWriteBuffer
    [all...]
buffers.c 55 supported_buffer_bitmask(const struct gl_context *ctx,
63 ASSERT(ctx->Extensions.EXT_framebuffer_object);
64 for (i = 0; i < ctx->Const.MaxColorAttachments; i++) {
214 * current ctx->DrawBuffer is a window-system framebuffer (Name=0) or
216 * In the former case, we update the per-context ctx->Color.DrawBuffer
231 GET_CURRENT_CONTEXT(ctx);
232 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); /* too complex... */
235 _mesa_debug(ctx, "glDrawBuffer %s\n", _mesa_lookup_enum_by_nr(buffer));
243 = supported_buffer_bitmask(ctx, ctx->DrawBuffer)
    [all...]
accum.c 46 GET_CURRENT_CONTEXT(ctx);
47 ASSERT_OUTSIDE_BEGIN_END(ctx);
54 if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor))
57 COPY_4FV( ctx->Accum.ClearColor, tmp );
64 GET_CURRENT_CONTEXT(ctx);
65 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
76 _mesa_error(ctx, GL_INVALID_ENUM, "glAccum(op)");
80 if (ctx->DrawBuffer->Visual.haveAccumBuffer == 0) {
81 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
85 if (ctx->DrawBuffer != ctx->ReadBuffer)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/hmac/
hmac.c 68 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
78 if ((impl || ctx->i_ctx.engine)
79 && !(ctx->i_ctx.flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW))
87 if (!impl && !ctx->i_ctx.engine)
88 return FIPS_hmac_init_ex(ctx, key, len, md, NULL);
95 ctx->md=md;
98 md=ctx->md;
104 OPENSSL_assert(j <= (int)sizeof(ctx->key));
107 if (!EVP_DigestInit_ex(&ctx->md_ctx,md, impl))
109 if (!EVP_DigestUpdate(&ctx->md_ctx,key,len)
    [all...]
  /external/openssl/crypto/hmac/
hmac.c 68 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
78 if ((impl || ctx->i_ctx.engine)
79 && !(ctx->i_ctx.flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW))
87 if (!impl && !ctx->i_ctx.engine)
88 return FIPS_hmac_init_ex(ctx, key, len, md, NULL);
95 ctx->md=md;
98 md=ctx->md;
104 OPENSSL_assert(j <= (int)sizeof(ctx->key));
107 if (!EVP_DigestInit_ex(&ctx->md_ctx,md, impl))
109 if (!EVP_DigestUpdate(&ctx->md_ctx,key,len)
    [all...]
  /dalvik/vm/alloc/
DdmHeap.cpp 190 static void flush_hpsg_chunk(HeapChunkContext *ctx)
192 if (ctx->pieceLenField == NULL && ctx->needHeader) {
198 assert(ctx->buf <= ctx->pieceLenField &&
199 ctx->pieceLenField <= ctx->p);
200 set4BE(ctx->pieceLenField, ctx->totalAllocationUnits);
204 dvmDbgDdmSendChunk(ctx->type, ctx->p - ctx->buf, ctx->buf)
284 HeapChunkContext *ctx = (HeapChunkContext *)arg; local
396 HeapChunkContext ctx; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_primitive_restart.c 42 can_cut_index_handle_restart_index(struct gl_context *ctx,
45 struct intel_context *intel = intel_context(ctx);
55 cut_index_will_work = (ctx->Array.RestartIndex & 0xff) == 0xff;
58 cut_index_will_work = (ctx->Array.RestartIndex & 0xffff) == 0xffff;
61 cut_index_will_work = ctx->Array.RestartIndex == 0xffffffff;
76 can_cut_index_handle_prims(struct gl_context *ctx,
81 struct brw_context *brw = brw_context(ctx);
93 if (!can_cut_index_handle_restart_index(ctx, ib)) {
130 brw_handle_primitive_restart(struct gl_context *ctx,
135 struct brw_context *brw = brw_context(ctx);
192 struct gl_context *ctx = &intel->ctx; local
    [all...]
gen6_depthstencil.c 35 struct gl_context *ctx = &brw->intel.ctx; local
40 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH);
48 if (ctx->Stencil._Enabled) {
49 int back = ctx->Stencil._BackFace;
53 intel_translate_compare_func(ctx->Stencil.Function[0]);
55 intel_translate_stencil_op(ctx->Stencil.FailFunc[0]);
57 intel_translate_stencil_op(ctx->Stencil.ZFailFunc[0]);
59 intel_translate_stencil_op(ctx->Stencil.ZPassFunc[0]);
60 ds->ds1.stencil_write_mask = ctx->Stencil.WriteMask[0]
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
e_xcbc_d.c 69 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
71 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
104 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
109 DES_set_key_unchecked(deskey,&data(ctx)->ks);
110 memcpy(&data(ctx)->inw[0],&key[8],8);
111 memcpy(&data(ctx)->outw[0],&key[16],8);
116 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
121 DES_xcbc_encrypt(in,out,(long)EVP_MAXCHUNK,&data(ctx)->ks
    [all...]
evp_lib.c 123 int EVP_CIPHER_type(const EVP_CIPHER *ctx)
127 nid = EVP_CIPHER_nid(ctx);
186 int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx)
188 return ctx->cipher->block_size;
191 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl)
193 return ctx->cipher->do_cipher(ctx,out,in,inl);
196 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx)
198 return ctx->cipher;
206 unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx)
    [all...]
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/mesa3d/src/mesa/drivers/dri/i965/
brw_primitive_restart.c 42 can_cut_index_handle_restart_index(struct gl_context *ctx,
45 struct intel_context *intel = intel_context(ctx);
55 cut_index_will_work = (ctx->Array.RestartIndex & 0xff) == 0xff;
58 cut_index_will_work = (ctx->Array.RestartIndex & 0xffff) == 0xffff;
61 cut_index_will_work = ctx->Array.RestartIndex == 0xffffffff;
76 can_cut_index_handle_prims(struct gl_context *ctx,
81 struct brw_context *brw = brw_context(ctx);
93 if (!can_cut_index_handle_restart_index(ctx, ib)) {
130 brw_handle_primitive_restart(struct gl_context *ctx,
135 struct brw_context *brw = brw_context(ctx);
192 struct gl_context *ctx = &intel->ctx; local
    [all...]
gen6_depthstencil.c 35 struct gl_context *ctx = &brw->intel.ctx; local
40 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH);
48 if (ctx->Stencil._Enabled) {
49 int back = ctx->Stencil._BackFace;
53 intel_translate_compare_func(ctx->Stencil.Function[0]);
55 intel_translate_stencil_op(ctx->Stencil.FailFunc[0]);
57 intel_translate_stencil_op(ctx->Stencil.ZFailFunc[0]);
59 intel_translate_stencil_op(ctx->Stencil.ZPassFunc[0]);
60 ds->ds1.stencil_write_mask = ctx->Stencil.WriteMask[0]
    [all...]
  /external/openssl/crypto/evp/
e_xcbc_d.c 69 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
71 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
82 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
104 static int desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
109 DES_set_key_unchecked(deskey,&data(ctx)->ks);
110 memcpy(&data(ctx)->inw[0],&key[8],8);
111 memcpy(&data(ctx)->outw[0],&key[16],8);
116 static int desx_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
121 DES_xcbc_encrypt(in,out,(long)EVP_MAXCHUNK,&data(ctx)->ks
    [all...]
evp_lib.c 123 int EVP_CIPHER_type(const EVP_CIPHER *ctx)
127 nid = EVP_CIPHER_nid(ctx);
186 int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx)
188 return ctx->cipher->block_size;
191 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl)
193 return ctx->cipher->do_cipher(ctx,out,in,inl);
196 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx)
198 return ctx->cipher;
206 unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx)
    [all...]
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc.cpp 76 hwc_context_t* ctx = (hwc_context_t*)(dev); local
77 if(!ctx) {
81 ctx->proc = procs;
85 init_uevent_thread(ctx);
86 init_vsync_thread(ctx);
90 static void reset(hwc_context_t *ctx, int numDisplays,
105 if(ctx->mFBUpdate[i])
106 ctx->mFBUpdate[i]->reset();
107 if(ctx->mMDPComp[i])
108 ctx->mMDPComp[i]->reset()
154 hwc_context_t* ctx = (hwc_context_t*)(dev); local
177 hwc_context_t* ctx = (hwc_context_t*)(dev); local
213 hwc_context_t* ctx = (hwc_context_t*)(dev); local
247 hwc_context_t* ctx = (hwc_context_t*)(dev); local
295 hwc_context_t* ctx = (hwc_context_t*)(dev); local
321 hwc_context_t* ctx = (hwc_context_t*)(dev); local
377 hwc_context_t* ctx = (hwc_context_t*)(dev); local
557 hwc_context_t* ctx = (hwc_context_t*)(dev); local
587 hwc_context_t* ctx = (hwc_context_t*)(dev); local
615 hwc_context_t* ctx = (hwc_context_t*)(dev); local
666 hwc_context_t* ctx = (hwc_context_t*)(dev); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
vg_context.c 60 choose_depth_stencil_format(struct vg_context *ctx)
62 struct pipe_screen *screen = ctx->pipe->screen;
76 ctx->ds_format = *fmt;
78 return (ctx->ds_format != PIPE_FORMAT_NONE);
81 void vg_set_current_context(struct vg_context *ctx)
83 _vg_context = ctx;
84 api_make_dispatch_current((ctx) ? ctx->dispatch : NULL);
91 struct vg_context *ctx; local
93 ctx = CALLOC_STRUCT(vg_context)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
vg_context.c 60 choose_depth_stencil_format(struct vg_context *ctx)
62 struct pipe_screen *screen = ctx->pipe->screen;
76 ctx->ds_format = *fmt;
78 return (ctx->ds_format != PIPE_FORMAT_NONE);
81 void vg_set_current_context(struct vg_context *ctx)
83 _vg_context = ctx;
84 api_make_dispatch_current((ctx) ? ctx->dispatch : NULL);
91 struct vg_context *ctx; local
93 ctx = CALLOC_STRUCT(vg_context)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_context.c 99 RADEON_STATECHANGE(rmesa, ctx);
101 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |=
104 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &=
126 static void r100_vtbl_free_context(struct gl_context *ctx)
128 r100ContextPtr rmesa = R100_CONTEXT(ctx);
177 struct gl_context *ctx; local
254 ctx = rmesa->radeon.glCtx;
257 _swrast_CreateContext( ctx );
258 _vbo_CreateContext( ctx );
259 _tnl_CreateContext( ctx );
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
buffers.c 55 supported_buffer_bitmask(const struct gl_context *ctx,
63 ASSERT(ctx->Extensions.EXT_framebuffer_object);
64 for (i = 0; i < ctx->Const.MaxColorAttachments; i++) {
214 * current ctx->DrawBuffer is a window-system framebuffer (Name=0) or
216 * In the former case, we update the per-context ctx->Color.DrawBuffer
231 GET_CURRENT_CONTEXT(ctx);
232 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); /* too complex... */
235 _mesa_debug(ctx, "glDrawBuffer %s\n", _mesa_lookup_enum_by_nr(buffer));
243 = supported_buffer_bitmask(ctx, ctx->DrawBuffer)
    [all...]
accum.c 46 GET_CURRENT_CONTEXT(ctx);
47 ASSERT_OUTSIDE_BEGIN_END(ctx);
54 if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor))
57 COPY_4FV( ctx->Accum.ClearColor, tmp );
64 GET_CURRENT_CONTEXT(ctx);
65 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
76 _mesa_error(ctx, GL_INVALID_ENUM, "glAccum(op)");
80 if (ctx->DrawBuffer->Visual.haveAccumBuffer == 0) {
81 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
85 if (ctx->DrawBuffer != ctx->ReadBuffer)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_context.c 99 RADEON_STATECHANGE(rmesa, ctx);
101 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |=
104 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &=
126 static void r100_vtbl_free_context(struct gl_context *ctx)
128 r100ContextPtr rmesa = R100_CONTEXT(ctx);
177 struct gl_context *ctx; local
254 ctx = rmesa->radeon.glCtx;
257 _swrast_CreateContext( ctx );
258 _vbo_CreateContext( ctx );
259 _tnl_CreateContext( ctx );
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
r200_state.h 42 extern void r200InitTnlFuncs( struct gl_context *ctx );
44 extern void r200UpdateMaterial( struct gl_context *ctx );
46 extern void r200UpdateViewportOffset( struct gl_context *ctx );
47 extern void r200UpdateWindow( struct gl_context *ctx );
48 extern void r200UpdateDrawBuffer(struct gl_context *ctx);
50 extern GLboolean r200ValidateState( struct gl_context *ctx );
52 extern void r200_vtbl_update_scissor( struct gl_context *ctx );
54 extern void r200Fallback( struct gl_context *ctx, GLuint bit, GLboolean mode );
61 extern void r200LightingSpaceChange( struct gl_context *ctx );
  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
IAttributeVisitor.java 20 Object visit (GenericAttribute_info attribute, Object ctx);
22 Object visit (CodeAttribute_info attribute, Object ctx);
23 Object visit (ConstantValueAttribute_info attribute, Object ctx);
24 Object visit (ExceptionsAttribute_info attribute, Object ctx);
25 Object visit (LineNumberTableAttribute_info attribute, Object ctx);
26 Object visit (SourceFileAttribute_info attribute, Object ctx);
27 Object visit (SyntheticAttribute_info attribute, Object ctx);
28 Object visit (BridgeAttribute_info attribute, Object ctx);
29 Object visit (InnerClassesAttribute_info attribute, Object ctx);
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_state.h 42 extern void r200InitTnlFuncs( struct gl_context *ctx );
44 extern void r200UpdateMaterial( struct gl_context *ctx );
46 extern void r200UpdateViewportOffset( struct gl_context *ctx );
47 extern void r200UpdateWindow( struct gl_context *ctx );
48 extern void r200UpdateDrawBuffer(struct gl_context *ctx);
50 extern GLboolean r200ValidateState( struct gl_context *ctx );
52 extern void r200_vtbl_update_scissor( struct gl_context *ctx );
54 extern void r200Fallback( struct gl_context *ctx, GLuint bit, GLboolean mode );
61 extern void r200LightingSpaceChange( struct gl_context *ctx );

Completed in 518 milliseconds

<<11121314151617181920>>