/external/mesa3d/src/mesa/tnl/ |
t_vp_build.c | 41 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx ) 43 if (!ctx->VertexProgram._Current || 44 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { 45 ctx->VertexProgram._Current 46 = ctx->VertexProgram._TnlProgram 47 = _mesa_get_fixed_func_vertex_program(ctx);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_extensions.c | 37 * Initializes potential list of extensions if ctx == NULL, or actually enables 41 intelInitExtensions(struct gl_context *ctx) 43 struct intel_context *intel = intel_context(ctx); 47 ctx->Extensions.ARB_draw_elements_base_vertex = true; 48 ctx->Extensions.ARB_explicit_attrib_location = true; 49 ctx->Extensions.ARB_explicit_uniform_location = true; 50 ctx->Extensions.ARB_framebuffer_object = true; 51 ctx->Extensions.ARB_internalformat_query = true; 52 ctx->Extensions.ARB_map_buffer_range = true; 53 ctx->Extensions.ARB_point_sprite = true [all...] |
/external/arm-optimized-routines/test/rtest/ |
wrappers.c | 14 void wrapper_init(wrapperctx *ctx) 17 ctx->nops = ctx->nresults = 0; 19 ctx->mpfr_ops[i] = NULL; 20 ctx->mpc_ops[i] = NULL; 21 ctx->ieee_ops[i] = NULL; 23 ctx->mpfr_result = NULL; 24 ctx->mpc_result = NULL; 25 ctx->ieee_result = NULL; 26 ctx->need_regen = 0 [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_hw_context.c | 37 void si_need_cs_space(struct si_context *ctx) 39 struct radeon_winsys_cs *cs = ctx->b.gfx.cs; 52 if (unlikely(!radeon_cs_memory_below_limit(ctx->b.screen, ctx->b.gfx.cs, 53 ctx->b.vram, ctx->b.gtt))) { 54 ctx->b.gtt = 0; 55 ctx->b.vram = 0; 56 ctx->b.gfx.flush(ctx, PIPE_FLUSH_ASYNC, NULL) 72 struct si_context *ctx = context; local [all...] |
/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 | 69 void vertex_attribf (NegativeTestContext& ctx) 71 ctx.beginSection("GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS."); 72 int maxVertexAttribs = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); 73 ctx.glVertexAttrib1f(maxVertexAttribs, 0.0f); 74 ctx.expectError(GL_INVALID_VALUE); 75 ctx.glVertexAttrib2f(maxVertexAttribs, 0.0f, 0.0f); 76 ctx.expectError(GL_INVALID_VALUE); 77 ctx.glVertexAttrib3f(maxVertexAttribs, 0.0f, 0.0f, 0.0f); 78 ctx.expectError(GL_INVALID_VALUE); 79 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 supportsES32 = 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...] |
/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/python/cpython3/Modules/_decimal/libmpdec/ |
context.c | 36 mpd_dflt_traphandler(mpd_context_t *ctx UNUSED) 66 mpd_init(mpd_context_t *ctx, mpd_ssize_t prec) 70 mpd_defaultcontext(ctx); 72 if (!mpd_qsetprec(ctx, prec)) { 73 mpd_addstatus_raise(ctx, MPD_Invalid_context); 85 mpd_maxcontext(mpd_context_t *ctx) 87 ctx->prec=MPD_MAX_PREC; 88 ctx->emax=MPD_MAX_EMAX; 89 ctx->emin=MPD_MIN_EMIN; 90 ctx->round=MPD_ROUND_HALF_EVEN [all...] |
/external/libxkbcommon/xkbcommon/test/ |
filecomp.c | 27 test_file(struct xkb_context *ctx, const char *path_rel) 29 struct xkb_keymap *keymap = test_compile_file(ctx, path_rel); 41 struct xkb_context *ctx = test_get_context(0); local 43 assert(test_file(ctx, "keymaps/basic.xkb")); 44 assert(test_file(ctx, "keymaps/comprehensive-plus-geom.xkb")); 45 assert(test_file(ctx, "keymaps/no-types.xkb")); 46 assert(test_file(ctx, "keymaps/quartz.xkb")); 47 assert(test_file(ctx, "keymaps/no-aliases.xkb")); 49 assert(!test_file(ctx, "keymaps/divide-by-zero.xkb")); 50 assert(!test_file(ctx, "keymaps/bad.xkb")) [all...] |
/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/brotli/research/ |
brotli_decoder.c | 23 void init(Context* ctx) { 24 ctx->fin = 0; 25 ctx->fout = 0; 26 ctx->input_buffer = 0; 27 ctx->output_buffer = 0; 28 ctx->decoder = 0; 31 void cleanup(Context* ctx) { 32 if (ctx->decoder) BrotliDecoderDestroyInstance(ctx->decoder); 33 if (ctx->output_buffer) free(ctx->output_buffer) 45 Context ctx; local [all...] |
/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/epid-sdk/ext/ipp/sources/ippcp/ |
pcpdlp.h | 105 #define DLP_ID(ctx) ((ctx)->idCtx) 106 #define DLP_FLAG(ctx) ((ctx)->flag) 107 #define DLP_BITSIZEP(ctx) ((ctx)->bitSizeP) 108 #define DLP_BITSIZER(ctx) ((ctx)->bitSizeR) 109 #define DLP_EXPMETHOD(ctx) ((ctx)->method [all...] |
/external/mesa3d/src/mesa/main/ |
feedback.c | 51 GET_CURRENT_CONTEXT(ctx); 53 if (ctx->RenderMode==GL_FEEDBACK) { 54 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); 58 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); 62 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); 63 ctx->Feedback.BufferSize = 0; 69 ctx->Feedback._Mask = 0; 72 ctx->Feedback._Mask = FB_3D; 75 ctx->Feedback._Mask = (FB_3D | FB_COLOR); 78 ctx->Feedback._Mask = (FB_3D | FB_COLOR | FB_TEXTURE) [all...] |
lines.c | 41 line_width(struct gl_context *ctx, GLfloat width, bool no_error) 44 if (ctx->Line.Width == width) 48 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); 62 if (!no_error && ctx->API == API_OPENGL_CORE 63 && ((ctx->Const.ContextFlags & GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT) 66 _mesa_error( ctx, GL_INVALID_VALUE, "glLineWidth" ); 70 FLUSH_VERTICES(ctx, ctx->DriverFlags.NewLineState ? 0 : _NEW_LINE); 71 ctx->NewDriverState |= ctx->DriverFlags.NewLineState [all...] |
bbox.c | 39 GET_CURRENT_CONTEXT(ctx); 41 ctx->PrimitiveBoundingBox[0] = minX; 42 ctx->PrimitiveBoundingBox[1] = minY; 43 ctx->PrimitiveBoundingBox[2] = minZ; 44 ctx->PrimitiveBoundingBox[3] = minW; 45 ctx->PrimitiveBoundingBox[4] = maxX; 46 ctx->PrimitiveBoundingBox[5] = maxY; 47 ctx->PrimitiveBoundingBox[6] = maxZ; 48 ctx->PrimitiveBoundingBox[7] = maxW; 52 _mesa_init_bbox(struct gl_context *ctx) [all...] |
hint.c | 39 GET_CURRENT_CONTEXT(ctx); 42 _mesa_debug(ctx, "glHint %s %s\n", 47 _mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)"); 53 if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) 55 if (ctx->Hint.Fog == mode) 57 FLUSH_VERTICES(ctx, _NEW_HINT); 58 ctx->Hint.Fog = mode; 61 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES [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/mesa3d/src/mesa/drivers/dri/i965/ |
intel_extensions.c | 33 * Initializes potential list of extensions if ctx == NULL, or actually enables 37 intelInitExtensions(struct gl_context *ctx) 39 struct brw_context *brw = brw_context(ctx); 44 ctx->Extensions.ARB_arrays_of_arrays = true; 45 ctx->Extensions.ARB_buffer_storage = true; 46 ctx->Extensions.ARB_clear_texture = true; 47 ctx->Extensions.ARB_clip_control = true; 48 ctx->Extensions.ARB_copy_image = true; 49 ctx->Extensions.ARB_depth_buffer_float = true; 50 ctx->Extensions.ARB_depth_clamp = true [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/gallium/drivers/etnaviv/ |
etnaviv_state.h | 35 etna_depth_enabled(struct etna_context *ctx) 37 return ctx->zsa && ctx->zsa->depth.enabled; 41 etna_stencil_enabled(struct etna_context *ctx) 43 return ctx->zsa && ctx->zsa->stencil[0].enabled; 47 etna_state_update(struct etna_context *ctx);
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_queue.h | 31 nine_queue_wait_flush(struct nine_queue_pool* ctx); 34 nine_queue_get(struct nine_queue_pool* ctx); 37 nine_queue_flush(struct nine_queue_pool* ctx); 40 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space); 43 nine_queue_no_flushed_work(struct nine_queue_pool* ctx); 46 nine_queue_isempty(struct nine_queue_pool* ctx); 52 nine_queue_delete(struct nine_queue_pool *ctx);
|