Home
last modified time | relevance | path

Searched refs:mh (Results 1 – 25 of 226) sorted by relevance

12345678910

/external/strace/tests/
Dmsg_control.c92 test_scm_rights1(struct msghdr *const mh, in test_scm_rights1() argument
118 mh->msg_control = cmsg; in test_scm_rights1()
119 mh->msg_controllen = msg_controllen; in test_scm_rights1()
121 int rc = sendmsg(-1, mh, 0); in test_scm_rights1()
145 test_scm_rights2(struct msghdr *const mh, in test_scm_rights2() argument
182 mh->msg_control = cmsg[0]; in test_scm_rights2()
183 mh->msg_controllen = msg_controllen; in test_scm_rights2()
185 int rc = sendmsg(-1, mh, 0); in test_scm_rights2()
207 test_scm_rights3(struct msghdr *const mh, void *const page, const size_t nfds) in test_scm_rights3() argument
220 mh->msg_control = cmsg; in test_scm_rights3()
[all …]
Dscm_rights.c52 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, mh); in main()
53 memset(mh, 0, sizeof(*mh)); in main()
54 mh->msg_iov = iov; in main()
55 mh->msg_iovlen = 1; in main()
83 mh->msg_control = cmsg; in main()
84 mh->msg_controllen = cmsg_size; in main()
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size); in main()
99 mh->msg_control = cmsg; in main()
100 mh->msg_controllen = cmsg_size; in main()
102 assert(recvmsg(0, mh, 0) == (int) data_size); in main()
Drecvmmsg-timeout.c48 struct mmsghdr mh = { in main() local
58 int rc = recv_mmsg(-1, &mh, 1, 0, ts); in main()
60 " = %s\n", &mh, sprintrc(rc)); in main()
62 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
75 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
77 fds[0], &mh, (long long) ts->tv_sec, in main()
83 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
85 fds[0], &mh, (long long) ts->tv_sec, in main()
Dmmsg-silent.c44 struct mmsghdr mh = { in main() local
51 int rc = send_mmsg(fds[1], &mh, 1, MSG_DONTWAIT); in main()
54 printf("sendmmsg(%d, %p, 1, MSG_DONTWAIT) = %d\n", fds[1], &mh, rc); in main()
57 rc = recv_mmsg(fds[0], &mh, 1, MSG_DONTWAIT, &t); in main()
59 fds[0], &mh, &t, rc); in main()
/external/strace/tests-m32/
Dmsg_control.c92 test_scm_rights1(struct msghdr *const mh, in test_scm_rights1() argument
118 mh->msg_control = cmsg; in test_scm_rights1()
119 mh->msg_controllen = msg_controllen; in test_scm_rights1()
121 int rc = sendmsg(-1, mh, 0); in test_scm_rights1()
145 test_scm_rights2(struct msghdr *const mh, in test_scm_rights2() argument
182 mh->msg_control = cmsg[0]; in test_scm_rights2()
183 mh->msg_controllen = msg_controllen; in test_scm_rights2()
185 int rc = sendmsg(-1, mh, 0); in test_scm_rights2()
207 test_scm_rights3(struct msghdr *const mh, void *const page, const size_t nfds) in test_scm_rights3() argument
220 mh->msg_control = cmsg; in test_scm_rights3()
[all …]
Dscm_rights.c52 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, mh); in main()
53 memset(mh, 0, sizeof(*mh)); in main()
54 mh->msg_iov = iov; in main()
55 mh->msg_iovlen = 1; in main()
83 mh->msg_control = cmsg; in main()
84 mh->msg_controllen = cmsg_size; in main()
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size); in main()
99 mh->msg_control = cmsg; in main()
100 mh->msg_controllen = cmsg_size; in main()
102 assert(recvmsg(0, mh, 0) == (int) data_size); in main()
Drecvmmsg-timeout.c48 struct mmsghdr mh = { in main() local
58 int rc = recv_mmsg(-1, &mh, 1, 0, ts); in main()
60 " = %s\n", &mh, sprintrc(rc)); in main()
62 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
75 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
77 fds[0], &mh, (long long) ts->tv_sec, in main()
83 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
85 fds[0], &mh, (long long) ts->tv_sec, in main()
Dmmsg-silent.c44 struct mmsghdr mh = { in main() local
51 int rc = send_mmsg(fds[1], &mh, 1, MSG_DONTWAIT); in main()
54 printf("sendmmsg(%d, %p, 1, MSG_DONTWAIT) = %d\n", fds[1], &mh, rc); in main()
57 rc = recv_mmsg(fds[0], &mh, 1, MSG_DONTWAIT, &t); in main()
59 fds[0], &mh, &t, rc); in main()
/external/strace/tests-mx32/
Dmsg_control.c92 test_scm_rights1(struct msghdr *const mh, in test_scm_rights1() argument
118 mh->msg_control = cmsg; in test_scm_rights1()
119 mh->msg_controllen = msg_controllen; in test_scm_rights1()
121 int rc = sendmsg(-1, mh, 0); in test_scm_rights1()
145 test_scm_rights2(struct msghdr *const mh, in test_scm_rights2() argument
182 mh->msg_control = cmsg[0]; in test_scm_rights2()
183 mh->msg_controllen = msg_controllen; in test_scm_rights2()
185 int rc = sendmsg(-1, mh, 0); in test_scm_rights2()
207 test_scm_rights3(struct msghdr *const mh, void *const page, const size_t nfds) in test_scm_rights3() argument
220 mh->msg_control = cmsg; in test_scm_rights3()
[all …]
Dscm_rights.c52 TAIL_ALLOC_OBJECT_CONST_PTR(struct msghdr, mh); in main()
53 memset(mh, 0, sizeof(*mh)); in main()
54 mh->msg_iov = iov; in main()
55 mh->msg_iovlen = 1; in main()
83 mh->msg_control = cmsg; in main()
84 mh->msg_controllen = cmsg_size; in main()
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size); in main()
99 mh->msg_control = cmsg; in main()
100 mh->msg_controllen = cmsg_size; in main()
102 assert(recvmsg(0, mh, 0) == (int) data_size); in main()
Drecvmmsg-timeout.c48 struct mmsghdr mh = { in main() local
58 int rc = recv_mmsg(-1, &mh, 1, 0, ts); in main()
60 " = %s\n", &mh, sprintrc(rc)); in main()
62 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
75 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
77 fds[0], &mh, (long long) ts->tv_sec, in main()
83 rc = recv_mmsg(fds[0], &mh, 1, 0, ts); in main()
85 fds[0], &mh, (long long) ts->tv_sec, in main()
Dmmsg-silent.c44 struct mmsghdr mh = { in main() local
51 int rc = send_mmsg(fds[1], &mh, 1, MSG_DONTWAIT); in main()
54 printf("sendmmsg(%d, %p, 1, MSG_DONTWAIT) = %d\n", fds[1], &mh, rc); in main()
57 rc = recv_mmsg(fds[0], &mh, 1, MSG_DONTWAIT, &t); in main()
59 fds[0], &mh, &t, rc); in main()
/external/google-breakpad/src/common/mac/
Dmacho_utilities.cc61 void breakpad_swap_mach_header_64(struct mach_header_64 *mh, in breakpad_swap_mach_header_64() argument
64 mh->magic = ByteSwap(mh->magic); in breakpad_swap_mach_header_64()
65 mh->cputype = ByteSwap(mh->cputype); in breakpad_swap_mach_header_64()
66 mh->cpusubtype = ByteSwap(mh->cpusubtype); in breakpad_swap_mach_header_64()
67 mh->filetype = ByteSwap(mh->filetype); in breakpad_swap_mach_header_64()
68 mh->ncmds = ByteSwap(mh->ncmds); in breakpad_swap_mach_header_64()
69 mh->sizeofcmds = ByteSwap(mh->sizeofcmds); in breakpad_swap_mach_header_64()
70 mh->flags = ByteSwap(mh->flags); in breakpad_swap_mach_header_64()
71 mh->reserved = ByteSwap(mh->reserved); in breakpad_swap_mach_header_64()
/external/tcpdump/
Dprint-mobility.c199 const struct ip6_mobility *mh; in mobility_print() local
204 mh = (const struct ip6_mobility *)bp; in mobility_print()
209 if (!ND_TTEST(mh->ip6m_len)) { in mobility_print()
225 mhlen = (mh->ip6m_len + 1) << 3; in mobility_print()
229 ND_TCHECK(mh->ip6m_type); in mobility_print()
230 type = mh->ip6m_type; in mobility_print()
244 ND_TCHECK2(*mh, hlen + 8); in mobility_print()
254 ND_TCHECK(mh->ip6m_data16[0]); in mobility_print()
255 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0]))); in mobility_print()
258 ND_TCHECK2(*mh, hlen + 8); in mobility_print()
[all …]
/external/python/cpython2/Lib/test/
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 = getMH()
[all …]
/external/aac/libFDK/src/arm/
Dfft_rad2_arm.cpp146 INT mh = 1 << 1; in dit_fft() local
155 mh <<= 1; in dit_fft()
167 FIXP_DBL *xt2 = xt1 + (mh<<1); in dit_fft()
187 xt1 += mh; in dit_fft()
188 xt2 += mh; in dit_fft()
203 xt1 = xt2 + mh; in dit_fft()
204 } while ((r=r-(mh<<1)) != 0); in dit_fft()
206 for(j=4; j<mh; j+=4) in dit_fft()
217 FIXP_DBL *xt2 = xt1 + (mh<<1); in dit_fft()
231 xt1 += mh; in dit_fft()
[all …]
/external/aac/libFDK/src/
Dfft_rad2.cpp158 INT mh=(m>>1); in dit_fft() local
173 INT t2 = t1 + (mh<<1); in dit_fft()
189 t1 += mh; in dit_fft()
190 t2 = t1+(mh<<1); in dit_fft()
206 for(j=1; j<mh/4; ++j) in dit_fft()
215 INT t2 = t1 + (mh<<1); in dit_fft()
229 t1 += mh; in dit_fft()
230 t2 = t1+(mh<<1); in dit_fft()
244 t1 = (r+mh/2-j)<<1; in dit_fft()
245 t2 = t1 + (mh<<1); in dit_fft()
[all …]
/external/iptables/extensions/
Dlibip6t_mh.t2 -m mh;;FAIL
3 -p mobility-header -m mh;=;OK
4 -p mobility-header -m mh --mh-type 1;=;OK
5 -p mobility-header -m mh ! --mh-type 4;=;OK
6 -p mobility-header -m mh --mh-type 4:123;=;OK
Dlibip6t_mh.man1 This extension is loaded if `\-\-protocol ipv6\-mh' or `\-\-protocol mh' is
4 [\fB!\fP] \fB\-\-mh\-type\fP \fItype\fP[\fB:\fP\fItype\fP]
11 ip6tables \-p mh \-h
/external/valgrind/none/tests/s390x/
Dmul.stdout.exp23 mh 0000000000000000 * 0000000000000000 = 00000000000000000000000000000000
24 mh 0000000000000001 * 0000000000000000 = 00000000000000000000000000000001
25 mh 000000000000FFFF * 0000000000000000 = 0000000000000000000000000000FFFF
26 mh 0000000000007FFF * 0000000000000000 = 00000000000000000000000000007FFF
27 mh 0000000000008000 * 0000000000000000 = 00000000000000000000000000008000
28 mh 00000000FFFFFFFF * 0000000000000000 = 000000000000000000000000FFFFFFFF
29 mh 0000000080000000 * 0000000000000000 = 00000000000000000000000080000000
30 mh 000000007FFFFFFF * 0000000000000000 = 0000000000000000000000007FFFFFFF
31 mh FFFFFFFFFFFFFFFF * 0000000000000000 = FFFFFFFF00000000FFFFFFFFFFFFFFFF
32 mh 8000000000000000 * 0000000000000000 = 80000000000000008000000000000000
[all …]
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c68 struct msghdr mh; in client() local
81 mh.msg_control = &cmh; in client()
82 mh.msg_controllen = sizeof(cmh); in client()
84 memset(&mh, 0, sizeof(mh)); in client()
85 mh.msg_name = &sa; in client()
86 mh.msg_namelen = sizeof(struct sockaddr_un); in client()
87 mh.msg_iov = &w; in client()
88 mh.msg_iovlen = 1; in client()
93 sendmsg(fd, &mh, MSG_NOSIGNAL); in client()
/external/r8/src/test/examplesAndroidO/invokepolymorphic/
DInvokePolymorphic.java24 MethodHandle mh = lk.findVirtual(getClass(), "buildString", mt); in testInvokePolymorphic() local
25 System.out.println(mh.invoke(this, null, 1, "string")); in testInvokePolymorphic()
43 MethodHandle mh = lk.findVirtual(getClass(), "buildString", mt); in testInvokePolymorphicRange() local
45 mh.invoke(this, (byte) 2, 'a', (short) 0xFFFF, 1.1f, 2.24d, 12345678L, null, in testInvokePolymorphicRange()
83 MethodHandle mh = null; in testInvokePolymorphicWithConstructor() local
88 mh = lk.findConstructor(Data.class, mt); in testInvokePolymorphicWithConstructor()
89 System.out.println(mh.invoke().getClass() == Data.class); in testInvokePolymorphicWithConstructor()
94 return mh; in testInvokePolymorphicWithConstructor()
/external/icu/icu4c/source/
Dacinclude.m420 icu_cv_host_frag=mh-solaris-gcc
22 icu_cv_host_frag=mh-solaris
26 icu_cv_host_frag=mh-alpha-linux-gcc
28 icu_cv_host_frag=mh-alpha-linux-cc
32 icu_cv_host_frag=mh-linux
34 icu_cv_host_frag=mh-linux-va
36 *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;
39 icu_cv_host_frag=mh-cygwin
41 icu_cv_host_frag=mh-cygwin-msvc
45 icu_cv_host_frag=mh-cygwin64
[all …]
/external/r8/src/test/examplesAndroidO/invokecustom/
DInvokeCustom.java106 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallSite() argument
115 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallCallingtargetMethodTest6() argument
125 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallCallingtargetMethodTest7() argument
139 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallCallingtargetMethodTest8() argument
149 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallCallingtargetMethodTest9() argument
163 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallCallingtargetMethodTest10() argument
173 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) in bsmCreateCallCallingtargetMethod() argument
175 return new ConstantCallSite(mh); in bsmCreateCallCallingtargetMethod()
/external/icu/icu4c/source/config/
Dmh-unknown8 # Note, this is not a real mh- file. You got here because configure
9 # (specifically, aclocal.m4) could not determine a suitable mh- file.
15 # As a start, try copying mh-linux (which is fairly generic) over this
23 @echo "*** or, try copying icu/source/config/mh-linux to mh-unknown"

12345678910