/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
viewport.c | 48 GET_CURRENT_CONTEXT(ctx); 49 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 50 _mesa_set_viewport(ctx, x, y, width, height); 58 * \param ctx GL context. 64 _mesa_set_viewport(struct gl_context *ctx, GLint x, GLint y, 68 _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height); 71 _mesa_error(ctx, GL_INVALID_VALUE, 77 width = MIN2(width, (GLsizei) ctx->Const.MaxViewportWidth); 78 height = MIN2(height, (GLsizei) ctx->Const.MaxViewportHeight); 80 ctx->Viewport.X = x [all...] |
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...] |
condrender.c | 45 GET_CURRENT_CONTEXT(ctx); 47 if (!ctx->Extensions.NV_conditional_render || ctx->Query.CondRenderQuery || 49 _mesa_error(ctx, GL_INVALID_OPERATION, "glBeginConditionalRender()"); 53 ASSERT(ctx->Query.CondRenderMode == GL_NONE); 63 _mesa_error(ctx, GL_INVALID_ENUM, "glBeginConditionalRender(mode=%s)", 68 q = _mesa_lookup_query_object(ctx, queryId); 70 _mesa_error(ctx, GL_INVALID_VALUE, 77 _mesa_error(ctx, GL_INVALID_OPERATION, "glBeginConditionalRender()"); 81 ctx->Query.CondRenderQuery = q [all...] |
/external/mesa3d/src/mesa/main/ |
viewport.c | 48 GET_CURRENT_CONTEXT(ctx); 49 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 50 _mesa_set_viewport(ctx, x, y, width, height); 58 * \param ctx GL context. 64 _mesa_set_viewport(struct gl_context *ctx, GLint x, GLint y, 68 _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height); 71 _mesa_error(ctx, GL_INVALID_VALUE, 77 width = MIN2(width, (GLsizei) ctx->Const.MaxViewportWidth); 78 height = MIN2(height, (GLsizei) ctx->Const.MaxViewportHeight); 80 ctx->Viewport.X = x [all...] |
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...] |
condrender.c | 45 GET_CURRENT_CONTEXT(ctx); 47 if (!ctx->Extensions.NV_conditional_render || ctx->Query.CondRenderQuery || 49 _mesa_error(ctx, GL_INVALID_OPERATION, "glBeginConditionalRender()"); 53 ASSERT(ctx->Query.CondRenderMode == GL_NONE); 63 _mesa_error(ctx, GL_INVALID_ENUM, "glBeginConditionalRender(mode=%s)", 68 q = _mesa_lookup_query_object(ctx, queryId); 70 _mesa_error(ctx, GL_INVALID_VALUE, 77 _mesa_error(ctx, GL_INVALID_OPERATION, "glBeginConditionalRender()"); 81 ctx->Query.CondRenderQuery = q [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | 37 void *ctx; 38 COMMON_INTERCEPTOR_ENTER(ctx, strcmp, s1, s2); 46 COMMON_INTERCEPTOR_READ_RANGE(ctx, s1, i + 1); 47 COMMON_INTERCEPTOR_READ_RANGE(ctx, s2, i + 1); 52 void *ctx; 53 COMMON_INTERCEPTOR_ENTER(ctx, strncmp, s1, s2, size); 61 COMMON_INTERCEPTOR_READ_RANGE(ctx, s1, Min(i + 1, size)); 62 COMMON_INTERCEPTOR_READ_RANGE(ctx, s2, Min(i + 1, size)); 81 void *ctx; 82 COMMON_INTERCEPTOR_ENTER(ctx, strcasecmp, s1, s2) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv20_driver.h | 42 nv20_vbo_init(struct gl_context *ctx); 45 nv20_vbo_destroy(struct gl_context *ctx); 48 nv20_swtnl_init(struct gl_context *ctx); 51 nv20_swtnl_destroy(struct gl_context *ctx); 55 nv20_emit_framebuffer(struct gl_context *ctx, int emit); 58 nv20_emit_viewport(struct gl_context *ctx, int emit); 62 nv20_emit_point_mode(struct gl_context *ctx, int emit); 66 nv20_emit_logic_opcode(struct gl_context *ctx, int emit); 70 nv20_emit_tex_env(struct gl_context *ctx, int emit); 73 nv20_emit_frag(struct gl_context *ctx, int emit) [all...] |
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/drivers/dri/nouveau/ |
nv20_driver.h | 42 nv20_vbo_init(struct gl_context *ctx); 45 nv20_vbo_destroy(struct gl_context *ctx); 48 nv20_swtnl_init(struct gl_context *ctx); 51 nv20_swtnl_destroy(struct gl_context *ctx); 55 nv20_emit_framebuffer(struct gl_context *ctx, int emit); 58 nv20_emit_viewport(struct gl_context *ctx, int emit); 62 nv20_emit_point_mode(struct gl_context *ctx, int emit); 66 nv20_emit_logic_opcode(struct gl_context *ctx, int emit); 70 nv20_emit_tex_env(struct gl_context *ctx, int emit); 73 nv20_emit_frag(struct gl_context *ctx, int emit) [all...] |
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/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...] |
/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...] |
/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/openssl/openssl/crypto/asn1/ |
bio_asn1.c | 122 static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size); 123 static int asn1_bio_flush_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 125 static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 152 BIO_ASN1_BUF_CTX *ctx; local 153 ctx = OPENSSL_malloc(sizeof(BIO_ASN1_BUF_CTX)); 154 if (!ctx) 156 if (!asn1_bio_init(ctx, DEFAULT_ASN1_BUF_SIZE)) 159 b->ptr = (char *)ctx; 164 static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size) 166 ctx->buf = OPENSSL_malloc(size) 184 BIO_ASN1_BUF_CTX *ctx; local 199 BIO_ASN1_BUF_CTX *ctx; local 373 BIO_ASN1_BUF_CTX *ctx; local [all...] |
/external/openssl/crypto/asn1/ |
bio_asn1.c | 122 static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size); 123 static int asn1_bio_flush_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 125 static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, 152 BIO_ASN1_BUF_CTX *ctx; local 153 ctx = OPENSSL_malloc(sizeof(BIO_ASN1_BUF_CTX)); 154 if (!ctx) 156 if (!asn1_bio_init(ctx, DEFAULT_ASN1_BUF_SIZE)) 159 b->ptr = (char *)ctx; 164 static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size) 166 ctx->buf = OPENSSL_malloc(size) 184 BIO_ASN1_BUF_CTX *ctx; local 199 BIO_ASN1_BUF_CTX *ctx; local 373 BIO_ASN1_BUF_CTX *ctx; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
m_wp.c | 14 static int init(EVP_MD_CTX *ctx) 15 { return WHIRLPOOL_Init(ctx->md_data); } 17 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) 18 { return WHIRLPOOL_Update(ctx->md_data,data,count); } 20 static int final(EVP_MD_CTX *ctx,unsigned char *md) 21 { return WHIRLPOOL_Final(md,ctx->md_data); }
|
/external/openssl/crypto/evp/ |
m_wp.c | 14 static int init(EVP_MD_CTX *ctx) 15 { return WHIRLPOOL_Init(ctx->md_data); } 17 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) 18 { return WHIRLPOOL_Update(ctx->md_data,data,count); } 20 static int final(EVP_MD_CTX *ctx,unsigned char *md) 21 { return WHIRLPOOL_Final(md,ctx->md_data); }
|
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 37 static void e2fsck_put_dir_info(e2fsck_t ctx, struct dir_info *dir); 39 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs) 41 struct dir_info_db *db = ctx->dir_info; 47 profile_get_string(ctx->profile, "scratch_files", "directory", 0, 0, 49 profile_get_uint(ctx->profile, "scratch_files", 51 profile_get_boolean(ctx->profile, "scratch_files", 62 uuid_unparse(ctx->fs->super->s_uuid, uuid); 70 static void setup_db(e2fsck_t ctx) 77 e2fsck_allocate_memory(ctx, sizeof(struct dir_info_db), 82 ctx->dir_info = db [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
SAX.h | 27 getPublicId (void *ctx); 29 getSystemId (void *ctx); 31 setDocumentLocator (void *ctx, 35 getLineNumber (void *ctx); 37 getColumnNumber (void *ctx); 40 isStandalone (void *ctx); 42 hasInternalSubset (void *ctx); 44 hasExternalSubset (void *ctx); 47 internalSubset (void *ctx, 52 externalSubset (void *ctx, [all...] |
/external/libxml2/include/libxml/ |
SAX.h | 27 getPublicId (void *ctx); 29 getSystemId (void *ctx); 31 setDocumentLocator (void *ctx, 35 getLineNumber (void *ctx); 37 getColumnNumber (void *ctx); 40 isStandalone (void *ctx); 42 hasInternalSubset (void *ctx); 44 hasExternalSubset (void *ctx); 47 internalSubset (void *ctx, 52 externalSubset (void *ctx, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_context.c | 47 struct xa_context *ctx = calloc(1, sizeof(*ctx)); local 49 ctx->xa = xa; 50 ctx->pipe = xa->screen->context_create(xa->screen, NULL); 51 ctx->cso = cso_create_context(ctx->pipe); 52 ctx->shaders = xa_shaders_create(ctx); 53 renderer_init_state(ctx); 55 return ctx; [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_context.c | 47 struct xa_context *ctx = calloc(1, sizeof(*ctx)); local 49 ctx->xa = xa; 50 ctx->pipe = xa->screen->context_create(xa->screen, NULL); 51 ctx->cso = cso_create_context(ctx->pipe); 52 ctx->shaders = xa_shaders_create(ctx); 53 renderer_init_state(ctx); 55 return ctx; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_vbo_translate.c | 40 nvc0_push_context_init(struct nvc0_context *nvc0, struct push_context *ctx) 42 ctx->push = nvc0->base.pushbuf; 44 ctx->translate = nvc0->vertex->translate; 45 ctx->vertex_size = nvc0->vertex->size; 47 ctx->need_vertex_id = 50 ctx->edgeflag.value = TRUE; 51 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS; 54 ctx->edgeflag.data = NULL; 55 ctx->edgeflag.stride = 0; 82 nvc0_push_map_idxbuf(struct push_context *ctx, struct nvc0_context *nvc0 432 struct push_context ctx; local [all...] |