Searched refs:pos (Results 1 - 25 of 544) sorted by relevance

1234567891011>>

/xsrc/external/mit/libdrm/dist/
H A Dutil_double_list.h116 #define LIST_FOR_EACH_ENTRY(pos, head, member) \
117 for (pos = container_of((head)->next, pos, member); \
118 &pos->member != (head); \
119 pos = container_of(pos->member.next, pos, member))
121 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \
122 for (pos = container_of((head)->next, pos, membe
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dlist.h187 #define LIST_FOR_EACH_ENTRY(pos, head, member) \
188 for (pos = NULL, pos = container_of((head)->next, pos, member); \
189 &pos->member != (head); \
190 pos = container_of(pos->member.next, pos, member))
192 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \
193 for (pos
[all...]
/xsrc/external/mit/brotli/dist/c/enc/
H A Dwrite_bits.h36 size_t* BROTLI_RESTRICT pos,
40 (int)*pos));
50 uint8_t* p = &array[*pos >> 3];
52 v |= bits << (*pos & 7);
54 *pos += n_bits;
59 uint8_t* array_pos = &array[*pos >> 3];
60 const size_t bits_reserved_in_first_byte = (*pos & 7);
71 *pos += n_bits;
77 size_t pos, uint8_t* array) {
78 BROTLI_LOG(("WriteBitsPrepareStorage %10d\n", (int)pos));
34 BrotliWriteBits(size_t n_bits,uint64_t bits,size_t * BROTLI_RESTRICT pos,uint8_t * BROTLI_RESTRICT array) argument
76 BrotliWriteBitsPrepareStorage(size_t pos,uint8_t * array) argument
[all...]
H A Dliteral_cost.h20 /* Estimates how many bits the literals in the interval [pos, pos + len) in the
24 size_t pos, size_t len, size_t mask, const uint8_t* data, float* cost);
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dlist.h92 #define list_for_each_entry(pos, head, member) \
93 for (pos = __container_of((head)->next, pos, member); \
94 &pos->member != (head); \
95 pos = __container_of(pos->member.next, pos, member))
97 #define list_for_each_entry_safe(pos, tmp, head, member) \
98 for (pos = __container_of((head)->next, pos, membe
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dlist.h189 #define LIST_FOR_EACH_ENTRY(pos, head, member) \
190 for (pos = NULL, pos = list_container_of((head)->next, pos, member); \
191 &pos->member != (head); \
192 pos = list_container_of(pos->member.next, pos, member))
194 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \
195 for (pos
[all...]
H A Du_printf.cpp43 size_t util_printf_next_spec_pos(const std::string &s, size_t pos) argument
47 pos = s.find_first_of('%', pos);
49 if (pos == std::string::npos)
52 if (s[pos + 1] == '%') {
53 pos += 2;
57 next_tok = s.find_first_of('%', pos + 1);
58 spec_pos = s.find_first_of("cdieEfFgGaAosuxXp", pos + 1);
63 pos++;
67 size_t util_printf_next_spec_pos(const char *str, size_t pos) argument
[all...]
H A Du_printf.h31 size_t util_printf_next_spec_pos(const std::string &s, size_t pos);
37 size_t util_printf_next_spec_pos(const char *str, size_t pos);
/xsrc/external/mit/xf86-video-intel/dist/src/
H A Dintel_list.h182 #define list_for_each(pos, head) \
183 for (pos = (head)->next; pos != (head); pos = pos->next)
311 * Loop through the list given by head and set pos to struct in the list.
322 * @param pos Iterator variable of the type of the list elements.
327 #define list_for_each_entry(pos, head, member) \
328 for (pos = NULL, \
329 pos
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/
H A Dintel_list.h182 #define list_for_each(pos, head) \
183 for (pos = (head)->next; pos != (head); pos = pos->next)
323 * Loop through the list given by head and set pos to struct in the list.
334 * @param pos Iterator variable of the type of the list elements.
339 #define list_for_each_entry(pos, head, member) \
340 for (pos = NULL, \
341 pos
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/rbug/
H A Drbug_internal.h81 PAD(pos, size); \
82 pos += size; \
83 if (pos > len) \
85 ret->name = *((type *)(&data[pos - size])); \
91 if (pos > len) \
93 PAD(pos, size); \
94 pos += size * ret->name##_len; \
95 if (pos > len) \
97 ret->name = (type *)&data[pos - size * ret->name##_len]; \
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/rbug/
H A Drbug_internal.h81 PAD(pos, size); \
82 pos += size; \
83 if (pos > len) \
85 ret->name = *((type *)(&data[pos - size])); \
91 if (pos > len) \
93 PAD(pos, size); \
94 pos += size * ret->name##_len; \
95 if (pos > len) \
97 ret->name = (type *)&data[pos - size * ret->name##_len]; \
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_emit_gv100.h71 inline void emitABS(int pos, int src, bool supported) argument
75 emitField(pos, 1, 1);
79 inline void emitABS(int pos, int src) argument
81 emitABS(pos, src, true);
84 inline void emitNEG(int pos, int src, bool supported) { argument
87 emitField(pos, 1, 1);
91 inline void emitNEG(int pos, int src) { argument
92 emitNEG(pos, src, true);
95 inline void emitNOT(int pos) { argument
96 emitField(pos,
99 emitNOT(int pos,const ValueRef & ref) argument
103 emitSAT(int pos) argument
126 emitRND(int pos) argument
130 emitFMZ(int pos,int len) argument
134 emitPDIV(int pos) argument
138 emitO(int pos) argument
142 emitP(int pos) argument
146 emitCond3(int pos,CondCode code) argument
172 emitCond4(int pos,CondCode code) argument
200 emitSYS(int pos,const Value * val) argument
227 emitSYS(int pos,const ValueRef & ref) argument
231 emitBTS(int pos,const Value * val) argument
240 emitBTS(int pos,const ValueRef & ref) argument
244 emitBTS(int pos,const ValueDef & def) argument
248 emitGPR(int pos,const Value * val,int off) argument
253 emitGPR(int pos,const Value * v) argument
257 emitGPR(int pos) argument
261 emitGPR(int pos,const ValueRef & ref) argument
265 emitGPR(int pos,const ValueRef * ref) argument
269 emitGPR(int pos,const ValueDef & def) argument
273 emitGPR(int pos,const ValueDef & def,int off) argument
277 emitPRED(int pos,const Value * val) argument
281 emitPRED(int pos) argument
285 emitPRED(int pos,const ValueRef & ref) argument
289 emitPRED(int pos,const ValueDef & def) argument
306 emitIMMD(int pos,int len,const ValueRef & ref) argument
[all...]
H A Dnv50_ir_util.cpp39 Item *rem = pos;
43 pos = pos->next;
51 Item *item = pos;
54 assert(pos != term);
56 pos = pos->next;
67 ins->next = pos->next;
68 ins->prev = pos;
69 pos
317 int pos = max; local in function:nv50_ir::BitSet::findFreeRange
386 int pos = ffs(bits) - 1; local in function:nv50_ir::BitSet::print
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_tile_cache.c46 * Return the position in the cache for the tile that contains win pos (x,y).
57 int pos; local in function:addr_to_clear_pos
58 pos = addr.bits.layer * (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE);
59 pos += addr.bits.y * (MAX_WIDTH / TILE_SIZE);
60 pos += addr.bits.x;
61 return pos;
69 int pos, bit; local in function:is_clear_flag_set
70 pos = addr_to_clear_pos(addr);
71 assert(pos / 32 < max);
72 bit = bitvec[pos / 3
83 int pos; local in function:clear_clear_flag
94 uint pos; local in function:sp_create_tile_cache
143 uint pos; local in function:sp_destroy_tile_cache
402 sp_flush_tile(struct softpipe_tile_cache * tc,unsigned pos) argument
448 int inuse = 0, pos; local in function:sp_flush_tile_cache
488 unsigned pos; local in function:sp_alloc_tile
522 const int pos = CACHE_POS(addr.bits.x, local in function:sp_find_cached_tile
640 uint pos; local in function:sp_tile_cache_clear
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_dmabuffer.h34 unsigned pos; member in struct:_ViaCommandBuffer
51 if (cb->flushFunc && (cb->pos > (cb->bufSize-(size)))) { \
61 if (cb->pos & 1) \
63 cb->header_start = cb->pos; \
74 (cb)->buf[(cb)->pos++] = (val); \
79 (cb)->buf[(cb)->pos++] = (val1); \
80 (cb)->buf[(cb)->pos++] = (val2); \
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_tile_cache.c46 * Return the position in the cache for the tile that contains win pos (x,y).
57 int pos; local in function:addr_to_clear_pos
58 pos = addr.bits.layer * (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE);
59 pos += addr.bits.y * (MAX_WIDTH / TILE_SIZE);
60 pos += addr.bits.x;
61 return pos;
69 int pos, bit; local in function:is_clear_flag_set
70 pos = addr_to_clear_pos(addr);
71 assert(pos / 32 < max);
72 bit = bitvec[pos / 3
83 int pos; local in function:clear_clear_flag
94 uint pos; local in function:sp_create_tile_cache
140 uint pos; local in function:sp_destroy_tile_cache
387 sp_flush_tile(struct softpipe_tile_cache * tc,unsigned pos) argument
417 int inuse = 0, pos; local in function:sp_flush_tile_cache
457 unsigned pos; local in function:sp_alloc_tile
491 const int pos = CACHE_POS(addr.bits.x, local in function:sp_find_cached_tile
577 uint pos; local in function:sp_tile_cache_clear
[all...]
/xsrc/external/mit/xorg-server/dist/include/
H A Dlist.h292 * Loop through the list given by head and set pos to struct in the list.
303 * @param pos Iterator variable of the type of the list elements.
308 #define xorg_list_for_each_entry(pos, head, member) \
309 for (pos = NULL, \
310 pos = __container_of((head)->next, pos, member); \
311 &pos->member != (head); \
312 pos = __container_of(pos->member.next, pos, membe
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_util.cpp39 Item *rem = pos;
43 pos = pos->next;
51 Item *item = pos;
54 assert(pos != term);
56 pos = pos->next;
67 ins->next = pos->next;
68 ins->prev = pos;
69 pos
317 int pos = max; local in function:nv50_ir::BitSet::findFreeRange
386 int pos = ffs(bits) - 1; local in function:nv50_ir::BitSet::print
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_lower_input_attachments.c31 nir_variable *pos = local in function:load_frag_coord
34 if (pos == NULL) {
35 pos = nir_variable_create(b->shader, nir_var_shader_in,
37 pos->data.location = VARYING_SLOT_POS;
48 return nir_load_var(b, pos);
71 nir_ssa_def *pos = nir_iadd(&b, frag_coord, offset); local in function:try_lower_input_load
75 nir_vec4(&b, nir_channel(&b, pos, 0), nir_channel(&b, pos, 1), layer, nir_imm_int(&b, 0));
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_clip_halfz.c43 nir_ssa_def *pos = nir_ssa_for_src(b, intr->src[1], 4); local in function:lower_pos_write
45 nir_channel(b, pos, 0),
46 nir_channel(b, pos, 1),
49 nir_channel(b, pos, 2),
50 nir_channel(b, pos, 3)),
52 nir_channel(b, pos, 3));
/xsrc/external/mit/freetype/dist/src/base/
H A Dftstream.c40 stream->pos = 0;
57 FT_ULong pos )
64 if ( stream->read( stream, pos, 0, 0 ) )
67 " invalid i/o; pos = 0x%lx, size = 0x%lx\n",
68 pos, stream->size ));
74 else if ( pos > stream->size )
77 " invalid i/o; pos = 0x%lx, size = 0x%lx\n",
78 pos, stream->size ));
84 stream->pos = pos;
56 FT_Stream_Seek(FT_Stream stream,FT_ULong pos) argument
118 FT_Stream_ReadAt(FT_Stream stream,FT_ULong pos,FT_Byte * buffer,FT_ULong count) argument
[all...]
/xsrc/external/mit/fontconfig/dist/src/
H A Dftglue.c76 LOG(( "ftglue:stream:pos() -> %ld\n", stream->pos ));
77 return stream->pos;
83 FT_Long pos )
89 if ( stream->read( stream, pos, 0, 0 ) )
92 else if ( pos < 0 || (FT_ULong) pos > stream->size )
96 stream->pos = pos;
97 LOG(( "ftglue:stream:seek(%ld) -> %d\n", pos, erro
82 ftglue_stream_seek(FT_Stream stream,FT_Long pos) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir_cull.c40 analyze_position_w(nir_builder *b, nir_ssa_def *pos[3][4], position_w_info *w_info) argument
48 nir_ssa_def *neg_w = nir_flt(b, pos[i][3], nir_imm_float(b, 0.0f));
59 cull_face(nir_builder *b, nir_ssa_def *pos[3][4], const position_w_info *w_info) argument
61 nir_ssa_def *det_t0 = nir_fsub(b, pos[2][0], pos[0][0]);
62 nir_ssa_def *det_t1 = nir_fsub(b, pos[1][1], pos[0][1]);
63 nir_ssa_def *det_t2 = nir_fsub(b, pos[0][0], pos[1][0]);
64 nir_ssa_def *det_t3 = nir_fsub(b, pos[
89 cull_bbox(nir_builder * b,nir_ssa_def * pos[3][4],nir_ssa_def * accepted,const position_w_info * w_info) argument
151 ac_nir_cull_triangle(nir_builder * b,nir_ssa_def * initially_accepted,nir_ssa_def * pos[3][4]) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_cull.c54 static void ac_analyze_position_w(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], argument
66 neg_w = LLVMBuildFCmp(builder, LLVMRealOLT, pos[i][3], ctx->f32_0, "");
76 static LLVMValueRef ac_cull_face(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], argument
91 LLVMValueRef det_t0 = LLVMBuildFSub(builder, pos[2][0], pos[0][0], "");
92 LLVMValueRef det_t1 = LLVMBuildFSub(builder, pos[1][1], pos[0][1], "");
93 LLVMValueRef det_t2 = LLVMBuildFSub(builder, pos[0][0], pos[1][0], "");
94 LLVMValueRef det_t3 = LLVMBuildFSub(builder, pos[
117 cull_bbox(struct ac_llvm_context * ctx,LLVMValueRef pos[3][4],LLVMValueRef initially_accepted,struct ac_position_w_info * w,LLVMValueRef vp_scale[2],LLVMValueRef vp_translate[2],LLVMValueRef small_prim_precision,struct ac_cull_options * options,ac_cull_accept_func accept_func,void * userdata) argument
230 ac_cull_primitive(struct ac_llvm_context * ctx,LLVMValueRef pos[3][4],LLVMValueRef initially_accepted,LLVMValueRef vp_scale[2],LLVMValueRef vp_translate[2],LLVMValueRef small_prim_precision,struct ac_cull_options * options,ac_cull_accept_func accept_func,void * userdata) argument
[all...]

Completed in 10 milliseconds

1234567891011>>