Home
last modified time | relevance | path

Searched refs:docstr (Results 1 – 14 of 14) sorted by relevance

/external/libxml2/python/tests/
Dwalker.py21 docstr="""<foo> variable
39 doc = libxml2.parseDoc(docstr)
60 docstr="""<foo> variable
78 doc = libxml2.parseDoc(docstr)
100 docstr="""<foo> variable
118 reader.NewDoc(docstr, "test3", None, 0)
Dreader7.py21 docstr="""<foo> variable
39 reader = libxml2.readerForDoc(docstr, "test1", None, 0)
57 docstr="""<foo> variable
75 reader.NewDoc(docstr, "test2", None, 0)
Dreader6.py44 docstr="""<foo> variable
49 f = str_io(docstr)
68 docstr="""<foo> variable
92 f = str_io(docstr)
Dreader8.py14 docstr="""<foo> variable
19 reader = libxml2.readerForDoc(docstr, "test1", None, 0)
Dreader3.py14 docstr="""<?xml version='1.0'?> variable
26 f = str_io(docstr)
63 f = str_io(docstr)
/external/python/cpython3/Objects/
Dclassobject.c162 static PyObject *docstr; in method_get_doc() local
163 if (docstr == NULL) { in method_get_doc()
164 docstr= PyUnicode_InternFromString("__doc__"); in method_get_doc()
165 if (docstr == NULL) in method_get_doc()
168 return PyObject_GetAttr(im->im_func, docstr); in method_get_doc()
410 static PyObject *docstr; in instancemethod_get_doc() local
411 if (docstr == NULL) { in instancemethod_get_doc()
412 docstr = PyUnicode_InternFromString("__doc__"); in instancemethod_get_doc()
413 if (docstr == NULL) in instancemethod_get_doc()
416 return PyObject_GetAttr(PyInstanceMethod_GET_FUNCTION(self), docstr); in instancemethod_get_doc()
/external/python/cpython2/Lib/test/
Dtest_funcattrs.py314 docstr = "A test method that does nothing"
315 self.b.__doc__ = self.f.a.im_func.__doc__ = docstr
316 self.assertEqual(self.b.__doc__, docstr)
317 self.assertEqual(self.b.func_doc, docstr)
318 self.assertEqual(self.f.a.__doc__, docstr)
319 self.assertEqual(self.fi.a.__doc__, docstr)
320 self.cannot_set_attr(self.f.a, "__doc__", docstr, AttributeError)
321 self.cannot_set_attr(self.fi.a, "__doc__", docstr, AttributeError)
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/
Dp11.cpp38 int &f(char const* name, Get fget, char const* docstr = 0);
41 float &f(char const* name, Get fget, Set fset, char const* docstr = 0);
/external/python/cpython3/Lib/test/
Dtest_funcattrs.py355 docstr = "A test method that does nothing"
356 self.b.__doc__ = docstr
357 self.F.a.__doc__ = docstr
358 self.assertEqual(self.b.__doc__, docstr)
359 self.assertEqual(self.fi.a.__doc__, docstr)
360 self.cannot_set_attr(self.fi.a, "__doc__", docstr, AttributeError)
/external/python/cpython2/Objects/
Dclassobject.c33 static PyObject *docstr, *modstr, *namestr; in PyClass_New() local
34 if (docstr == NULL) { in PyClass_New()
35 docstr= PyString_InternFromString("__doc__"); in PyClass_New()
36 if (docstr == NULL) in PyClass_New()
59 if (PyDict_GetItem(dict, docstr) == NULL) { in PyClass_New()
60 if (PyDict_SetItem(dict, docstr, Py_None) < 0) in PyClass_New()
2304 static PyObject *docstr; in instancemethod_get_doc() local
2305 if (docstr == NULL) { in instancemethod_get_doc()
2306 docstr= PyString_InternFromString("__doc__"); in instancemethod_get_doc()
2307 if (docstr == NULL) in instancemethod_get_doc()
[all …]
/external/python/cpython3/Lib/
Dturtle.py3916 def _turtle_docrevise(docstr): argument
3920 if docstr is None:
3923 newdocstr = docstr.replace("%s." % turtlename,"")
3928 def _screen_docrevise(docstr): argument
3932 if docstr is None:
3935 newdocstr = docstr.replace("%s." % screenname,"")
/external/python/cpython2/Lib/lib-tk/
Dturtle.py3810 def _turtle_docrevise(docstr): argument
3814 if docstr is None:
3817 newdocstr = docstr.replace("%s." % turtlename,"")
3822 def _screen_docrevise(docstr): argument
3826 if docstr is None:
3829 newdocstr = docstr.replace("%s." % screenname,"")
/external/python/cpython3/Tools/c-analyzer/
DTODO192 Objects/classobject.c:instancemethod_get_doc():docstr static PyObject *docstr
193 Objects/classobject.c:method_get_doc():docstr static PyObject *docstr
/external/python/cpython3/Tools/c-analyzer/cpython/
Dignored.tsv2036 Objects/classobject.c method_get_doc docstr -
2037 Objects/classobject.c instancemethod_get_doc docstr -