/external/tcpdump/ |
print-ip6.c | 58 int nh; local 112 nh = ip6->ip6_nxt; 118 nh != IPPROTO_TCP && nh != IPPROTO_UDP && 119 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { 124 switch (nh) { 127 nh = *cp; 131 nh = *cp; 137 nh = *cp [all...] |
print-cnfp.c | 84 register const struct nfhdr *nh; local 92 nh = (const struct nfhdr *)cp; 94 if ((const u_char *)(nh + 1) > snapend) 97 nrecs = EXTRACT_32BITS(&nh->ver_cnt) & 0xffff; 98 ver = (EXTRACT_32BITS(&nh->ver_cnt) & 0xffff0000) >> 16; 105 t = EXTRACT_32BITS(&nh->utc_sec); 109 EXTRACT_32BITS(&nh->msys_uptime)/1000, 110 EXTRACT_32BITS(&nh->msys_uptime)%1000, 111 EXTRACT_32BITS(&nh->utc_sec), EXTRACT_32BITS(&nh->utc_nsec)) [all...] |
print-ip.c | 370 u_char nh; member in struct:ip_print_demux_state 381 switch (ipds->nh) { 384 ipds->nh = *ipds->cp; 402 ipds->nh = enh & 0xff; 414 ipds->nh = enh & 0xff; 523 if ((proto = getprotobynumber(ipds->nh)) != NULL) 526 ND_PRINT((ndo, " ip-proto-%d", ipds->nh)); 535 u_int length, u_int nh, 544 ipd.nh = nh; [all...] |
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 77 const struct nlmsghdr *nh = (struct nlmsghdr *) buffer; local 79 while (NLMSG_OK(nh, sz) && (nh->nlmsg_type != NLMSG_DONE)) { 81 if (nh->nlmsg_type == RTM_NEWLINK) { 82 int len = nh->nlmsg_len - sizeof(*nh); 90 ifi = (ifinfomsg *)NLMSG_DATA(nh); 97 len = NLMSG_PAYLOAD(nh, sizeof(*ifi)); 115 } else if (nh->nlmsg_type == QLOG_NL_EVENT) { 118 size_t len = nh->nlmsg_len - sizeof(*nh) [all...] |
/external/libpcap/ |
pcap-nit.c | 104 register struct nit_hdr *nh; local 149 nh = (struct nit_hdr *)bp; 150 cp = bp + sizeof(*nh); 152 switch (nh->nh_state) { 160 p->md.stat.ps_drop = nh->nh_dropped; 168 "bad nit state %d", nh->nh_state); 172 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen + 175 caplen = nh->nh_wirelen; 178 if (bpf_filter(fcode, cp, nh->nh_wirelen, caplen)) { 180 h.ts = nh->nh_timestamp [all...] |
/external/chromium/base/allocator/ |
allocator_shim.cc | 76 std::new_handler nh; local 79 nh = std::set_new_handler(0); 80 (void) std::set_new_handler(nh); 83 if (!nh) 87 (*nh)(); 91 if (!nh) { 100 (*nh)();
|
/ndk/sources/cxx-stl/llvm-libc++/src/ |
new.cpp | 54 std::new_handler nh = std::get_new_handler(); local 55 if (nh) 56 nh();
|
/external/libvpx/libvpx/vpx_scale/include/generic/ |
vpxscale_arbitrary.h | 27 int nh; member in struct:__anon11015
|
/external/blktrace/btt/ |
q2d.c | 96 double nh = (double)q2dp->nhistos; local 99 double p = 100.0 * (double)q2dp->histos[i] / nh;
|
/device/lge/mako/camera/ |
QCameraHWI_Record_7x27A.cpp | 212 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); local 213 nh->data[0] = mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd; 214 nh->data[1] = 0; 215 nh->data[2] = mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->size; 216 nh->data[3] = (uint32_t)mHalCamCtrl->mPreviewMemory.camera_memory[cnt]->data;
|
/external/elfutils/libdwfl/ |
dwfl_segment_report_module.c | 311 const GElf_Nhdr *nh = notes; local 312 while ((const void *) nh < (const void *) notes + filesz) 314 const void *note_name = nh + 1; 315 const void *note_desc = note_name + NOTE_ALIGN (nh->n_namesz); 317 - note_desc) < nh->n_descsz)) 320 if (nh->n_type == NT_GNU_BUILD_ID 321 && nh->n_descsz > 0 322 && nh->n_namesz == sizeof "GNU" 326 build_id_len = nh->n_descsz; 327 build_id = malloc (nh->n_descsz) [all...] |
/external/libvpx/libvpx/vpx_scale/generic/ |
bicubic_scaler.c | 321 g_b_scaler.nh = out_height / gcd_h; 345 g_b_scaler.c_h = (short *)vpx_memalign(32, g_b_scaler.nh * 4 * 2); 375 fixed_mult = (1.0 / (float)g_b_scaler.nh) * 4294967296; 379 for (i = 0; i < g_b_scaler.nh; i++) { 380 if (product_val > g_b_scaler.nh) 381 product_val -= g_b_scaler.nh; 452 g_b_scaler.l_h[i] = (i * d_h) / g_b_scaler.nh; 506 if (++phase_offset_h >= g_b_scaler.nh)
|
/external/iproute2/ip/ |
iproute.c | 66 fprintf(stderr, "INFO_SPEC := NH OPTIONS FLAGS [ nexthop NH ]...\n"); 67 fprintf(stderr, "NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS\n"); 526 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); local 532 if (len < sizeof(*nh)) 534 if (nh->rtnh_len > len) 543 if (nh->rtnh_len > sizeof(*nh)) { 544 parse_rtattr(tb, RTA_MAX, RTNH_DATA(nh), nh->rtnh_len - sizeof(*nh)) [all...] |
/external/svox/pico/lib/ |
picofftsg.c | 670 picoos_int32 j0, k0, j1, k1, l, m, i, j, k, nh, m2; local 678 nh = n >> 1; 722 j1 += nh; 763 k1 += nh; 802 j1 -= nh; 842 for (i = nh >> 1; i > (k ^= i); i >>= 1) { 848 k1 += nh; 878 k1 -= nh; 887 j1 += nh + 2; 888 k1 += nh + 2 1029 picoos_int32 j0, k0, j1, k1, l, m, i, j, k, nh, m2; local 1583 picoos_int32 j0, k0, j1, k1, l, m, i, j, k, nh; local [all...] |
/bionic/libc/kernel/common/linux/ |
skbuff.h | 130 } nh; member in struct:sk_buff
|
/development/ndk/platforms/android-3/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
skbuff.h | 128 } nh; member in struct:sk_buff
|