/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_robotparser.py | 46 doc = """ variable 56 RobotTest(1, doc, good, bad) 59 doc = """ variable 74 RobotTest(2, doc, good, bad) 77 doc = """ variable 86 RobotTest(3, doc, good, bad) 91 doc = """ variable 105 RobotTest(4, doc, good, bad, 'figtree') 106 RobotTest(5, doc, good, bad, 'FigTree Robot libwww-perl/5.04') 109 doc = """ variable [all …]
|
D | test_minidom.py | 43 doc = create_doc_without_doctype(doctype) 44 doctype.entities.item(0).ownerDocument = doc 45 doctype.notations.item(0).ownerDocument = doc 46 return doc 371 def get_empty_nodelist_from_elements_by_tagName_ns_helper(self, doc, nsuri, argument 373 nodelist = doc.getElementsByTagNameNS(nsuri, lname) 377 doc = parseString('<doc/>') 379 doc, 'http://xml.python.org/namespaces/a', 'localname') 381 doc, '*', 'splat') 383 doc, 'http://xml.python.org/namespaces/a', '*') [all …]
|
D | test_pydoc.py | 193 doc = pydoc.HTMLDoc() 194 output = doc.docmodule(module) 195 loc = doc.getdocloc(pydoc_mod) or "" 202 doc = pydoc.TextDoc() 203 loc = doc.getdocloc(pydoc_mod) or "" 207 output = doc.docmodule(module) 325 doc = pydoc.render_doc(pydocfodder) 326 self.assertIn("pydocfodder", doc)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | pickletools.py | 184 def __init__(self, name, n, reader, doc): argument 196 assert isinstance(doc, str) 197 self.doc = doc 217 doc="One-byte unsigned integer.") 238 doc="Two-byte unsigned integer, little-endian.") 259 doc="Four-byte signed integer, little-endian, 2's complement.") 315 doc="""A newline-terminated string. 328 doc="""A newline-terminated string. 348 doc="""A pair of newline-terminated strings. 383 doc="""A counted string. [all …]
|
D | DocXMLRPCServer.py | 104 doc = self.markup( 106 doc = doc and '<dd><tt>%s</tt></dd>' % doc 107 return '<dl><dt>%s</dt>%s</dl>\n' % (decl, doc) 121 doc = self.markup(package_documentation, self.preformat, fdict) 122 doc = doc and '<tt>%s</tt>' % doc 123 result = result + '<p>%s</p>\n' % doc
|
D | pydoc.py | 86 def splitdoc(doc): argument 88 lines = split(strip(doc), '\n') 658 doc = self.markup(getdoc(object), self.preformat, fdict, cdict) 659 doc = doc and '<tt>%s</tt>' % doc 660 result = result + '<p>%s</p>\n' % doc 766 doc = getattr(value, "__doc__", None) 768 doc = None 769 if doc is None: 772 doc = self.markup(getdoc(value), self.preformat, 774 doc = '<dd><tt>%s</tt>' % doc [all …]
|
D | cgitb.py | 281 doc = formatter(info, self.context) 283 doc = ''.join(traceback.format_exception(*info)) 288 doc = doc.replace('&', '&').replace('<', '<') 289 self.file.write('<pre>' + doc + '</pre>\n') 291 self.file.write(doc + '\n') 300 file.write(doc)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
D | member.py | 36 def __init__(self, cname=None, type=None, flags=None, doc=None): argument 40 self.doc = doc 58 if self.doc is not None: 59 v["Docstring"] = cstring(unindent(self.doc)) 70 if self.doc is None:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_fail.py | 82 for idx, doc in enumerate(JSONDOCS): 85 self.loads(doc) 88 self.loads(doc) 92 self.fail("Expected failure for fail{0}.json: {1!r}".format(idx, doc))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | test_fail.py | 64 for idx, doc in enumerate(JSONDOCS): 67 self.loads(doc) 70 self.loads(doc) 74 self.fail("Expected failure for fail{0}.json: {1!r}".format(idx, doc))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
D | minicompat.py | 66 doc="The number of nodes in the NodeList.") 99 doc="The number of nodes in the NodeList.") 102 def defproperty(klass, name, doc): argument 109 prop = property(get, set, doc=doc)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
D | minicompat.py | 66 doc="The number of nodes in the NodeList.") 99 doc="The number of nodes in the NodeList.") 102 def defproperty(klass, name, doc): argument 109 prop = property(get, set, doc=doc)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | cmdfw.py | 97 doc = getattr(c, name).__doc__ 99 doc = None 100 if doc: 101 docstrings[name] = doc
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | structseq.h | 12 char *doc; member 17 char *doc; member
|
D | modsupport.h | 118 const char *doc, PyObject *self, 125 #define Py_InitModule3(name, methods, doc) \ argument 126 Py_InitModule4(name, methods, doc, (PyObject *)NULL, \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | structseq.h | 12 char *doc; member 17 char *doc; member
|
D | modsupport.h | 118 const char *doc, PyObject *self, 125 #define Py_InitModule3(name, methods, doc) \ argument 126 Py_InitModule4(name, methods, doc, (PyObject *)NULL, \
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
D | pydoc.py | 86 def splitdoc(doc): argument 88 lines = split(strip(doc), '\n') 658 doc = self.markup(getdoc(object), self.preformat, fdict, cdict) 659 doc = doc and '<tt>%s</tt>' % doc 660 result = result + '<p>%s</p>\n' % doc 766 doc = getattr(value, "__doc__", None) 768 doc = None 769 if doc is None: 772 doc = self.markup(getdoc(value), self.preformat, 774 doc = '<dd><tt>%s</tt>' % doc [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
D | pydoc.py | 101 def splitdoc(doc): argument 103 lines = split(strip(doc), '\n') 709 doc = self.markup(getdoc(object), self.preformat, fdict, cdict) 710 doc = doc and '<tt>%s</tt>' % doc 711 result = result + '<p>%s</p>\n' % doc 824 doc = getattr(value, "__doc__", None) 826 doc = None 827 if doc is None: 830 doc = self.markup(getdoc(value), self.preformat, 832 doc = '<dd><tt>%s</tt>' % doc [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | descrobject.c | 336 if (descr->d_member->doc == NULL) { in member_get_doc() 340 return PyString_FromString(descr->d_member->doc); in member_get_doc() 351 if (descr->d_getset->doc == NULL) { in getset_get_doc() 355 return PyString_FromString(descr->d_getset->doc); in getset_get_doc() 366 if (descr->d_base->doc == NULL) { in wrapperdescr_get_doc() 370 return PyString_FromString(descr->d_base->doc); in wrapperdescr_get_doc() 958 char *s = wp->descr->d_base->doc; in wrapper_doc() 1217 PyObject *new, *type, *doc; in property_copy() local 1237 doc = Py_None; in property_copy() 1240 doc = pold->prop_doc ? pold->prop_doc : Py_None; in property_copy() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
D | decoder.py | 27 def linecol(doc, pos): argument 28 lineno = doc.count('\n', 0, pos) + 1 32 colno = pos - doc.rindex('\n', 0, pos) 36 def errmsg(msg, doc, pos, end=None): argument 38 lineno, colno = linecol(doc, pos) 44 endlineno, endcolno = linecol(doc, end)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | descrobject.c | 373 if (descr->d_member->doc == NULL) { in member_get_doc() 377 return PyString_FromString(descr->d_member->doc); in member_get_doc() 388 if (descr->d_getset->doc == NULL) { in getset_get_doc() 392 return PyString_FromString(descr->d_getset->doc); in getset_get_doc() 403 if (descr->d_base->doc == NULL) { in wrapperdescr_get_doc() 407 return PyString_FromString(descr->d_base->doc); in wrapperdescr_get_doc() 1009 char *s = wp->descr->d_base->doc; in wrapper_doc() 1268 PyObject *new, *type, *doc; in property_copy() local 1288 doc = Py_None; in property_copy() 1291 doc = pold->prop_doc ? pold->prop_doc : Py_None; in property_copy() [all …]
|
D | methodobject.c | 149 const char *doc = m->m_ml->ml_doc; in meth_get__doc__() local 151 if (doc != NULL) in meth_get__doc__() 152 return PyString_FromString(doc); in meth_get__doc__() 362 const char *doc = self->ob_type->tp_doc; in Py_FindMethodInChain() local 363 if (doc != NULL) in Py_FindMethodInChain() 364 return PyString_FromString(doc); in Py_FindMethodInChain()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
D | decoder.py | 27 def linecol(doc, pos): argument 28 lineno = doc.count('\n', 0, pos) + 1 32 colno = pos - doc.rindex('\n', 0, pos) 36 def errmsg(msg, doc, pos, end=None): argument 38 lineno, colno = linecol(doc, pos) 44 endlineno, endcolno = linecol(doc, end)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
D | test_refactor.py | 256 doc = """ 260 out = rt.refactor_docstring(doc, "<test>") 261 self.assertEqual(out, doc) 263 doc = """ 267 out = rt.refactor_docstring(doc, "<test>") 268 self.assertNotEqual(out, doc)
|