HomeSort by relevance Sort by last modified time
    Searched defs:nh (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /external/dtc/tests/
root_node.c 34 const struct fdt_node_header *nh; local
39 nh = fdt_offset_ptr(fdt, 0, sizeof(*nh));
41 if (! nh)
44 if (fdt32_to_cpu(nh->tag) != FDT_BEGIN_NODE)
47 if (strlen(nh->name) != 0)
49 nh->name);
path_offset.c 33 const struct fdt_node_header *nh; local
41 nh = fdt_offset_ptr(fdt, offset, sizeof(*nh));
42 verbose_printf("pointer %p\n", nh);
43 if (! nh)
46 tag = fdt32_to_cpu(nh->tag);
50 if (!nodename_eq(nh->name, name))
52 nh->name, name);
subnode_offset.c 33 const struct fdt_node_header *nh; local
41 nh = fdt_offset_ptr(fdt, offset, sizeof(*nh));
42 verbose_printf("pointer %p\n", nh);
43 if (! nh)
46 tag = fdt32_to_cpu(nh->tag);
50 if (!nodename_eq(nh->name, name))
52 nh->name, name);
  /external/libcxx/src/
new.cpp 74 std::new_handler nh = std::get_new_handler(); variable
75 if (nh)
76 nh();
194 std::new_handler nh = std::get_new_handler(); variable
195 if (nh)
196 nh();
  /external/libcxxabi/src/
cxa_new_delete.cpp 48 std::new_handler nh = std::get_new_handler(); variable
49 if (nh)
50 nh();
  /external/ltp/testcases/kernel/containers/share/
ns_ifmove.c 43 struct nlmsghdr nh; member in struct:__anon26434
104 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
105 req.nh.nlmsg_flags = NLM_F_REQUEST;
106 req.nh.nlmsg_type = RTM_NEWLINK;
111 NLMSG_ALIGN(req.nh.nlmsg_len));
114 req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +
118 if (send(rtnetlink_socket, &req, req.nh.nlmsg_len, 0) == -1) {
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/src/
new.cpp 59 std::new_handler nh = std::get_new_handler(); local
60 if (nh)
61 nh();
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
cxa_new_delete.cpp 46 std::new_handler nh = std::get_new_handler(); local
47 if (nh)
48 nh();
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/
new.cpp 54 std::new_handler nh = std::get_new_handler(); local
55 if (nh)
56 nh();
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++abi/src/
cxa_new_delete.cpp 46 std::new_handler nh = std::get_new_handler(); local
47 if (nh)
48 nh();
  /system/extras/multinetwork/
common.cpp 42 net_handle_t nh; local
45 nh = strtoull(arg, &end, 0);
47 *nethandle = nh;
  /external/blktrace/btt/
q2d.c 96 double nh = (double)q2dp->nhistos; local
99 double p = 100.0 * (double)q2dp->histos[i] / nh;
  /external/iproute2/ip/
ipmroute.c 149 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); local
155 if (len < sizeof(*nh))
157 if (nh->rtnh_len > len)
164 fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex));
165 if (nh->rtnh_hops > 1)
166 fprintf(fp, "(ttl %d) ", nh->rtnh_hops);
169 len -= NLMSG_ALIGN(nh->rtnh_len);
170 nh = RTNH_NEXT(nh);
  /external/libpcap/
pcap-nit.c 108 register struct nit_hdr *nh; local
153 nh = (struct nit_hdr *)bp;
154 cp = bp + sizeof(*nh);
156 switch (nh->nh_state) {
164 pn->stat.ps_drop = nh->nh_dropped;
172 "bad nit state %d", nh->nh_state);
176 bp += ((sizeof(struct nit_hdr) + nh->nh_datalen +
179 caplen = nh->nh_wirelen;
182 if (bpf_filter(p->fcode.bf_insns, cp, nh->nh_wirelen, caplen)) {
184 h.ts = nh->nh_timestamp
    [all...]
  /external/tcpdump/
print-ip6.c 83 int nh; local
142 nh = ip6->ip6_nxt;
148 nh != IPPROTO_TCP && nh != IPPROTO_UDP &&
149 nh != IPPROTO_DCCP && nh != IPPROTO_SCTP) {
154 switch (nh) {
157 nh = *cp;
161 nh = *cp;
167 nh = *cp
    [all...]
print-babel.c 470 ND_PRINT((ndo, " nh"));
473 u_char nh[16]; local
476 rc = network_address(message[2], message + 4, len - 2, nh);
478 ND_PRINT((ndo, " %s", format_address(ndo, nh)));
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
fdt_sw.c 140 struct fdt_node_header *nh; local
145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen));
146 if (! nh)
149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE);
150 memcpy(nh->name, name, namelen);
fdt_ro.c 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); local
211 *len = strlen(nh->name);
213 return nh->name;
fdt_rw.c 340 struct fdt_node_header *nh; local
362 nh = _fdt_offset_ptr_w(fdt, offset);
363 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE;
365 err = _fdt_splice_struct(fdt, nh, 0, nodelen);
369 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE);
370 memset(nh->name, 0, FDT_TAGALIGN(namelen+1));
371 memcpy(nh->name, name, namelen);
372 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
  /external/dtc/libfdt/
fdt_sw.c 172 struct fdt_node_header *nh; local
177 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen));
178 if (! nh)
181 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE);
182 memcpy(nh->name, name, namelen);
fdt_ro.c 235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); local
243 *len = strlen(nh->name);
245 return nh->name;
fdt_rw.c 335 struct fdt_node_header *nh; local
357 nh = _fdt_offset_ptr_w(fdt, offset);
358 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE;
360 err = _fdt_splice_struct(fdt, nh, 0, nodelen);
364 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE);
365 memset(nh->name, 0, FDT_TAGALIGN(namelen+1));
366 memcpy(nh->name, name, namelen);
367 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
  /external/libchrome/base/allocator/
allocator_shim.cc 58 std::new_handler nh; local
62 nh = std::set_new_handler(0);
63 ignore_result(std::set_new_handler(nh));
66 if (!nh)
68 (*nh)();
  /external/libnl/lib/route/
nexthop.c 39 struct rtnl_nexthop *nh; local
41 nh = calloc(1, sizeof(*nh));
42 if (!nh)
45 nl_init_list_head(&nh->rtnh_list);
47 return nh;
52 struct rtnl_nexthop *nh; local
54 nh = rtnl_route_nh_alloc();
55 if (!nh)
58 nh->rtnh_flags = src->rtnh_flags
    [all...]
  /external/libnl/src/lib/
route.c 151 struct rtnl_nexthop *nh; local
157 if (!(nh = rtnl_route_nh_alloc()))
174 rtnl_route_nh_set_ifindex(nh, ival);
179 rtnl_route_nh_set_gateway(nh, addr);
189 rtnl_route_nh_set_weight(nh, lval);
194 rtnl_route_add_nexthop(route, nh);

Completed in 986 milliseconds

1 2 3 4 5 6