/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
fs-frontface.c | 86 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 87 info.ctx->bind_vertex_elements_state(info.ctx, handle); 92 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 98 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); 116 handle = graw_parse_vertex_shader(info.ctx, text); 117 info.ctx->bind_vs_state(info.ctx, handle) [all...] |
graw_util.h | 21 struct pipe_context *ctx; member in struct:graw_info 63 info->ctx = info->screen->context_create(info->screen, NULL); 64 if (info->ctx == NULL) { 94 info->color_surf[i] = info->ctx->create_surface(info->ctx, 125 info->zs_surf = info->ctx->create_surface(info->ctx, 142 info->ctx->set_framebuffer_state(info->ctx, &fb); 157 handle = info->ctx->create_blend_state(info->ctx, &blend) [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
fs-frontface.c | 86 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 87 info.ctx->bind_vertex_elements_state(info.ctx, handle); 92 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 98 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); 116 handle = graw_parse_vertex_shader(info.ctx, text); 117 info.ctx->bind_vs_state(info.ctx, handle) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
exp.c | 15 BN_CTX ctx; local 23 BN_CTX_init(&ctx); 37 BN_mod(&a,&a,&c,&ctx); 41 BN_MONT_CTX_set(&mont,&c,&ctx); 48 /* bn_mull(&r,&a,&b,&ctx); */ 49 /* BN_sqr(&r,&a,&ctx); */ 50 BN_mod_exp_mont(&r,&a,&b,&c,&ctx,&mont);
|
/external/chromium_org/third_party/openssl/openssl/crypto/comp/ |
comp.h | 17 int (*init)(COMP_CTX *ctx); 18 void (*finish)(COMP_CTX *ctx); 19 int (*compress)(COMP_CTX *ctx, 22 int (*expand)(COMP_CTX *ctx, 43 void COMP_CTX_free(COMP_CTX *ctx); 44 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 46 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
comp.h | 17 int (*init)(COMP_CTX *ctx); 18 void (*finish)(COMP_CTX *ctx); 19 int (*compress)(COMP_CTX *ctx, 22 int (*expand)(COMP_CTX *ctx, 43 void COMP_CTX_free(COMP_CTX *ctx); 44 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 46 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
/external/openssl/crypto/bn/ |
exp.c | 15 BN_CTX ctx; local 23 BN_CTX_init(&ctx); 37 BN_mod(&a,&a,&c,&ctx); 41 BN_MONT_CTX_set(&mont,&c,&ctx); 48 /* bn_mull(&r,&a,&b,&ctx); */ 49 /* BN_sqr(&r,&a,&ctx); */ 50 BN_mod_exp_mont(&r,&a,&b,&c,&ctx,&mont);
|
/external/openssl/crypto/comp/ |
comp.h | 17 int (*init)(COMP_CTX *ctx); 18 void (*finish)(COMP_CTX *ctx); 19 int (*compress)(COMP_CTX *ctx, 22 int (*expand)(COMP_CTX *ctx, 43 void COMP_CTX_free(COMP_CTX *ctx); 44 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 46 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
/external/openssl/include/openssl/ |
comp.h | 17 int (*init)(COMP_CTX *ctx); 18 void (*finish)(COMP_CTX *ctx); 19 int (*compress)(COMP_CTX *ctx, 22 int (*expand)(COMP_CTX *ctx, 43 void COMP_CTX_free(COMP_CTX *ctx); 44 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 46 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
FramebufferData.cpp | 127 void FramebufferData::validate(GLEScontext* ctx) 140 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type); 143 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, &name); 147 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type); 150 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, &name); 166 ctx->dispatcher().glGetIntegerv(GL_RENDERBUFFER_BINDING, &prev); 167 ctx->dispatcher().glBindRenderbufferEXT(GL_RENDERBUFFER, name); 168 ctx->dispatcher().glGetRenderbufferParameterivEXT(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &width); 169 ctx->dispatcher().glGetRenderbufferParameterivEXT(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &height); 170 ctx->dispatcher().glBindRenderbufferEXT(GL_RENDERBUFFER, prev) [all...] |
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_utils.cpp | 47 static int openFramebufferDevice(hwc_context_t *ctx) 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 109 static int ppdComm(const char* cmd, hwc_context_t *ctx) { [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_parser.yy | 263 supported = state->ctx->API == API_OPENGLES2 || 264 state->ctx->Extensions.ARB_ES2_compatibility; 280 supported = _mesa_is_desktop_gl(state->ctx) && 281 ((unsigned) $2) <= state->ctx->Const.GLSLVersion; 372 void *ctx = state; 373 $$ = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL); 379 void *ctx = state; 380 $$ = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL); 386 void *ctx = state; 387 $$ = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL) [all...] |
/external/mesa3d/src/glsl/ |
glsl_parser.yy | 263 supported = state->ctx->API == API_OPENGLES2 || 264 state->ctx->Extensions.ARB_ES2_compatibility; 280 supported = _mesa_is_desktop_gl(state->ctx) && 281 ((unsigned) $2) <= state->ctx->Const.GLSLVersion; 372 void *ctx = state; 373 $$ = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL); 379 void *ctx = state; 380 $$ = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL); 386 void *ctx = state; 387 $$ = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texstate.c | 122 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ) 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; 293 GET_CURRENT_CONTEXT(ctx); 296 k = MAX2(ctx->Const.MaxCombinedTextureImageUnits, 297 ctx->Const.MaxTextureCoordUnits); 299 ASSERT(k <= Elements(ctx->Texture.Unit)); 301 ASSERT_OUTSIDE_BEGIN_END(ctx); 304 _mesa_debug(ctx, "glActiveTexture %s\n", 308 _mesa_error(ctx, GL_INVALID_ENUM, "glActiveTexture(texture=%s)", 313 if (ctx->Texture.CurrentUnit == texUnit [all...] |
pixeltransfer.c | 80 _mesa_map_rgba( const struct gl_context *ctx, GLuint n, GLfloat rgba[][4] ) 82 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); 83 const GLfloat gscale = (GLfloat) (ctx->PixelMaps.GtoG.Size - 1); 84 const GLfloat bscale = (GLfloat) (ctx->PixelMaps.BtoB.Size - 1); 85 const GLfloat ascale = (GLfloat) (ctx->PixelMaps.AtoA.Size - 1); 86 const GLfloat *rMap = ctx->PixelMaps.RtoR.Map; 87 const GLfloat *gMap = ctx->PixelMaps.GtoG.Map; 88 const GLfloat *bMap = ctx->PixelMaps.BtoB.Map; 89 const GLfloat *aMap = ctx->PixelMaps.AtoA.Map; 107 _mesa_map_ci_to_rgba( const struct gl_context *ctx, GLuint n [all...] |
/external/mesa3d/src/mesa/main/ |
texstate.c | 122 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ) 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; 293 GET_CURRENT_CONTEXT(ctx); 296 k = MAX2(ctx->Const.MaxCombinedTextureImageUnits, 297 ctx->Const.MaxTextureCoordUnits); 299 ASSERT(k <= Elements(ctx->Texture.Unit)); 301 ASSERT_OUTSIDE_BEGIN_END(ctx); 304 _mesa_debug(ctx, "glActiveTexture %s\n", 308 _mesa_error(ctx, GL_INVALID_ENUM, "glActiveTexture(texture=%s)", 313 if (ctx->Texture.CurrentUnit == texUnit [all...] |
pixeltransfer.c | 80 _mesa_map_rgba( const struct gl_context *ctx, GLuint n, GLfloat rgba[][4] ) 82 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); 83 const GLfloat gscale = (GLfloat) (ctx->PixelMaps.GtoG.Size - 1); 84 const GLfloat bscale = (GLfloat) (ctx->PixelMaps.BtoB.Size - 1); 85 const GLfloat ascale = (GLfloat) (ctx->PixelMaps.AtoA.Size - 1); 86 const GLfloat *rMap = ctx->PixelMaps.RtoR.Map; 87 const GLfloat *gMap = ctx->PixelMaps.GtoG.Map; 88 const GLfloat *bMap = ctx->PixelMaps.BtoB.Map; 89 const GLfloat *aMap = ctx->PixelMaps.AtoA.Map; 107 _mesa_map_ci_to_rgba( const struct gl_context *ctx, GLuint n [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_conf.c | 71 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value); 72 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type, X509V3_CTX *ctx); 77 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len); 81 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, 89 return v3_generic_extension(name, value, crit, ext_type, ctx); 90 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); 101 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, 109 value, crit, ext_type, ctx); 110 return do_ext_nconf(conf, ctx, ext_nid, crit, value); 115 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid [all...] |
/external/openssl/crypto/x509v3/ |
v3_conf.c | 71 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value); 72 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type, X509V3_CTX *ctx); 77 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len); 81 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, 89 return v3_generic_extension(name, value, crit, ext_type, ctx); 90 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); 101 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, 109 value, crit, ext_type, ctx); 110 return do_ext_nconf(conf, ctx, ext_nid, crit, value); 115 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid [all...] |
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_timers.c | 160 evContext_p *ctx = opaqueCtx.opaque; local 162 return (ctx->lastEventTime); 193 evContext_p *ctx = opaqueCtx.opaque; local 196 evPrintf(ctx, 1, 197 "evSetTimer(ctx %p, func %p, uap %p, due %ld.%09ld, inter %ld.%09ld)\n", 198 ctx, func, uap, 230 if (heap_insert(ctx->timers, id) < 0) 237 if (ctx->debug > 7) { 238 evPrintf(ctx, 7, "timers after evSetTimer:\n"); 239 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx) 247 evContext_p *ctx = opaqueCtx.opaque; local 283 evContext_p *ctx = opaqueCtx.opaque; local 310 evContext_p *ctx = opaqueCtx.opaque; local 369 evContext_p *ctx = opaqueCtx.opaque; local 407 evContext_p *ctx = opaqueCtx.opaque; local 423 evContext_p *ctx = opaqueCtx.opaque; local 479 evContext_p *ctx = uap; local 495 evContext_p *ctx = opaqueCtx.opaque; local [all...] |
/development/ndk/sources/android/libportable/arch-arm/ |
unwind.c | 59 uint64_t WRAP(_Unwind_GetGR)(struct _Unwind_Context* ctx, int index) { 61 _Unwind_VRS_Get(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val); 65 void WRAP(_Unwind_SetGR)(struct _Unwind_Context* ctx, int index, uint64_t new_value) { 67 _Unwind_VRS_Set(ctx, _UVRSC_CORE, index, _UVRSD_UINT32, &val); 70 uint64_t WRAP(_Unwind_GetIP)(struct _Unwind_Context* ctx) { 71 return WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & ~1; // thumb bit 74 void WRAP(_Unwind_SetIP)(struct _Unwind_Context* ctx, uintptr_t new_value) { 77 uint32_t thumbState = WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & 1; 79 WRAP(_Unwind_SetGR)(ctx, UNWIND_IP_REG, new_val);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/ |
noop_pipe.c | 36 void noop_init_state_functions(struct pipe_context *ctx); 49 static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type) 56 static void noop_destroy_query(struct pipe_context *ctx, struct pipe_query *query) 61 static void noop_begin_query(struct pipe_context *ctx, struct pipe_query *query) 65 static void noop_end_query(struct pipe_context *ctx, struct pipe_query *query) 69 static boolean noop_get_query_result(struct pipe_context *ctx, 210 static void noop_clear(struct pipe_context *ctx, unsigned buffers, 215 static void noop_clear_render_target(struct pipe_context *ctx, 223 static void noop_clear_depth_stencil(struct pipe_context *ctx, 233 static void noop_resource_copy_region(struct pipe_context *ctx, 259 struct pipe_context *ctx = CALLOC_STRUCT(pipe_context); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.h | 42 extern void radeonInitSwtcl( struct gl_context *ctx ); 44 extern void radeonChooseRenderState( struct gl_context *ctx ); 45 extern void radeonChooseVertexState( struct gl_context *ctx ); 47 extern void radeonCheckTexSizes( struct gl_context *ctx ); 49 extern void radeonBuildVertices( struct gl_context *ctx, GLuint start, GLuint count, 55 extern void radeon_emit_indexed_verts( struct gl_context *ctx, 59 extern void radeon_translate_vertex( struct gl_context *ctx, 63 extern void radeon_print_vertex( struct gl_context *ctx, const radeonVertex *v ); 65 extern void r100_swtcl_flush(struct gl_context *ctx, uint32_t current_offset);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
swrast.h | 117 _swrast_CreateContext( struct gl_context *ctx ); 120 _swrast_DestroyContext( struct gl_context *ctx ); 125 _swrast_GetDeviceDriverReference( struct gl_context *ctx ); 128 _swrast_Bitmap( struct gl_context *ctx, 135 _swrast_CopyPixels( struct gl_context *ctx, 142 swrast_fast_copy_pixels(struct gl_context *ctx, 147 _swrast_DrawPixels( struct gl_context *ctx, 155 _swrast_BlitFramebuffer(struct gl_context *ctx, 161 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers); 168 _swrast_ResetLineStipple( struct gl_context *ctx ); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
evp_lib.c | 123 int EVP_CIPHER_type(const EVP_CIPHER *ctx) 127 nid = EVP_CIPHER_nid(ctx); 186 int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) 188 return ctx->cipher->block_size; 191 int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) 193 return ctx->cipher->do_cipher(ctx,out,in,inl); 196 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) 198 return ctx->cipher; 206 unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx) [all...] |