Searched refs:mh (Results 1 - 25 of 66) sorted by relevance

123

/external/strace/tests/
H A Dmmsg-silent.c44 struct mmsghdr mh = { local
51 int rc = send_mmsg(fds[1], &mh, 1, MSG_DONTWAIT);
54 printf("sendmmsg(%d, %p, 1, MSG_DONTWAIT) = %d\n", fds[1], &mh, rc);
57 rc = recv_mmsg(fds[0], &mh, 1, MSG_DONTWAIT, &t);
59 fds[0], &mh, &t, rc);
H A Dscm_rights.c52 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, mh);
53 memset(mh, 0, sizeof(*mh));
54 mh->msg_iov = iov;
55 mh->msg_iovlen = 1;
83 mh->msg_control = cmsg;
84 mh->msg_controllen = cmsg_size;
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size);
99 mh->msg_control = cmsg;
100 mh
[all...]
H A Drecvmmsg-timeout.c48 struct mmsghdr mh = { local
58 int rc = recv_mmsg(-1, &mh, 1, 0, ts);
60 " = %s\n", &mh, sprintrc(rc));
62 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
75 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
77 fds[0], &mh, (long long) ts->tv_sec,
83 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
85 fds[0], &mh, (long long) ts->tv_sec,
H A Dmsg_control.c92 test_scm_rights1(struct msghdr *const mh, argument
118 mh->msg_control = cmsg;
119 mh->msg_controllen = msg_controllen;
121 int rc = sendmsg(-1, mh, 0);
145 test_scm_rights2(struct msghdr *const mh, argument
182 mh->msg_control = cmsg[0];
183 mh->msg_controllen = msg_controllen;
185 int rc = sendmsg(-1, mh, 0);
207 test_scm_rights3(struct msghdr *const mh, void *const page, const size_t nfds) argument
220 mh
234 test_scm_timestamp(struct msghdr *const mh, void *const page) argument
279 test_scm_timestampns(struct msghdr *const mh, void *const page) argument
325 test_scm_timestamping(struct msghdr *const mh, void *const page) argument
390 test_scm_security(struct msghdr *const mh, const size_t msg_controllen, void *const page, const void *const src, const size_t cmsg_len, const int cmsg_level, const char *const cmsg_level_str) argument
437 test_unknown_type(struct msghdr *const mh, void *const page, const int cmsg_level, const char *const cmsg_level_str, const char *const cmsg_type_str) argument
462 test_sol_socket(struct msghdr *const mh, void *const page) argument
536 test_ip_pktinfo(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
575 test_ip_uint(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
601 test_ip_uint8_t(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
643 test_ip_opts(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str, const unsigned int opts_len) argument
683 test_ip_recverr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
725 test_ip_origdstaddr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
755 test_sol_ip(struct msghdr *const mh, void *const page) argument
786 test_unknown_level(struct msghdr *const mh, void *const page) argument
807 test_big_len(struct msghdr *const mh) argument
[all...]
H A Dinet-cmsg.c136 struct msghdr mh = { local
145 assert(recvmsg(0, &mh, 0) == (int) size);
152 ntohs(addr.sin_port), (unsigned) mh.msg_namelen,
156 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) {
191 (unsigned long) mh.msg_controllen, (unsigned) size);
/external/strace/tests-m32/
H A Dmmsg-silent.c44 struct mmsghdr mh = { local
51 int rc = send_mmsg(fds[1], &mh, 1, MSG_DONTWAIT);
54 printf("sendmmsg(%d, %p, 1, MSG_DONTWAIT) = %d\n", fds[1], &mh, rc);
57 rc = recv_mmsg(fds[0], &mh, 1, MSG_DONTWAIT, &t);
59 fds[0], &mh, &t, rc);
H A Dscm_rights.c52 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, mh);
53 memset(mh, 0, sizeof(*mh));
54 mh->msg_iov = iov;
55 mh->msg_iovlen = 1;
83 mh->msg_control = cmsg;
84 mh->msg_controllen = cmsg_size;
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size);
99 mh->msg_control = cmsg;
100 mh
[all...]
H A Drecvmmsg-timeout.c48 struct mmsghdr mh = { local
58 int rc = recv_mmsg(-1, &mh, 1, 0, ts);
60 " = %s\n", &mh, sprintrc(rc));
62 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
75 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
77 fds[0], &mh, (long long) ts->tv_sec,
83 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
85 fds[0], &mh, (long long) ts->tv_sec,
H A Dmsg_control.c92 test_scm_rights1(struct msghdr *const mh, argument
118 mh->msg_control = cmsg;
119 mh->msg_controllen = msg_controllen;
121 int rc = sendmsg(-1, mh, 0);
145 test_scm_rights2(struct msghdr *const mh, argument
182 mh->msg_control = cmsg[0];
183 mh->msg_controllen = msg_controllen;
185 int rc = sendmsg(-1, mh, 0);
207 test_scm_rights3(struct msghdr *const mh, void *const page, const size_t nfds) argument
220 mh
234 test_scm_timestamp(struct msghdr *const mh, void *const page) argument
279 test_scm_timestampns(struct msghdr *const mh, void *const page) argument
325 test_scm_timestamping(struct msghdr *const mh, void *const page) argument
390 test_scm_security(struct msghdr *const mh, const size_t msg_controllen, void *const page, const void *const src, const size_t cmsg_len, const int cmsg_level, const char *const cmsg_level_str) argument
437 test_unknown_type(struct msghdr *const mh, void *const page, const int cmsg_level, const char *const cmsg_level_str, const char *const cmsg_type_str) argument
462 test_sol_socket(struct msghdr *const mh, void *const page) argument
536 test_ip_pktinfo(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
575 test_ip_uint(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
601 test_ip_uint8_t(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
643 test_ip_opts(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str, const unsigned int opts_len) argument
683 test_ip_recverr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
725 test_ip_origdstaddr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
755 test_sol_ip(struct msghdr *const mh, void *const page) argument
786 test_unknown_level(struct msghdr *const mh, void *const page) argument
807 test_big_len(struct msghdr *const mh) argument
[all...]
H A Dinet-cmsg.c136 struct msghdr mh = { local
145 assert(recvmsg(0, &mh, 0) == (int) size);
152 ntohs(addr.sin_port), (unsigned) mh.msg_namelen,
156 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) {
191 (unsigned long) mh.msg_controllen, (unsigned) size);
/external/strace/tests-mx32/
H A Dmmsg-silent.c44 struct mmsghdr mh = { local
51 int rc = send_mmsg(fds[1], &mh, 1, MSG_DONTWAIT);
54 printf("sendmmsg(%d, %p, 1, MSG_DONTWAIT) = %d\n", fds[1], &mh, rc);
57 rc = recv_mmsg(fds[0], &mh, 1, MSG_DONTWAIT, &t);
59 fds[0], &mh, &t, rc);
H A Dscm_rights.c52 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, mh);
53 memset(mh, 0, sizeof(*mh));
54 mh->msg_iov = iov;
55 mh->msg_iovlen = 1;
83 mh->msg_control = cmsg;
84 mh->msg_controllen = cmsg_size;
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size);
99 mh->msg_control = cmsg;
100 mh
[all...]
H A Drecvmmsg-timeout.c48 struct mmsghdr mh = { local
58 int rc = recv_mmsg(-1, &mh, 1, 0, ts);
60 " = %s\n", &mh, sprintrc(rc));
62 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
75 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
77 fds[0], &mh, (long long) ts->tv_sec,
83 rc = recv_mmsg(fds[0], &mh, 1, 0, ts);
85 fds[0], &mh, (long long) ts->tv_sec,
H A Dmsg_control.c92 test_scm_rights1(struct msghdr *const mh, argument
118 mh->msg_control = cmsg;
119 mh->msg_controllen = msg_controllen;
121 int rc = sendmsg(-1, mh, 0);
145 test_scm_rights2(struct msghdr *const mh, argument
182 mh->msg_control = cmsg[0];
183 mh->msg_controllen = msg_controllen;
185 int rc = sendmsg(-1, mh, 0);
207 test_scm_rights3(struct msghdr *const mh, void *const page, const size_t nfds) argument
220 mh
234 test_scm_timestamp(struct msghdr *const mh, void *const page) argument
279 test_scm_timestampns(struct msghdr *const mh, void *const page) argument
325 test_scm_timestamping(struct msghdr *const mh, void *const page) argument
390 test_scm_security(struct msghdr *const mh, const size_t msg_controllen, void *const page, const void *const src, const size_t cmsg_len, const int cmsg_level, const char *const cmsg_level_str) argument
437 test_unknown_type(struct msghdr *const mh, void *const page, const int cmsg_level, const char *const cmsg_level_str, const char *const cmsg_type_str) argument
462 test_sol_socket(struct msghdr *const mh, void *const page) argument
536 test_ip_pktinfo(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
575 test_ip_uint(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
601 test_ip_uint8_t(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
643 test_ip_opts(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str, const unsigned int opts_len) argument
683 test_ip_recverr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
725 test_ip_origdstaddr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
755 test_sol_ip(struct msghdr *const mh, void *const page) argument
786 test_unknown_level(struct msghdr *const mh, void *const page) argument
807 test_big_len(struct msghdr *const mh) argument
[all...]
H A Dinet-cmsg.c136 struct msghdr mh = { local
145 assert(recvmsg(0, &mh, 0) == (int) size);
152 ntohs(addr.sin_port), (unsigned) mh.msg_namelen,
156 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) {
191 (unsigned long) mh.msg_controllen, (unsigned) size);
/external/google-breakpad/src/common/mac/
H A Dmacho_utilities.cc61 void breakpad_swap_mach_header_64(struct mach_header_64 *mh, argument
64 mh->magic = ByteSwap(mh->magic);
65 mh->cputype = ByteSwap(mh->cputype);
66 mh->cpusubtype = ByteSwap(mh->cpusubtype);
67 mh->filetype = ByteSwap(mh->filetype);
68 mh
[all...]
H A Dmacho_utilities.h77 void breakpad_swap_mach_header_64(struct mach_header_64 *mh,
/external/tcpdump/
H A Dprint-mobility.c199 const struct ip6_mobility *mh; local
204 mh = (const struct ip6_mobility *)bp;
209 if (!ND_TTEST(mh->ip6m_len)) {
225 mhlen = (mh->ip6m_len + 1) << 3;
229 ND_TCHECK(mh->ip6m_type);
230 type = mh->ip6m_type;
244 ND_TCHECK2(*mh, hlen + 8);
254 ND_TCHECK(mh->ip6m_data16[0]);
255 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0])));
258 ND_TCHECK2(*mh, hle
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_mhlib.py149 mh = getMH()
152 eq(mh.getprofile('Editor'), 'emacs')
153 eq(mh.getprofile('not-set'), None)
154 eq(mh.getpath(), os.path.abspath(_mhpath))
155 eq(mh.getcontext(), 'inbox')
157 mh.setcontext('wide')
158 eq(mh.getcontext(), 'wide')
162 mh.setcontext('inbox')
164 inbox = mh.openfolder('inbox')
173 mh
[all...]
/external/aac/libFDK/src/arm/
H A Dfft_rad2_arm.cpp146 INT mh = 1 << 1; local
155 mh <<= 1;
167 FIXP_DBL *xt2 = xt1 + (mh<<1);
170 FIXP_DBL *xt2 = xt1 + (mh<<1);
187 xt1 += mh;
188 xt2 += mh;
203 xt1 = xt2 + mh;
204 } while ((r=r-(mh<<1)) != 0);
206 for(j=4; j<mh; j+=4)
217 FIXP_DBL *xt2 = xt1 + (mh<<
[all...]
/external/r8/src/test/examplesAndroidO/invokepolymorphic/
H A DInvokePolymorphic.java24 MethodHandle mh = lk.findVirtual(getClass(), "buildString", mt);
25 System.out.println(mh.invoke(this, null, 1, "string"));
43 MethodHandle mh = lk.findVirtual(getClass(), "buildString", mt);
45 mh.invoke(this, (byte) 2, 'a', (short) 0xFFFF, 1.1f, 2.24d, 12345678L, null,
83 MethodHandle mh = null;
88 mh = lk.findConstructor(Data.class, mt);
89 System.out.println(mh.invoke().getClass() == Data.class);
94 return mh;
/external/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg02.c68 struct msghdr mh; local
81 mh.msg_control = &cmh;
82 mh.msg_controllen = sizeof(cmh);
84 memset(&mh, 0, sizeof(mh));
85 mh.msg_name = &sa;
86 mh.msg_namelen = sizeof(struct sockaddr_un);
87 mh.msg_iov = &w;
88 mh.msg_iovlen = 1;
93 sendmsg(fd, &mh, MSG_NOSIGNA
[all...]
/external/aac/libFDK/src/
H A Dfft_rad2.cpp158 INT mh=(m>>1); local
173 INT t2 = t1 + (mh<<1);
189 t1 += mh;
190 t2 = t1+(mh<<1);
206 for(j=1; j<mh/4; ++j)
215 INT t2 = t1 + (mh<<1);
229 t1 += mh;
230 t2 = t1+(mh<<1);
243 /* Same as above but for t1,t2 with j>mh/4 and thus cs swapped */
244 t1 = (r+mh/
363 const INT mh=(m>>1); local
[all...]
/external/testng/src/test/java/test/remote/
H A DRemoteTest.java67 MessageHub mh = new MessageHub(sms);
70 mh.initReceiver();
71 IMessage message = mh.receiveMessage();
74 message = mh.receiveMessage();
/external/libunwind_llvm/src/
H A Dlibunwind_ext.h30 unw_word_t mh));

Completed in 732 milliseconds

123