/external/fio/ |
H A D | io_u_queue.c | 4 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;
|
H A D | io_u_queue.h | 10 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);
|
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | thread_map.h | 8 int nr; member in struct:thread_map 26 return threads ? threads->nr : 1;
|
H A D | bitmap.c | 27 int nr = BITS_TO_LONGS(bits); local 29 for (k = 0; k < nr; k++)
|
H A D | cpumap.h | 8 int nr; member in struct:cpu_map 24 if (!sock || s > sock->nr || s < 0) 41 return map ? map->nr : 1;
|
/external/eigen/bench/ |
H A D | benchmarkSlice.cpp | 26 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/eigen/test/ |
H A D | corners.cpp | 34 Index nr = internal::random<Index>(1,rows-sr); local 39 COMPARE_CORNER(middleRows(sr,nr), block(sr,0,nr,cols));
|
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv40_verttex.c | 52 unsigned nr, void **hwcso) 57 for (i = 0; i < nr; i++) { 67 nv30->vertprog.num_samplers = nr; 73 nv40_verttex_set_sampler_views(struct pipe_context *pipe, unsigned nr, argument 79 for (i = 0; i < nr; i++) { 91 nv30->vertprog.num_textures = nr; 51 nv40_verttex_sampler_states_bind(struct pipe_context *pipe, unsigned nr, void **hwcso) argument
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_maos_arrays.c | 54 #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/strace/maint/ |
H A D | print_ioctlent.c | 54 u16 dir, u16 type, u16 nr, u16 size) 58 ((unsigned) nr << _IOC_NRSHIFT); 68 if (nr & ~_IOC_NRMASK) 70 "print_ioctlents: WARNING: nr 0x%02x is out of mask 0x%02x in %s\n", 71 nr, _IOC_NRMASK, name); 53 print_ioctlent(const char *info, const char *name, u16 dir, u16 type, u16 nr, u16 size) argument
|
/external/blktrace/ |
H A D | verify_blkparse.c | 13 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/fio/t/ |
H A D | stest.c | 24 unsigned int size, nr, rounds = 0; local 32 nr = total = 0; 44 nr++; 47 printf("Got items: %u\n", nr);
|
/external/kernel-headers/original/uapi/linux/ |
H A D | seccomp.h | 40 * @nr: the system call number 48 int nr; member in struct:seccomp_data
|
/external/mesa3d/src/gallium/auxiliary/indices/ |
H A D | u_indices.c | 29 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/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_quad_fs.c | 109 unsigned nr) 121 for (i = 0; i < nr; i++) { 107 shade_quads(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument
|
H A D | sp_quad_stipple.c | 17 stipple_quad(struct quad_stage *qs, struct quad_header *quads[], unsigned nr) argument 21 unsigned pass = nr; 28 for (q = 0; q < nr; q++) {
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_maos_arrays.c | 148 GLuint nr = 0; local 161 &(rmesa->tcl.aos[nr]), 174 nr++; 181 &(rmesa->tcl.aos[nr]), 188 nr++; 207 &(rmesa->tcl.aos[nr]), 213 nr++; 221 &(rmesa->tcl.aos[nr]), 229 nr++; 238 &(rmesa->tcl.aos[nr]), [all...] |
/external/strace/ |
H A D | ioctl.c | 89 unsigned int nr = _IOC_NR(arg); local 92 if (nr >= 0xc0 && nr <= 0xc0 + 0x3f) { 94 printxval(evdev_abs, nr - 0xc0, "EV_???"); 103 if (nr >= 0x20 && nr <= 0x20 + 0x1f) { 105 printxval(evdev_ev, nr - 0x20, "EV_???"); 108 } else if (nr >= 0x40 && nr <= 0x40 + 0x3f) { 110 printxval(evdev_abs, nr [all...] |
/external/valgrind/memcheck/tests/x86-linux/ |
H A D | scalar.c | 1099 unsigned nr; /* number of io_events */ member in struct:fake_aio_ring 1100 // There are more fields in the real aio_ring, but the 'nr' field is
|
/external/aac/libAACenc/src/ |
H A D | transform.cpp | 120 nr: right window slope offset 122 int tl, fl, nl, fr, nr; local 165 nr = (tl - fr)>>1; 192 for(i=0; i<nr; i++) 204 tmp1 = fMultDiv2((FIXP_PCM)timeData[tl+nr+i], pRightWindowPart[i].v.re); 205 mdctData[(tl/2)-nr-i-1] = -fMultAddDiv2(tmp1, (FIXP_PCM)timeData[(tl*2)-nr-i-1], pRightWindowPart[i].v.im);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | bitops.c | 33 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/libnfc-nxp/Linux_x86/ |
H A D | phOsalNfc.c | 190 uint8_t nr = llc_header & 0x07; local 191 snprintf(&llc[0], sizeof(llc), "I %d (%d)", ns, nr); 195 uint8_t nr = llc_header & 0x07; local 204 snprintf(&llc[0], sizeof(llc), "S %s (%d)", type, nr);
|
/external/linux-tools-perf/src/tools/perf/tests/ |
H A D | builtin-test.c | 132 long nr = strtoul(argv[i], &end, 10); local 135 if (nr == curr + 1)
|
/external/linux-tools-perf/src/tools/perf/util/include/linux/ |
H A D | bitops.h | 14 #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 D | draw_pt_fetch.c | 67 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...] |