Home
last modified time | relevance | path

Searched refs:docstr (Results 1 – 12 of 12) 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.c118 static PyObject *docstr; in method_get_doc() local
119 if (docstr == NULL) { in method_get_doc()
120 docstr= PyUnicode_InternFromString("__doc__"); in method_get_doc()
121 if (docstr == NULL) in method_get_doc()
124 return PyObject_GetAttr(im->im_func, docstr); in method_get_doc()
436 static PyObject *docstr; in instancemethod_get_doc() local
437 if (docstr == NULL) { in instancemethod_get_doc()
438 docstr = PyUnicode_InternFromString("__doc__"); in instancemethod_get_doc()
439 if (docstr == NULL) in instancemethod_get_doc()
442 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/python/cpython3/Lib/test/
Dtest_funcattrs.py314 docstr = "A test method that does nothing"
315 self.b.__doc__ = docstr
316 self.F.a.__doc__ = docstr
317 self.assertEqual(self.b.__doc__, docstr)
318 self.assertEqual(self.fi.a.__doc__, docstr)
319 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/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/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/Lib/
Dturtle.py3914 def _turtle_docrevise(docstr): argument
3918 if docstr is None:
3921 newdocstr = docstr.replace("%s." % turtlename,"")
3926 def _screen_docrevise(docstr): argument
3930 if docstr is None:
3933 newdocstr = docstr.replace("%s." % screenname,"")