/build/kati/testcase/ |
expanded_nl.mk | 3 define nl macro 8 $(nl)
|
/external/elfutils/tests/ |
test-nlist.c | 37 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[%d].n_numaux = %d\n\n" [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
CallbackWrapperWriter.kt | 50 nl("final $listenerInterfaceName mListener;") 51 nl("final int mSourceId;") 53 nl("mListener = listener;") 54 nl("mSourceId = sourceId;") 56 nl("") 57 nl("@Override") 61 nl("$evaluate") 63 nl("return $evaluate") 66 nl("") 68 nl("${method.returnType} $listenerMethodName(${wrapper.allArgsWithTypes()});" [all...] |
/external/libnl/python/examples/ |
iface.py | 1 import netlink.capi as nl 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...] |
wiphy.py | 1 import netlink.capi as nl 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.nla_policy_array(nl80211.NL80211_FREQUENCY_ATTR_MAX + 1 [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
DataBinderWriter.kt | 21 nl("package $pkg;") 22 nl("import $projectPackage.BR;") 24 nl("final static int TARGET_MIN_SDK = $minSdk;") 25 nl("") 28 nl("") 61 nl("return null;") 72 nl("final Object tag = views[0].getTag();") 73 nl("if(tag == null) throw new java.lang.RuntimeException(\"view must have a tag\");") 76 nl("return new ${it.`package`}.${it.implementationName}(bindingComponent, views);") 83 nl("return null;" [all...] |
/external/elfutils/libelf/ |
nlist.c | 60 nlist (const char *filename, struct nlist *nl) 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->n_numaux = 0 [all...] |
/external/libnetfilter_conntrack/examples/ |
nfct-mnl-flush.c | 14 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);
|
nfct-mnl-create.c | 14 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);
|
nfct-mnl-del.c | 14 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);
|
nfct-mnl-dump.c | 31 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);
|
nfexp-mnl-dump.c | 35 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);
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldNodeChangeEventTest.java | 55 MockNodeChangeListener nl = new MockNodeChangeListener() { local 81 pref.addNodeChangeListener(nl); 83 nl.waitForEvent(); 84 assertEquals(1, nl.getAdded()); 85 assertTrue(nl.getAddResult()); 86 nl.reset(); 88 nl.waitForEvent(); 89 assertEquals(1, nl.getRemoved()); 90 assertTrue(nl.getRemoveResult()); 91 nl.reset() 103 MockNodeChangeListener nl = new MockNodeChangeListener() { local [all...] |
/prebuilts/tools/common/m2/repository/nl/jqno/equalsverifier/equalsverifier/2.1.5/ |
equalsverifier-2.1.5.jar | |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
acceler.c | 69 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-k) * sizeof(int)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
acceler.c | 69 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-k) * sizeof(int)); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncCount.java | 47 // DTMIterator nl = m_arg0.asIterator(xctxt, xctxt.getCurrentNode()); 53 // while (DTM.NULL != nl.nextNode()) 57 // nl.detach(); 58 DTMIterator nl = m_arg0.asIterator(xctxt, xctxt.getCurrentNode()); local 59 int i = nl.getLength(); 60 nl.detach();
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
FunctionPattern.java | 106 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); local 109 if (null != nl) 113 while (DTM.NULL != (n = nl.nextNode())) 125 // nl.detach(); 127 nl.detach(); 150 DTMIterator nl = m_functionExpr.asIterator(xctxt, context); local 153 if (null != nl) 157 while (DTM.NULL != (n = nl.nextNode())) 169 nl.detach(); 193 DTMIterator nl = m_functionExpr.asIterator(xctxt, context) local [all...] |
/external/python/cpython2/Parser/ |
acceler.c | 69 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-k) * sizeof(int)) [all...] |
/external/python/cpython3/Parser/ |
acceler.c | 69 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-k) * sizeof(int)) [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/ |
ExprWriters.kt | 33 nl("// ${it.toString()}") 34 nl("${it.resolvedType.toJavaCode()} ${it.scopedName()} = ${if (it.isVariable()) it.fieldName else it.defaultValue};") 56 nl("$assign${chosen.toCode().generate()};") 59 nl("$assign${myExpr.toFullCode().generate()};") 63 nl("$assign${myExpr.toFullCode().generate()};") 68 nl(it.toCode()) 82 nl(myTrue.path.toCode()) 86 nl(myFalse.path.toCode())
|
/external/syslinux/com32/lib/ |
memcpy.c | 13 size_t nl = n >> 2; local 14 asm volatile ("cld ; rep ; movsl ; movl %3,%0 ; rep ; movsb":"+c" (nl),
|
memset.c | 13 size_t nl = n >> 2; local 15 : "+c" (nl), "+D" (q)
|
/external/syslinux/memdisk/ |
memcpy.c | 13 size_t nl = n >> 2; local 14 asm volatile ("cld ; rep ; movsl ; movl %3,%0 ; rep ; movsb":"+c" (nl),
|
memset.c | 13 size_t nl = n >> 2; local 15 : "+c" (nl), "+D" (q)
|