Searched refs:idx (Results 1 - 25 of 1075) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_decompose_tmp.h50 unsigned idx[6], i; local in function:FUNC
65 idx[0] = GET_ELT(i);
66 POINT(idx[0]);
73 idx[0] = GET_ELT(i);
74 idx[1] = GET_ELT(i + 1);
75 LINE(flags, idx[0], idx[1]);
83 idx[1] = GET_ELT(0);
84 idx[2] = idx[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_decompose_tmp.h50 unsigned idx[6], i; local in function:FUNC
65 idx[0] = GET_ELT(i);
66 POINT(idx[0]);
73 idx[0] = GET_ELT(i);
74 idx[1] = GET_ELT(i + 1);
75 LINE(flags, idx[0], idx[1]);
83 idx[1] = GET_ELT(0);
84 idx[2] = idx[
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/perf/
H A Dintel_perf_regs.h51 #define GFX7_OA_PERF_A32(idx) (0x2800 + (idx) * 4)
58 #define GFX8_OA_PERF_A64_LDW(idx) (0x2800 + (idx) * 8)
59 #define GFX8_OA_PERF_A64_UDW(idx) (0x2800 + (idx) * 8 + 4)
60 #define GFX8_OA_PERF_A32(idx) (0x2900 + (idx) * 4)
61 #define GFX8_OA_PERF_B32(idx) (0x2920 + (idx) *
[all...]
/xsrc/external/mit/xsm/dist/
H A Dmisc.c44 int varlen, idx; local in function:putenv
53 for (idx = 0; environ[idx] != 0; idx++) {
54 if (strncmp(environ[idx], s, varlen) == 0) {
56 environ[idx] = s;
60 environ[idx] = environ[idx+1];
61 } while(environ[++idx] != 0);
73 newenv = (char **) XtMalloc((unsigned) ((idx
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Dtileset.h39 INLINE void set(size_t idx) argument
41 _grow(idx);
42 size_t& word = _get_word(idx);
43 word |= (size_t(1) << (idx & BITS_OFFSET));
44 m_maxSet = std::max(m_maxSet, idx + 1);
46 INLINE bool get(size_t idx) argument
48 if (idx >= m_size)
52 size_t word = _get_word(idx);
53 return 0 != (word & (size_t(1) << (idx & BITS_OFFSET)));
74 INLINE size_t& _get_word(size_t idx) { retur argument
76 _grow(size_t idx) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/
H A Ddmxscrinit.h43 extern Bool dmxScreenInit(int idx, ScreenPtr pScreen, int argc, char *argv[]);
45 extern void dmxBEScreenInit(int idx, ScreenPtr pScreen);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_ra.c84 static unsigned reg_mask(struct ir2_context *ctx, unsigned idx) argument
86 return ctx->reg_state[idx/8] >> idx%8*4 & 0xf;
89 static void reg_setmask(struct ir2_context *ctx, unsigned idx, unsigned c) argument
91 idx = idx * 4 + c;
92 ctx->reg_state[idx/32] |= 1 << idx%32;
95 static void reg_freemask(struct ir2_context *ctx, unsigned idx, unsigned c) argument
97 idx
142 unsigned idx = force_idx; local in function:ra_reg
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_ra.c88 reg_mask(struct ir2_context *ctx, unsigned idx) argument
90 return ctx->reg_state[idx / 8] >> idx % 8 * 4 & 0xf;
94 reg_setmask(struct ir2_context *ctx, unsigned idx, unsigned c) argument
96 idx = idx * 4 + c;
97 ctx->reg_state[idx / 32] |= 1 << idx % 32;
101 reg_freemask(struct ir2_context *ctx, unsigned idx, unsigned c) argument
103 idx
150 unsigned idx = force_idx; local in function:ra_reg
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mapi/glapi/
H A Dglapi_entrypoint.c203 int idx; local in function:init_glapi_relocs
230 idx = 7;
236 idx = 3;
238 code[idx + 0] = template[idx + 0];
239 __glapi_sparc_icache_flush(&code[idx - 1]);
240 code[idx + 1] = template[idx + 1];
241 code[idx + 2] = template[idx
[all...]
/xsrc/external/mit/MesaLib/dist/src/mapi/glapi/
H A Dglapi_entrypoint.c203 int idx; local in function:init_glapi_relocs
230 idx = 7;
236 idx = 3;
238 code[idx + 0] = template[idx + 0];
239 __glapi_sparc_icache_flush(&code[idx - 1]);
240 code[idx + 1] = template[idx + 1];
241 code[idx + 2] = template[idx
[all...]
/xsrc/external/mit/xf86-video-neomagic/dist/src/
H A Dneo_video.h68 # define OUTGR(idx,dat) \
71 =(idx)|((dat)<<8));\
73 VGAwGR((idx),(dat));
75 # define OUTSR(idx,dat) \
77 (*(unsigned short *)(nPtr->NeoMMIOBase2+VGA_SEQ_INDEX)=(idx)|((dat)<<8));\
79 VGAwSR((idx),(dat));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.h68 sp_clamp_viewport_idx(int idx) argument
70 return (PIPE_MAX_VIEWPORTS > idx && idx >= 0) ? idx : 0;
H A Dsp_state_image.c42 int idx = start + i; local in function:softpipe_set_shader_images
45 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource);
46 softpipe->tgsi.image[shader]->sp_iview[idx] = images[i];
49 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL);
50 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view));
69 int idx = start + i; local in function:softpipe_set_shader_buffers
72 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer);
73 softpipe->tgsi.buffer[shader]->sp_bview[idx] = buffers[i];
76 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, NULL);
77 memset(&softpipe->tgsi.buffer[shader]->sp_bview[idx],
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.h68 sp_clamp_viewport_idx(int idx) argument
70 return (PIPE_MAX_VIEWPORTS > idx && idx >= 0) ? idx : 0;
H A Dsp_state_image.c43 int idx = start + i; local in function:softpipe_set_shader_images
46 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource);
47 softpipe->tgsi.image[shader]->sp_iview[idx] = images[i];
50 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL);
51 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view));
56 int idx = start + num + i; local in function:softpipe_set_shader_images
58 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL);
59 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view));
77 int idx = start + i; local in function:softpipe_set_shader_buffers
80 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx]
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c42 unsigned *idx)
46 *idx = semantic.Index;
50 *idx = semantic.Index;
54 *idx = semantic.Index + 2; /* sharing with COLOR */
58 *idx = 0;
63 *idx = semantic.Index;
67 *idx = svga_remap_generic_index(emit->key.generic_remap_table,
72 *idx = semantic.Index;
80 *idx = 0;
85 *idx
39 translate_vs_ps_semantic(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned * usage,unsigned * idx) argument
178 ps30_input(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
327 ps30_output(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
391 vs30_input(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
449 vs30_output(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
520 svga_tgsi_sampler_type(const struct svga_shader_emitter * emit,int idx) argument
541 ps30_sampler(struct svga_shader_emitter * emit,unsigned idx) argument
579 unsigned idx; local in function:svga_translate_decl_sm30
[all...]
H A Dsvga_tgsi.h49 static inline void svga_generate_vdecl_semantics( unsigned idx, argument
53 if (idx == 0) {
59 *usage_index = idx - 1;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_decl_sm30.c42 unsigned *idx)
46 *idx = semantic.Index;
50 *idx = semantic.Index;
54 *idx = semantic.Index + 2; /* sharing with COLOR */
58 *idx = 0;
63 *idx = semantic.Index;
67 *idx = svga_remap_generic_index(emit->key.generic_remap_table,
72 *idx = semantic.Index;
80 *idx = 0;
85 *idx
39 translate_vs_ps_semantic(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned * usage,unsigned * idx) argument
178 ps30_input(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
327 ps30_output(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
391 vs30_input(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
449 vs30_output(struct svga_shader_emitter * emit,struct tgsi_declaration_semantic semantic,unsigned idx) argument
520 svga_tgsi_sampler_type(const struct svga_shader_emitter * emit,int idx) argument
541 ps30_sampler(struct svga_shader_emitter * emit,unsigned idx) argument
579 unsigned idx; local in function:svga_translate_decl_sm30
[all...]
H A Dsvga_tgsi.h49 static inline void svga_generate_vdecl_semantics( unsigned idx, argument
53 if (idx == 0) {
59 *usage_index = idx - 1;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_archrast.py29 def parse_event_fields(lines, idx, event_dict):
38 while not end_of_event and idx < len(lines):
39 line = lines[idx].rstrip()
40 idx += 1
58 return idx
60 def parse_enums(lines, idx, event_dict):
69 while not end_of_enum and idx < len(lines):
70 line = lines[idx].rstrip()
71 idx += 1
84 return idx
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DIntAtom.c37 #define REHASH(idx,rehash) ((idx + rehash) & (TABLESIZE-1))
69 register int idx = 0, i; local in function:_XInternAtom
84 firstidx = idx = HASH(sig);
85 while ((e = atoms->table[idx])) {
94 nomatch: if (idx == firstidx)
96 idx = REHASH(idx, rehash);
97 if (idx == firstidx)
102 *pidx = idx;
116 _XUpdateAtomCache(Display * dpy,const char * name,Atom atom,unsigned long sig,int idx,int n) argument
170 int idx, n; local in function:XInternAtom
209 register int i, idx = 0; local in function:_XIntAtomHandler
250 int i, idx, n, tidx; local in function:XInternAtoms
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_batch_cache.c226 cache->batches[batch->idx] = NULL;
227 cache->batch_mask &= ~(1 << batch->idx);
234 for (unsigned idx = 0; idx < key->num_surfs; idx++) { local in function:fd_bc_invalidate_batch
235 struct fd_resource *rsc = fd_resource(key->surf[idx].texture);
236 rsc->bc_batch_mask &= ~(1 << batch->idx);
277 uint32_t idx; local in function:fd_bc_alloc_batch
281 while ((idx = ffs(~cache->batch_mask)) == 0) {
285 debug_printf("%d: needs_flush=%d, depends:", batch->idx, batc
372 for (unsigned idx = 0; idx < key->num_surfs; idx++) { local in function:batch_from_key
389 for (unsigned idx = 0; idx < key->num_surfs; idx++) { local in function:batch_from_key
400 key_surf(struct key * key,unsigned idx,unsigned pos,struct pipe_surface * psurf) argument
413 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); local in function:fd_batch_from_fb
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_batch_cache.c290 cache->batches[batch->idx] = NULL;
291 cache->batch_mask &= ~(1 << batch->idx);
298 for (unsigned idx = 0; idx < key->num_surfs; idx++) { local in function:fd_bc_invalidate_batch
299 struct fd_resource *rsc = fd_resource(key->surf[idx].texture);
300 rsc->track->bc_batch_mask &= ~(1 << batch->idx);
339 uint32_t idx; local in function:alloc_batch_locked
343 while ((idx = ffs(~cache->batch_mask)) == 0) {
347 debug_printf("%d: needs_flush=%d, depends:", batch->idx, batc
452 for (unsigned idx = 0; idx < key->num_surfs; idx++) { local in function:batch_from_key
476 for (unsigned idx = 0; idx < key->num_surfs; idx++) { local in function:batch_from_key
485 key_surf(struct fd_batch_key * key,unsigned idx,unsigned pos,struct pipe_surface * psurf) argument
499 unsigned idx = 0, n = pfb->nr_cbufs + (pfb->zsbuf ? 1 : 0); local in function:fd_batch_from_fb
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_shader.c74 for (int idx = 0; idx < shader->uniforms.count; ++idx) { local in function:etna_dump_shader
76 idx / 4,
77 tgsi_swizzle_names[idx % 4],
78 *((float *)&shader->uniforms.data[idx]),
79 shader->uniforms.data[idx],
80 shader->uniforms.contents[idx]);
83 for (int idx = 0; idx < shade local in function:etna_dump_shader
91 for (int idx = 0; idx < shader->outfile.num_reg; ++idx) { local in function:etna_dump_shader
152 for (int idx = 0; idx < link.num_varyings; ++idx) local in function:etna_link_shaders
170 for (int idx = 0; idx < link.num_varyings; ++idx) local in function:etna_link_shaders
180 for (int idx = 0; idx < link.num_varyings; ++idx) local in function:etna_link_shaders
185 for (int idx = 0; idx < ARRAY_SIZE(cs->VS_OUTPUT); ++idx) local in function:etna_link_shaders
229 for (int idx = 0; idx < link.num_varyings; ++idx) { local in function:etna_link_shaders
340 for (int idx = 0; idx < num_vs_inputs; ++idx) { local in function:etna_shader_update_vs_inputs
361 for (int idx = 0; idx < ARRAY_SIZE(cs->VS_INPUT); ++idx) local in function:etna_shader_update_vs_inputs
[all...]
/xsrc/external/mit/xinput/dist/src/
H A Dbuttonmap.c70 int idx; local in function:get_button_map
77 for(idx=1; idx < nbuttons + 1; idx++) {
78 printf("%d ", map[idx - 1]);
134 int idx; local in function:set_button_map
144 for(idx=1; idx < min; idx++) {
145 map[idx
[all...]

Completed in 20 milliseconds

1234567891011>>