/external/libnl/lib/route/ |
D | nexthop.c | 44 struct rtnl_nexthop *nh; in rtnl_route_nh_alloc() local 46 nh = calloc(1, sizeof(*nh)); in rtnl_route_nh_alloc() 47 if (!nh) in rtnl_route_nh_alloc() 50 nl_init_list_head(&nh->rtnh_list); in rtnl_route_nh_alloc() 52 return nh; in rtnl_route_nh_alloc() 57 struct rtnl_nexthop *nh; in rtnl_route_nh_clone() local 59 nh = rtnl_route_nh_alloc(); in rtnl_route_nh_clone() 60 if (!nh) in rtnl_route_nh_clone() 63 nh->rtnh_flags = src->rtnh_flags; in rtnl_route_nh_clone() 64 nh->rtnh_flag_mask = src->rtnh_flag_mask; in rtnl_route_nh_clone() [all …]
|
D | route_obj.c | 87 struct rtnl_nexthop *nh, *tmp; in route_free_data() local 96 nl_list_for_each_entry_safe(nh, tmp, &r->rt_nexthops, rtnh_list) { in route_free_data() 97 rtnl_route_remove_nexthop(r, nh); in route_free_data() 98 rtnl_route_nh_free(nh); in route_free_data() 106 struct rtnl_nexthop *nh, *new; in route_clone() local 124 nl_list_for_each_entry(nh, &src->rt_nexthops, rtnh_list) { in route_clone() 125 new = rtnl_route_nh_clone(nh); in route_clone() 167 struct rtnl_nexthop *nh; in route_dump_line() local 169 nl_list_for_each_entry(nh, &r->rt_nexthops, rtnh_list) { in route_dump_line() 171 rtnl_route_nh_dump(nh, p); in route_dump_line() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | BuiltinsAArch64.def | 102 TARGET_HEADER_BUILTIN(_BitScanForward, "UcUNi*UNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 103 TARGET_HEADER_BUILTIN(_BitScanReverse, "UcUNi*UNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 104 TARGET_HEADER_BUILTIN(_BitScanForward64, "UcUNi*ULLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 105 TARGET_HEADER_BUILTIN(_BitScanReverse64, "UcUNi*ULLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 107 TARGET_HEADER_BUILTIN(_InterlockedAdd, "NiNiD*Ni", "nh", "intrin.h", ALL_MS_LANGUAGES,… 108 TARGET_HEADER_BUILTIN(_InterlockedAnd64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 109 TARGET_HEADER_BUILTIN(_InterlockedDecrement64, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES,… 110 TARGET_HEADER_BUILTIN(_InterlockedExchange64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 111 TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 112 TARGET_HEADER_BUILTIN(_InterlockedExchangeSub64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… [all …]
|
D | BuiltinsARM.def | 225 TARGET_HEADER_BUILTIN(_BitScanForward, "UcUNi*UNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 226 TARGET_HEADER_BUILTIN(_BitScanReverse, "UcUNi*UNi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 227 TARGET_HEADER_BUILTIN(_BitScanForward64, "UcUNi*ULLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 228 TARGET_HEADER_BUILTIN(_BitScanReverse64, "UcUNi*ULLi", "nh", "intrin.h", ALL_MS_LANGUAGES, "") 230 TARGET_HEADER_BUILTIN(_InterlockedAnd64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 231 TARGET_HEADER_BUILTIN(_InterlockedDecrement64, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES,… 232 TARGET_HEADER_BUILTIN(_InterlockedExchange64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 233 TARGET_HEADER_BUILTIN(_InterlockedExchangeAdd64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 234 TARGET_HEADER_BUILTIN(_InterlockedExchangeSub64, "LLiLLiD*LLi", "nh", "intrin.h", ALL_MS_LANGUAGES,… 235 TARGET_HEADER_BUILTIN(_InterlockedIncrement64, "LLiLLiD*", "nh", "intrin.h", ALL_MS_LANGUAGES,… [all …]
|
/external/ltp/lib/ |
D | tst_crypto.c | 39 struct nlmsghdr *nh; in tst_crypto_recv_ack() local 43 for (nh = (struct nlmsghdr *) buf; in tst_crypto_recv_ack() 44 NLMSG_OK(nh, len); in tst_crypto_recv_ack() 45 nh = NLMSG_NEXT(nh, len)) { in tst_crypto_recv_ack() 46 if (nh->nlmsg_seq != ses->seq_num) { in tst_crypto_recv_ack() 49 nh->nlmsg_type, nh->nlmsg_seq, ses->seq_num); in tst_crypto_recv_ack() 55 if (nh->nlmsg_type == NLMSG_ERROR) in tst_crypto_recv_ack() 56 return ((struct nlmsgerr *)NLMSG_DATA(nh))->error; in tst_crypto_recv_ack() 59 nh->nlmsg_type, nh->nlmsg_seq); in tst_crypto_recv_ack() 70 struct nlmsghdr nh = { in tst_crypto_add_alg() local [all …]
|
/external/tcpdump/ |
D | print-cnfp.c | 160 register const struct nfhdr_v1 *nh; in cnfp_v1_print() local 168 nh = (const struct nfhdr_v1 *)cp; in cnfp_v1_print() 169 ND_TCHECK(*nh); in cnfp_v1_print() 171 ver = EXTRACT_16BITS(&nh->version); in cnfp_v1_print() 172 nrecs = EXTRACT_32BITS(&nh->count); in cnfp_v1_print() 179 t = EXTRACT_32BITS(&nh->utc_sec); in cnfp_v1_print() 183 EXTRACT_32BITS(&nh->msys_uptime)/1000, in cnfp_v1_print() 184 EXTRACT_32BITS(&nh->msys_uptime)%1000, in cnfp_v1_print() 185 EXTRACT_32BITS(&nh->utc_sec), EXTRACT_32BITS(&nh->utc_nsec))); in cnfp_v1_print() 187 nr = (const struct nfrec_v1 *)&nh[1]; in cnfp_v1_print() [all …]
|
D | print-ip6.c | 52 u_int nh; in ip6_finddst() local 61 nh = ip6->ip6_nxt; in ip6_finddst() 67 switch (nh) { in ip6_finddst() 81 nh = *cp; in ip6_finddst() 92 nh = *cp; in ip6_finddst() 222 int nh; in ip6_print() local 281 nh = ip6->ip6_nxt; in ip6_print() 289 nh != IPPROTO_TCP && nh != IPPROTO_UDP && in ip6_print() 290 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) { in ip6_print() 295 switch (nh) { in ip6_print() [all …]
|
/external/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 116 static void validate_one_alg(const struct nlmsghdr *nh) in validate_one_alg() argument 118 const struct crypto_user_alg *alg = NLMSG_DATA(nh); in validate_one_alg() 120 size_t remaining = NLMSG_PAYLOAD(nh, sizeof(*alg)); in validate_one_alg() 136 const struct nlmsghdr *nh; in validate_alg_list() local 138 for (nh = buf; NLMSG_OK(nh, remaining); in validate_alg_list() 139 nh = NLMSG_NEXT(nh, remaining)) { in validate_alg_list() 140 if (nh->nlmsg_seq != ses.seq_num) { in validate_alg_list() 143 nh->nlmsg_type, nh->nlmsg_seq, ses.seq_num); in validate_alg_list() 145 if (nh->nlmsg_type == NLMSG_DONE) in validate_alg_list() 147 if (nh->nlmsg_type != CRYPTO_MSG_GETALG) { in validate_alg_list() [all …]
|
/external/dtc/tests/ |
D | root_node.c | 21 const struct fdt_node_header *nh; in main() local 26 nh = fdt_offset_ptr(fdt, 0, sizeof(*nh)); in main() 28 if (! nh) in main() 31 if (fdt32_to_cpu(nh->tag) != FDT_BEGIN_NODE) in main() 34 if (strlen(nh->name) != 0) in main() 36 nh->name); in main()
|
D | subnode_offset.c | 20 const struct fdt_node_header *nh; in check_subnode() local 28 nh = fdt_offset_ptr(fdt, offset, sizeof(*nh)); in check_subnode() 29 verbose_printf("pointer %p\n", nh); in check_subnode() 30 if (! nh) in check_subnode() 33 tag = fdt32_to_cpu(nh->tag); in check_subnode() 37 if (!nodename_eq(nh->name, name)) in check_subnode() 39 nh->name, name); in check_subnode()
|
D | path_offset.c | 20 const struct fdt_node_header *nh; in check_subnode() local 28 nh = fdt_offset_ptr(fdt, offset, sizeof(*nh)); in check_subnode() 29 verbose_printf("pointer %p\n", nh); in check_subnode() 30 if (! nh) in check_subnode() 33 tag = fdt32_to_cpu(nh->tag); in check_subnode() 37 if (!nodename_eq(nh->name, name)) in check_subnode() 39 nh->name, name); in check_subnode()
|
/external/elfutils/tests/ |
D | xlate_notes.c | 111 Elf32_Nhdr nh; in main() local 115 .d_size = sizeof nh in main() 119 dst.d_buf = &nh; in main() 130 nhdr.n_type, nh.n_type, in main() 131 nhdr.n_namesz, nh.n_namesz, in main() 132 nhdr.n_descsz, nh.n_descsz); in main() 134 if (nhdr.n_type != nh.n_type in main() 135 || nhdr.n_namesz != nh.n_namesz in main() 136 || nhdr.n_descsz != nh.n_descsz) in main()
|
/external/strace/tests-mx32/ |
D | nlattr_rtmsg.c | 125 struct rtnexthop nh = { in main() local 126 .rtnh_len = sizeof(nh) - 1, in main() 133 RTA_MULTIPATH, pattern, nh, in main() 137 nh.rtnh_len, nh.rtnh_hops)); in main() 139 char buf[RTNH_ALIGN(sizeof(nh)) + sizeof(nla)]; in main() 140 nh.rtnh_len = sizeof(buf); in main() 142 memcpy(buf, &nh, sizeof(nh)); in main() 143 memcpy(buf + RTNH_ALIGN(sizeof(nh)), &nla, sizeof(nla)); in main() 150 nh.rtnh_len, nh.rtnh_hops, nla.nla_len)); in main()
|
/external/strace/tests/ |
D | nlattr_rtmsg.c | 125 struct rtnexthop nh = { in main() local 126 .rtnh_len = sizeof(nh) - 1, in main() 133 RTA_MULTIPATH, pattern, nh, in main() 137 nh.rtnh_len, nh.rtnh_hops)); in main() 139 char buf[RTNH_ALIGN(sizeof(nh)) + sizeof(nla)]; in main() 140 nh.rtnh_len = sizeof(buf); in main() 142 memcpy(buf, &nh, sizeof(nh)); in main() 143 memcpy(buf + RTNH_ALIGN(sizeof(nh)), &nla, sizeof(nla)); in main() 150 nh.rtnh_len, nh.rtnh_hops, nla.nla_len)); in main()
|
/external/strace/tests-m32/ |
D | nlattr_rtmsg.c | 125 struct rtnexthop nh = { in main() local 126 .rtnh_len = sizeof(nh) - 1, in main() 133 RTA_MULTIPATH, pattern, nh, in main() 137 nh.rtnh_len, nh.rtnh_hops)); in main() 139 char buf[RTNH_ALIGN(sizeof(nh)) + sizeof(nla)]; in main() 140 nh.rtnh_len = sizeof(buf); in main() 142 memcpy(buf, &nh, sizeof(nh)); in main() 143 memcpy(buf + RTNH_ALIGN(sizeof(nh)), &nla, sizeof(nla)); in main() 150 nh.rtnh_len, nh.rtnh_hops, nla.nla_len)); in main()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 43 struct nlmsghdr nh; member 104 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in main() 105 req.nh.nlmsg_flags = NLM_F_REQUEST; in main() 106 req.nh.nlmsg_type = RTM_NEWLINK; in main() 111 NLMSG_ALIGN(req.nh.nlmsg_len)); in main() 114 req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) + in main() 118 if (send(rtnetlink_socket, &req, req.nh.nlmsg_len, 0) == -1) { in main()
|
/external/libexif/po/ |
D | vi.po | 30 msgstr "Định dạng không hợp lệ \"%s\", mong chờ \"%s\"." 37 msgstr "Số thành phần không hợp lệ (%i, mong chờ %i)." 44 msgstr "Số thành phần không hợp lệ (%i, mong chờ %i hay %i)." 54 msgstr "Vĩ lệnh" 79 msgstr "Chính xác" 162 msgstr "Đèn nháy ngoài" 270 msgstr "Màn hình rộng" 351 msgstr "Đèn nháy bị tắt" 360 msgstr "Siêu vĩ lệnh" 368 msgstr "Trong nhà" [all …]
|
/external/ltp/include/ |
D | tst_netlink.h | 37 int fd, const struct nlmsghdr *nh, in safe_netlink_send() argument 42 {(struct nlmsghdr *)nh, sizeof(*nh)}, in safe_netlink_send() 43 {(void *)payload, nh->nlmsg_len - sizeof(*nh)} in safe_netlink_send() 52 return safe_sendmsg(file, lineno, nh->nlmsg_len, fd, &msg, 0); in safe_netlink_send()
|
/external/scapy/scapy/layers/ |
D | ipsec.py | 104 bind_layers(IPv6, AH, nh=socket.IPPROTO_AH) 105 bind_layers(AH, IP, nh=socket.IPPROTO_IP) 106 bind_layers(AH, IPv6, nh=socket.IPPROTO_IPV6) 132 bind_layers(IPv6, ESP, nh=socket.IPPROTO_ESP) 157 return raw(self.data) + self.padding + struct.pack("BB", self.padlen, self.nh) 394 nh = orb(data[-1]) 406 nh=nh, 637 nh = None 640 nh = header.proto 646 return header, nh, next_hdr [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | dwt.c | 76 int lv, i, j, nh, nw, hh = height, hw = width; in dyadic_analyze_53_uint8_input() local 95 nh = hh; in dyadic_analyze_53_uint8_input() 99 if ((nh < 2) || (nw < 2)) return; in dyadic_analyze_53_uint8_input() 100 for (i = 0; i < nh; i++) { in dyadic_analyze_53_uint8_input() 105 for (i = 0; i < nh; i++) buffer[i + nh] = c[i * pitch_c + j]; in dyadic_analyze_53_uint8_input() 106 analysis_53_col(nh, buffer + nh, buffer, buffer + hh); in dyadic_analyze_53_uint8_input() 107 for (i = 0; i < nh; i++) c[i * pitch_c + j] = buffer[i]; in dyadic_analyze_53_uint8_input()
|
/external/libpcap/ |
D | pcap-nit.c | 107 register struct nit_hdr *nh; in pcap_read_nit() local 152 nh = (struct nit_hdr *)bp; in pcap_read_nit() 153 cp = bp + sizeof(*nh); in pcap_read_nit() 155 switch (nh->nh_state) { in pcap_read_nit() 163 pn->stat.ps_drop = nh->nh_dropped; in pcap_read_nit() 171 "bad nit state %d", nh->nh_state); in pcap_read_nit() 175 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen + in pcap_read_nit() 178 caplen = nh->nh_wirelen; in pcap_read_nit() 181 if (pcap_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) { in pcap_read_nit() 183 h.ts = nh->nh_timestamp; in pcap_read_nit() [all …]
|
/external/strace/ |
D | rtnl_route.c | 263 struct rtnexthop nh; in decode_rta_multipath() local 265 if (len < sizeof(nh)) in decode_rta_multipath() 267 else if (!umove_or_printaddr(tcp, addr, &nh)) { in decode_rta_multipath() 269 PRINT_FIELD_U("{", nh, rtnh_len); in decode_rta_multipath() 270 PRINT_FIELD_FLAGS(", ", nh, rtnh_flags, in decode_rta_multipath() 272 PRINT_FIELD_U(", ", nh, rtnh_hops); in decode_rta_multipath() 273 PRINT_FIELD_IFINDEX(", ", nh, rtnh_ifindex); in decode_rta_multipath() 276 const unsigned short rtnh_len = MIN(len, nh.rtnh_len); in decode_rta_multipath() 277 const size_t offset = RTNH_ALIGN(sizeof(nh)); in decode_rta_multipath()
|
/external/libnl/src/lib/ |
D | route.c | 154 struct rtnl_nexthop *nh; in nl_cli_route_parse_nexthop() local 160 if (!(nh = rtnl_route_nh_alloc())) in nl_cli_route_parse_nexthop() 177 rtnl_route_nh_set_ifindex(nh, ival); in nl_cli_route_parse_nexthop() 183 rtnl_route_nh_set_via(nh, addr); in nl_cli_route_parse_nexthop() 186 rtnl_route_nh_set_gateway(nh, addr); in nl_cli_route_parse_nexthop() 194 rtnl_route_nh_set_newdst(nh, addr); in nl_cli_route_parse_nexthop() 204 rtnl_route_nh_set_weight(nh, lval); in nl_cli_route_parse_nexthop() 209 rtnl_route_add_nexthop(route, nh); in nl_cli_route_parse_nexthop()
|
/external/iproute2/ip/ |
D | ipmroute.c | 138 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); in print_mroute() local 144 if (len < sizeof(*nh)) in print_mroute() 146 if (nh->rtnh_len > len) in print_mroute() 153 fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex)); in print_mroute() 154 if (nh->rtnh_hops > 1) in print_mroute() 155 fprintf(fp, "(ttl %d) ", nh->rtnh_hops); in print_mroute() 158 len -= NLMSG_ALIGN(nh->rtnh_len); in print_mroute() 159 nh = RTNH_NEXT(nh); in print_mroute()
|
/external/llvm-project/libcxx/src/ |
D | new.cpp | 71 std::new_handler nh = std::get_new_handler(); in operator new() local 72 if (nh) in operator new() 73 nh(); in operator new() 192 std::new_handler nh = std::get_new_handler(); in operator new() local 193 if (nh) in operator new() 194 nh(); in operator new()
|