Home
last modified time | relevance | path

Searched refs:mbuf (Results 1 – 25 of 34) sorted by relevance

12

/external/emma/core/java12/com/vladium/util/
DByteArrayOStream.java53 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 …]
DByteArrayIStream.java67 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/llvm/test/Transforms/GVN/
D2009-06-17-InvalidPRE.ll4 ; 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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/PRE/
D2009-06-17-InvalidPRE.ll5 ; 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/python/cpython3/Objects/
Dmemoryobject.c61 #define CHECK_MBUF_RELEASED(mbuf) \ argument
62 if (((_PyManagedBufferObject *)mbuf)->flags&_Py_MANAGED_BUFFER_RELEASED) { \
72 _PyManagedBufferObject *mbuf; in mbuf_alloc() local
74 mbuf = (_PyManagedBufferObject *) in mbuf_alloc()
76 if (mbuf == NULL) in mbuf_alloc()
78 mbuf->flags = 0; in mbuf_alloc()
79 mbuf->exports = 0; in mbuf_alloc()
80 mbuf->master.obj = NULL; in mbuf_alloc()
81 _PyObject_GC_TRACK(mbuf); in mbuf_alloc()
83 return mbuf; in mbuf_alloc()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv08.c52 struct mbuf { struct
59 struct mbuf msbs; in msr() argument
60 struct mbuf msbr; in msr()
Dmsgrcv02.c81 MSGBUF *mbuf; member
113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE, in main()
/external/strace/
Dmtd.c80 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/test/Transforms/IndVarSimplify/
Dvariable-stride-ivs-1.ll6 %struct.mbuf = type <{ %struct.mbuf*, i8*, i32, i8, i8, i8, i8 }>
8 define i32 @crash(%struct.mbuf* %m) nounwind {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/
Dvariable-stride-ivs-1.ll6 %struct.mbuf = type <{ %struct.mbuf*, i8*, i32, i8, i8, i8, i8 }>
8 define i32 @crash(%struct.mbuf* %m) nounwind {
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2009-04-29-LinearScanBug.ll44mbuf*)*, i32 (%struct.ifnet*, i32, i8*)*, i32 (%struct.ifnet*, i32, i32 (%struct.ifnet*, %struct.m…
58 %struct.m_hdr = type { %struct.mbuf*, %struct.mbuf*, i32, i8*, i16, i16 }
60 %struct.mbuf = type { %struct.m_hdr, %17 }
70 …rule*, %struct.pf_addr*, %struct.pf_addr*, %struct.ether_header*, %struct.mbuf*, i32, %struct.pf_m…
/external/llvm/test/CodeGen/X86/
D2009-04-29-LinearScanBug.ll44mbuf*)*, i32 (%struct.ifnet*, i32, i8*)*, i32 (%struct.ifnet*, i32, i32 (%struct.ifnet*, %struct.m…
58 %struct.m_hdr = type { %struct.mbuf*, %struct.mbuf*, i32, i8*, i16, i16 }
60 %struct.mbuf = type { %struct.m_hdr, %17 }
70 …rule*, %struct.pf_addr*, %struct.pf_addr*, %struct.ether_header*, %struct.mbuf*, i32, %struct.pf_m…
/external/libfuse/lib/
Dfuse_lowlevel.c491 void *mbuf; in fuse_send_data_iov_fallback() local
506 res = posix_memalign(&mbuf, pagesize, len); in fuse_send_data_iov_fallback()
510 mem_buf.buf[0].mem = mbuf; in fuse_send_data_iov_fallback()
513 free(mbuf); in fuse_send_data_iov_fallback()
518 iov[iov_count].iov_base = mbuf; in fuse_send_data_iov_fallback()
522 free(mbuf); in fuse_send_data_iov_fallback()
759 void *mbuf; in fuse_send_data_iov() local
770 res = posix_memalign(&mbuf, pagesize, len); in fuse_send_data_iov()
774 mem_buf.buf[0].mem = mbuf; in fuse_send_data_iov()
787 free(mbuf); in fuse_send_data_iov()
[all …]
/external/iperf3/src/
Diperf_api.c2846 char mbuf[UNIT_LEN]; in iperf_print_intermediate() local
2861 sprintf(mbuf, "[%s-%s]", stream_must_be_sender?"TX":"RX", test->role == 'c'?"C":"S"); in iperf_print_intermediate()
2863 mbuf[0] = '\0'; in iperf_print_intermediate()
2911 …iperf_printf(test, report_sum_bw_retrans_format, mbuf, start_time, end_time, ubuf, nbuf, retransmi… in iperf_print_intermediate()
2917 …iperf_printf(test, report_sum_bw_format, mbuf, start_time, end_time, ubuf, nbuf, test->omitting?re… in iperf_print_intermediate()
2925 …iperf_printf(test, report_sum_bw_udp_sender_format, mbuf, start_time, end_time, ubuf, nbuf, zbuf, … in iperf_print_intermediate()
2937 …iperf_printf(test, report_sum_bw_udp_format, mbuf, start_time, end_time, ubuf, nbuf, avg_jitter * … in iperf_print_intermediate()
3032 char mbuf[UNIT_LEN]; in iperf_print_results() local
3039 sprintf(mbuf, "[%s-%s]", stream_must_be_sender?"TX":"RX", test->role == 'c'?"C":"S"); in iperf_print_results()
3041 mbuf[0] = '\0'; in iperf_print_results()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dipcmsg.h48 typedef struct mbuf { /* a generic message structure */ struct
/external/tcpdump/
Dprint-sunatm.c41 struct mbuf;
/external/python/cpython3/Include/
Dmemoryobject.h59 _PyManagedBufferObject *mbuf; /* managed buffer */ member
/external/ppp/pppd/include/net/
Dslcompress.h142 u_int sl_compress_tcp __P((struct mbuf *,
/external/flac/libFLAC/
Dmd5.c274 static void format_input_(FLAC__multibyte *mbuf, const FLAC__int32 * const signal[], unsigned chann… in format_input_() argument
276 FLAC__byte *buf_ = mbuf->p8; in format_input_()
277 FLAC__int16 *buf16 = mbuf->p16; in format_input_()
278 FLAC__int32 *buf32 = mbuf->p32; in format_input_()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c726 struct mbuf *m; in kdebug_mbufhdr()
756 struct mbuf *m0; in kdebug_mbuf()
758 struct mbuf *m = m0;
/external/skia/modules/skottie/src/text/
DRangeSelector.cpp349 TextAnimator::ModulatorBuffer& mbuf) const { in modulateCoverage()
350 const CoverageProcessor coverage_proc(maps, fDomain, fMode, mbuf); in modulateCoverage()
/external/libpcap/
Dfad-glifc.c48 struct mbuf; /* Squelch compiler warnings on some platforms for */
Dfad-gifc.c47 struct mbuf; /* Squelch compiler warnings on some platforms for */
Dpcap-pf.c37 struct mbuf;
/external/wpa_supplicant_8/src/radius/
Dradius_server.c2447 char abuf[50], mbuf[50]; in radius_server_get_mib() local
2453 if (inet_ntop(AF_INET6, &cli->mask6, mbuf, in radius_server_get_mib()
2454 sizeof(mbuf)) == NULL) in radius_server_get_mib()
2455 mbuf[0] = '\0'; in radius_server_get_mib()
2460 os_strlcpy(mbuf, inet_ntoa(cli->mask), sizeof(mbuf)); in radius_server_get_mib()
2482 abuf, mbuf, in radius_server_get_mib()

12