Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_dmatmp.h48 #define ALLOC_ELTS(nr) 0 argument
51 #define INCR_ELTS( nr ) argument
76 static void *TAG(emit_elts)( struct gl_context *ctx, GLuint *elts, GLuint nr, in TAG()
83 for ( i = 0 ; i+1 < nr ; i+=2, elts += 2 ) { in TAG()
88 if (i < nr) { in TAG()
116 GLuint j, nr; in TAG() local
124 for (j = start; j < count; j += nr ) { in TAG()
125 nr = MIN2( currentsz, count - j ); in TAG()
126 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) ); in TAG()
145 GLuint j, nr; in TAG() local
[all …]
Dt_dd_dmatmp2.h75 GLuint *elts, GLuint nr ) in TAG()
80 for ( i = 0 ; i+1 < nr ; i+=2, elts += 2 ) { in TAG()
84 if (i < nr) { in TAG()
94 GLuint start, GLuint nr ) in TAG()
99 for ( i = 0 ; i+1 < nr ; i+=2, start += 2 ) { in TAG()
103 if (i < nr) { in TAG()
171 GLuint j, nr; in TAG() local
180 for (j = start; j + 1 < count; j += nr - 1 ) { in TAG()
184 nr = MIN2( dmasz, count - j ); in TAG()
185 dest = ALLOC_ELTS( (nr-1)*2 ); in TAG()
[all …]
/external/kernel-headers/original/uapi/asm-generic/
Dioctl.h65 #define _IOC(dir,type,nr,size) \ argument
68 ((nr) << _IOC_NRSHIFT) | \
76 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument
77 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
78 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
79 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
80 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
81 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
82 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
85 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument
[all …]
/external/mesa3d/src/gallium/auxiliary/indices/
Du_unfilled_indices.c30 unsigned nr, in translate_ubyte_ushort() argument
36 for (i = 0; i < nr; i++) in translate_ubyte_ushort()
41 unsigned nr, in translate_memcpy_ushort() argument
44 memcpy(out, in, nr*sizeof(short)); in translate_memcpy_ushort()
48 unsigned nr, in translate_memcpy_uint() argument
51 memcpy(out, in, nr*sizeof(int)); in translate_memcpy_uint()
55 static void generate_linear_ushort( unsigned nr, in generate_linear_ushort() argument
60 for (i = 0; i < nr; i++) in generate_linear_ushort()
64 static void generate_linear_uint( unsigned nr, in generate_linear_uint() argument
69 for (i = 0; i < nr; i++) in generate_linear_uint()
[all …]
Du_indices.c29 unsigned nr, in translate_memcpy_ushort() argument
32 memcpy(out, in, nr*sizeof(short)); in translate_memcpy_ushort()
36 unsigned nr, in translate_memcpy_uint() argument
39 memcpy(out, in, nr*sizeof(int)); in translate_memcpy_uint()
46 unsigned nr, in u_index_translator() argument
74 *out_nr = nr; in u_index_translator()
83 *out_nr = nr; in u_index_translator()
89 *out_nr = nr; in u_index_translator()
95 *out_nr = (nr - 1) * 2; in u_index_translator()
101 *out_nr = nr * 2; in u_index_translator()
[all …]
/external/tcpdump/
Dprint-cnfp.c85 register const struct nfrec *nr; in cnfp_print() local
115 nr = (const struct nfrec *)&nh[1]; in cnfp_print()
118 nr = (const struct nfrec *)&nh->sequence; in cnfp_print()
124 for (; nrecs-- && (const u_char *)(nr + 1) <= snapend; nr++) { in cnfp_print()
129 EXTRACT_32BITS(&nr->start_time)/1000, in cnfp_print()
130 EXTRACT_32BITS(&nr->start_time)%1000, in cnfp_print()
131 EXTRACT_32BITS(&nr->last_time)/1000, in cnfp_print()
132 EXTRACT_32BITS(&nr->last_time)%1000); in cnfp_print()
137 (EXTRACT_32BITS(&nr->masks) >> 24) & 0xff); in cnfp_print()
139 (EXTRACT_32BITS(&nr->asses) >> 16) & 0xffff); in cnfp_print()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dbitops.c33 int ext2fs_set_bit(unsigned int nr,void * addr) in ext2fs_set_bit() argument
38 ADDR += nr >> 3; in ext2fs_set_bit()
39 mask = 1 << (nr & 0x07); in ext2fs_set_bit()
45 int ext2fs_clear_bit(unsigned int nr, void * addr) in ext2fs_clear_bit() argument
50 ADDR += nr >> 3; in ext2fs_clear_bit()
51 mask = 1 << (nr & 0x07); in ext2fs_clear_bit()
57 int ext2fs_test_bit(unsigned int nr, const void * addr) in ext2fs_test_bit() argument
62 ADDR += nr >> 3; in ext2fs_test_bit()
63 mask = 1 << (nr & 0x07); in ext2fs_test_bit()
84 int ext2fs_set_bit64(__u64 nr, void * addr) in ext2fs_set_bit64() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c67 unsigned i, nr = 0, ei = 0; in draw_pt_fetch_prepare() local
91 key.element[nr].type = TRANSLATE_ELEMENT_INSTANCE_ID; in draw_pt_fetch_prepare()
92 key.element[nr].input_format = PIPE_FORMAT_R32_USCALED; in draw_pt_fetch_prepare()
93 key.element[nr].output_format = PIPE_FORMAT_R32_USCALED; in draw_pt_fetch_prepare()
94 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare()
98 key.element[nr].type = TRANSLATE_ELEMENT_NORMAL; in draw_pt_fetch_prepare()
99 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
100 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
101 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare()
102 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
[all …]
/external/ltrace/sysdeps/linux-gnu/mips/
Dtrace.c152 int nr = 0; in mips_next_pcs() local
167 newpc[nr++] = pc + 8; in mips_next_pcs()
168 newpc[nr++] = pc + 4 + in mips_next_pcs()
172 newpc[nr++] = pc + 4; in mips_next_pcs()
177 newpc[nr++] = pc + 8; in mips_next_pcs()
178 newpc[nr++] = pc + mips32_relative_offset(inst) + 4; in mips_next_pcs()
180 newpc[nr++] = pc + 4; in mips_next_pcs()
195 newpc[nr++] = rx; in mips_next_pcs()
199 newpc[nr++] = pc + 4; in mips_next_pcs()
215 newpc[nr++] = pc + 8; in mips_next_pcs()
[all …]
/external/linux-tools-perf/src/tools/perf/util/include/linux/
Dbitops.h14 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) argument
15 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64)) argument
16 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32)) argument
17 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE) argument
30 static inline void set_bit(int nr, unsigned long *addr) in set_bit() argument
32 addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG); in set_bit()
35 static inline void clear_bit(int nr, unsigned long *addr) in clear_bit() argument
37 addr[nr / BITS_PER_LONG] &= ~(1UL << (nr % BITS_PER_LONG)); in clear_bit()
40 static __always_inline int test_bit(unsigned int nr, const unsigned long *addr) in test_bit() argument
42 return ((1UL << (nr % BITS_PER_LONG)) & in test_bit()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_prim.h40 static INLINE boolean u_validate_pipe_prim( unsigned pipe_prim, unsigned nr ) in u_validate_pipe_prim() argument
46 ok = (nr >= 1); in u_validate_pipe_prim()
49 ok = (nr >= 2); in u_validate_pipe_prim()
53 ok = (nr >= 2); in u_validate_pipe_prim()
56 ok = (nr >= 3); in u_validate_pipe_prim()
61 ok = (nr >= 3); in u_validate_pipe_prim()
64 ok = (nr >= 4); in u_validate_pipe_prim()
67 ok = (nr >= 4); in u_validate_pipe_prim()
78 static INLINE boolean u_trim_pipe_prim( unsigned pipe_prim, unsigned *nr ) in u_trim_pipe_prim() argument
99 *nr = 0; in u_trim_pipe_prim()
[all …]
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_push.c92 unsigned size, nr; in emit_vertices_i08() local
94 nr = push; in emit_vertices_i08()
96 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08()
98 size = ctx->vertex_words * nr; in emit_vertices_i08()
102 ctx->translate->run_elts8(ctx->translate, elts, nr, 0, ctx->push->cur); in emit_vertices_i08()
105 count -= nr; in emit_vertices_i08()
106 elts += nr; in emit_vertices_i08()
108 if (nr != push) { in emit_vertices_i08()
124 unsigned size, nr; in emit_vertices_i16() local
126 nr = push; in emit_vertices_i16()
[all …]
/external/ltrace/sysdeps/linux-gnu/metag/
Dtrace.c162 int nr = 0, imm, reg_val; in metag_next_pcs() local
170 newpc[nr++] = pc + 4; in metag_next_pcs()
178 newpc[nr++] = pc + imm; in metag_next_pcs()
179 newpc[nr++] = pc + 4; in metag_next_pcs()
195 newpc[nr++] = (reg_val + imm) & -METAG_INSN_SIZE; in metag_next_pcs()
201 newpc[nr++] = pc + imm; in metag_next_pcs()
245 newpc[nr++] = reg_val; in metag_next_pcs()
247 newpc[nr++] = pc + 4; in metag_next_pcs()
264 newpc[nr++] = ptrace(PTRACE_PEEKTEXT, proc->pid, reg_val, 0); in metag_next_pcs()
336 newpc[nr++] = src1 - src2; in metag_next_pcs()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_vbuf.c135 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) in lp_setup_draw_elements() argument
150 for (i = 0; i < nr; i++) { in lp_setup_draw_elements()
157 for (i = 1; i < nr; i += 2) { in lp_setup_draw_elements()
165 for (i = 1; i < nr; i ++) { in lp_setup_draw_elements()
173 for (i = 1; i < nr; i ++) { in lp_setup_draw_elements()
178 if (nr) { in lp_setup_draw_elements()
180 get_vert(vertex_buffer, indices[nr-1], stride), in lp_setup_draw_elements()
186 for (i = 2; i < nr; i += 3) { in lp_setup_draw_elements()
196 for (i = 2; i < nr; i += 1) { in lp_setup_draw_elements()
206 for (i = 2; i < nr; i += 1) { in lp_setup_draw_elements()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_prim_vbuf.c160 sp_vbuf_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) in sp_vbuf_draw_elements() argument
172 for (i = 0; i < nr; i++) { in sp_vbuf_draw_elements()
179 for (i = 1; i < nr; i += 2) { in sp_vbuf_draw_elements()
187 for (i = 1; i < nr; i ++) { in sp_vbuf_draw_elements()
195 for (i = 1; i < nr; i ++) { in sp_vbuf_draw_elements()
200 if (nr) { in sp_vbuf_draw_elements()
202 get_vert(vertex_buffer, indices[nr-1], stride), in sp_vbuf_draw_elements()
208 for (i = 2; i < nr; i += 3) { in sp_vbuf_draw_elements()
218 for (i = 2; i < nr; i += 1) { in sp_vbuf_draw_elements()
228 for (i = 2; i < nr; i += 1) { in sp_vbuf_draw_elements()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_push.c69 unsigned size, nr; in emit_vertices_i08() local
71 nr = push; in emit_vertices_i08()
73 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08()
75 size = ctx->vertex_words * nr; in emit_vertices_i08()
79 ctx->translate->run_elts8(ctx->translate, elts, nr, ctx->instance_id, in emit_vertices_i08()
83 count -= nr; in emit_vertices_i08()
84 elts += nr; in emit_vertices_i08()
86 if (nr != push) { in emit_vertices_i08()
102 unsigned size, nr; in emit_vertices_i16() local
104 nr = push; in emit_vertices_i16()
[all …]
/external/strace/tests/
Dseccomp.c29 #define SOCK_FILTER_ALLOW_SYSCALL(nr) \ argument
30 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \
33 #define SOCK_FILTER_DENY_SYSCALL(nr, err) \ argument
34 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \
40 #define PRINT_ALLOW_SYSCALL(nr) \ argument
43 __NR_ ## nr)
45 #define PRINT_DENY_SYSCALL(nr, err) \ argument
48 __NR_ ## nr, err)
52 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, offsetof(struct seccomp_data, nr)),
82 (unsigned) offsetof(struct seccomp_data, nr)); in main()
/external/blktrace/
Dverify_blkparse.c13 int major, minor, cpu, nr, alias; in main() local
18 for (nr = 0; nr < MAX_CPUS; nr++) in main()
19 last_seq[nr] = -1; in main()
33 alias = nr = 0; in main()
42 nr++; in main()
62 fprintf(stdout, "Events %Lu: %d unordered, %d aliases\n", total_entries, nr, alias); in main()
65 return nr != 0; in main()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_maos_arrays.c54 #define COPY_DWORDS( dst, src, nr ) \ argument
59 : "0" (nr), \
64 #define COPY_DWORDS( dst, src, nr ) \ argument
67 for ( j = 0 ; j < nr ; j++ ) \
69 dst += nr; \
80 GLuint nr = 0; in r200EmitArrays() local
120 &(rmesa->radeon.tcl.aos[nr]), in r200EmitArrays()
127 &(rmesa->radeon.tcl.aos[nr]), in r200EmitArrays()
176 if (!rmesa->radeon.tcl.aos[nr].bo) { in r200EmitArrays()
178 &(rmesa->radeon.tcl.aos[nr]), in r200EmitArrays()
[all …]
/external/valgrind/include/vki/
Dvki-ppc64-linux.h583 #define _VKI_IOC(dir,type,nr,size) \ argument
586 ((nr) << _VKI_IOC_NRSHIFT) | \
590 #define _VKI_IO(type,nr) _VKI_IOC(_VKI_IOC_NONE,(type),(nr),0) argument
591 #define _VKI_IOR(type,nr,size) _VKI_IOC(_VKI_IOC_READ,(type),(nr), \ argument
593 #define _VKI_IOW(type,nr,size) _VKI_IOC(_VKI_IOC_WRITE,(type),(nr), \ argument
595 #define _VKI_IOWR(type,nr,size) _VKI_IOC(_VKI_IOC_READ|_VKI_IOC_WRITE, \ argument
596 (type),(nr),(_VKI_IOC_TYPECHECK(size)))
597 #define _VKI_IOR_BAD(type,nr,size) _VKI_IOC(_VKI_IOC_READ,(type),(nr), \ argument
599 #define _VKI_IOW_BAD(type,nr,size) _VKI_IOC(_VKI_IOC_WRITE,(type),(nr), \ argument
601 #define _VKI_IOWR_BAD(type,nr,size) _VKI_IOC(_VKI_IOC_READ|_VKI_IOC_WRITE, \ argument
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_ioctl.h135 #define AOS_BUFSZ(nr) ((3 + ((nr / 2) * 3) + ((nr & 1) * 2))+nr*2) argument
137 #define ELTS_BUFSZ(nr) (24 + nr * 2) argument
140 #define AOS_BUFSZ(nr) ((3 + ((nr / 2) * 3) + ((nr & 1) * 2) + nr*2)) argument
142 #define ELTS_BUFSZ(nr) (16 + nr * 2) argument
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_push.c127 unsigned size, nr; in emit_vertices_i08() local
129 nr = push; in emit_vertices_i08()
131 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08()
133 if (unlikely(ctx->edgeflag.buffer >= 0) && likely(nr)) in emit_vertices_i08()
136 size = ctx->vertex_words * nr; in emit_vertices_i08()
140 ctx->translate->run_elts8(ctx->translate, elts, nr, ctx->instance_id, in emit_vertices_i08()
147 count -= nr; in emit_vertices_i08()
148 elts += nr; in emit_vertices_i08()
150 if (nr != push) { in emit_vertices_i08()
168 unsigned size, nr; in emit_vertices_i16() local
[all …]
Dnvc0_transfer.c191 unsigned nr; in nvc0_m2mf_push_linear() local
195 nr = PUSH_AVAIL(push); in nvc0_m2mf_push_linear()
196 assert(nr >= 16); in nvc0_m2mf_push_linear()
197 nr = MIN2(count, nr - 9); in nvc0_m2mf_push_linear()
198 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN); in nvc0_m2mf_push_linear()
204 PUSH_DATA (push, nr * 4); in nvc0_m2mf_push_linear()
210 BEGIN_NIC0(push, NVC0_M2MF(DATA), nr); in nvc0_m2mf_push_linear()
211 PUSH_DATAp(push, src, nr); in nvc0_m2mf_push_linear()
213 count -= nr; in nvc0_m2mf_push_linear()
214 src += nr; in nvc0_m2mf_push_linear()
[all …]
/external/valgrind/none/tests/s390x/
Dand.stdout.exp25 nr + 0000000000000000 & 0000000000000000 = 0000000000000000 (cc=0)
26 nr + 0000000000000001 & 0000000000000000 = 0000000000000000 (cc=0)
27 nr + 000000000000FFFF & 0000000000000000 = 0000000000000000 (cc=0)
28 nr + 0000000000007FFF & 0000000000000000 = 0000000000000000 (cc=0)
29 nr + 0000000000008000 & 0000000000000000 = 0000000000000000 (cc=0)
30 nr + 00000000FFFFFFFF & 0000000000000000 = 0000000000000000 (cc=0)
31 nr + 0000000080000000 & 0000000000000000 = 0000000000000000 (cc=0)
32 nr + 000000007FFFFFFF & 0000000000000000 = 0000000000000000 (cc=0)
33 nr + AAAAAAAAAAAAAAAA & 0000000000000000 = AAAAAAAA00000000 (cc=0)
34 nr + 8000000000000000 & 0000000000000000 = 8000000000000000 (cc=0)
[all …]
/external/eigen/bench/
DbenchmarkSlice.cpp26 int r, c, nr, nc; in main() local
29 nr = Eigen::internal::random<int>(50,80); in main()
31 m.block(r,c,nr,nc) += Mat::Ones(nr,nc); in main()
32 m.block(r,c,nr,nc) *= SCALAR(10); in main()
33 m.block(r,c,nr,nc) -= Mat::constant(nr,nc,10); in main()
34 m.block(r,c,nr,nc) /= SCALAR(10); in main()

12345678910>>...18