/external/mesa3d/src/gallium/tests/graw/ |
quad-sample.c | 30 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 81 ctx->set_viewport_state( ctx, &vp ); 97 handle = ctx->create_vertex_elements_state(ctx, 2, ve); 98 ctx->bind_vertex_elements_state(ctx, handle); 103 vbuf.buffer = pipe_buffer_create_with_data(ctx, 109 ctx->set_vertex_buffers(ctx, 1, &vbuf) [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
nanohttp.h | 54 xmlNanoHTTPReturnCode (void *ctx); 56 xmlNanoHTTPAuthHeader (void *ctx); 58 xmlNanoHTTPRedir (void *ctx); 60 xmlNanoHTTPContentLength( void * ctx ); 62 xmlNanoHTTPEncoding (void *ctx); 64 xmlNanoHTTPMimeType (void *ctx); 66 xmlNanoHTTPRead (void *ctx, 75 xmlNanoHTTPClose (void *ctx);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv10_state_fb.c | 55 setup_hierz_buffer(struct gl_context *ctx) 57 struct nouveau_pushbuf *push = context_push(ctx); 58 struct gl_framebuffer *fb = ctx->DrawBuffer; 71 nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, size, 93 nv10_emit_framebuffer(struct gl_context *ctx, int emit) 95 struct nouveau_pushbuf *push = context_push(ctx); 96 struct gl_framebuffer *fb = ctx->DrawBuffer; 109 if (context_chipset(ctx) < 0x17) { 143 if (context_chipset(ctx) >= 0x17) { 144 setup_hierz_buffer(ctx); [all...] |
nv04_driver.h | 42 nv04_render_init(struct gl_context *ctx); 45 nv04_render_destroy(struct gl_context *ctx); 49 nv04_surface_init(struct gl_context *ctx); 52 nv04_surface_takedown(struct gl_context *ctx); 55 nv04_surface_copy(struct gl_context *ctx, 60 nv04_surface_fill(struct gl_context *ctx, 67 nv04_emit_framebuffer(struct gl_context *ctx, int emit); 70 nv04_emit_scissor(struct gl_context *ctx, int emit); 74 nv04_defer_control(struct gl_context *ctx, int emit); 77 nv04_emit_control(struct gl_context *ctx, int emit) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_clear.c | 43 clear_rgba_buffer(struct gl_context *ctx, struct gl_renderbuffer *rb, 46 const GLint x = ctx->DrawBuffer->_Xmin; 47 const GLint y = ctx->DrawBuffer->_Ymin; 48 const GLint height = ctx->DrawBuffer->_Ymax - ctx->DrawBuffer->_Ymin; 49 const GLint width = ctx->DrawBuffer->_Xmax - ctx->DrawBuffer->_Xmin; 56 (const GLfloat (*)[4]) ctx->Color.ClearColor.f; 68 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height [all...] |
s_lines.c | 41 compute_stipple_mask( struct gl_context *ctx, GLuint len, GLubyte mask[] ) 43 SWcontext *swrast = SWRAST_CONTEXT(ctx); 47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; 48 if ((1 << bit) & ctx->Line.StipplePattern) { 63 draw_wide_line( struct gl_context *ctx, SWspan *span, GLboolean xMajor ) 65 const GLint width = (GLint) CLAMP(ctx->Line.Width, 66 ctx->Const.MinLineWidth, 67 ctx->Const.MaxLineWidth); 90 _swrast_write_rgba_span(ctx, span); 106 _swrast_write_rgba_span(ctx, span) [all...] |
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls_draw_ball_as_canvas_sprite.js | 15 ctx = spriteMap.getContext("2d"); 16 ctx.clearRect(0,0, ballDiameter*spriteMapSize + 2, ballDiameter + 2); 17 ctx.translate(ballRadius + 1, ballRadius + 1); 19 ctx.save(); 20 ctx.rotate(i * 2 * Math.PI / spriteMapSize ); 21 ctx.drawImage(ballImage, -ballRadius, -ballRadius, ballDiameter, 23 ctx.restore(); 24 ctx.translate(ballDiameter, 0);
|
/external/libxml2/include/libxml/ |
nanohttp.h | 54 xmlNanoHTTPReturnCode (void *ctx); 56 xmlNanoHTTPAuthHeader (void *ctx); 58 xmlNanoHTTPRedir (void *ctx); 60 xmlNanoHTTPContentLength( void * ctx ); 62 xmlNanoHTTPEncoding (void *ctx); 64 xmlNanoHTTPMimeType (void *ctx); 66 xmlNanoHTTPRead (void *ctx, 75 xmlNanoHTTPClose (void *ctx);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_fb.c | 55 setup_hierz_buffer(struct gl_context *ctx) 57 struct nouveau_pushbuf *push = context_push(ctx); 58 struct gl_framebuffer *fb = ctx->DrawBuffer; 71 nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, size, 93 nv10_emit_framebuffer(struct gl_context *ctx, int emit) 95 struct nouveau_pushbuf *push = context_push(ctx); 96 struct gl_framebuffer *fb = ctx->DrawBuffer; 109 if (context_chipset(ctx) < 0x17) { 143 if (context_chipset(ctx) >= 0x17) { 144 setup_hierz_buffer(ctx); [all...] |
nv04_driver.h | 42 nv04_render_init(struct gl_context *ctx); 45 nv04_render_destroy(struct gl_context *ctx); 49 nv04_surface_init(struct gl_context *ctx); 52 nv04_surface_takedown(struct gl_context *ctx); 55 nv04_surface_copy(struct gl_context *ctx, 60 nv04_surface_fill(struct gl_context *ctx, 67 nv04_emit_framebuffer(struct gl_context *ctx, int emit); 70 nv04_emit_scissor(struct gl_context *ctx, int emit); 74 nv04_defer_control(struct gl_context *ctx, int emit); 77 nv04_emit_control(struct gl_context *ctx, int emit) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_clear.c | 43 clear_rgba_buffer(struct gl_context *ctx, struct gl_renderbuffer *rb, 46 const GLint x = ctx->DrawBuffer->_Xmin; 47 const GLint y = ctx->DrawBuffer->_Ymin; 48 const GLint height = ctx->DrawBuffer->_Ymax - ctx->DrawBuffer->_Ymin; 49 const GLint width = ctx->DrawBuffer->_Xmax - ctx->DrawBuffer->_Xmin; 56 (const GLfloat (*)[4]) ctx->Color.ClearColor.f; 68 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height [all...] |
s_lines.c | 41 compute_stipple_mask( struct gl_context *ctx, GLuint len, GLubyte mask[] ) 43 SWcontext *swrast = SWRAST_CONTEXT(ctx); 47 GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; 48 if ((1 << bit) & ctx->Line.StipplePattern) { 63 draw_wide_line( struct gl_context *ctx, SWspan *span, GLboolean xMajor ) 65 const GLint width = (GLint) CLAMP(ctx->Line.Width, 66 ctx->Const.MinLineWidth, 67 ctx->Const.MaxLineWidth); 90 _swrast_write_rgba_span(ctx, span); 106 _swrast_write_rgba_span(ctx, span) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_statevars.c | 51 _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], 59 const struct gl_material *mat = &ctx->Light.Material; 87 _mesa_problem(ctx, "Invalid material state in fetch_state"); 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition); 110 value[0] = ctx->Light.Light[ln].ConstantAttenuation; 111 value[1] = ctx->Light.Light[ln].LinearAttenuation; 112 value[2] = ctx->Light.Light[ln].QuadraticAttenuation [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 51 _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], 59 const struct gl_material *mat = &ctx->Light.Material; 87 _mesa_problem(ctx, "Invalid material state in fetch_state"); 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition); 110 value[0] = ctx->Light.Light[ln].ConstantAttenuation; 111 value[1] = ctx->Light.Light[ln].LinearAttenuation; 112 value[2] = ctx->Light.Light[ln].QuadraticAttenuation [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
xm_dd.c | 53 finish_or_flush( struct gl_context *ctx ) 55 const XMesaContext xmesa = XMESA_CONTEXT(ctx); 66 color_mask(struct gl_context *ctx, 69 const XMesaContext xmesa = XMESA_CONTEXT(ctx); 74 if (_mesa_is_user_fbo(ctx->DrawBuffer)) 77 xmbuf = XMESA_BUFFER(ctx->DrawBuffer); 105 clear_pixmap(struct gl_context *ctx, struct xmesa_renderbuffer *xrb, 108 const XMesaContext xmesa = XMESA_CONTEXT(ctx); 109 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); 125 clear_16bit_ximage( struct gl_context *ctx, struct xmesa_renderbuffer *xrb [all...] |
/external/e2fsprogs/e2fsck/ |
super.c | 25 static void check_super_value(e2fsck_t ctx, const char *descr, 36 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx); 37 ctx->flags |= E2F_FLAG_ABORT; /* never get here! */ 45 e2fsck_t ctx; member in struct:process_block_struct 64 e2fsck_t ctx; local 70 ctx = pb->ctx; 81 fix_problem(ctx, PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, pctx); 88 fix_problem(ctx, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK, pctx); 153 static int release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xm_dd.c | 53 finish_or_flush( struct gl_context *ctx ) 55 const XMesaContext xmesa = XMESA_CONTEXT(ctx); 66 color_mask(struct gl_context *ctx, 69 const XMesaContext xmesa = XMESA_CONTEXT(ctx); 74 if (_mesa_is_user_fbo(ctx->DrawBuffer)) 77 xmbuf = XMESA_BUFFER(ctx->DrawBuffer); 105 clear_pixmap(struct gl_context *ctx, struct xmesa_renderbuffer *xrb, 108 const XMesaContext xmesa = XMESA_CONTEXT(ctx); 109 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); 125 clear_16bit_ximage( struct gl_context *ctx, struct xmesa_renderbuffer *xrb [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglcontext.c | 46 _eglGetContextAPIBit(_EGLContext *ctx) 50 switch (ctx->ClientAPI) { 52 switch (ctx->ClientMajorVersion) { 82 _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy, 85 EGLenum api = ctx->ClientAPI; 102 ctx->ClientMajorVersion = val; 111 ctx->ClientMinorVersion = val; 132 ctx->Flags = val; 153 ctx->Profile = val; 170 ctx->ResetNotificationStrategy = val [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_context.c | 145 struct gl_context *ctx = &intel->ctx; local 157 intelInitSpanFuncs(ctx); 159 TNLcontext *tnl = TNL_CONTEXT(ctx); 163 ctx->Const.MaxDualSourceDrawBuffers = 1; 164 ctx->Const.MaxDrawBuffers = BRW_MAX_DRAW_BUFFERS; 165 ctx->Const.MaxTextureImageUnits = BRW_MAX_TEX_UNIT; 166 ctx->Const.MaxTextureCoordUnits = 8; /* Mesa limit */ 167 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits [all...] |
/external/mesa3d/src/egl/main/ |
eglcontext.c | 46 _eglGetContextAPIBit(_EGLContext *ctx) 50 switch (ctx->ClientAPI) { 52 switch (ctx->ClientMajorVersion) { 82 _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy, 85 EGLenum api = ctx->ClientAPI; 102 ctx->ClientMajorVersion = val; 111 ctx->ClientMinorVersion = val; 132 ctx->Flags = val; 153 ctx->Profile = val; 170 ctx->ResetNotificationStrategy = val [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_context.c | 145 struct gl_context *ctx = &intel->ctx; local 157 intelInitSpanFuncs(ctx); 159 TNLcontext *tnl = TNL_CONTEXT(ctx); 163 ctx->Const.MaxDualSourceDrawBuffers = 1; 164 ctx->Const.MaxDrawBuffers = BRW_MAX_DRAW_BUFFERS; 165 ctx->Const.MaxTextureImageUnits = BRW_MAX_TEX_UNIT; 166 ctx->Const.MaxTextureCoordUnits = 8; /* Mesa limit */ 167 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/pi_generator/ |
pi_generator.cc | 34 bool Render(PSContext2D_t* ctx) { 35 PSContext2DGetBuffer(ctx); 37 if (NULL == ctx->data) 45 int px = x * ctx->width; 46 int py = (1.0 - y) * ctx->height; 47 uint32_t color = ctx->data[ctx->width * py + px]; 61 ctx->data[ctx->width * py + px] = color | kOpaqueColorMask; 64 PSContext2DSwapBuffer(ctx); 78 PSContext2D_t* ctx = PSContext2DAllocate(PP_IMAGEDATAFORMAT_BGRA_PREMUL); local [all...] |
/external/openssh/ |
gss-serv.c | 78 ssh_gssapi_acquire_cred(Gssctxt *ctx) 85 gss_add_oid_set_member(&status, ctx->oid, &oidset); 92 if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) { 94 return (ctx->major); 97 if ((ctx->major = gss_acquire_cred(&ctx->minor, 98 ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL))) 99 ssh_gssapi_error(ctx); 102 return (ctx->major) [all...] |
/external/qemu/target-mips/ |
translate.c | 507 ctx->pc, ctx->opcode , ## __VA_ARGS__) 516 MIPS_DEBUG("Invalid %s %03x %03x %03x", op, ctx->opcode >> 26, \ 517 ctx->opcode & 0x3F, ((ctx->opcode >> 16) & 0x1F)); \ 615 static inline void gen_load_fpr64 (DisasContext *ctx, TCGv_i64 t, int reg) 617 if (ctx->hflags & MIPS_HFLAG_F64) { 630 static inline void gen_store_fpr64 (DisasContext *ctx, TCGv_i64 t, int reg) 632 if (ctx->hflags & MIPS_HFLAG_F64) { 751 static inline void save_cpu_state (DisasContext *ctx, int do_save_pc 8282 DisasContext ctx; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
e_des.c | 68 static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 74 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); 82 static int des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 87 DES_ofb64_encrypt(in, out, (long)EVP_MAXCHUNK, ctx->cipher_data, 88 (DES_cblock *)ctx->iv, &ctx->num); 94 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, 95 (DES_cblock *)ctx->iv, &ctx->num) [all...] |