Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 25 of 34) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/
Dsaxutils.py126 def startPrefixMapping(self, prefix, uri): argument
128 self._current_context[uri] = prefix
129 self._undeclared_ns_maps.append((prefix, uri))
147 for prefix, uri in self._undeclared_ns_maps:
149 self._out.write(' xmlns:%s="%s"' % (prefix, uri))
151 self._out.write(' xmlns="%s"' % uri)
205 def startPrefixMapping(self, prefix, uri): argument
206 self._cont_handler.startPrefixMapping(prefix, uri)
Dhandler.py96 def startPrefixMapping(self, prefix, uri): argument
Dexpatreader.py359 def start_namespace_decl(self, prefix, uri): argument
360 self._cont_handler.startPrefixMapping(prefix, uri)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
Dpulldom.py47 def startPrefixMapping(self, prefix, uri): argument
50 self._xmlns_attrs.append((prefix or 'xmlns', uri))
52 self._current_context[uri] = prefix or None
65 uri, localname = name
66 if uri:
71 prefix = self._current_context[uri]
77 node = self.document.createElementNS(uri, tagName)
79 node = self.buildDocument(uri, tagName)
170 def buildDocument(self, uri, tagname): argument
173 node = self.documentFactory.createDocument(uri, tagname, None)
Dexpatbuilder.py121 uri, localname, prefix = parts
127 uri, localname = parts
130 return intern(uri, uri), localname, prefix, qname
739 def start_namespace_decl_handler(self, prefix, uri): argument
741 self._ns_ordered_prefixes.append((prefix, uri))
745 uri, localname, prefix, qname = _parse_ns_name(self, name)
747 uri = EMPTY_NAMESPACE
751 node = minidom.Element(qname, uri, prefix, localname)
757 for prefix, uri in self._ns_ordered_prefixes:
765 d['data'] = d['nodeValue'] = uri
[all …]
Dxmlbuilder.py180 def parseURI(self, uri): argument
182 input = self.entityResolver.resolveEntity(None, uri)
184 input = DOMEntityResolver().resolveEntity(None, uri)
301 def _set_baseURI(self, uri): argument
302 self.baseURI = uri
352 def load(self, uri): argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/
Dpulldom.py47 def startPrefixMapping(self, prefix, uri): argument
50 self._xmlns_attrs.append((prefix or 'xmlns', uri))
52 self._current_context[uri] = prefix or None
65 uri, localname = name
66 if uri:
71 prefix = self._current_context[uri]
77 node = self.document.createElementNS(uri, tagName)
79 node = self.buildDocument(uri, tagName)
170 def buildDocument(self, uri, tagname): argument
173 node = self.documentFactory.createDocument(uri, tagname, None)
Dexpatbuilder.py121 uri, localname, prefix = parts
127 uri, localname = parts
130 return intern(uri, uri), localname, prefix, qname
739 def start_namespace_decl_handler(self, prefix, uri): argument
741 self._ns_ordered_prefixes.append((prefix, uri))
745 uri, localname, prefix, qname = _parse_ns_name(self, name)
747 uri = EMPTY_NAMESPACE
751 node = minidom.Element(qname, uri, prefix, localname)
757 for prefix, uri in self._ns_ordered_prefixes:
765 d['data'] = d['nodeValue'] = uri
[all …]
Dxmlbuilder.py180 def parseURI(self, uri): argument
182 input = self.entityResolver.resolveEntity(None, uri)
184 input = DOMEntityResolver().resolveEntity(None, uri)
301 def _set_baseURI(self, uri): argument
302 self.baseURI = uri
352 def load(self, uri): argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/
Dsaxutils.py150 def startPrefixMapping(self, prefix, uri): argument
152 self._current_context[uri] = prefix
153 self._undeclared_ns_maps.append((prefix, uri))
171 for prefix, uri in self._undeclared_ns_maps:
173 self._write(u' xmlns:%s="%s"' % (prefix, uri))
175 self._write(u' xmlns="%s"' % uri)
233 def startPrefixMapping(self, prefix, uri): argument
234 self._cont_handler.startPrefixMapping(prefix, uri)
Dhandler.py96 def startPrefixMapping(self, prefix, uri): argument
Dexpatreader.py375 def start_namespace_decl(self, prefix, uri): argument
376 self._cont_handler.startPrefixMapping(prefix, uri)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urlparse.py447 uri = "sip:alice@atlanta.com;maddr=239.255.255.1;ttl=15"
448 p = urlparse.urlsplit(uri)
454 self.assertEqual(p.geturl(), uri)
456 p = urlparse.urlparse(uri)
462 self.assertEqual(p.geturl(), uri)
466 uri = "http://example.com/doc/"
467 unicode_uri = unicode(uri)
470 p = urlparse.urlparse(uri)
471 self.assertEqual(type(p.scheme), type(uri))
472 self.assertEqual(type(p.hostname), type(uri))
[all …]
Dtest_wsgiref.py196 def checkAppURI(self,uri,**kw): argument
198 self.assertEqual(util.application_uri(kw),uri)
200 def checkReqURI(self,uri,query=1,**kw): argument
202 self.assertEqual(util.request_uri(kw,query),uri)
Dtest_urllib2_localnet.py112 def _validate_auth(self, auth_dict, password, method, uri): argument
117 final_dict["uri"] = uri
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java146 Uri uri = intent.getData(); in getPackageName() local
147 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; in getPackageName()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementTree.py849 uri, tag = qname[1:].rsplit("}", 1)
850 prefix = namespaces.get(uri)
852 prefix = _namespace_map.get(uri)
856 namespaces[uri] = prefix
1029 def register_namespace(prefix, uri): argument
1033 if k == uri or v == prefix:
1035 _namespace_map[uri] = prefix
1240 def handler(prefix, uri, event=event, append=append): argument
1242 uri = (uri or "").encode("ascii")
1245 append((event, (prefix or "", uri or "")))
DElementPath.py78 prefix, uri = tag.split(":", 1)
81 yield token[0], "{%s}%s" % (namespaces[prefix], uri)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementTree.py844 uri, tag = qname[1:].rsplit("}", 1)
845 prefix = namespaces.get(uri)
847 prefix = _namespace_map.get(uri)
851 namespaces[uri] = prefix
1024 def register_namespace(prefix, uri): argument
1028 if k == uri or v == prefix:
1030 _namespace_map[uri] = prefix
1231 def handler(prefix, uri, event=event, append=append): argument
1233 uri = (uri or "").encode("ascii")
1236 append((event, (prefix or "", uri or "")))
DElementPath.py78 prefix, uri = tag.split(":", 1)
81 yield token[0], "{%s}%s" % (namespaces[prefix], uri)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
Dxmlparse.c147 XML_Char *uri; member
354 const XML_Char *uri, BINDING **bindingsPtr);
1074 FREE(b->uri); in destroyBindings()
2431 XML_Char *uri; in doContent() local
2438 uri = (XML_Char *)tag->name.str + tag->name.uriLen; in doContent()
2440 while (*localPart) *uri++ = *localPart++; in doContent()
2443 *uri++ = namespaceSeparator; in doContent()
2444 while (*prefix) *uri++ = *prefix++; in doContent()
2446 *uri = XML_T('\0'); in doContent()
2623 XML_Char *uri; in storeAtts() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmlparse.c147 XML_Char *uri; member
354 const XML_Char *uri, BINDING **bindingsPtr);
1074 FREE(b->uri); in destroyBindings()
2431 XML_Char *uri; in doContent() local
2438 uri = (XML_Char *)tag->name.str + tag->name.uriLen; in doContent()
2440 while (*localPart) *uri++ = *localPart++; in doContent()
2443 *uri++ = namespaceSeparator; in doContent()
2444 while (*prefix) *uri++ = *prefix++; in doContent()
2446 *uri = XML_T('\0'); in doContent()
2623 XML_Char *uri; in storeAtts() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmlparse.c149 XML_Char *uri; member
356 const XML_Char *uri, BINDING **bindingsPtr);
1124 FREE(b->uri); in destroyBindings()
2515 XML_Char *uri; in doContent() local
2522 uri = (XML_Char *)tag->name.str + tag->name.uriLen; in doContent()
2524 while (*localPart) *uri++ = *localPart++; in doContent()
2527 *uri++ = namespaceSeparator; in doContent()
2528 while (*prefix) *uri++ = *prefix++; in doContent()
2530 *uri = XML_T('\0'); in doContent()
2710 XML_Char *uri; in storeAtts() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Durllib2.py748 def add_password(self, realm, uri, user, passwd): argument
750 if isinstance(uri, basestring):
751 uri = [uri]
756 [self.reduce_uri(u, default_port) for u in uri])
764 for uri in uris:
765 if self.is_suburi(uri, reduced_authuri):
769 def reduce_uri(self, uri, default_port=True): argument
772 parts = urlparse.urlsplit(uri)
781 authority = uri
Dxmlrpclib.py1538 def __init__(self, uri, transport=None, encoding=None, verbose=0, argument
1544 type, uri = urllib.splittype(uri)
1547 self.__host, self.__handler = urllib.splithost(uri)

12