/external/emma/core/java12/com/vladium/util/ |
D | ByteArrayOStream.java | 53 byte [] mbuf = m_buf; in write2() 54 final int mbuflen = mbuf.length; in write2() 61 for (int i = 0; i < pos; ++ i) newbuf [i] = mbuf [i]; in write2() 63 System.arraycopy (mbuf, 0, newbuf, 0, pos); in write2() 65 m_buf = mbuf = newbuf; in write2() 68 mbuf [pos] = (byte) b1; in write2() 69 mbuf [pos + 1] = (byte) b2; in write2() 77 byte [] mbuf = m_buf; in write3() 78 final int mbuflen = mbuf.length; in write3() 85 for (int i = 0; i < pos; ++ i) newbuf [i] = mbuf [i]; in write3() [all …]
|
D | ByteArrayIStream.java | 67 final byte [] mbuf = m_buf; in read() 70 for (int i = 0; i < length; ++ i) buf [offset + i] = mbuf [pos + i]; in read() 72 System.arraycopy (mbuf, pos, buf, offset, length); in read()
|
/external/usrsctp/usrsctplib/ |
D | user_mbuf.h | 54 struct mbuf * m_gethdr(int how, short type); 55 struct mbuf * m_get(int how, short type); 56 struct mbuf * m_free(struct mbuf *m); 57 void m_clget(struct mbuf *m, int how); 58 struct mbuf * m_getm2(struct mbuf *m, int len, int how, short type, int flags, int allonebuf); 59 struct mbuf *m_uiotombuf(struct uio *uio, int how, int len, int align, int flags); 60 u_int m_length(struct mbuf *m0, struct mbuf **last); 61 struct mbuf *m_last(struct mbuf *m); 97 #define dtom(x) ((struct mbuf *)((intptr_t)(x) & ~(MSIZE-1))) 105 struct mbuf * parent_mbuf; [all …]
|
D | user_mbuf.c | 81 static int mbuf_constructor_dup(struct mbuf *m, int pkthdr, short type) in mbuf_constructor_dup() 109 struct mbuf * 112 struct mbuf *mret; in m_get() 125 mret = SCTP_ZONE_GET(zone_mbuf, struct mbuf); in m_get() 151 struct mbuf * 154 struct mbuf *mret; in m_gethdr() 165 mret = SCTP_ZONE_GET(zone_mbuf, struct mbuf); in m_gethdr() 188 struct mbuf * 189 m_free(struct mbuf *m) in m_free() 192 struct mbuf *n = m->m_next; in m_free() [all …]
|
D | user_socketvar.h | 180 struct mbuf *sb_mb; /* (c/d) the mbuf chain */ 181 struct mbuf *sb_mbtail; /* (c/d) the last mbuf in the chain */ 182 struct mbuf *sb_lastrecord; /* (c/d) first mbuf of last 184 struct mbuf *sb_sndptr; /* (c/d) pointer into mbuf chain */ 572 struct mbuf; 584 int sockargs(struct mbuf **mp, caddr_t buf, int buflen, int type); 586 void sbappend(struct sockbuf *sb, struct mbuf *m); 587 void sbappend_locked(struct sockbuf *sb, struct mbuf *m); 588 void sbappendstream(struct sockbuf *sb, struct mbuf *m); 589 void sbappendstream_locked(struct sockbuf *sb, struct mbuf *m); [all …]
|
/external/llvm/test/Transforms/GVN/ |
D | 2009-06-17-InvalidPRE.ll | 4 ; ModuleID = 'mbuf.c' 7 %struct.mbuf = type { %struct.mbuf*, %struct.mbuf*, i32, i8*, i16, i16, i32 } 9 define void @m_adj(%struct.mbuf* %mp, i32 %req_len) nounwind optsize { 11 %0 = icmp eq %struct.mbuf* %mp, null ; <i1> [#uses=1] 21 %3 = getelementptr %struct.mbuf, %struct.mbuf* %m.0.ph, i32 0, i32 2 ; <i32*> [#uses=1] 23 …%4 = getelementptr %struct.mbuf, %struct.mbuf* %m.0.ph, i32 0, i32 0 ; <%struct.mbuf**> [#uses=… 24 %5 = load %struct.mbuf*, %struct.mbuf** %4, align 4 ; <%struct.mbuf*> [#uses=1] 28 %m.0.ph = phi %struct.mbuf* [ %5, %bb2 ], [ %mp, %bb4.preheader ] ; <%struct.mbuf*> [#uses=7] 30 %6 = icmp ne %struct.mbuf* %m.0.ph, null ; <i1> [#uses=1] 31 %7 = getelementptr %struct.mbuf, %struct.mbuf* %m.0.ph, i32 0, i32 2 ; <i32*> [#uses=1] [all …]
|
/external/llvm-project/llvm/test/Transforms/GVN/PRE/ |
D | 2009-06-17-InvalidPRE.ll | 5 ; ModuleID = 'mbuf.c' 8 %struct.mbuf = type { %struct.mbuf*, %struct.mbuf*, i32, i8*, i16, i16, i32 } 10 define void @m_adj(%struct.mbuf* %mp, i32 %req_len) nounwind optsize { 12 %0 = icmp eq %struct.mbuf* %mp, null ; <i1> [#uses=1] 22 %3 = getelementptr %struct.mbuf, %struct.mbuf* %m.0.ph, i32 0, i32 2 ; <i32*> [#uses=1] 24 …%4 = getelementptr %struct.mbuf, %struct.mbuf* %m.0.ph, i32 0, i32 0 ; <%struct.mbuf**> [#uses=… 25 %5 = load %struct.mbuf*, %struct.mbuf** %4, align 4 ; <%struct.mbuf*> [#uses=1] 29 %m.0.ph = phi %struct.mbuf* [ %5, %bb2 ], [ %mp, %bb4.preheader ] ; <%struct.mbuf*> [#uses=7] 31 %6 = icmp ne %struct.mbuf* %m.0.ph, null ; <i1> [#uses=1] 32 %7 = getelementptr %struct.mbuf, %struct.mbuf* %m.0.ph, i32 0, i32 2 ; <i32*> [#uses=1] [all …]
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_output.h | 48 struct mbuf * 52 struct mbuf *m_at, 89 struct sctp_nets *, struct mbuf *, 98 struct mbuf * 99 sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *, 101 void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *); 104 sctp_send_cookie_echo(struct mbuf *, int, int, struct sctp_tcb *, 110 sctp_send_heartbeat_ack(struct sctp_tcb *, struct mbuf *, int, int, 153 sctp_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *, 154 struct mbuf *, struct thread *, int); [all …]
|
D | sctputil.h | 53 struct mbuf *sctp_m_free(struct mbuf *m); 54 void sctp_m_freem(struct mbuf *m); 151 uint32_t sctp_calculate_len(struct mbuf *); 153 caddr_t sctp_m_getptr(struct mbuf *, int, int, uint8_t *); 156 sctp_get_next_param(struct mbuf *, int, 159 struct mbuf * 160 sctp_add_pad_tombuf(struct mbuf *, int); 162 struct mbuf * 163 sctp_pad_lastmbuf(struct mbuf *, int, struct mbuf *); 199 sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *, struct mbuf *, [all …]
|
D | sctp_auth.h | 179 struct mbuf *m, uint32_t m_offset, uint8_t *digest, uint32_t trailer); 181 struct mbuf *m, uint32_t m_offset, uint8_t *digest); 195 extern void sctp_auth_get_cookie_params(struct sctp_tcb *stcb, struct mbuf *m, 197 extern void sctp_fill_hmac_digest_m(struct mbuf *m, uint32_t auth_offset, 199 extern struct mbuf *sctp_add_auth_chunk(struct mbuf *m, struct mbuf **m_end, 203 struct mbuf *m, uint32_t offset); 206 extern int sctp_validate_init_auth_params(struct mbuf *m, int offset,
|
D | sctp_asconf.h | 50 extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *, int *, int); 53 sctp_handle_asconf(struct mbuf *, unsigned int, struct sockaddr *, 57 sctp_handle_asconf_ack(struct mbuf *, int, struct sctp_asconf_ack_chunk *, 78 sctp_check_address_list(struct sctp_tcb *, struct mbuf *, int, int,
|
D | sctp_indata.h | 51 struct mbuf *dm); 81 struct mbuf * 95 sctp_handle_sack(struct mbuf *m, int offset_seg, int offset_dup, 104 struct sctp_forward_tsn_chunk *, int *, struct mbuf *, int); 115 sctp_process_data(struct mbuf **, int, int *, int,
|
D | sctp_crc32.h | 44 uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t); 47 void sctp_delayed_cksum(struct mbuf *, uint32_t offset); 54 uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
|
D | sctp_var.h | 312 struct mbuf *_m; \ 410 void sctp_input_with_port __P((struct mbuf *, int, uint16_t)); 411 void sctp_input __P((struct mbuf *, int)); 422 void sctp_input_with_port(struct mbuf *, int, uint16_t); 424 int sctp_input(struct mbuf **, int *, int); 426 void sctp_input(struct mbuf *, int); 437 void sctp_input(struct mbuf *,...); 440 int sctp_ctloutput(int, struct socket *, int, int, struct mbuf **); 480 int sctp_ingetaddr(struct socket *, struct mbuf *); 487 int sctp_peeraddr(struct socket *, struct mbuf *); [all …]
|
D | sctp_structs.h | 123 struct mbuf *m; 174 struct mbuf *m; 489 struct mbuf *data; /* pointer to mbuf chain of data */ 490 struct mbuf *last_mbuf; /* pointer to last mbuf in chain */ 526 struct mbuf *data; /* front of the mbuf chain of data with 528 struct mbuf *tail_mbuf; /* used for multi-part data */ 529 struct mbuf *aux_data; /* used to hold/cache control if o/s does not take it from us */ 569 struct mbuf *data; 570 struct mbuf *tail_mbuf; 822 struct mbuf *data; [all …]
|
D | sctp_pcb.h | 521 struct mbuf *pkt, *pkt_last; 522 struct mbuf *control; 771 sctp_findassociation_addr(struct mbuf *, int, 803 sctp_findassociation_ep_asconf(struct mbuf *, int, struct sockaddr *, 864 sctp_load_addresses_from_init(struct sctp_tcb *, struct mbuf *, int, int, 897 sctp_queue_to_mcore(struct mbuf *m, int off, int cpu_to_use);
|
/external/usrsctp/usrsctplib/netinet6/ |
D | sctp6_var.h | 56 int sctp6_usrreq(struct socket *, int, struct mbuf *, struct mbuf *, struct mbuf *); 60 int sctp6_input(struct mbuf **, int *); 61 int sctp6_input_with_port(struct mbuf **, int *, uint16_t); 65 int sctp6_input __P((struct mbuf **, int *, int)); 66 int sctp6_input_with_port __P((struct mbuf **, int *, uint16_t)); 68 int sctp6_input(struct mbuf **, int *, int); 69 int sctp6_input_with_port(struct mbuf **, int *, uint16_t); 73 __P((struct sctp_inpcb *, struct mbuf *, struct sockaddr *, 74 struct mbuf *, struct proc *)); 77 int sctp6_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *, [all …]
|
D | sctp6_usrreq.c | 134 sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) 138 sctp6_input(struct mbuf **i_pak, int *offp, int proto) 141 struct mbuf *m; 325 sctp6_input(struct mbuf **i_pak, int *offp) 333 sctp6_input(struct mbuf **i_pak, int *offp, int proto SCTP_UNUSED) 847 sctp6_bind(struct socket *so, struct mbuf *nam, struct proc *p) 1026 sctp_sendm(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, 1027 struct mbuf *control, struct thread *p); 1030 sctp_sendm(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, 1031 struct mbuf *control, struct proc *p); [all …]
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 70 #define CHECK_MBUF_RELEASED(mbuf) \ argument 71 if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \ 81 _PyManagedBufferObject *mbuf; in mbuf_alloc() local 83 mbuf = (_PyManagedBufferObject *) in mbuf_alloc() 85 if (mbuf == NULL) in mbuf_alloc() 87 mbuf->flags = 0; in mbuf_alloc() 88 mbuf->exports = 0; in mbuf_alloc() 89 mbuf->master.obj = NULL; in mbuf_alloc() 90 _PyObject_GC_TRACK(mbuf); in mbuf_alloc() 92 return mbuf; in mbuf_alloc() [all …]
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv08.c | 52 struct mbuf { struct 59 struct mbuf msbs; in msr() argument 60 struct mbuf msbr; in msr()
|
D | msgrcv02.c | 81 MSGBUF *mbuf; member 113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE, in main()
|
/external/strace/ |
D | mtd.c | 80 struct_mtd_oob_buf mbuf; in decode_mtd_oob_buf() local 83 if (umove_or_printaddr(tcp, addr, &mbuf)) in decode_mtd_oob_buf() 86 tprintf("{start=%#x, length=%#x, ptr=", mbuf.start, mbuf.length); in decode_mtd_oob_buf() 87 printaddr(ptr_to_kulong(mbuf.ptr)); in decode_mtd_oob_buf()
|
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/X86/ |
D | variable-stride-ivs-1.ll | 6 %struct.mbuf = type <{ %struct.mbuf*, i8*, i32, i8, i8, i8, i8 }> 8 define i32 @crash(%struct.mbuf* %m) nounwind {
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | variable-stride-ivs-1.ll | 6 %struct.mbuf = type <{ %struct.mbuf*, i8*, i32, i8, i8, i8, i8 }> 8 define i32 @crash(%struct.mbuf* %m) nounwind {
|
/external/libpcap/ |
D | pcap-dpdk.c | 275 static uint32_t dpdk_gather_data(unsigned char *data, uint32_t len, struct rte_mbuf *mbuf) in dpdk_gather_data() argument 278 while (mbuf && (total_len+mbuf->data_len) < len ){ in dpdk_gather_data() 279 rte_memcpy(data+total_len, rte_pktmbuf_mtod(mbuf,void *),mbuf->data_len); in dpdk_gather_data() 280 total_len+=mbuf->data_len; in dpdk_gather_data() 281 mbuf=mbuf->next; in dpdk_gather_data()
|