/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 | 138 struct msghdr mh = { local 147 assert(recvmsg(0, &mh, 0) == (int) size); 154 ntohs(addr.sin_port), (unsigned) mh.msg_namelen, 158 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { 193 (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 | 138 struct msghdr mh = { local 147 assert(recvmsg(0, &mh, 0) == (int) size); 154 ntohs(addr.sin_port), (unsigned) mh.msg_namelen, 158 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { 193 (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 | 138 struct msghdr mh = { local 147 assert(recvmsg(0, &mh, 0) == (int) size); 154 ntohs(addr.sin_port), (unsigned) mh.msg_namelen, 158 for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { 193 (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/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
H A D | metropolis_hastings_test.py | 22 from tensorflow.contrib.bayesflow.python.ops import metropolis_hastings_impl as mh namespace 45 step = mh.evolve(state, state_log_density, log_accept_ratio, 65 proposal_fn = mh.uniform_random_proposal( 77 step = mh.evolve(state, state_log_density, log_accept_ratio, 105 proposal_fn = mh.normal_random_proposal( 156 stepper = mh.evolve(
|
/external/aac/libFDK/src/arm/ |
H A D | fft_rad2_arm.cpp | 147 INT mh = 1 << 1; local 155 mh <<= 1; 168 FIXP_DBL *xt2 = xt1 + (mh << 1); 171 FIXP_DBL *xt2 = xt1 + (mh<<1); 188 xt1 += mh; 189 xt2 += mh; 204 xt1 = xt2 + mh; 205 } while ((r = r - (mh << 1)) != 0); 207 for (j = 4; j < mh; j += 4) { 216 FIXP_DBL *xt2 = xt1 + (mh << [all...] |
/external/aac/libFDK/src/ |
H A D | fft_rad2.cpp | 168 INT mh = (m >> 1); local 184 INT t2 = t1 + (mh << 1); 200 t1 += mh; 201 t2 = t1 + (mh << 1); 219 for (j = 1; j < mh / 4; ++j) { 226 INT t2 = t1 + (mh << 1); 240 t1 += mh; 241 t2 = t1 + (mh << 1); 254 /* Same as above but for t1,t2 with j>mh/4 and thus cs swapped */ 255 t1 = (r + mh / [all...] |
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg02.c | 69 struct msghdr mh; local 82 mh.msg_control = &cmh; 83 mh.msg_controllen = sizeof(cmh); 85 memset(&mh, 0, sizeof(mh)); 86 mh.msg_name = &sa; 87 mh.msg_namelen = sizeof(struct sockaddr_un); 88 mh.msg_iov = &w; 89 mh.msg_iovlen = 1; 94 sendmsg(fd, &mh, MSG_NOSIGNA [all...] |
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
H A D | InvokeDynamicSupport.java | 81 MethodHandle mh = getMethodHandle(callee, name, type); 82 if (mh == null) { 86 return new ConstantCallSite(mh.asType(type)); 114 MethodHandle mh = RobolectricInternals.getShadowCreator(site.getCaller()); 115 return bindWithFallback(mh, site, BIND_INIT_CALL_SITE); 119 MethodHandle mh = 123 if (mh == null) { 125 mh = cleanStackTraces(site.getOriginal()); 126 } else if (mh == ShadowWrangler.DO_NOTHING) { 127 mh 144 bindWithFallback(MethodHandle mh, RoboCallSite site, MethodHandle fallback) argument 159 cleanStackTraces(MethodHandle mh) argument [all...] |
/external/strace/ |
H A D | mmsghdr.c | 40 const unsigned int len, void *const mh) 43 && fetch_struct_mmsghdr(tcp, addr, mh)) { 117 struct mmsghdr mh; local 119 fetched = fetch_struct_mmsghdr(tcp, addr, &mh); 122 data->namelen[i] = mh.msg_hdr.msg_namelen; 38 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 | 317 unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh)) { 316 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 | 42 const struct mach_header* mh; member in struct:dyld_unwind_sections 64 const struct mach_header_64 *mh = (const struct mach_header_64 *)dlinfo.dli_fbase; local 66 const struct mach_header *mh = (const struct mach_header *)dlinfo.dli_fbase; 70 info->mh = (const struct mach_header *)mh; 71 info->dwarf_section = getsectiondata(mh, "__TEXT", "__eh_frame", &info->dwarf_section_length); 72 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 | 205 const struct ip6_mobility *mh; local 210 mh = (const struct ip6_mobility *)bp; 215 if (!ND_TTEST(mh->ip6m_len)) { 231 mhlen = (mh->ip6m_len + 1) << 3; 235 ND_TCHECK(mh->ip6m_type); 236 type = mh->ip6m_type; 260 ND_TCHECK(mh->ip6m_data16[0]); 261 ND_PRINT((ndo, " nonce id=0x%x", EXTRACT_16BITS(&mh->ip6m_data16[0]))); 281 ND_TCHECK(mh->ip6m_data16[0]); 282 ND_PRINT((ndo, " seq#=%u", EXTRACT_16BITS(&mh [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));
|