Home
last modified time | relevance | path

Searched refs:nsname (Results 1 – 11 of 11) sorted by relevance

/external/toybox/toys/pending/
Dhost.c74 char *name, *nsname, rrname[256], plname[640], ptrbuf[64]; in host_main() local
78 nsname = toys.optargs[1]; in host_main()
119 if (nsname) { in host_main()
122 if ((ret = getaddrinfo(nsname, "53", &ns_hints, &ai)) < 0) in host_main()
129 printf("Using domain server %s:\n", nsname); in host_main()
/external/iproute2/include/
Dnamespace.h48 int netns_foreach(int (*func)(char *nsname, void *arg), void *arg);
51 int (*func)(char *nsname, void *arg);
Dutils.h219 int do_each_netns(int (*func)(char *nsname, void *arg), void *arg,
/external/python/cpython2/Lib/xml/sax/
Dxmlreader.py352 for (nsname, qname) in self._qnames.items():
354 return self._attrs[nsname]
359 for (nsname, qname) in self._qnames.items():
361 return nsname
/external/iproute2/lib/
Dutils.c1031 static int on_netns(char *nsname, void *arg) in on_netns() argument
1035 if (netns_switch(nsname)) in on_netns()
1038 return f->func(nsname, f->arg); in on_netns()
1041 static int on_netns_label(char *nsname, void *arg) in on_netns_label() argument
1043 printf("\nnetns: %s\n", nsname); in on_netns_label()
1044 return on_netns(nsname, arg); in on_netns_label()
1047 int do_each_netns(int (*func)(char *nsname, void *arg), void *arg, in do_each_netns() argument
Dnamespace.c106 int netns_foreach(int (*func)(char *nsname, void *arg), void *arg) in netns_foreach() argument
/external/iproute2/ip/
Dipnetns.c389 static int on_netns_exec(char *nsname, void *arg) in on_netns_exec() argument
563 static int on_netns_del(char *nsname, void *arg) in on_netns_del() argument
567 snprintf(netns_path, sizeof(netns_path), "%s/%s", NETNS_RUN_DIR, nsname); in on_netns_del()
/external/libxml2/
Dpattern.c82 #define XML_PAT_COPY_NSNAME(c, r, nsname) \ argument
84 r = (xmlChar *) xmlDictLookup((c)->comp->dict, BAD_CAST nsname, -1); \
85 else r = xmlStrdup(BAD_CAST nsname);
Dparser.c9183 const xmlChar *nsname; in xmlParseStartTag2() local
9467 nsname = xmlGetNamespace(ctxt, NULL); in xmlParseStartTag2()
9468 if (nsname != defaults->values[5 * i + 2]) { in xmlParseStartTag2()
9482 nsname = xmlGetNamespace(ctxt, attname); in xmlParseStartTag2()
9483 if (nsname != defaults->values[2]) { in xmlParseStartTag2()
9533 nsname = xmlGetNamespace(ctxt, atts[i + 1]); in xmlParseStartTag2()
9534 if (nsname == NULL) { in xmlParseStartTag2()
9539 atts[i + 2] = nsname; in xmlParseStartTag2()
9541 nsname = NULL; in xmlParseStartTag2()
9554 if ((nsname != NULL) && (atts[j + 2] == nsname)) { in xmlParseStartTag2()
[all …]
Dxmlschemas.c21772 const xmlChar *nsname = NULL, *location; in xmlSchemaAssembleByXSI() local
21809 nsname = xmlDictLookup(vctxt->schema->dict, cur, end - cur); in xmlSchemaAssembleByXSI()
21839 iattr->node, nsname, location); in xmlSchemaAssembleByXSI()
21981 const xmlChar* nsname) in xmlSchemaVAddNodeQName() argument
21988 if (nsname != NULL) { in xmlSchemaVAddNodeQName()
21989 nsname = xmlDictLookup(vctxt->dict, nsname, -1); in xmlSchemaVAddNodeQName()
21990 if (nsname == NULL) in xmlSchemaVAddNodeQName()
21995 (vctxt->nodeQNames->items[i +1] == nsname)) in xmlSchemaVAddNodeQName()
22002 xmlSchemaItemListAdd(vctxt->nodeQNames, (void *) nsname); in xmlSchemaVAddNodeQName()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7101 const char *nsname = availableNumberingSystems->next(&len,status); in TestAvailableNumberingSystems() local
7102 NumberingSystem* ns = NumberingSystem::createInstanceByName(nsname,status); in TestAvailableNumberingSystems()
7103 logln("OK for ns = %s",nsname); in TestAvailableNumberingSystems()
7104 if ( uprv_strcmp(nsname,ns->getName()) ) { in TestAvailableNumberingSystems()
7105 errln("FAIL: Numbering system name didn't match for name = %s\n",nsname); in TestAvailableNumberingSystems()