/external/tcpdump/ |
D | print-cnfp.c | 160 register const struct nfrec_v1 *nr; in cnfp_v1_print() local 186 nr = (const struct nfrec_v1 *)&nh[1]; in cnfp_v1_print() 190 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v1_print() 197 ND_TCHECK(*nr); in cnfp_v1_print() 199 EXTRACT_32BITS(&nr->start_time)/1000, in cnfp_v1_print() 200 EXTRACT_32BITS(&nr->start_time)%1000, in cnfp_v1_print() 201 EXTRACT_32BITS(&nr->last_time)/1000, in cnfp_v1_print() 202 EXTRACT_32BITS(&nr->last_time)%1000)); in cnfp_v1_print() 205 ND_PRINT((ndo, "\n %s%s%s:%u ", intoa(nr->src_ina.s_addr), buf, asbuf, in cnfp_v1_print() 206 EXTRACT_16BITS(&nr->srcport))); in cnfp_v1_print() [all …]
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp.h | 48 #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 …]
|
D | t_dd_dmatmp2.h | 75 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/ |
D | ioctl.h | 65 #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/ |
D | u_unfilled_indices.c | 30 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 …]
|
D | u_indices.c | 29 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/autotest/client/bin/input/ |
D | linux_ioctl.py | 45 def IOC(d, t, nr, size): argument 47 (nr << _IOC_NRSHIFT) | (size << _IOC_SIZESHIFT)) 50 def IO(t, nr, t_format): argument 51 return IOC(IOC_NONE, t, nr, 0) 53 def IOW(t, nr, t_format): argument 54 return IOC(IOC_WRITE, t, nr, sizeof(t_format)) 56 def IOR(t, nr, t_format): argument 57 return IOC(IOC_READ, t, nr, sizeof(t_format)) 59 def IOWR(t, nr, t_format): argument 60 return IOC(IOC_READ|_IOC_WRITE, t, nr, sizeof(t_format)) [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 67 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/e2fsprogs/lib/ext2fs/ |
D | bitops.c | 33 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/ltrace/sysdeps/linux-gnu/mips/ |
D | trace.c | 152 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/strace/tests/ |
D | aio.c | 126 const unsigned int nr = ARRAY_SIZE(cb); in main() local 127 const unsigned long lnr = (unsigned long) (0xdeadbeef00000000ULL | nr); in main() 129 struct io_event ev[nr]; in main() 138 printf("io_setup(%u, [%lu]) = 0\n", nr, ctx); in main() 140 if (syscall(__NR_io_submit, ctx, nr, cbs) != (long) nr) in main() 148 ctx, nr, in main() 153 nr); in main() 155 assert(syscall(__NR_io_getevents, ctx, nr, nr + 1, ev, &ts) == (long) nr); in main() 160 ctx, nr, nr + 1, in main() 165 nr); in main() [all …]
|
D | seccomp.c | 56 #define SOCK_FILTER_ALLOW_SYSCALL(nr) \ argument 57 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \ 60 #define SOCK_FILTER_DENY_SYSCALL(nr, err) \ argument 61 BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ ## nr, 0, 1), \ 67 #define PRINT_ALLOW_SYSCALL(nr) \ argument 70 __NR_ ## nr) 72 #define PRINT_DENY_SYSCALL(nr, err) \ argument 75 __NR_ ## nr, err) 79 BPF_STMT(BPF_LD | BPF_W | BPF_ABS, offsetof(struct seccomp_data, nr)), 109 (unsigned) offsetof(struct seccomp_data, nr)); in main()
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | syscall.h | 49 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7) { in Call() argument 50 return Call(nr, in Call() 69 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6) { in Call() argument 70 return Call(nr, in Call() 83 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) { in Call() argument 84 return Call(nr, in Call() 96 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4) { in Call() argument 97 return Call(nr, p0, p1, p2, p3, p4, 0, 0, 0); in Call() 101 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3) { in Call() argument 102 return Call(nr, p0, p1, p2, p3, 0, 0, 0, 0); in Call() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_prim.h | 40 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/autotest/client/tests/linus_stress/ |
D | linus_stress.c | 14 static void fillmem(void *start, int nr) in fillmem() argument 16 memset(start, nr, CHUNKSIZE); in fillmem() 23 static int order(int nr) in order() argument 26 if (nr < 0 || nr >= NRCHUNKS) in order() 29 if (chunkorder[i] == nr) in order() 34 static void checkmem(void *buf, int nr) in checkmem() argument 37 unsigned char c = nr, *p = buf, differs = 0; in checkmem() 50 printf("Chunk %d corrupted (%u-%u) (%u-%u) \n", nr, start, end, in checkmem() 53 printf("Written as (%d)%d(%d)\n", order(nr-1), order(nr), order(nr+1)); in checkmem() 84 int nr = chunkorder[index]; in main() local [all …]
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_push.c | 92 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/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_prim_vbuf.c | 160 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/llvmpipe/ |
D | lp_setup_vbuf.c | 135 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/ltrace/sysdeps/linux-gnu/metag/ |
D | trace.c | 162 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/nv50/ |
D | nv50_push.c | 69 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/libchrome/sandbox/linux/bpf_dsl/ |
D | seccomp_macros.h | 42 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr)) 48 #define SECCOMP_ARG_MSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ argument 49 8*(nr) + 4) 50 #define SECCOMP_ARG_LSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ argument 51 8*(nr) + 0) 104 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr)) 110 #define SECCOMP_ARG_MSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ argument 111 8*(nr) + 4) 112 #define SECCOMP_ARG_LSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ argument 113 8*(nr) + 0) [all …]
|
/external/blktrace/ |
D | verify_blkparse.c | 13 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/valgrind/include/vki/ |
D | vki-ppc64-linux.h | 583 #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/r200/ |
D | r200_maos_arrays.c | 54 #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/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_push.c | 127 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 …]
|