Home
last modified time | relevance | path

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

12345678910>>...18

/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()
Dinet-cmsg.c138 struct msghdr mh = { in main() local
147 assert(recvmsg(0, &mh, 0) == (int) size); in main()
154 ntohs(addr.sin_port), (unsigned) mh.msg_namelen, in main()
158 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { in main()
193 (unsigned long) mh.msg_controllen, (unsigned) size); in main()
/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()
Dinet-cmsg.c138 struct msghdr mh = { in main() local
147 assert(recvmsg(0, &mh, 0) == (int) size); in main()
154 ntohs(addr.sin_port), (unsigned) mh.msg_namelen, in main()
158 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { in main()
193 (unsigned long) mh.msg_controllen, (unsigned) size); 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/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.cpp147 INT mh = 1 << 1; in dit_fft() local
155 mh <<= 1; in dit_fft()
168 FIXP_DBL *xt2 = xt1 + (mh << 1); in dit_fft()
188 xt1 += mh; in dit_fft()
189 xt2 += mh; in dit_fft()
204 xt1 = xt2 + mh; in dit_fft()
205 } while ((r = r - (mh << 1)) != 0); in dit_fft()
207 for (j = 4; j < mh; j += 4) { in dit_fft()
216 FIXP_DBL *xt2 = xt1 + (mh << 1); in dit_fft()
230 xt1 += mh; in dit_fft()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvokeDynamicSupport.java82 MethodHandle mh = getMethodHandle(callee, name, type); in bootstrapIntrinsic() local
83 if (mh == null) { in bootstrapIntrinsic()
87 return new ConstantCallSite(mh.asType(type)); in bootstrapIntrinsic()
115 MethodHandle mh = RobolectricInternals.getShadowCreator(site.getTheClass()); in bindInitCallSite() local
116 return bindWithFallback(site, mh, BIND_INIT_CALL_SITE); in bindInitCallSite()
120 MethodHandle mh = in bindCallSite() local
124 if (mh == null) { in bindCallSite()
126 mh = site.getOriginal(); in bindCallSite()
127 } else if (mh == ShadowWrangler.DO_NOTHING) { in bindCallSite()
129 mh = dropArguments(mh, 0, site.type().parameterList()); in bindCallSite()
[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
/external/tcpdump/
Dprint-mobility.c205 const struct ip6_mobility *mh; in mobility_print() local
210 mh = (const struct ip6_mobility *)bp; in mobility_print()
215 if (!ND_TTEST(mh->ip6m_len)) { in mobility_print()
231 mhlen = (mh->ip6m_len + 1) << 3; in mobility_print()
235 ND_TCHECK(mh->ip6m_type); in mobility_print()
236 type = mh->ip6m_type; in mobility_print()
260 ND_TCHECK(mh->ip6m_data16[0]); in mobility_print()
261 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0]))); in mobility_print()
281 ND_TCHECK(mh->ip6m_data16[0]); in mobility_print()
282 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&mh->ip6m_data16[0]))); in mobility_print()
[all …]
/external/aac/libFDK/src/
Dfft_rad2.cpp168 INT mh = (m >> 1); in dit_fft() local
184 INT t2 = t1 + (mh << 1); in dit_fft()
200 t1 += mh; in dit_fft()
201 t2 = t1 + (mh << 1); in dit_fft()
219 for (j = 1; j < mh / 4; ++j) { in dit_fft()
226 INT t2 = t1 + (mh << 1); in dit_fft()
240 t1 += mh; in dit_fft()
241 t2 = t1 + (mh << 1); in dit_fft()
255 t1 = (r + mh / 2 - j) << 1; in dit_fft()
256 t2 = t1 + (mh << 1); in dit_fft()
[all …]
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c69 struct msghdr mh; in client() local
82 mh.msg_control = &cmh; in client()
83 mh.msg_controllen = sizeof(cmh); in client()
85 memset(&mh, 0, sizeof(mh)); in client()
86 mh.msg_name = &sa; in client()
87 mh.msg_namelen = sizeof(struct sockaddr_un); in client()
88 mh.msg_iov = &w; in client()
89 mh.msg_iovlen = 1; in client()
94 sendmsg(fd, &mh, MSG_NOSIGNAL); in client()
/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/icu/icu4c/source/data/locales/
Dgd.txt389 one{"0 mhìle"}
391 two{"0 mhìle"}
395 one{"00 mhìle"}
397 two{"00 mhìle"}
401 one{"000 mhìle"}
403 two{"000 mhìle"}
1013 "EEEE, d'mh' MMMM y G",
1014 "d'mh' MMMM y G",
1024 MMMMd{"d'mh' MMMM"}
1056 "EEEE, d'mh' MMMM r(U)",
[all …]
/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>>...18