/external/elfutils/libasm/ |
asm_newscngrp.c | 41 asm_newscngrp (ctx, grpname, signature, flags) 42 AsmCtx_t *ctx; 50 if (ctx == NULL) 70 result->strent = ebl_strtabadd (ctx->section_strtab, result->name, 73 if (unlikely (ctx->textp)) 78 result->scn = elf_newscn (ctx->out.elf); 89 if (ctx->ngroups == 0) 91 assert (ctx->groups == NULL); 92 ctx->groups = result->next = result; 96 result->next = ctx->groups->next [all...] |
/external/mesa3d/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...] |
t_vertex.h | 84 extern void _tnl_interp( struct gl_context *ctx, 91 extern void _tnl_copy_pv( struct gl_context *ctx, GLuint edst, GLuint esrc ); 98 extern void _tnl_get_attr( struct gl_context *ctx, const void *vertex, GLenum attrib, 103 extern void _tnl_set_attr( struct gl_context *ctx, void *vout, GLenum attrib, 107 extern void *_tnl_get_vertex( struct gl_context *ctx, GLuint nr ); 109 extern GLuint _tnl_install_attrs( struct gl_context *ctx, 114 extern void _tnl_free_vertices( struct gl_context *ctx ); 116 extern void _tnl_init_vertices( struct gl_context *ctx, 120 extern void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx, 130 extern void *_tnl_emit_indexed_vertices_to_buffer( struct gl_context *ctx, [all...] |
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
GLESmacros.h | 6 GLEScontext *ctx = s_eglIface->getGLESContext(); \ 10 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \ 11 if(!ctx) return; 15 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \ 16 if(!ctx) return; 20 GLEScontext *ctx = s_eglIface->getGLESContext(); \ 21 if(!ctx) return failure_ret; 25 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \ 26 if(!ctx) return failure_ret; 30 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texparam.c | 56 validate_texture_wrap_mode(struct gl_context * ctx, GLenum target, GLenum wrap) 58 const struct gl_extensions * const e = & ctx->Extensions; 59 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); 67 supported = (ctx->API == API_OPENGL) 106 _mesa_error( ctx, GL_INVALID_ENUM, "glTexParameter(param=0x%x)", wrap ); 120 get_texobj(struct gl_context *ctx, GLenum target, GLboolean get) 124 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { 125 _mesa_error(ctx, GL_INVALID_OPERATION, 130 texUnit = _mesa_get_current_tex_unit(ctx); [all...] |
texgen.c | 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, 54 if (ctx->API == API_OPENGLES) { 79 GET_CURRENT_CONTEXT(ctx); 80 ASSERT_OUTSIDE_BEGIN_END(ctx); 83 _mesa_debug(ctx, "glTexGen %s %s %.1f(%s)...\n", 89 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { 90 _mesa_error(ctx, GL_INVALID_OPERATION, "glTexGen(current unit)"); 94 texUnit = _mesa_get_current_tex_unit(ctx); 96 texgen = get_texgen(ctx, texUnit, coord) [all...] |
shaderapi.c | 98 _mesa_init_shader_state(struct gl_context *ctx) 114 memcpy(&ctx->ShaderCompilerOptions[sh], &options, sizeof(options)); 116 ctx->Shader.Flags = get_shader_flags(); 124 _mesa_free_shader_state(struct gl_context *ctx) 126 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentVertexProgram, NULL); 127 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentGeometryProgram, 129 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentFragmentProgram [all...] |
/external/mesa3d/src/mesa/main/ |
texparam.c | 56 validate_texture_wrap_mode(struct gl_context * ctx, GLenum target, GLenum wrap) 58 const struct gl_extensions * const e = & ctx->Extensions; 59 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx); 67 supported = (ctx->API == API_OPENGL) 106 _mesa_error( ctx, GL_INVALID_ENUM, "glTexParameter(param=0x%x)", wrap ); 120 get_texobj(struct gl_context *ctx, GLenum target, GLboolean get) 124 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { 125 _mesa_error(ctx, GL_INVALID_OPERATION, 130 texUnit = _mesa_get_current_tex_unit(ctx); [all...] |
texgen.c | 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, 54 if (ctx->API == API_OPENGLES) { 79 GET_CURRENT_CONTEXT(ctx); 80 ASSERT_OUTSIDE_BEGIN_END(ctx); 83 _mesa_debug(ctx, "glTexGen %s %s %.1f(%s)...\n", 89 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { 90 _mesa_error(ctx, GL_INVALID_OPERATION, "glTexGen(current unit)"); 94 texUnit = _mesa_get_current_tex_unit(ctx); 96 texgen = get_texgen(ctx, texUnit, coord) [all...] |
shaderapi.c | 98 _mesa_init_shader_state(struct gl_context *ctx) 114 memcpy(&ctx->ShaderCompilerOptions[sh], &options, sizeof(options)); 116 ctx->Shader.Flags = get_shader_flags(); 124 _mesa_free_shader_state(struct gl_context *ctx) 126 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentVertexProgram, NULL); 127 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentGeometryProgram, 129 _mesa_reference_shader_program(ctx, &ctx->Shader.CurrentFragmentProgram [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vertex.h | 84 extern void _tnl_interp( struct gl_context *ctx, 91 extern void _tnl_copy_pv( struct gl_context *ctx, GLuint edst, GLuint esrc ); 98 extern void _tnl_get_attr( struct gl_context *ctx, const void *vertex, GLenum attrib, 103 extern void _tnl_set_attr( struct gl_context *ctx, void *vout, GLenum attrib, 107 extern void *_tnl_get_vertex( struct gl_context *ctx, GLuint nr ); 109 extern GLuint _tnl_install_attrs( struct gl_context *ctx, 114 extern void _tnl_free_vertices( struct gl_context *ctx ); 116 extern void _tnl_init_vertices( struct gl_context *ctx, 120 extern void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx, 130 extern void *_tnl_emit_indexed_vertices_to_buffer( struct gl_context *ctx, [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/cmac/ |
cm_pmeth.c | 63 static int pkey_cmac_init(EVP_PKEY_CTX *ctx) 65 ctx->data = CMAC_CTX_new(); 66 if (!ctx->data) 68 ctx->keygen_info_count = 0; 81 static void pkey_cmac_cleanup(EVP_PKEY_CTX *ctx) 83 CMAC_CTX_free(ctx->data); 86 static int pkey_cmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 89 CMAC_CTX *cmctx = ctx->data; 102 static int int_update(EVP_MD_CTX *ctx,const void *data,size_t count) 104 if (!CMAC_Update(ctx->pctx->data, data, count) [all...] |
/external/openssl/crypto/cmac/ |
cm_pmeth.c | 63 static int pkey_cmac_init(EVP_PKEY_CTX *ctx) 65 ctx->data = CMAC_CTX_new(); 66 if (!ctx->data) 68 ctx->keygen_info_count = 0; 81 static void pkey_cmac_cleanup(EVP_PKEY_CTX *ctx) 83 CMAC_CTX_free(ctx->data); 86 static int pkey_cmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) 89 CMAC_CTX *cmctx = ctx->data; 102 static int int_update(EVP_MD_CTX *ctx,const void *data,size_t count) 104 if (!CMAC_Update(ctx->pctx->data, data, count) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_span.c | 113 struct gl_context *ctx = &intel->ctx; local 116 for (int i = 0; i < ctx->Const.MaxTextureImageUnits; i++) { 117 if (!ctx->Texture.Unit[i]._ReallyEnabled) 119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); 125 _swrast_map_renderbuffers(ctx); 135 intelSpanRenderStart(struct gl_context * ctx) 137 struct intel_context *intel = intel_context(ctx); 139 intel_flush(ctx); 141 intel_flush(ctx); [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_span.c | 113 struct gl_context *ctx = &intel->ctx; local 116 for (int i = 0; i < ctx->Const.MaxTextureImageUnits; i++) { 117 if (!ctx->Texture.Unit[i]._ReallyEnabled) 119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); 125 _swrast_map_renderbuffers(ctx); 135 intelSpanRenderStart(struct gl_context * ctx) 137 struct intel_context *intel = intel_context(ctx); 139 intel_flush(ctx); 141 intel_flush(ctx); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
tgsi_text.c | 247 static void report_error( struct translate_ctx *ctx, const char *msg ) 251 const char *itr = ctx->text; 253 while (itr != ctx->cur) { 271 static boolean parse_header( struct translate_ctx *ctx ) 275 if (str_match_nocase_whole( &ctx->cur, "FRAG" )) 277 else if (str_match_nocase_whole( &ctx->cur, "VERT" )) 279 else if (str_match_nocase_whole( &ctx->cur, "GEOM" )) 281 else if (str_match_nocase_whole( &ctx->cur, "COMP" )) 284 report_error( ctx, "Unknown header" ); 288 if (ctx->tokens_cur >= ctx->tokens_end 1544 struct translate_ctx ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
compute.c | 61 __n = ctx->screen->get_compute_param(ctx->screen, c, __v); \ 70 static void init_ctx(struct context *ctx) 74 ret = pipe_loader_probe(&ctx->dev, 1); 77 ctx->screen = pipe_loader_create_screen(ctx->dev, PIPE_SEARCH_DIR); 78 assert(ctx->screen); 80 ctx->pipe = ctx->screen->context_create(ctx->screen, NULL) 1569 struct context *ctx = CALLOC_STRUCT(context); local [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_text.c | 247 static void report_error( struct translate_ctx *ctx, const char *msg ) 251 const char *itr = ctx->text; 253 while (itr != ctx->cur) { 271 static boolean parse_header( struct translate_ctx *ctx ) 275 if (str_match_nocase_whole( &ctx->cur, "FRAG" )) 277 else if (str_match_nocase_whole( &ctx->cur, "VERT" )) 279 else if (str_match_nocase_whole( &ctx->cur, "GEOM" )) 281 else if (str_match_nocase_whole( &ctx->cur, "COMP" )) 284 report_error( ctx, "Unknown header" ); 288 if (ctx->tokens_cur >= ctx->tokens_end 1544 struct translate_ctx ctx; local [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
compute.c | 61 __n = ctx->screen->get_compute_param(ctx->screen, c, __v); \ 70 static void init_ctx(struct context *ctx) 74 ret = pipe_loader_probe(&ctx->dev, 1); 77 ctx->screen = pipe_loader_create_screen(ctx->dev, PIPE_SEARCH_DIR); 78 assert(ctx->screen); 80 ctx->pipe = ctx->screen->context_create(ctx->screen, NULL) 1569 struct context *ctx = CALLOC_STRUCT(context); local [all...] |
/device/generic/goldfish/opengl/system/renderControl_enc/ |
renderControl_entry.cpp | 40 #define GET_CONTEXT renderControl_client_context_t * ctx = getCurrentContext() 46 return ctx->rcGetRendererVersion(ctx); 52 return ctx->rcGetEGLVersion(ctx, major, minor); 58 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); 64 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); 70 return ctx->rcGetNumConfigs(ctx, numAttribs) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
ss_context.c | 50 _swsetup_CreateContext( struct gl_context *ctx ) 57 ctx->swsetup_context = swsetup; 60 _swsetup_trifuncs_init( ctx ); 62 _tnl_init_vertices( ctx, ctx->Const.MaxArrayLockSize + 12, 70 _swsetup_DestroyContext( struct gl_context *ctx ) 72 SScontext *swsetup = SWSETUP_CONTEXT(ctx); 76 ctx->swsetup_context = 0; 79 _tnl_free_vertices( ctx ); 83 _swsetup_RenderPrimitive( struct gl_context *ctx, GLenum mode [all...] |
/external/mesa3d/src/mesa/swrast_setup/ |
ss_context.c | 50 _swsetup_CreateContext( struct gl_context *ctx ) 57 ctx->swsetup_context = swsetup; 60 _swsetup_trifuncs_init( ctx ); 62 _tnl_init_vertices( ctx, ctx->Const.MaxArrayLockSize + 12, 70 _swsetup_DestroyContext( struct gl_context *ctx ) 72 SScontext *swsetup = SWSETUP_CONTEXT(ctx); 76 ctx->swsetup_context = 0; 79 _tnl_free_vertices( ctx ); 83 _swsetup_RenderPrimitive( struct gl_context *ctx, GLenum mode [all...] |
/external/libvpx/libvpx/vp9/ |
vp9_dx_iface.c | 75 static void vp9_init_ctx(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap) { 78 ctx->priv = mmap->base; 79 ctx->priv->sz = sizeof(*ctx->priv); 80 ctx->priv->iface = ctx->iface; 81 ctx->priv->alg_priv = mmap->base; 83 for (i = 0; i < NELEMENTS(ctx->priv->alg_priv->mmaps); i++) 84 ctx->priv->alg_priv->mmaps[i].id = vp9_mem_req_segs[i].id; 86 ctx->priv->alg_priv->mmaps[0] = *mmap [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
x509_vfy.h | 144 int (*new_item)(X509_LOOKUP *ctx); 145 void (*free)(X509_LOOKUP *ctx); 146 int (*init)(X509_LOOKUP *ctx); 147 int (*shutdown)(X509_LOOKUP *ctx); 148 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl, 150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name, 152 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name, 154 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type, 157 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len, 195 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate * 232 X509_STORE *ctx; member in struct:x509_store_ctx_st 486 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); variable 487 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); variable [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
x509_vfy.h | 144 int (*new_item)(X509_LOOKUP *ctx); 145 void (*free)(X509_LOOKUP *ctx); 146 int (*init)(X509_LOOKUP *ctx); 147 int (*shutdown)(X509_LOOKUP *ctx); 148 int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl, 150 int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name, 152 int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name, 154 int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type, 157 int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len, 195 int (*verify)(X509_STORE_CTX *ctx); /* called to verify a certificate * 232 X509_STORE *ctx; member in struct:x509_store_ctx_st 486 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); variable 487 STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); variable [all...] |