/external/mesa3d/src/mesa/tnl/ |
t_vp_build.c | 42 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx ) 44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current; 46 if (!ctx->VertexProgram._Current || 47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { 48 ctx->VertexProgram._Current 49 = ctx->VertexProgram._TnlProgram 50 = _mesa_get_fixed_func_vertex_program(ctx); 56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
evergreen_hw_context.c | 33 int si_context_init(struct r600_context *ctx) 37 LIST_INITHEAD(&ctx->active_query_list); 39 ctx->cs = ctx->ws->cs_create(ctx->ws); 41 ctx->max_db = 8;
|
/external/deqp/modules/gles31/functional/ |
es31fNegativeBufferApiTests.cpp | 45 void bind_buffer (NegativeTestContext& ctx) 47 ctx.beginSection("GL_INVALID_ENUM is generated if target is not one of the allowable values."); 48 ctx.glBindBuffer(-1, 0); 49 ctx.expectError(GL_INVALID_ENUM); 50 ctx.endSection(); 53 void delete_buffers (NegativeTestContext& ctx) 55 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative."); 56 ctx.glDeleteBuffers(-1, 0); 57 ctx.expectError(GL_INVALID_VALUE); 58 ctx.endSection() [all...] |
es31fNegativeVertexArrayApiTests.cpp | 62 void vertex_attribf (NegativeTestContext& ctx) 64 ctx.beginSection("GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS."); 65 int maxVertexAttribs = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); 66 ctx.glVertexAttrib1f(maxVertexAttribs, 0.0f); 67 ctx.expectError(GL_INVALID_VALUE); 68 ctx.glVertexAttrib2f(maxVertexAttribs, 0.0f, 0.0f); 69 ctx.expectError(GL_INVALID_VALUE); 70 ctx.glVertexAttrib3f(maxVertexAttribs, 0.0f, 0.0f, 0.0f); 71 ctx.expectError(GL_INVALID_VALUE); 72 ctx.glVertexAttrib4f(maxVertexAttribs, 0.0f, 0.0f, 0.0f, 0.0f) [all...] |
es31fNegativeStateApiTests.cpp | 71 static std::string getVtxFragVersionSources (const std::string source, NegativeTestContext& ctx) 73 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 83 void enable (NegativeTestContext& ctx) 85 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values."); 86 ctx.glEnable(-1); 87 ctx.expectError(GL_INVALID_ENUM); 88 ctx.endSection(); 92 void enablei (NegativeTestContext& ctx) 94 TCU_CHECK_AND_THROW(NotSupportedError, contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), "This test requires a higher context version."); 96 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values.") [all...] |
es31fNegativeFragmentApiTests.cpp | 48 void scissor (NegativeTestContext& ctx) 50 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative."); 51 ctx.glScissor(0, 0, -1, 0); 52 ctx.expectError(GL_INVALID_VALUE); 53 ctx.glScissor(0, 0, 0, -1); 54 ctx.expectError(GL_INVALID_VALUE); 55 ctx.glScissor(0, 0, -1, -1); 56 ctx.expectError(GL_INVALID_VALUE); 57 ctx.endSection(); 60 void depth_func (NegativeTestContext& ctx) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/attr/ |
error_context.h | 37 # define error(ctx, args...) do { \ 38 if ((ctx) && (ctx)->error) \ 39 (ctx)->error((ctx), args); \ 41 # define quote(ctx, name) \ 42 ( ((ctx) && (ctx)->quote) ? (ctx)->quote((ctx), (name)) : (name) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/attr/ |
error_context.h | 37 # define error(ctx, args...) do { \ 38 if ((ctx) && (ctx)->error) \ 39 (ctx)->error((ctx), args); \ 41 # define quote(ctx, name) \ 42 ( ((ctx) && (ctx)->quote) ? (ctx)->quote((ctx), (name)) : (name) [all...] |
/external/mesa3d/src/mesa/main/ |
pixelstore.c | 43 GET_CURRENT_CONTEXT(ctx); 44 ASSERT_OUTSIDE_BEGIN_END(ctx); 48 if (!_mesa_is_desktop_gl(ctx)) 50 if (param == (GLint)ctx->Pack.SwapBytes) 52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); 53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; 56 if (!_mesa_is_desktop_gl(ctx)) 58 if (param == (GLint)ctx->Pack.LsbFirst) 60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); 61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE [all...] |
texturebarrier.c | 36 _mesa_texture_barrier(struct gl_context *ctx) 50 GET_CURRENT_CONTEXT(ctx); 51 ASSERT_OUTSIDE_BEGIN_END(ctx); 53 ctx->Driver.TextureBarrier(ctx);
|
feedback.c | 56 GET_CURRENT_CONTEXT(ctx); 57 ASSERT_OUTSIDE_BEGIN_END(ctx); 59 if (ctx->RenderMode==GL_FEEDBACK) { 60 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); 64 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); 68 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); 69 ctx->Feedback.BufferSize = 0; 75 ctx->Feedback._Mask = 0; 78 ctx->Feedback._Mask = FB_3D; 81 ctx->Feedback._Mask = (FB_3D | FB_COLOR) [all...] |
lines.c | 43 GET_CURRENT_CONTEXT(ctx); 44 ASSERT_OUTSIDE_BEGIN_END(ctx); 47 _mesa_debug(ctx, "glLineWidth %f\n", width); 50 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); 64 if (ctx->API == API_OPENGL_CORE 65 && ((ctx->Const.ContextFlags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT) 67 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); 71 if (ctx->Line.Width == width) 74 FLUSH_VERTICES(ctx, _NEW_LINE); 75 ctx->Line.Width = width [all...] |
version.c | 36 override_version(struct gl_context *ctx) 54 ctx->Version = major * 10 + minor; 63 _mesa_override_glsl_version(struct gl_context *ctx) 74 n = sscanf(version, "%u", &ctx->Const.GLSLVersion); 85 compute_version(struct gl_context *ctx) 90 const GLboolean ver_1_3 = (ctx->Extensions.ARB_texture_border_clamp && 91 ctx->Extensions.ARB_texture_cube_map && 92 ctx->Extensions.ARB_texture_env_combine && 93 ctx->Extensions.ARB_texture_env_dot3); 95 ctx->Extensions.ARB_depth_texture & [all...] |
state.c | 57 update_separate_specular(struct gl_context *ctx) 59 if (_mesa_need_secondary_color(ctx)) 60 ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR; 62 ctx->_TriangleCaps &= ~DD_SEPARATE_SPECULAR; 68 * ctx->VertexProgram._Enabled 69 * ctx->FragmentProgram._Enabled 70 * ctx->ATIFragmentShader._Enabled 74 update_program_enables(struct gl_context *ctx) 80 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enable [all...] |
multisample.c | 39 GET_CURRENT_CONTEXT(ctx); 41 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx ); 43 ctx->Multisample.SampleCoverageValue = (GLfloat) CLAMP(value, 0.0, 1.0); 44 ctx->Multisample.SampleCoverageInvert = invert; 45 ctx->NewState |= _NEW_MULTISAMPLE; 51 * \param ctx the GL context. 54 _mesa_init_multisample(struct gl_context *ctx) 56 ctx->Multisample.Enabled = GL_TRUE; 57 ctx->Multisample.SampleAlphaToCoverage = GL_FALSE; 58 ctx->Multisample.SampleAlphaToOne = GL_FALSE [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_manager.h | 36 vg_manager_flush_frontbuffer(struct vg_context *ctx); 39 vg_manager_validate_framebuffer(struct vg_context *ctx);
|
/external/wpa_supplicant_8/src/crypto/ |
aes-encblock.c | 25 void *ctx; local 26 ctx = aes_encrypt_init(key, 16); 27 if (ctx == NULL) 29 aes_encrypt(ctx, in, out); 30 aes_encrypt_deinit(ctx);
|
/external/emma/core/java12/com/vladium/emma/report/ |
AbstractItemVisitor.java | 20 public Object visit (final AllItem item, final Object ctx) 22 return ctx; 25 public Object visit (final PackageItem item, final Object ctx) 27 return ctx; 30 public Object visit (final SrcFileItem item, final Object ctx) 32 return ctx; 35 public Object visit (final ClassItem item, final Object ctx) 37 return ctx; 40 public Object visit (final MethodItem item, final Object ctx) 42 return ctx; [all...] |
/external/e2fsprogs/e2fsck/ |
e2fsck.c | 55 errcode_t e2fsck_reset_context(e2fsck_t ctx) 59 ctx->flags &= E2F_RESET_FLAGS; 60 ctx->lost_and_found = 0; 61 ctx->bad_lost_and_found = 0; 62 if (ctx->inode_used_map) { 63 ext2fs_free_inode_bitmap(ctx->inode_used_map); 64 ctx->inode_used_map = 0; 66 if (ctx->inode_dir_map) { 67 ext2fs_free_inode_bitmap(ctx->inode_dir_map); 68 ctx->inode_dir_map = 0 [all...] |
dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) 26 if (!ctx->dx_dir_info) { 27 ctx->dx_dir_info_count = 0; 28 ctx->dx_dir_info_size = 100; /* Guess */ 29 ctx->dx_dir_info = (struct dx_dir_info *) 30 e2fsck_allocate_memory(ctx, ctx->dx_dir_info_size 35 if (ctx->dx_dir_info_count >= ctx->dx_dir_info_size) { 36 old_size = ctx->dx_dir_info_size * sizeof(struct dx_dir_info) [all...] |
/external/vboot_reference/firmware/2lib/include/ |
2misc.h | 19 * @param ctx Vboot context 22 static __inline struct vb2_shared_data *vb2_get_sd(struct vb2_context *ctx) { 23 return (struct vb2_shared_data *)ctx->workbuf; 39 * @param ctx Vboot context 42 void vb2_workbuf_from_ctx(struct vb2_context *ctx, struct vb2_workbuf *wb); 47 * @param ctx Vboot context 51 int vb2_read_gbb_header(struct vb2_context *ctx, struct vb2_gbb_header *gbb); 65 void vb2_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode); 70 * This uses ctx->workbuf_used=0 as a flag to indicate that the data has not 74 * @param ctx Vboot context to initializ [all...] |
/external/elfutils/libasm/ |
asm_abort.c | 42 asm_abort (AsmCtx_t *ctx) 44 if (ctx == NULL) 48 if (likely (! ctx->textp)) 50 (void) elf_end (ctx->out.elf); 53 if (ctx->fd != -1) 54 (void) unlink (ctx->tmp_fname); 57 __libasm_finictx (ctx);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_extensions.c | 38 * Initializes potential list of extensions if ctx == NULL, or actually enables 42 intelInitExtensions(struct gl_context *ctx) 44 struct intel_context *intel = intel_context(ctx); 46 ctx->Extensions.ARB_draw_elements_base_vertex = true; 47 ctx->Extensions.ARB_explicit_attrib_location = true; 48 if (_mesa_is_desktop_gl(ctx)) 49 ctx->Extensions.ARB_framebuffer_object = true; 50 ctx->Extensions.ARB_half_float_pixel = true; 51 ctx->Extensions.ARB_map_buffer_range = true; 52 ctx->Extensions.ARB_point_sprite = true [all...] |
intel_extensions.h | 33 intelInitExtensions(struct gl_context *ctx); 36 intelInitExtensionsES1(struct gl_context *ctx); 39 intelInitExtensionsES2(struct gl_context *ctx);
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
AbstractClassDefVisitor.java | 22 public Object visit (final ClassDef cls, final Object ctx) 24 visit (cls.getConstants (), ctx); local 25 visit (cls.getInterfaces (), ctx); local 26 visit (cls.getFields (), ctx); local 27 visit (cls.getMethods (), ctx); local 28 visit (cls.getAttributes (), ctx); local 30 return ctx; 33 public Object visit (final IAttributeCollection attributes, final Object ctx) 35 return ctx; 38 public Object visit (final IConstantCollection constants, final Object ctx) [all...] |