Home
last modified time | relevance | path

Searched refs:page_info (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/tools/docs/
Dpretty_docs.py33 def build_md_page(page_info): argument
46 if page_info.for_function():
47 return _build_function_page(page_info)
49 if page_info.for_class():
50 return _build_class_page(page_info)
52 if page_info.for_module():
53 return _build_module_page(page_info)
55 raise ValueError('Unknown Page Info Type: %s' % type(page_info))
58 def _build_function_page(page_info): argument
60 parts = ['# %s\n\n' % page_info.full_name]
[all …]
Dparser_test.py178 page_info = parser.docs_for_object(
183 tf_inspect.getdoc(TestClass).split('\n')[0], page_info.doc.brief)
186 self.assertEqual(TestClass.a_method, page_info.methods[0].obj)
189 self.assertEqual(["arg='default'"], page_info.methods[0].signature)
192 self.assertIs(TestClass.a_property, page_info.properties[0].obj)
195 self.assertIs(TestClass.ChildClass, page_info.classes[0].obj)
198 self.assertEqual(os.path.relpath(__file__, '/'), page_info.defined_in.path)
230 page_info = parser.docs_for_object(
241 self.assertSequenceEqual(page_info.properties,
242 sorted(page_info.properties, key=sort_key))
[all …]
Dparser.py1175 page_info = _LinkInfo(short_name, full_name, obj, doc, url)
1177 self._classes.append(page_info)
1530 page_info = _FunctionPageInfo(master_name)
1531 page_info.set_signature(py_object, parser_config.reverse_index)
1534 page_info = _ClassPageInfo(master_name)
1535 page_info.collect_docs_for_class(py_object, parser_config)
1538 page_info = _ModulePageInfo(master_name)
1539 page_info.collect_docs_for_module(parser_config)
1548 page_info.set_doc(_parse_md_docstring(
1551 page_info.set_aliases(duplicate_names)
[all …]
Dgenerate_lib.py121 page_info = parser.docs_for_object(full_name, py_object, parser_config)
130 content = [page_info.get_metadata_html()]
134 content.append(pretty_docs.build_md_page(page_info))
/external/ImageMagick/coders/
Dps2.c426 page_info; in WritePS2Image() local
544 (void) ParseGravityGeometry(image,page_geometry,&page_info,exception); in WritePS2Image()
547 geometry.x=(-page_info.x); in WritePS2Image()
548 geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); in WritePS2Image()
Dps3.c860 page_info; in WritePS3Image() local
990 (void) ParseGravityGeometry(image,page_geometry,&page_info,exception); in WritePS3Image()
993 geometry.x=(-page_info.x); in WritePS3Image()
994 geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); in WritePS3Image()
Ddjvu.c257 page_info* info = ddjvu_page_get_user_data(page); in process_message()
282 page_info* info = ddjvu_page_get_user_data(page); in process_message()
Dps.c1537 page_info; in WritePSImage() local
1644 (void) ParseGravityGeometry(image,page_geometry,&page_info,exception); in WritePSImage()
1647 geometry.x=(-page_info.x); in WritePSImage()
1648 geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); in WritePSImage()
Dpdf.c1312 page_info; in WritePDFImage() local
1634 (void) ParseGravityGeometry(image,page_geometry,&page_info,exception); in WritePDFImage()
1637 geometry.x=(-page_info.x); in WritePDFImage()
1638 geometry.y=(ssize_t) (media_info.height+page_info.y-image->rows); in WritePDFImage()