HomeSort by relevance Sort by last modified time
    Searched full:ctx (Results 701 - 725 of 4417) sorted by null

<<21222324252627282930>>

  /external/wpa_supplicant_8/src/crypto/
aes-cbc.c 26 void *ctx; local
31 ctx = aes_encrypt_init(key, 16);
32 if (ctx == NULL)
40 aes_encrypt(ctx, cbc, cbc);
44 aes_encrypt_deinit(ctx);
59 void *ctx; local
64 ctx = aes_decrypt_init(key, 16);
65 if (ctx == NULL)
72 aes_decrypt(ctx, pos, pos);
78 aes_decrypt_deinit(ctx);
    [all...]
  /external/wpa_supplicant_8/src/eapol_supp/
eapol_supp_sm.h 66 * ctx - Pointer to arbitrary upper level context
68 void *ctx; member in struct:eapol_ctx
82 * @ctx: Pointer to context data (cb_ctx)
89 void (*cb)(struct eapol_sm *eapol, int success, void *ctx);
115 * @ctx: Callback context (ctx)
121 void (*eapol_done_cb)(void *ctx);
125 * @ctx: Callback context (eapol_send_ctx)
131 int (*eapol_send)(void *ctx, int type, const u8 *buf, size_t len);
135 * @ctx: Callback context (ctx
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLEngine.java 32 private final long ctx; field in class:OpenSSLEngine
53 ctx = engineCtx;
66 final long keyRef = NativeCrypto.ENGINE_load_private_key(ctx, id);
84 final long keyRef = NativeCrypto.ENGINE_load_private_key(ctx, id);
98 return ctx;
104 NativeCrypto.ENGINE_finish(ctx);
105 NativeCrypto.ENGINE_free(ctx);
123 if (other.getEngineContext() == ctx) {
127 final String id = NativeCrypto.ENGINE_get_id(ctx);
137 return (int) ctx;
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
xa_composite.c 255 bind_composite_blend_state(struct xa_context *ctx,
273 cso_set_blend(ctx->cso, &blend);
325 bind_shaders(struct xa_context *ctx, const struct xa_composite *comp)
332 ctx->has_solid_color = FALSE;
343 ctx->solid_color);
344 ctx->has_solid_color = TRUE;
375 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM)
378 shader = xa_shaders_get(ctx->shaders, vs_traits, fs_traits);
379 cso_set_vertex_shader_handle(ctx->cso, shader.vs);
380 cso_set_fragment_shader_handle(ctx->cso, shader.fs)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv20_context.c 39 nv20_clear(struct gl_context *ctx, GLbitfield buffers)
41 struct nouveau_context *nctx = to_nouveau_context(ctx);
42 struct nouveau_pushbuf *push = context_push(ctx);
43 struct gl_framebuffer *fb = ctx->DrawBuffer;
46 nouveau_validate_framebuffer(ctx);
58 if (ctx->Color.ColorMask[0][RCOMP])
60 if (ctx->Color.ColorMask[0][GCOMP])
62 if (ctx->Color.ColorMask[0][BCOMP])
64 if (ctx->Color.ColorMask[0][ACOMP])
68 PUSH_DATA (push, pack_rgba_clamp_f(s->format, ctx->Color.ClearColor.f))
445 struct gl_context *ctx; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xa/
xa_composite.c 255 bind_composite_blend_state(struct xa_context *ctx,
273 cso_set_blend(ctx->cso, &blend);
325 bind_shaders(struct xa_context *ctx, const struct xa_composite *comp)
332 ctx->has_solid_color = FALSE;
343 ctx->solid_color);
344 ctx->has_solid_color = TRUE;
375 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM)
378 shader = xa_shaders_get(ctx->shaders, vs_traits, fs_traits);
379 cso_set_vertex_shader_handle(ctx->cso, shader.vs);
380 cso_set_fragment_shader_handle(ctx->cso, shader.fs)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv20_context.c 39 nv20_clear(struct gl_context *ctx, GLbitfield buffers)
41 struct nouveau_context *nctx = to_nouveau_context(ctx);
42 struct nouveau_pushbuf *push = context_push(ctx);
43 struct gl_framebuffer *fb = ctx->DrawBuffer;
46 nouveau_validate_framebuffer(ctx);
58 if (ctx->Color.ColorMask[0][RCOMP])
60 if (ctx->Color.ColorMask[0][GCOMP])
62 if (ctx->Color.ColorMask[0][BCOMP])
64 if (ctx->Color.ColorMask[0][ACOMP])
68 PUSH_DATA (push, pack_rgba_clamp_f(s->format, ctx->Color.ClearColor.f))
445 struct gl_context *ctx; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
framebuffer.c 98 * This is the default function for ctx->Driver.NewFramebuffer().
104 _mesa_new_framebuffer(struct gl_context *ctx, GLuint name)
107 (void) ctx;
268 * This will typically be called via ctx->Driver.ResizeBuffers() or directly
271 * \note it's possible for ctx to be null since a window can be resized
275 _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
293 if (rb->AllocStorage(ctx, rb, rb->InternalFormat, width, height)) {
298 _mesa_error(ctx, GL_OUT_OF_MEMORY, "Resizing framebuffer");
308 if (ctx) {
310 _mesa_update_draw_buffer_bounds(ctx);
    [all...]
pack.h 53 _mesa_pack_rgba_span_float(struct gl_context *ctx, GLuint n,
61 _mesa_unpack_color_span_ubyte(struct gl_context *ctx,
70 _mesa_unpack_color_span_float(struct gl_context *ctx,
78 _mesa_unpack_color_span_uint(struct gl_context *ctx,
85 _mesa_unpack_dudv_span_byte(struct gl_context *ctx,
93 _mesa_unpack_index_span(struct gl_context *ctx, GLuint n,
101 _mesa_pack_index_span(struct gl_context *ctx, GLuint n,
108 _mesa_unpack_stencil_span(struct gl_context *ctx, GLuint n,
115 _mesa_pack_stencil_span(struct gl_context *ctx, GLuint n,
121 _mesa_unpack_depth_span(struct gl_context *ctx, GLuint n
    [all...]
rastpos.c 51 GET_CURRENT_CONTEXT(ctx);
59 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
60 FLUSH_CURRENT(ctx, 0);
62 if (ctx->NewState)
63 _mesa_update_state( ctx );
65 ctx->Driver.RasterPos(ctx, p);
228 GET_CURRENT_CONTEXT(ctx);
231 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
232 FLUSH_CURRENT(ctx, 0)
    [all...]
  /external/mesa3d/src/mesa/main/
framebuffer.c 98 * This is the default function for ctx->Driver.NewFramebuffer().
104 _mesa_new_framebuffer(struct gl_context *ctx, GLuint name)
107 (void) ctx;
268 * This will typically be called via ctx->Driver.ResizeBuffers() or directly
271 * \note it's possible for ctx to be null since a window can be resized
275 _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
293 if (rb->AllocStorage(ctx, rb, rb->InternalFormat, width, height)) {
298 _mesa_error(ctx, GL_OUT_OF_MEMORY, "Resizing framebuffer");
308 if (ctx) {
310 _mesa_update_draw_buffer_bounds(ctx);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
r600_llvm.c 37 struct radeon_llvm_context * ctx,
50 ctx->soa.bld_base.base.gallivm, chan);
51 ctx->system_values[index] = build_intrinsic(
52 ctx->soa.bld_base.base.gallivm->builder,
54 ctx->soa.bld_base.base.elem_type, &reg, 1,
64 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); local
65 LLVMValueRef cval = ctx->system_values[reg->Register.Index];
70 struct radeon_llvm_context * ctx,
82 ctx->soa.bld_base.base.gallivm,
83 soa_index + (ctx->reserved_reg_count * 4))
94 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); local
115 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_context.c 74 * Called via ctx->Driver.UpdateState()
76 void st_invalidate_state(struct gl_context * ctx, GLuint new_state)
78 struct st_context *st = st_context(ctx);
86 /* Update the vertex shader if ctx->Light._ClampVertexColor was changed. */
97 _vbo_InvalidateState(ctx, new_state);
117 st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe,
126 ctx->st = st;
128 st->ctx = ctx;
135 _vbo_CreateContext(ctx);
216 struct gl_context *ctx; local
285 struct gl_context *ctx = st->ctx; local
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/
r600_llvm.c 37 struct radeon_llvm_context * ctx,
50 ctx->soa.bld_base.base.gallivm, chan);
51 ctx->system_values[index] = build_intrinsic(
52 ctx->soa.bld_base.base.gallivm->builder,
54 ctx->soa.bld_base.base.elem_type, &reg, 1,
64 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); local
65 LLVMValueRef cval = ctx->system_values[reg->Register.Index];
70 struct radeon_llvm_context * ctx,
82 ctx->soa.bld_base.base.gallivm,
83 soa_index + (ctx->reserved_reg_count * 4))
94 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); local
115 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); local
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_context.c 74 * Called via ctx->Driver.UpdateState()
76 void st_invalidate_state(struct gl_context * ctx, GLuint new_state)
78 struct st_context *st = st_context(ctx);
86 /* Update the vertex shader if ctx->Light._ClampVertexColor was changed. */
97 _vbo_InvalidateState(ctx, new_state);
117 st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe,
126 ctx->st = st;
128 st->ctx = ctx;
135 _vbo_CreateContext(ctx);
216 struct gl_context *ctx; local
285 struct gl_context *ctx = st->ctx; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
intel_pixel.c 59 intel_check_blit_fragment_ops(struct gl_context * ctx, bool src_alpha_is_one)
61 if (ctx->NewState)
62 _mesa_update_state(ctx);
64 if (ctx->FragmentProgram._Enabled) {
69 if (ctx->Color.BlendEnabled &&
70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE ||
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO ||
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD ||
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE ||
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO |
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_bitmap.c 45 * Called via ctx->Driver.Bitmap()
49 _swrast_Bitmap( struct gl_context *ctx, GLint px, GLint py,
58 ASSERT(ctx->RenderMode == GL_RENDER);
60 if (!_mesa_check_conditional_render(ctx))
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap);
67 swrast_render_start(ctx);
69 if (SWRAST_CONTEXT(ctx)->NewState)
70 _swrast_validate_derived( ctx );
75 _swrast_span_default_attribs(ctx, &span);
129 _swrast_write_rgba_span(ctx, &span)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
m_sha1.c 74 static int init(EVP_MD_CTX *ctx)
75 { return SHA1_Init(ctx->md_data); }
77 static int update(EVP_MD_CTX *ctx,const void *data,size_t count)
78 { return SHA1_Update(ctx->md_data,data,count); }
80 static int final(EVP_MD_CTX *ctx,unsigned char *md)
81 { return SHA1_Final(md,ctx->md_data); }
106 static int init224(EVP_MD_CTX *ctx)
107 { return SHA224_Init(ctx->md_data); }
108 static int init256(EVP_MD_CTX *ctx)
109 { return SHA256_Init(ctx->md_data);
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_pixel.c 59 intel_check_blit_fragment_ops(struct gl_context * ctx, bool src_alpha_is_one)
61 if (ctx->NewState)
62 _mesa_update_state(ctx);
64 if (ctx->FragmentProgram._Enabled) {
69 if (ctx->Color.BlendEnabled &&
70 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE ||
71 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO ||
72 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD ||
73 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE ||
74 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO |
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_bitmap.c 45 * Called via ctx->Driver.Bitmap()
49 _swrast_Bitmap( struct gl_context *ctx, GLint px, GLint py,
58 ASSERT(ctx->RenderMode == GL_RENDER);
60 if (!_mesa_check_conditional_render(ctx))
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap);
67 swrast_render_start(ctx);
69 if (SWRAST_CONTEXT(ctx)->NewState)
70 _swrast_validate_derived( ctx );
75 _swrast_span_default_attribs(ctx, &span);
129 _swrast_write_rgba_span(ctx, &span)
    [all...]
  /external/openssl/crypto/evp/
m_sha1.c 74 static int init(EVP_MD_CTX *ctx)
75 { return SHA1_Init(ctx->md_data); }
77 static int update(EVP_MD_CTX *ctx,const void *data,size_t count)
78 { return SHA1_Update(ctx->md_data,data,count); }
80 static int final(EVP_MD_CTX *ctx,unsigned char *md)
81 { return SHA1_Final(md,ctx->md_data); }
106 static int init224(EVP_MD_CTX *ctx)
107 { return SHA224_Init(ctx->md_data); }
108 static int init256(EVP_MD_CTX *ctx)
109 { return SHA256_Init(ctx->md_data);
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
md5c.c 47 MD5Init(struct MD5Context *ctx)
49 ctx->buf[0] = 0x67452301;
50 ctx->buf[1] = 0xefcdab89;
51 ctx->buf[2] = 0x98badcfe;
52 ctx->buf[3] = 0x10325476;
54 ctx->bits[0] = 0;
55 ctx->bits[1] = 0;
63 MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len)
69 t = ctx->bits[0];
70 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
md5.cc 40 void MD5Init(MD5Context* ctx) {
41 ctx->buf[0] = 0x67452301;
42 ctx->buf[1] = 0xefcdab89;
43 ctx->buf[2] = 0x98badcfe;
44 ctx->buf[3] = 0x10325476;
45 ctx->bits[0] = 0;
46 ctx->bits[1] = 0;
50 void MD5Update(MD5Context* ctx, const uint8* buf, size_t len) {
52 uint32 t = ctx->bits[0];
53 if ((ctx->bits[0] = t + (static_cast<uint32>(len) << 3)) < t)
    [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/gallium/state_trackers/va/
va_image.c 53 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats)
55 if (!ctx)
74 vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image)
76 if (!ctx)
106 vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image)
108 if (!ctx)
115 vlVaDestroyImage(VADriverContextP ctx, VAImageID image)
117 if (!ctx)
124 vlVaSetImagePalette(VADriverContextP ctx, VAImageID image, unsigned char *palette)
126 if (!ctx)
    [all...]

Completed in 1415 milliseconds

<<21222324252627282930>>