Searched defs:nl (Results 1 - 25 of 138) sorted by relevance

123456

/external/syslinux/com32/lib/
H A Dmemset.c13 size_t nl = n >> 2; local
15 : "+c" (nl), "+D" (q)
H A Dmemcpy.c13 size_t nl = n >> 2; local
14 asm volatile ("cld ; rep ; movsl ; movl %3,%0 ; rep ; movsb":"+c" (nl),
/external/syslinux/memdisk/
H A Dmemset.c13 size_t nl = n >> 2; local
15 : "+c" (nl), "+D" (q)
H A Dmemcpy.c13 size_t nl = n >> 2; local
14 asm volatile ("cld ; rep ; movsl ; movl %3,%0 ; rep ; movsb":"+c" (nl),
/external/elfutils/tests/
H A Dtest-nlist.c37 struct nlist nl[6] = local
49 if (nlist (".libs/test-nlist", nl) != 0
50 && nlist ("./test-nlist", nl) != 0)
56 for (cnt = 0; nl[cnt].n_name != NULL; ++cnt)
60 printf ("nl[%d].n_name = \"%s\"\n"
61 "nl[%d].n_value = %ld\n"
62 "nl[%d].n_scnum = %d\n"
63 "nl[%d].n_type = %u\n"
64 "nl[%d].n_sclass = %d\n"
65 "nl[
[all...]
/external/libnetfilter_conntrack/examples/
H A Dnfct-mnl-create.c14 struct mnl_socket *nl; local
22 nl = mnl_socket_open(NETLINK_NETFILTER);
23 if (nl == NULL) {
28 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
32 portid = mnl_socket_get_portid(nl);
65 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
76 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
83 mnl_socket_close(nl);
H A Dnfct-mnl-del.c14 struct mnl_socket *nl; local
22 nl = mnl_socket_open(NETLINK_NETFILTER);
23 if (nl == NULL) {
28 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
32 portid = mnl_socket_get_portid(nl);
60 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
66 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
78 mnl_socket_close(nl);
H A Dnfct-mnl-event.c44 struct mnl_socket *nl; local
48 nl = mnl_socket_open(NETLINK_NETFILTER);
49 if (nl == NULL) {
54 if (mnl_socket_bind(nl, NF_NETLINK_CONNTRACK_NEW |
63 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
76 mnl_socket_close(nl);
H A Dnfct-mnl-flush.c14 struct mnl_socket *nl; local
21 nl = mnl_socket_open(NETLINK_NETFILTER);
22 if (nl == NULL) {
27 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
31 portid = mnl_socket_get_portid(nl);
43 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
49 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
54 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
61 mnl_socket_close(nl);
H A Dnfexp-mnl-event.c44 struct mnl_socket *nl; local
48 nl = mnl_socket_open(NETLINK_NETFILTER);
49 if (nl == NULL) {
54 if (mnl_socket_bind(nl, NF_NETLINK_CONNTRACK_EXP_NEW |
63 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
76 mnl_socket_close(nl);
H A Dnfct-mnl-dump.c31 struct mnl_socket *nl; local
38 nl = mnl_socket_open(NETLINK_NETFILTER);
39 if (nl == NULL) {
44 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
48 portid = mnl_socket_get_portid(nl);
60 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
66 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
78 mnl_socket_close(nl);
H A Dnfct-mnl-get.c33 struct mnl_socket *nl; local
41 nl = mnl_socket_open(NETLINK_NETFILTER);
42 if (nl == NULL) {
47 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
51 portid = mnl_socket_get_portid(nl);
79 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
85 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
90 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
97 mnl_socket_close(nl);
H A Dnfexp-mnl-dump.c35 struct mnl_socket *nl; local
42 nl = mnl_socket_open(NETLINK_NETFILTER);
43 if (nl == NULL) {
48 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
53 portid = mnl_socket_get_portid(nl);
65 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
71 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
77 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
84 mnl_socket_close(nl);
H A Dnfct-mnl-dump-labels.c46 struct mnl_socket *nl; local
54 nl = mnl_socket_open(NETLINK_NETFILTER);
55 if (nl == NULL) {
60 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) {
64 portid = mnl_socket_get_portid(nl);
77 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
83 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
90 ret = mnl_socket_recvfrom(nl, buf, sizeof(buf));
100 mnl_socket_close(nl);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammarReport2.java86 nl(buf);
90 void nl(StringBuilder buf) { method in class:GrammarReport2
/external/libnl/python/examples/
H A 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
[all...]
H A 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_TX_POWER])))
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
[all...]
/external/python/cpython3/Tools/scripts/
H A Dabitype.py180 nl = source.find('\n', pos) variable
181 if nl == -1:
184 line = source[pos:nl+1]
/external/blktrace/btt/
H A Dplat.c25 long nl; member in struct:plat_info
38 pp->nl = 0;
62 pp->first_ts + (delta / 2), pp->tl / pp->nl);
77 pp->nl = 1;
83 pp->first_ts + (delta / 2), pp->tl / pp->nl);
86 pp->nl = 1;
90 pp->nl += 1;
/external/libgsm/tls/
H A Dtaste.c108 char * nl; local
110 if (nl = strchr(buf, '\n'))
111 *nl = '\0';
/external/python/cpython2/Parser/
H A Dacceler.c69 int nl = g->g_ll.ll_nlabels; local
71 accel = (int *) PyObject_MALLOC(nl * sizeof(int));
76 for (k = 0; k < nl; k++)
105 else if (lbl >= 0 && lbl < nl)
108 while (nl > 0 && accel[nl-1] == -1)
109 nl--;
110 for (k = 0; k < nl && accel[k] == -1;)
112 if (k < nl) {
114 s->s_accel = (int *) PyObject_MALLOC((nl
[all...]
/external/python/cpython3/Parser/
H A Dacceler.c69 int nl = g->g_ll.ll_nlabels; local
71 accel = (int *) PyObject_MALLOC(nl * sizeof(int));
76 for (k = 0; k < nl; k++)
105 else if (lbl >= 0 && lbl < nl)
108 while (nl > 0 && accel[nl-1] == -1)
109 nl--;
110 for (k = 0; k < nl && accel[k] == -1;)
112 if (k < nl) {
114 s->s_accel = (int *) PyObject_MALLOC((nl
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
H A DASN1Dump.java60 String nl = Strings.lineSeparator();
80 buf.append(nl);
90 buf.append(nl);
126 buf.append(nl);
132 buf.append(nl);
155 buf.append(nl);
165 buf.append(nl);
195 buf.append(nl);
200 buf.append(indent + "ObjectIdentifier(" + ((ASN1ObjectIdentifier)obj).getId() + ")" + nl);
204 buf.append(indent + "Boolean(" + ((ASN1Boolean)obj).isTrue() + ")" + nl);
302 outputApplicationSpecific(String type, String indent, boolean verbose, ASN1Primitive obj, String nl) argument
[all...]
/external/elfutils/libelf/
H A Dnlist.c60 nlist (const char *filename, struct nlist *nl) argument
177 while (nl->n_name != NULL && nl->n_name[0] != '\0')
183 search.str = nl->n_name;
184 found = nlist_fshash_find (table, nl->n_name, 0, &search);
189 nl->n_value = found->sym.st_value;
190 nl->n_scnum = found->sym.st_shndx;
191 nl->n_type = GELF_ST_TYPE (found->sym.st_info);
193 nl->n_sclass = 0;
194 nl
[all...]
/external/iproute2/lib/
H A Dfs.c161 char *nl, *name; local
171 nl = strchr(name, '\n');
172 if (nl)
173 *nl = '\0';

Completed in 523 milliseconds

123456