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

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/openssl/openssl/crypto/bio/
bf_buff.c 95 BIO_F_BUFFER_CTX *ctx; local
97 ctx=(BIO_F_BUFFER_CTX *)OPENSSL_malloc(sizeof(BIO_F_BUFFER_CTX));
98 if (ctx == NULL) return(0);
99 ctx->ibuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
100 if (ctx->ibuf == NULL) { OPENSSL_free(ctx); return(0); }
101 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
102 if (ctx->obuf == NULL) { OPENSSL_free(ctx->ibuf); OPENSSL_free(ctx); return(0);
134 BIO_F_BUFFER_CTX *ctx; local
200 BIO_F_BUFFER_CTX *ctx; local
273 BIO_F_BUFFER_CTX *ctx; local
458 BIO_F_BUFFER_CTX *ctx; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
api_paint.c 42 struct vg_context *ctx = vg_current_context(); local
45 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
54 struct vg_context *ctx = vg_current_context(); local
58 paint = paint_to_handle(ctx->default_paint);
60 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
65 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
70 ctx->state.vg.fill_paint = handle_to_paint(paint);
73 ctx->state.vg.stroke_paint = handle_to_paint(paint);
76 ctx->state.dirty |= PAINT_DIRTY;
81 struct vg_context *ctx = vg_current_context() local
102 struct vg_context *ctx = vg_current_context(); local
125 struct vg_context *ctx = vg_current_context(); local
145 struct vg_context *ctx = vg_current_context(); local
    [all...]
api_text.c 40 struct vg_context *ctx = vg_current_context(); local
43 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
53 struct vg_context *ctx = vg_current_context(); local
56 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
60 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
74 struct vg_context *ctx = vg_current_context(); local
79 !vg_context_is_object_valid(ctx, VG_OBJECT_FONT, font)) {
80 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
85 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
89 !vg_context_is_object_valid(ctx, VG_OBJECT_PATH, path))
107 struct vg_context *ctx = vg_current_context(); local
136 struct vg_context *ctx = vg_current_context(); local
154 struct vg_context *ctx = vg_current_context(); local
178 struct vg_context *ctx = vg_current_context(); local
    [all...]
  /external/mesa3d/src/mesa/main/
clip.c 39 _mesa_update_clip_plane(struct gl_context *ctx, GLuint plane)
41 if (_math_matrix_is_dirty(ctx->ProjectionMatrixStack.Top))
42 _math_matrix_analyse( ctx->ProjectionMatrixStack.Top );
45 _mesa_transform_vector(ctx->Transform._ClipUserPlane[plane],
46 ctx->Transform.EyeUserPlane[plane],
47 ctx->ProjectionMatrixStack.Top->inv);
54 GET_CURRENT_CONTEXT(ctx);
57 ASSERT_OUTSIDE_BEGIN_END(ctx);
60 if (p < 0 || p >= (GLint) ctx->Const.MaxClipPlanes) {
61 _mesa_error( ctx, GL_INVALID_ENUM, "glClipPlane" )
    [all...]
transformfeedback.c 68 GET_CURRENT_CONTEXT(ctx);
69 if (ctx)
70 ctx->Driver.DeleteTransformFeedback(ctx, oldObj);
98 _mesa_validate_transform_feedback_buffers(struct gl_context *ctx)
110 _mesa_init_transform_feedback(struct gl_context *ctx)
113 ASSERT(ctx->Driver.NewTransformFeedback);
115 ctx->TransformFeedback.DefaultObject =
116 ctx->Driver.NewTransformFeedback(ctx, 0)
140 struct gl_context *ctx = (struct gl_context *) userData; local
    [all...]
  /external/openssl/crypto/bio/
bf_buff.c 95 BIO_F_BUFFER_CTX *ctx; local
97 ctx=(BIO_F_BUFFER_CTX *)OPENSSL_malloc(sizeof(BIO_F_BUFFER_CTX));
98 if (ctx == NULL) return(0);
99 ctx->ibuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
100 if (ctx->ibuf == NULL) { OPENSSL_free(ctx); return(0); }
101 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE);
102 if (ctx->obuf == NULL) { OPENSSL_free(ctx->ibuf); OPENSSL_free(ctx); return(0);
134 BIO_F_BUFFER_CTX *ctx; local
200 BIO_F_BUFFER_CTX *ctx; local
273 BIO_F_BUFFER_CTX *ctx; local
458 BIO_F_BUFFER_CTX *ctx; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
i915_state.c 52 i915_update_stencil(struct gl_context * ctx)
54 struct i915_context *i915 = I915_CONTEXT(ctx);
65 if (ctx->Polygon.FrontFace == GL_CW) {
66 front_ref = ctx->Stencil.Ref[0];
67 front_mask = ctx->Stencil.ValueMask[0];
68 front_writemask = ctx->Stencil.WriteMask[0];
69 front_func = ctx->Stencil.Function[0];
70 front_fail = ctx->Stencil.FailFunc[0];
71 front_pass_z_fail = ctx->Stencil.ZFailFunc[0];
72 front_pass_z_pass = ctx->Stencil.ZPassFunc[0]
1100 struct gl_context *ctx = &i915->intel.ctx; local
    [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/mesa3d/src/mesa/drivers/dri/i915/
i915_state.c 52 i915_update_stencil(struct gl_context * ctx)
54 struct i915_context *i915 = I915_CONTEXT(ctx);
65 if (ctx->Polygon.FrontFace == GL_CW) {
66 front_ref = ctx->Stencil.Ref[0];
67 front_mask = ctx->Stencil.ValueMask[0];
68 front_writemask = ctx->Stencil.WriteMask[0];
69 front_func = ctx->Stencil.Function[0];
70 front_fail = ctx->Stencil.FailFunc[0];
71 front_pass_z_fail = ctx->Stencil.ZFailFunc[0];
72 front_pass_z_pass = ctx->Stencil.ZPassFunc[0]
1100 struct gl_context *ctx = &i915->intel.ctx; local
    [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...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
tgsi_iterate.c 34 struct tgsi_iterate_context *ctx )
41 ctx->processor = parse.FullHeader.Processor;
43 if (ctx->prolog)
44 if (!ctx->prolog( ctx ))
52 if (ctx->iterate_instruction)
53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction ))
58 if (ctx->iterate_declaration)
59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration )
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_iterate.c 34 struct tgsi_iterate_context *ctx )
41 ctx->processor = parse.FullHeader.Processor;
43 if (ctx->prolog)
44 if (!ctx->prolog( ctx ))
52 if (ctx->iterate_instruction)
53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction ))
58 if (ctx->iterate_declaration)
59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration )
    [all...]
  /external/wpa_supplicant_8/src/utils/
edit.h 12 int edit_init(void (*cmd_cb)(void *ctx, char *cmd),
13 void (*eof_cb)(void *ctx),
14 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
15 void *ctx, const char *history_file, const char *ps);
17 int (*filter_cb)(void *ctx, const char *cmd));
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
shader-leak.c 30 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context
71 ctx->set_viewport_state( ctx, &vp );
87 handle = ctx->create_vertex_elements_state(ctx, 2, ve);
88 ctx->bind_vertex_elements_state(ctx, handle);
93 vbuf.buffer = pipe_buffer_create_with_data(ctx,
99 ctx->set_vertex_buffers(ctx, 1, &vbuf)
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
shader-leak.c 30 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context
71 ctx->set_viewport_state( ctx, &vp );
87 handle = ctx->create_vertex_elements_state(ctx, 2, ve);
88 ctx->bind_vertex_elements_state(ctx, handle);
93 vbuf.buffer = pipe_buffer_create_with_data(ctx,
99 ctx->set_vertex_buffers(ctx, 1, &vbuf)
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/GLES_CM/
GLEScmImp.cpp 42 static void initContext(GLEScontext* ctx,ShareGroupPtr grp);
43 static void deleteGLESContext(GLEScontext* ctx);
44 static void setShareGroup(GLEScontext* ctx,ShareGroupPtr grp);
71 static void initContext(GLEScontext* ctx,ShareGroupPtr grp) {
72 if (!ctx->isInitialized()) {
73 ctx->setShareGroup(grp);
74 ctx->init();
84 static void deleteGLESContext(GLEScontext* ctx) {
85 if(ctx) delete ctx;
    [all...]
  /external/libvpx/libvpx/vp8/
vp8_dx_iface.c 87 static void vp8_init_ctx(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap)
91 ctx->priv = mmap->base;
92 ctx->priv->sz = sizeof(*ctx->priv);
93 ctx->priv->iface = ctx->iface;
94 ctx->priv->alg_priv = mmap->base;
96 for (i = 0; i < NELEMENTS(ctx->priv->alg_priv->mmaps); i++)
97 ctx->priv->alg_priv->mmaps[i].id = vp8_mem_req_segs[i].id;
99 ctx->priv->alg_priv->mmaps[0] = *mmap
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/cmac/
cmac.c 99 CMAC_CTX *ctx; local
100 ctx = OPENSSL_malloc(sizeof(CMAC_CTX));
101 if (!ctx)
103 EVP_CIPHER_CTX_init(&ctx->cctx);
104 ctx->nlast_block = -1;
105 return ctx;
108 void CMAC_CTX_cleanup(CMAC_CTX *ctx)
111 if (FIPS_mode() && !ctx->cctx.engine)
113 FIPS_cmac_ctx_cleanup(ctx);
117 EVP_CIPHER_CTX_cleanup(&ctx->cctx)
    [all...]
  /external/openssl/crypto/cmac/
cmac.c 99 CMAC_CTX *ctx; local
100 ctx = OPENSSL_malloc(sizeof(CMAC_CTX));
101 if (!ctx)
103 EVP_CIPHER_CTX_init(&ctx->cctx);
104 ctx->nlast_block = -1;
105 return ctx;
108 void CMAC_CTX_cleanup(CMAC_CTX *ctx)
111 if (FIPS_mode() && !ctx->cctx.engine)
113 FIPS_cmac_ctx_cleanup(ctx);
117 EVP_CIPHER_CTX_cleanup(&ctx->cctx)
    [all...]
  /bootable/recovery/mtdutils/
mtdutils.c 259 MtdReadContext *ctx = (MtdReadContext*) malloc(sizeof(MtdReadContext)); local
260 if (ctx == NULL) return NULL;
262 ctx->buffer = malloc(partition->erase_size);
263 if (ctx->buffer == NULL) {
264 free(ctx);
270 ctx->fd = open(mtddevname, O_RDONLY);
271 if (ctx->fd < 0) {
272 free(ctx->buffer);
273 free(ctx);
277 ctx->partition = partition
371 MtdWriteContext *ctx = (MtdWriteContext*) malloc(sizeof(MtdWriteContext)); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv04_context.c 49 nv04_context_engine(struct gl_context *ctx)
51 struct nv04_context *nctx = to_nv04_context(ctx);
52 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw;
53 struct nouveau_pushbuf *push = context_push(ctx);
56 if ((ctx->Texture.Unit[0]._ReallyEnabled &&
57 texunit_needs_combiners(&ctx->Texture.Unit[0])) ||
58 ctx->Texture.Unit[1]._ReallyEnabled ||
59 ctx->Stencil.Enabled ||
60 !(ctx->Color.ColorMask[0][RCOMP] &&
61 ctx->Color.ColorMask[0][GCOMP] &
146 struct gl_context *ctx; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_context.c 49 nv04_context_engine(struct gl_context *ctx)
51 struct nv04_context *nctx = to_nv04_context(ctx);
52 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw;
53 struct nouveau_pushbuf *push = context_push(ctx);
56 if ((ctx->Texture.Unit[0]._ReallyEnabled &&
57 texunit_needs_combiners(&ctx->Texture.Unit[0])) ||
58 ctx->Texture.Unit[1]._ReallyEnabled ||
59 ctx->Stencil.Enabled ||
60 !(ctx->Color.ColorMask[0][RCOMP] &&
61 ctx->Color.ColorMask[0][GCOMP] &
146 struct gl_context *ctx; local
    [all...]
  /external/ppp/pppd/
openssl-hash.h 25 #define SHA1_Init(ctx) { \
26 EVP_MD_CTX_init(ctx); \
27 EVP_DigestInit_ex(ctx, sha1_md, NULL); \
30 #define SHA1_Final(digest, ctx) { \
32 EVP_DigestFinal_ex(ctx, digest, &md_len); \
37 #define MD4Init(ctx) { \
38 EVP_MD_CTX_init(ctx); \
39 EVP_DigestInit_ex(ctx, md4_md, NULL); \
46 #define MD5_Init(ctx) { \
47 EVP_MD_CTX_init(ctx); \
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
api_text.c 40 struct vg_context *ctx = vg_current_context(); local
43 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
53 struct vg_context *ctx = vg_current_context(); local
56 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
60 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
74 struct vg_context *ctx = vg_current_context(); local
79 !vg_context_is_object_valid(ctx, VG_OBJECT_FONT, font)) {
80 vg_set_error(ctx, VG_BAD_HANDLE_ERROR);
85 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
89 !vg_context_is_object_valid(ctx, VG_OBJECT_PATH, path))
107 struct vg_context *ctx = vg_current_context(); local
136 struct vg_context *ctx = vg_current_context(); local
154 struct vg_context *ctx = vg_current_context(); local
178 struct vg_context *ctx = vg_current_context(); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
transformfeedback.c 68 GET_CURRENT_CONTEXT(ctx);
69 if (ctx)
70 ctx->Driver.DeleteTransformFeedback(ctx, oldObj);
98 _mesa_validate_transform_feedback_buffers(struct gl_context *ctx)
110 _mesa_init_transform_feedback(struct gl_context *ctx)
113 ASSERT(ctx->Driver.NewTransformFeedback);
115 ctx->TransformFeedback.DefaultObject =
116 ctx->Driver.NewTransformFeedback(ctx, 0)
140 struct gl_context *ctx = (struct gl_context *) userData; local
    [all...]

Completed in 1214 milliseconds

1 2 3 4 5 6 78 91011>>