Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 25 of 998) sorted by relevance

12345678910>>...40

/external/libnl/src/
D.gitignore9 nl-addr-add
10 nl-addr-delete
11 nl-addr-list
12 nl-fib-lookup
13 nl-link-list
14 nl-link-ifindex2name
15 nl-link-name2ifindex
16 nl-link-set
17 nl-link-stats
18 nl-list-caches
[all …]
/external/libnl/python/examples/
Dwiphy.py1 import netlink.capi as nl namespace
28 e, fattr = nl.py_nla_parse_nested(nl80211.NL80211_FREQUENCY_ATTR_MAX, attr, pol)
30 freq = nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_FREQ])
33 …sys.stdout.write(" (%.1f dBm)" % (0.01 * nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_MAX_T…
39 e, battr = nl.py_nla_parse_nested(nl80211.NL80211_BAND_ATTR_MAX, attr, None)
40 print("\tband %d:" % nl.nla_type(attr))
42 for fattr in nl.nla_get_nested(battr[nl80211.NL80211_BAND_ATTR_FREQS]):
66 e, attr = genl.py_genlmsg_parse(nl.nlmsg_hdr(m), 0,
69 print('wiphy %s' % nl.nla_get_string(attr[nl80211.NL80211_ATTR_WIPHY_NAME]))
71 fpol = nl.nla_policy_array(nl80211.NL80211_FREQUENCY_ATTR_MAX + 1)
[all …]
Diface.py1 import netlink.capi as nl namespace
13 e, attr = genl.py_genlmsg_parse(nl.nlmsg_hdr(m), 0,
16 thiswiphy = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_WIPHY])
19 print("\tinterface %s" % nl.nla_get_string(attr[nl80211.NL80211_ATTR_IFNAME]));
21 print("\tifindex %d" % nl.nla_get_u32(attr[nl80211.NL80211_ATTR_IFINDEX]))
23 print("\twdev 0x%lx" % nl.nla_get_u64(attr[nl80211.NL80211_ATTR_WDEV]))
25 print("\tmac %02x:%02x:%02x:%02x:%02x:%02x" % tuple(nl.nla_data(attr[nl80211.NL80211_ATTR_MAC])))
27 print("\tssid ", nl.nla_data(attr[nl80211.NL80211_ATTR_SSID]))
29 iftype = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_IFTYPE])
32 freq = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_WIPHY_FREQ])
[all …]
/external/elfutils/tests/
Dtest-nlist.c37 struct nlist nl[6] = in main() local
49 if (nlist (".libs/test-nlist", nl) != 0 in main()
50 && nlist ("./test-nlist", nl) != 0) in main()
56 for (cnt = 0; nl[cnt].n_name != NULL; ++cnt) in main()
66 cnt, nl[cnt].n_name, in main()
67 cnt, nl[cnt].n_value, in main()
68 cnt, nl[cnt].n_scnum, in main()
69 cnt, nl[cnt].n_type, in main()
70 cnt, nl[cnt].n_sclass, in main()
71 cnt, nl[cnt].n_numaux); in main()
[all …]
/external/elfutils/libelf/
Dnlist.c60 nlist (const char *filename, struct nlist *nl) in nlist() argument
176 while (nl->n_name != NULL && nl->n_name[0] != '\0') in nlist()
182 search.str = nl->n_name; in nlist()
183 found = nlist_fshash_find (table, nl->n_name, 0, &search); in nlist()
188 nl->n_value = found->sym.st_value; in nlist()
189 nl->n_scnum = found->sym.st_shndx; in nlist()
190 nl->n_type = GELF_ST_TYPE (found->sym.st_info); in nlist()
192 nl->n_sclass = 0; in nlist()
193 nl->n_numaux = 0; in nlist()
198 nl->n_value = 0; in nlist()
[all …]
/external/mesa3d/prebuilt-intermediates/xmlpool/
Doptions.h64 DRI_CONF_DESC(nl,"Debuggen") \
73 DRI_CONF_DESC(nl,"3D versnelling uitschakelen") \
83 DRI_CONF_DESC(nl,"Laat prestatie boxjes zien") \
93 DRI_CONF_DESC(nl,"Enable flushing batchbuffer after each draw call") \
103 DRI_CONF_DESC(nl,"Enable flushing GPU caches with each draw call") \
113 DRI_CONF_DESC(nl,"Disable throttling on first batch after flush") \
123 DRI_CONF_DESC(nl,"Force GLSL extension default behavior to 'warn'") \
133 DRI_CONF_DESC(nl,"Disable dual source blending") \
143 DRI_CONF_DESC(nl,"Identify dual color blending sources by location rather than index") \
153 DRI_CONF_DESC(nl,"Disable backslash-based line continuations in GLSL source") \
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
DCPPBackend.cpp125 formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0);
163 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) { in nl() function in CppWriter
438 nl(Out); in printAttributes()
440 Out << '{'; in(); nl(Out); in printAttributes()
441 Out << "SmallVector<AttributeWithIndex, 4> Attrs;"; nl(Out); in printAttributes()
442 Out << "AttributeWithIndex PAWI;"; nl(Out); in printAttributes()
484 nl(Out); in printAttributes()
486 nl(Out); in printAttributes()
489 nl(Out); in printAttributes()
490 out(); nl(Out); in printAttributes()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
DASN1Dump.java62 String nl = Strings.lineSeparator(); in _dumpAsString() local
82 buf.append(nl); in _dumpAsString()
92 buf.append(nl); in _dumpAsString()
128 buf.append(nl); in _dumpAsString()
134 buf.append(nl); in _dumpAsString()
160 buf.append(nl); in _dumpAsString()
170 buf.append(nl); in _dumpAsString()
200 buf.append(nl); in _dumpAsString()
205 … buf.append(indent + "ObjectIdentifier(" + ((ASN1ObjectIdentifier)obj).getId() + ")" + nl); in _dumpAsString()
209 buf.append(indent + "Boolean(" + ((ASN1Boolean)obj).isTrue() + ")" + nl); in _dumpAsString()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/util/
DASN1Dump.java64 String nl = Strings.lineSeparator(); in _dumpAsString() local
84 buf.append(nl); in _dumpAsString()
94 buf.append(nl); in _dumpAsString()
130 buf.append(nl); in _dumpAsString()
136 buf.append(nl); in _dumpAsString()
162 buf.append(nl); in _dumpAsString()
172 buf.append(nl); in _dumpAsString()
202 buf.append(nl); in _dumpAsString()
207 … buf.append(indent + "ObjectIdentifier(" + ((ASN1ObjectIdentifier)obj).getId() + ")" + nl); in _dumpAsString()
211 buf.append(indent + "Boolean(" + ((ASN1Boolean)obj).isTrue() + ")" + nl); in _dumpAsString()
[all …]
/external/iproute2/tipc/
Dmsg.c51 struct mnl_socket *nl; in msg_send() local
53 nl = mnl_socket_open(NETLINK_GENERIC); in msg_send()
54 if (nl == NULL) { in msg_send()
59 ret = mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID); in msg_send()
65 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in msg_send()
71 return nl; in msg_send()
74 static int msg_recv(struct mnl_socket *nl, mnl_cb_t callback, void *data, int seq) in msg_recv() argument
80 portid = mnl_socket_get_portid(nl); in msg_recv()
82 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in msg_recv()
87 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in msg_recv()
[all …]
/external/libnetfilter_conntrack/examples/
Dnfct-mnl-set-label.c10 struct mnl_socket *nl; member
60 if (mnl_socket_sendto(cbargs->nl, nlh, nlh->nlmsg_len) < 0) in set_label()
105 struct mnl_socket *nl; in sock_nl_create() local
107 nl = mnl_socket_open(NETLINK_NETFILTER); in sock_nl_create()
108 if (nl == NULL) { in sock_nl_create()
113 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in sock_nl_create()
118 return nl; in sock_nl_create()
123 struct mnl_socket *nl; in main() local
148 nl = sock_nl_create(); in main()
149 portid = mnl_socket_get_portid(nl); in main()
[all …]
Dnfct-mnl-flush.c14 struct mnl_socket *nl; in main() local
21 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
22 if (nl == NULL) { in main()
27 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
31 portid = mnl_socket_get_portid(nl); in main()
43 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
49 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
54 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
61 mnl_socket_close(nl); in main()
Dnfct-mnl-dump.c31 struct mnl_socket *nl; in main() local
38 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
39 if (nl == NULL) { in main()
44 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
48 portid = mnl_socket_get_portid(nl); in main()
60 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
66 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
78 mnl_socket_close(nl); in main()
Dnfexp-mnl-dump.c35 struct mnl_socket *nl; in main() local
42 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
43 if (nl == NULL) { in main()
48 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
53 portid = mnl_socket_get_portid(nl); in main()
65 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
77 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
84 mnl_socket_close(nl); in main()
Dnfct-mnl-del.c14 struct mnl_socket *nl; in main() local
22 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
23 if (nl == NULL) { in main()
28 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
32 portid = mnl_socket_get_portid(nl); in main()
60 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
66 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
78 mnl_socket_close(nl); in main()
Dnfct-mnl-create.c14 struct mnl_socket *nl; in main() local
22 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
23 if (nl == NULL) { in main()
28 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
32 portid = mnl_socket_get_portid(nl); in main()
65 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
76 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
83 mnl_socket_close(nl); in main()
Dnfct-mnl-get.c33 struct mnl_socket *nl; in main() local
41 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
42 if (nl == NULL) { in main()
47 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
51 portid = mnl_socket_get_portid(nl); in main()
79 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
85 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
90 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
97 mnl_socket_close(nl); in main()
Dnfct-mnl-dump-labels.c46 struct mnl_socket *nl; in main() local
54 nl = mnl_socket_open(NETLINK_NETFILTER); in main()
55 if (nl == NULL) { in main()
60 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in main()
64 portid = mnl_socket_get_portid(nl); in main()
77 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len); in main()
83 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
90 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf)); in main()
100 mnl_socket_close(nl); in main()
/external/python/cpython2/Parser/
Dacceler.c69 int nl = g->g_ll.ll_nlabels; in fixstate() local
71 accel = (int *) PyObject_MALLOC(nl * sizeof(int)); in fixstate()
76 for (k = 0; k < nl; k++) in fixstate()
105 else if (lbl >= 0 && lbl < nl) in fixstate()
108 while (nl > 0 && accel[nl-1] == -1) in fixstate()
109 nl--; in fixstate()
110 for (k = 0; k < nl && accel[k] == -1;) in fixstate()
112 if (k < nl) { in fixstate()
114 s->s_accel = (int *) PyObject_MALLOC((nl-k) * sizeof(int)); in fixstate()
120 s->s_upper = nl; in fixstate()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DFunctionPattern.java106 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); in execute() local
109 if (null != nl) in execute()
113 while (DTM.NULL != (n = nl.nextNode())) in execute()
127 nl.detach(); in execute()
150 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); in execute() local
153 if (null != nl) in execute()
157 while (DTM.NULL != (n = nl.nextNode())) in execute()
169 nl.detach(); in execute()
193 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); in execute() local
196 if (null != nl) in execute()
[all …]
/external/python/cpython3/Parser/
Dacceler.c69 int nl = g->g_ll.ll_nlabels; in fixstate() local
71 accel = (int *) PyObject_MALLOC(nl * sizeof(int)); in fixstate()
76 for (k = 0; k < nl; k++) in fixstate()
105 else if (lbl >= 0 && lbl < nl) in fixstate()
108 while (nl > 0 && accel[nl-1] == -1) in fixstate()
109 nl--; in fixstate()
110 for (k = 0; k < nl && accel[k] == -1;) in fixstate()
112 if (k < nl) { in fixstate()
114 s->s_accel = (int *) PyObject_MALLOC((nl-k) * sizeof(int)); in fixstate()
120 s->s_upper = nl; in fixstate()
[all …]
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test.cc236 name_list* nl = pdn->names; in destruct_parsed_names() local
238 while (nl != nullptr) { in destruct_parsed_names()
239 name_list* to_be_free = nl; in destruct_parsed_names()
240 nl = nl->next; in destruct_parsed_names()
260 name_list* nl; in peer_from_cert_name_test_entry() local
263 nl = dns_entries.names; in peer_from_cert_name_test_entry()
271 while (nl != nullptr) { in peer_from_cert_name_test_entry()
272 char* processed = processed_name(nl->name); in peer_from_cert_name_test_entry()
275 strlen(nl->name), &peer.properties[i++]) == TSI_OK); in peer_from_cert_name_test_entry()
276 nl = nl->next; in peer_from_cert_name_test_entry()
[all …]
/external/u-boot/arch/m68k/include/asm/
Dio.h50 #define insl(port, buf, nl) _insl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument
51 #define outsl(port, buf, nl) _outsl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument
99 static inline void _insl(volatile u32 * port, void *buf, int nl) in _insl() argument
102 while (nl--) in _insl()
106 static inline void _outsl(volatile u32 * port, const void *buf, int nl) in _outsl() argument
109 while (nl--) { in _outsl()
130 static inline void _insl_ns(volatile u32 * port, void *buf, int nl) in _insl_ns() argument
133 while (nl--) in _insl_ns()
137 static inline void _outsl_ns(volatile u32 * port, const void *buf, int nl) in _outsl_ns() argument
140 while (nl--) { in _outsl_ns()
[all …]
/external/bcc/examples/networking/vlan_learning/
Dsimulation.py30 nl=NetNS(name)
31 self.namespaces.append(nl)
36 ns_ipdb = IPDB(nl)
37 self.ipdbs[nl.netns] = ns_ipdb
41 nsp = NSPopen(ns_ipdb.nl.netns, cmd1)
48 v.net_ns_fd = ns_ipdb.nl.netns
60 v.net_ns_fd = ns_ipdb.nl.netns
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
86 self.processes.append(NSPopen(ns_ipdb.nl.netns, cmd))
/external/bcc/tests/python/
Dsimulation.py30 nl=NetNS(name)
31 self.namespaces.append(nl)
36 ns_ipdb = IPDB(nl)
37 self.ipdbs[nl.netns] = ns_ipdb
41 nsp = NSPopen(ns_ipdb.nl.netns, cmd1)
48 v.net_ns_fd = ns_ipdb.nl.netns
60 v.net_ns_fd = ns_ipdb.nl.netns
81 self.ipdb.nl.tc("add", "ingress", out_ifc["index"], "ffff:")
82 self.ipdb.nl.tc("add-filter", "bpf", out_ifc["index"], ":1",
86 self.processes.append(NSPopen(ns_ipdb.nl.netns, cmd))

12345678910>>...40