Searched refs:nr (Results 1 - 25 of 312) sorted by relevance

1234567891011>>

/external/kernel-headers/original/uapi/asm-generic/
H A Dioctl.h65 #define _IOC(dir,type,nr,size) \
68 ((nr) << _IOC_NRSHIFT) | \
76 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
77 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
78 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
79 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHEC
[all...]
/external/mesa3d/src/mesa/main/
H A Denums.h43 extern const char *_mesa_lookup_enum_by_nr( int nr );
48 const char *_mesa_lookup_prim_by_nr( unsigned nr );
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_prim.h40 static INLINE boolean u_validate_pipe_prim( unsigned pipe_prim, unsigned nr )
46 ok = (nr >= 1);
49 ok = (nr >= 2);
53 ok = (nr >= 2);
56 ok = (nr >= 3);
61 ok = (nr >= 3);
64 ok = (nr >= 4);
67 ok = (nr >= 4);
78 static INLINE boolean u_trim_pipe_prim( unsigned pipe_prim, unsigned *nr )
99 *nr
[all...]
/external/mesa3d/src/gallium/auxiliary/indices/
H A Du_unfilled_indices.c30 unsigned nr,
36 for (i = 0; i < nr; i++)
41 unsigned nr,
44 memcpy(out, in, nr*sizeof(short));
48 unsigned nr,
51 memcpy(out, in, nr*sizeof(int));
55 static void generate_linear_ushort( unsigned nr, argument
60 for (i = 0; i < nr; i++)
64 static void generate_linear_uint( unsigned nr, argument
69 for (i = 0; i < nr;
29 translate_ubyte_ushort( const void *in, unsigned nr, void *out ) argument
40 translate_memcpy_ushort( const void *in, unsigned nr, void *out ) argument
47 translate_memcpy_uint( const void *in, unsigned nr, void *out ) argument
103 u_unfilled_translator( unsigned prim, unsigned in_index_size, unsigned nr, unsigned unfilled_mode, unsigned *out_prim, unsigned *out_index_size, unsigned *out_nr, u_translate_func *out_translate ) argument
155 u_unfilled_generator( unsigned prim, unsigned start, unsigned nr, unsigned unfilled_mode, unsigned *out_prim, unsigned *out_index_size, unsigned *out_nr, u_generate_func *out_generate ) argument
[all...]
H A Du_indices.h35 unsigned nr,
38 typedef void (*u_generate_func)( unsigned nr,
58 unsigned nr,
74 unsigned nr,
87 unsigned nr,
96 unsigned nr,
H A Du_indices.c29 unsigned nr,
32 memcpy(out, in, nr*sizeof(short));
36 unsigned nr,
39 memcpy(out, in, nr*sizeof(int));
46 unsigned nr,
74 *out_nr = nr;
83 *out_nr = nr;
89 *out_nr = nr;
95 *out_nr = (nr - 1) * 2;
101 *out_nr = nr *
28 translate_memcpy_ushort( const void *in, unsigned nr, void *out ) argument
35 translate_memcpy_uint( const void *in, unsigned nr, void *out ) argument
43 u_index_translator( unsigned hw_mask, unsigned prim, unsigned in_index_size, unsigned nr, unsigned in_pv, unsigned out_pv, unsigned *out_prim, unsigned *out_index_size, unsigned *out_nr, u_translate_func *out_translate ) argument
156 u_index_generator( unsigned hw_mask, unsigned prim, unsigned start, unsigned nr, unsigned in_pv, unsigned out_pv, unsigned *out_prim, unsigned *out_index_size, unsigned *out_nr, u_generate_func *out_generate ) argument
[all...]
/external/tcpdump/
H A Dprint-cnfp.c85 register const struct nfrec *nr; local
115 nr = (const struct nfrec *)&nh[1];
118 nr = (const struct nfrec *)&nh->sequence;
124 for (; nrecs-- && (const u_char *)(nr + 1) <= snapend; nr++) {
129 EXTRACT_32BITS(&nr->start_time)/1000,
130 EXTRACT_32BITS(&nr->start_time)%1000,
131 EXTRACT_32BITS(&nr->last_time)/1000,
132 EXTRACT_32BITS(&nr->last_time)%1000);
137 (EXTRACT_32BITS(&nr
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dbitops.c33 int ext2fs_set_bit(unsigned int nr,void * addr) argument
38 ADDR += nr >> 3;
39 mask = 1 << (nr & 0x07);
45 int ext2fs_clear_bit(unsigned int nr, void * addr) argument
50 ADDR += nr >> 3;
51 mask = 1 << (nr & 0x07);
57 int ext2fs_test_bit(unsigned int nr, const void * addr) argument
62 ADDR += nr >> 3;
63 mask = 1 << (nr & 0x07);
84 int ext2fs_set_bit64(__u64 nr, voi argument
96 ext2fs_clear_bit64(__u64 nr, void * addr) argument
108 ext2fs_test_bit64(__u64 nr, const void * addr) argument
[all...]
/external/blktrace/
H A Dverify_blkparse.c13 int major, minor, cpu, nr, alias; local
18 for (nr = 0; nr < MAX_CPUS; nr++)
19 last_seq[nr] = -1;
33 alias = nr = 0;
42 nr++;
62 fprintf(stdout, "Events %Lu: %d unordered, %d aliases\n", total_entries, nr, alias);
65 return nr != 0;
/external/mesa3d/src/mesa/tnl_dd/
H A Dt_dd_dmatmp.h48 #define ALLOC_ELTS(nr) 0
51 #define INCR_ELTS( nr )
76 static void *TAG(emit_elts)( struct gl_context *ctx, GLuint *elts, GLuint nr, argument
83 for ( i = 0 ; i+1 < nr ; i+=2, elts += 2 ) {
88 if (i < nr) {
116 GLuint j, nr; local
124 for (j = start; j < count; j += nr ) {
125 nr = MIN2( currentsz, count - j );
126 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
145 GLuint j, nr; local
181 GLuint j, nr; local
213 GLuint j, nr; local
278 GLuint j, nr; local
308 GLuint j, nr; local
346 GLuint j, nr; local
386 GLuint j, nr; local
422 GLuint j, nr; local
426 GLuint j, nr; local
455 GLuint j, nr; local
552 GLuint j, nr; local
579 GLuint j, nr; local
693 GLuint j, nr; local
725 GLuint j, nr; local
762 GLuint j, nr; local
796 GLuint j, nr; local
867 GLuint j, nr; local
899 GLuint j, nr; local
938 GLuint j, nr; local
976 GLuint j, nr; local
1018 GLuint j, nr; local
1084 GLuint j, nr; local
1107 GLuint j, nr; local
[all...]
H A Dt_dd_dmatmp2.h75 GLuint *elts, GLuint nr )
80 for ( i = 0 ; i+1 < nr ; i+=2, elts += 2 ) {
84 if (i < nr) {
94 GLuint start, GLuint nr )
99 for ( i = 0 ; i+1 < nr ; i+=2, start += 2 ) {
103 if (i < nr) {
171 GLuint j, nr; local
180 for (j = start; j + 1 < count; j += nr - 1 ) {
184 nr = MIN2( dmasz, count - j );
185 dest = ALLOC_ELTS( (nr
206 GLuint j, nr; local
325 GLuint j, nr; local
369 GLuint j, nr; local
431 GLuint j, nr; local
484 GLuint j, nr; local
550 GLuint j, nr; local
574 GLuint j, nr; local
613 GLuint j, nr; local
642 GLuint j, nr; local
694 GLuint j, nr; local
725 GLuint j, nr; local
756 GLuint j, nr; local
783 GLuint j, nr; local
816 GLuint j, nr; local
877 GLuint j, nr; local
[all...]
/external/eigen/bench/
H A DbenchmarkSlice.cpp26 int r, c, nr, nc; local
29 nr = Eigen::internal::random<int>(50,80);
31 m.block(r,c,nr,nc) += Mat::Ones(nr,nc);
32 m.block(r,c,nr,nc) *= SCALAR(10);
33 m.block(r,c,nr,nc) -= Mat::constant(nr,nc,10);
34 m.block(r,c,nr,nc) /= SCALAR(10);
/external/fio/
H A Dio_u_queue.h10 unsigned int nr; member in struct:io_u_queue
15 if (q->nr) {
16 const unsigned int next = --q->nr;
28 q->io_us[q->nr++] = io_u;
33 return !q->nr;
37 for (i = 0; i < (q)->nr && (io_u = (q)->io_us[i]); i++)
39 int io_u_qinit(struct io_u_queue *q, unsigned int nr);
49 int io_u_rinit(struct io_u_ring *ring, unsigned int nr);
H A Dio_u_queue.c4 int io_u_qinit(struct io_u_queue *q, unsigned int nr) argument
6 q->io_us = calloc(nr, sizeof(struct io_u *));
10 q->nr = 0;
19 int io_u_rinit(struct io_u_ring *ring, unsigned int nr) argument
21 ring->max = nr + 1;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscall_linux_x86_64.inc16 static uptr internal_syscall(u64 nr) {
18 asm volatile("syscall" : "=a"(retval) : "a"(nr) : "rcx", "r11",
24 static uptr internal_syscall(u64 nr, T1 arg1) {
26 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) :
32 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) {
34 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
40 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) {
42 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
48 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4) {
51 "syscall" : "=a"(retval) : "a"(nr), "
[all...]
/external/strace/tests/
H A Dseccomp.c29 #define SOCK_FILTER_ALLOW_SYSCALL(nr) \
30 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \
33 #define SOCK_FILTER_DENY_SYSCALL(nr, err) \
34 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \
40 #define PRINT_ALLOW_SYSCALL(nr) \
43 __NR_ ## nr)
45 #define PRINT_DENY_SYSCALL(nr, err) \
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));
[all...]
/external/linux-tools-perf/src/tools/perf/util/include/linux/
H A Dbitops.h14 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
15 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64))
16 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32))
17 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE)
30 static inline void set_bit(int nr, unsigned long *addr) argument
32 addr[nr / BITS_PER_LON
35 clear_bit(int nr, unsigned long *addr) argument
40 test_bit(unsigned int nr, const unsigned long *addr) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt_fetch.c67 unsigned i, nr = 0, ei = 0; local
91 key.element[nr].type = TRANSLATE_ELEMENT_INSTANCE_ID;
92 key.element[nr].input_format = PIPE_FORMAT_R32_USCALED;
93 key.element[nr].output_format = PIPE_FORMAT_R32_USCALED;
94 key.element[nr].output_offset = dst_offset;
98 key.element[nr].type = TRANSLATE_ELEMENT_NORMAL;
99 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format;
100 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index;
101 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset;
102 key.element[nr]
[all...]
H A Ddraw_pipe_util.c69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr )
74 stage->nr_tmps = nr;
76 if (nr != 0)
79 ubyte *store = (ubyte *) MALLOC( MAX_VERTEX_SIZE * nr );
84 stage->tmp = (struct vertex_header **) MALLOC( sizeof(struct vertex_header *) * nr );
90 for (i = 0; i < nr; i++)
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dtrace.c152 int nr = 0; local
167 newpc[nr++] = pc + 8;
168 newpc[nr++] = pc + 4 +
172 newpc[nr++] = pc + 4;
177 newpc[nr++] = pc + 8;
178 newpc[nr++] = pc + mips32_relative_offset(inst) + 4;
180 newpc[nr++] = pc + 4;
195 newpc[nr++] = rx;
199 newpc[nr++] = pc + 4;
215 newpc[nr
274 int nr; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.h135 #define AOS_BUFSZ(nr) ((3 + ((nr / 2) * 3) + ((nr & 1) * 2))+nr*2)
137 #define ELTS_BUFSZ(nr) (24 + nr * 2)
140 #define AOS_BUFSZ(nr) ((3 + ((nr / 2) * 3) + ((nr & 1) * 2) + nr*
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state_inlines.h214 static INLINE boolean i915_validate_vertices( unsigned hw_prim, unsigned nr )
220 ok = (nr >= 1);
224 ok = (nr >= 2) && (nr % 2) == 0;
228 ok = (nr >= 2);
232 ok = (nr >= 3) && (nr % 3) == 0;
236 ok = (nr >= 3);
240 ok = (nr >= 3);
244 ok = (nr >
[all...]
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_maos_arrays.c54 #define COPY_DWORDS( dst, src, nr ) \
59 : "0" (nr), \
64 #define COPY_DWORDS( dst, src, nr ) \
67 for ( j = 0 ; j < nr ; j++ ) \
69 dst += nr; \
80 GLuint nr = 0; local
120 &(rmesa->radeon.tcl.aos[nr]),
127 &(rmesa->radeon.tcl.aos[nr]),
176 if (!rmesa->radeon.tcl.aos[nr].bo) {
178 &(rmesa->radeon.tcl.aos[nr]),
[all...]
/external/elfutils/src/libasm/
H A Dasm_newsubscn.c41 asm_newsubscn (asmscn, nr)
43 unsigned int nr;
57 if (runp->subsection_id == nr)
61 if (runp->subnext == NULL || runp->subnext->subsection_id > nr)
75 newp->subsection_id = nr;
/external/linux-tools-perf/src/tools/perf/util/
H A Dcpumap.h8 int nr; member in struct:cpu_map
24 if (!sock || s > sock->nr || s < 0)
41 return map ? map->nr : 1;

Completed in 2509 milliseconds

1234567891011>>