/external/mesa3d/src/mesa/main/ |
arrayobj.c | 66 lookup_arrayobj(struct gl_context *ctx, GLuint id) 72 _mesa_HashLookup(ctx->Array.Objects, id); 82 unbind_array_object_vbos(struct gl_context *ctx, struct gl_array_object *obj) 87 _mesa_reference_buffer_object(ctx, &obj->VertexAttrib[i].BufferObj, NULL); 98 _mesa_new_array_object( struct gl_context *ctx, GLuint name ) 102 _mesa_initialize_array_object(ctx, obj, name); 114 _mesa_delete_array_object( struct gl_context *ctx, struct gl_array_object *obj ) 116 (void) ctx; 117 unbind_array_object_vbos(ctx, obj); 118 _mesa_reference_buffer_object(ctx, &obj->ElementArrayBufferObj, NULL) [all...] |
texstate.h | 44 _mesa_get_current_tex_unit(struct gl_context *ctx) 46 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->Texture.Unit)); 47 return &(ctx->Texture.Unit[ctx->Texture.CurrentUnit]); 55 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ); 79 _mesa_update_texture( struct gl_context *ctx, GLuint new_state ); 82 _mesa_init_texture( struct gl_context *ctx ); 85 _mesa_free_texture_data( struct gl_context *ctx ); 88 _mesa_update_default_objects_texture(struct gl_context *ctx); [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...] |
api_exec.c | 119 * \param ctx GL context to which \c exec belongs. 123 _mesa_create_exec_table(struct gl_context *ctx) 132 _mesa_loopback_init_api_table(ctx, exec); 136 if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) { 148 if (ctx->API == API_OPENGL || ctx->API == API_OPENGL_CORE) 157 if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) { 163 if (ctx->API == API_OPENGL) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_rasterpos.c | 81 * \param ctx GL context. 87 userclip_point( struct gl_context *ctx, const GLfloat v[] ) 91 for (p = 0; p < ctx->Const.MaxClipPlanes; p++) { 92 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 93 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] 94 + v[1] * ctx->Transform._ClipUserPlane[p][1] 95 + v[2] * ctx->Transform._ClipUserPlane[p][2] 96 + v[3] * ctx->Transform._ClipUserPlane[p][3]; 109 * \param ctx the context 116 shade_rastpos(struct gl_context *ctx, [all...] |
tnl.h | 43 _tnl_CreateContext( struct gl_context *ctx ); 46 _tnl_DestroyContext( struct gl_context *ctx ); 49 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state ); 56 _tnl_wakeup( struct gl_context *ctx ); 61 _tnl_need_projected_coords( struct gl_context *ctx, GLboolean flag ); 67 _tnl_allow_vertex_fog( struct gl_context *ctx, GLboolean value ); 70 _tnl_allow_pixel_fog( struct gl_context *ctx, GLboolean value ); 73 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program); 79 _tnl_draw_prims( struct gl_context *ctx, 88 _tnl_vbo_draw_prims( struct gl_context *ctx, [all...] |
/external/libvpx/libvpx/nestegg/src/ |
nestegg.c | 677 ne_read_string(nestegg * ctx, char ** val, uint64_t length) 684 str = ne_pool_alloc(length + 1, ctx->alloc_pool); 685 r = ne_io_read(ctx->io, (unsigned char *) str, length); 694 ne_read_binary(nestegg * ctx, struct ebml_binary * val, uint64_t length) 698 val->data = ne_pool_alloc(length, ctx->alloc_pool); 700 return ne_io_read(ctx->io, val->data, length); 781 ne_ctx_push(nestegg * ctx, struct ebml_element_desc * ancestor, void * data) 786 item->previous = ctx->ancestor; 789 ctx->ancestor = item; 793 ne_ctx_pop(nestegg * ctx) 1418 nestegg * ctx = NULL; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texstate.h | 44 _mesa_get_current_tex_unit(struct gl_context *ctx) 46 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->Texture.Unit)); 47 return &(ctx->Texture.Unit[ctx->Texture.CurrentUnit]); 55 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ); 79 _mesa_update_texture( struct gl_context *ctx, GLuint new_state ); 82 _mesa_init_texture( struct gl_context *ctx ); 85 _mesa_free_texture_data( struct gl_context *ctx ); 88 _mesa_update_default_objects_texture(struct gl_context *ctx); [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...] |
api_exec.c | 119 * \param ctx GL context to which \c exec belongs. 123 _mesa_create_exec_table(struct gl_context *ctx) 132 _mesa_loopback_init_api_table(ctx, exec); 136 if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) { 148 if (ctx->API == API_OPENGL || ctx->API == API_OPENGL_CORE) 157 if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) { 163 if (ctx->API == API_OPENGL) [all...] |
/external/skia/gm/ |
poly2poly.cpp | 103 var ctx = canvas.getContext("2d"); 105 SkJSCanvas ctx(canvas); 108 ctx.save(); 109 ctx.lineWidth = 2; 110 ctx.beginPath(); 111 ctx.moveTo(10, 100); 112 ctx.lineTo(150, 100); 113 ctx.lineTo(150, 15); 114 ctx.lineTo(10, 15); 115 ctx.closePath() [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/elfutils/lib/ |
md5.c | 55 md5_init_ctx (ctx) 56 struct md5_ctx *ctx; 58 ctx->A = 0x67452301; 59 ctx->B = 0xefcdab89; 60 ctx->C = 0x98badcfe; 61 ctx->D = 0x10325476; 63 ctx->total[0] = ctx->total[1] = 0; 64 ctx->buflen = 0; 67 /* Put result from CTX in first 16 bytes following RESBUF. The resul 130 struct md5_ctx ctx; local 189 struct md5_ctx ctx; local [all...] |
/external/e2fsprogs/e2fsck/ |
pass1.c | 64 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 66 static void mark_table_blocks(e2fsck_t ctx); 67 static void alloc_bb_map(e2fsck_t ctx); 68 static void alloc_imagic_map(e2fsck_t ctx); 69 static void mark_inode_bad(e2fsck_t ctx, ino_t ino); 70 static void handle_fs_bad_blocks(e2fsck_t ctx); 71 static void process_inodes(e2fsck_t ctx, char *block_buf); 75 static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, 92 e2fsck_t ctx; member in struct:process_block_struct 101 e2fsck_t ctx; member in struct:scan_callback_struct 1185 e2fsck_t ctx; local 2130 e2fsck_t ctx; local 2281 e2fsck_t ctx; local 2637 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2651 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2662 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2672 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2685 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2716 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local [all...] |
journal.c | 188 static void e2fsck_clear_recover(e2fsck_t ctx, int error) 190 ctx->fs->super->s_feature_incompat &= ~EXT3_FEATURE_INCOMPAT_RECOVER; 194 ctx->fs->super->s_state &= ~EXT2_VALID_FS; 195 ext2fs_mark_super_dirty(ctx->fs); 226 static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal) 229 struct ext2_super_block *sb = ctx->fs->super; 245 journal = e2fsck_allocate_memory(ctx, sizeof(journal_t), "journal"); 250 dev_fs = e2fsck_allocate_memory(ctx, 2*sizeof(struct kdev_s), "kdev"); 257 dev_fs->k_ctx = dev_journal->k_ctx = ctx; 264 journal->j_blocksize = ctx->fs->blocksize 482 e2fsck_t ctx = journal->j_dev->k_ctx; local 498 e2fsck_t ctx = journal->j_dev->k_ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_pixel_copy.c | 51 intel_check_copypixel_blit_fragment_ops(struct gl_context * ctx) 53 if (ctx->NewState) 54 _mesa_update_state(ctx); 58 return !(ctx->_ImageTransferState || 59 ctx->Color.AlphaEnabled || 60 ctx->Depth.Test || 61 ctx->Fog.Enabled || 62 ctx->Stencil._Enabled || 63 !ctx->Color.ColorMask[0][0] || 64 !ctx->Color.ColorMask[0][1] | [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_copy.c | 51 intel_check_copypixel_blit_fragment_ops(struct gl_context * ctx) 53 if (ctx->NewState) 54 _mesa_update_state(ctx); 58 return !(ctx->_ImageTransferState || 59 ctx->Color.AlphaEnabled || 60 ctx->Depth.Test || 61 ctx->Fog.Enabled || 62 ctx->Stencil._Enabled || 63 !ctx->Color.ColorMask[0][0] || 64 !ctx->Color.ColorMask[0][1] | [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_blend.c | 159 colormask_per_rt(const struct gl_context *ctx) 163 for (i = 1; i < ctx->Const.MaxDrawBuffers; i++) { 164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { 175 blend_per_rt(const struct gl_context *ctx) 177 if (ctx->Color.BlendEnabled && 178 (ctx->Color.BlendEnabled != ((1 << ctx->Const.MaxDrawBuffers) - 1))) { 182 if (ctx->Color._BlendFuncPerBuffer || ctx->Color._BlendEquationPerBuffer) 193 const struct gl_context *ctx = st->ctx; local [all...] |
st_cb_rasterpos.c | 61 struct gl_context *ctx; /**< Rendering context */ member in struct:rastpos_stage 114 update_attrib(struct gl_context *ctx, const GLuint *outputMapping, 124 src = ctx->Current.Attrib[defaultAttrib]; 136 struct gl_context *ctx = rs->ctx; local 137 struct st_context *st = st_context(ctx); 138 const GLfloat height = (GLfloat) ctx->DrawBuffer->Height; 144 ctx->Current.RasterPosValid = GL_TRUE; 148 ctx->Current.RasterPos[0] = pos[0]; 149 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_TOP [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_blend.c | 159 colormask_per_rt(const struct gl_context *ctx) 163 for (i = 1; i < ctx->Const.MaxDrawBuffers; i++) { 164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { 175 blend_per_rt(const struct gl_context *ctx) 177 if (ctx->Color.BlendEnabled && 178 (ctx->Color.BlendEnabled != ((1 << ctx->Const.MaxDrawBuffers) - 1))) { 182 if (ctx->Color._BlendFuncPerBuffer || ctx->Color._BlendEquationPerBuffer) 193 const struct gl_context *ctx = st->ctx; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/comp/ |
c_zlib.c | 27 static int zlib_stateful_init(COMP_CTX *ctx); 28 static void zlib_stateful_finish(COMP_CTX *ctx); 29 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, 31 static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, 53 static int zlib_compress_block(COMP_CTX *ctx, unsigned char *out, 55 static int zlib_expand_block(COMP_CTX *ctx, unsigned char *out, 139 static int zlib_stateful_init(COMP_CTX *ctx) 172 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_COMP,ctx,&ctx->ex_data); 173 CRYPTO_set_ex_data(&ctx->ex_data,zlib_stateful_ex_idx,state) 473 BIO_ZLIB_CTX *ctx; local 514 BIO_ZLIB_CTX *ctx; local 538 BIO_ZLIB_CTX *ctx; local 599 BIO_ZLIB_CTX *ctx; local 667 BIO_ZLIB_CTX *ctx; local 716 BIO_ZLIB_CTX *ctx; local [all...] |
/external/openssl/crypto/comp/ |
c_zlib.c | 27 static int zlib_stateful_init(COMP_CTX *ctx); 28 static void zlib_stateful_finish(COMP_CTX *ctx); 29 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, 31 static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, 53 static int zlib_compress_block(COMP_CTX *ctx, unsigned char *out, 55 static int zlib_expand_block(COMP_CTX *ctx, unsigned char *out, 139 static int zlib_stateful_init(COMP_CTX *ctx) 172 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_COMP,ctx,&ctx->ex_data); 173 CRYPTO_set_ex_data(&ctx->ex_data,zlib_stateful_ex_idx,state) 473 BIO_ZLIB_CTX *ctx; local 514 BIO_ZLIB_CTX *ctx; local 538 BIO_ZLIB_CTX *ctx; local 599 BIO_ZLIB_CTX *ctx; local 667 BIO_ZLIB_CTX *ctx; local 716 BIO_ZLIB_CTX *ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/ |
context.cpp | 78 clRetainContext(cl_context ctx) { 79 if (!ctx) 82 ctx->retain(); 87 clReleaseContext(cl_context ctx) { 88 if (!ctx) 91 if (ctx->release()) 92 delete ctx; 98 clGetContextInfo(cl_context ctx, cl_context_info param, 100 if (!ctx) 105 return scalar_property<cl_uint>(buf, size, size_ret, ctx->ref_count()) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
tnl.h | 43 _tnl_CreateContext( struct gl_context *ctx ); 46 _tnl_DestroyContext( struct gl_context *ctx ); 49 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state ); 56 _tnl_wakeup( struct gl_context *ctx ); 61 _tnl_need_projected_coords( struct gl_context *ctx, GLboolean flag ); 67 _tnl_allow_vertex_fog( struct gl_context *ctx, GLboolean value ); 70 _tnl_allow_pixel_fog( struct gl_context *ctx, GLboolean value ); 73 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program); 79 _tnl_draw_prims( struct gl_context *ctx, 88 _tnl_vbo_draw_prims( struct gl_context *ctx, [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
context.cpp | 78 clRetainContext(cl_context ctx) { 79 if (!ctx) 82 ctx->retain(); 87 clReleaseContext(cl_context ctx) { 88 if (!ctx) 91 if (ctx->release()) 92 delete ctx; 98 clGetContextInfo(cl_context ctx, cl_context_info param, 100 if (!ctx) 105 return scalar_property<cl_uint>(buf, size, size_ret, ctx->ref_count()) [all...] |