/external/strace/tests/ |
H A D | mmsg-silent.c | 44 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 D | recvmmsg-timeout.c | 48 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 D | inet-cmsg.c | 136 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 D | mmsg-silent.c | 44 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 D | recvmmsg-timeout.c | 48 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 D | inet-cmsg.c | 136 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 D | mmsg-silent.c | 44 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 D | recvmmsg-timeout.c | 48 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 D | inet-cmsg.c | 136 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 D | macho_utilities.cc | 61 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...] |
/external/python/cpython2/Demo/scripts/ |
H A D | mboxconvert.py | 32 sts = mh(arg) or sts 50 def mh(dir): function
|
/external/aac/libFDK/src/arm/ |
H A D | fft_rad2_arm.cpp | 146 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/aac/libFDK/src/ |
H A D | fft_rad2.cpp | 158 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/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg02.c | 68 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/r8/src/test/examplesAndroidO/invokecustom/ |
H A D | InvokeCustom.java | 106 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) 108 // Using mh to create the call site fails when run on Art. See b/36957105 for details. 115 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) 117 // Using mh to create the call site fails when run on Art. See b/36957105 for details. 125 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) 127 // Using mh to create the call site fails when run on Art. See b/36957105 for details. 139 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) 141 // Using mh to create the call site fails when run on Art. See b/36957105 for details. 149 MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) 151 // Using mh t 105 bsmCreateCallSite( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument 114 bsmCreateCallCallingtargetMethodTest6( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument 124 bsmCreateCallCallingtargetMethodTest7( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument 138 bsmCreateCallCallingtargetMethodTest8( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument 148 bsmCreateCallCallingtargetMethodTest9( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument 162 bsmCreateCallCallingtargetMethodTest10( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument 172 bsmCreateCallCallingtargetMethod( MethodHandles.Lookup caller, String name, MethodType type, MethodHandle mh) argument [all...] |
/external/strace/ |
H A D | mmsghdr.c | 38 const unsigned int len, void *const mh) 41 && fetch_struct_mmsghdr(tcp, addr, mh)) { 115 struct mmsghdr mh; local 117 fetched = fetch_struct_mmsghdr(tcp, addr, &mh); 120 data->namelen[i] = mh.msg_hdr.msg_namelen; 36 fetch_struct_mmsghdr_or_printaddr(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, void *const mh) argument
|
/external/compiler-rt/lib/asan/ |
H A D | asan_mac.cc | 79 const struct mach_header_64 *mh = (struct mach_header_64 *)info.dli_fbase; local 81 const struct mach_header *mh = (struct mach_header *)info.dli_fbase; 87 mh,
|
/external/google-breakpad/src/client/mac/handler/ |
H A D | breakpad_nlist_64.cc | 278 mach_header_type mh; local 279 if (read(fd, (char *)&mh, sizeof(mh)) != sizeof(mh)) { 284 (struct load_command *)malloc(mh.sizeofcmds); 288 if (read(fd, (char *)load_commands, mh.sizeofcmds) != 289 (ssize_t)mh.sizeofcmds) { 297 for (uint32_t i = 0; i < mh.ncmds; i++) { 301 (char *)load_commands + mh.sizeofcmds) {
|
/external/libunwind_llvm/src/ |
H A D | libunwind.cpp | 312 unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh)) { 311 unw_iterate_dwarf_unwind_cache(void (*func)( unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh)) argument
|
H A D | AddressSpace.hpp | 272 const struct mach_header* mh; member in struct:libunwind::dyld_unwind_sections 294 const struct mach_header_64 *mh = (const struct mach_header_64 *)dlinfo.dli_fbase; local 296 const struct mach_header *mh = (const struct mach_header *)dlinfo.dli_fbase; 300 info->mh = (const struct mach_header *)mh; 301 info->dwarf_section = getsectiondata(mh, "__TEXT", "__eh_frame", &info->dwarf_section_length); 302 info->compact_unwind_section = getsectiondata(mh, "__TEXT", "__unwind_info", &info->compact_unwind_section_length); 342 info.dso_base = (uintptr_t)dyldInfo.mh;
|
/external/syslinux/gpxe/src/crypto/axtls/ |
H A D | aes.c | 48 #define mh 0xfefefefe macro 51 ((((x)+(x))&mh)^(((t)-((t)>>7))&mm)))
|
/external/tcpdump/ |
H A D | print-mobility.c | 199 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/valgrind/coregrind/ |
H A D | fixup_macho_loadcmds.c | 199 const struct mach_header_64* mh = buf; local 209 if (mh->magic == MH_MAGIC_64) 272 struct mach_header_64* mh; local 341 mh = (struct mach_header_64 *)ii->macho_img; 342 if (mh->magic == MH_MAGIC) { 351 if (mh->magic != MH_MAGIC_64) 354 if (ii->macho_img_szB < sizeof(struct mach_header_64) + mh->sizeofcmds) 408 { struct mach_header_64 *mh = (struct mach_header_64 *)ii.macho_img; local 412 for (c = 0, cmd = (struct load_command *)(mh+1); 413 c < mh [all...] |
H A D | launcher-darwin.c | 164 struct mach_header *mh = (struct mach_header *)buf; local 165 if (mh->magic == MH_MAGIC || mh->magic == MH_MAGIC_64) { 166 return name_for_cputype(mh->cputype); 167 } else if (mh->magic == MH_CIGAM || mh->magic == MH_CIGAM_64) { 168 return name_for_cputype(OSSwapInt32(mh->cputype));
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
H A D | recvmsg01.c | 498 struct msghdr mh; local 508 memset(&mh, 0x00, sizeof(mh)); 521 mh.msg_iov = iov; 522 mh.msg_iovlen = 1; 523 mh.msg_flags = 0; 524 mh.msg_control = control; 525 mh.msg_controllen = control->cmsg_len; 528 (void)sendmsg(fd, &mh, 0);
|