Linux server19.dn-server.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 46.209.20.154 & Your IP : 216.73.217.55
Domains :
Cant Read [ /etc/named.conf ]
User : emadteam
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
gobject-introspection /
giscanner /
Delete
Unzip
Name
Size
Permission
Date
Action
collections
[ DIR ]
drwxr-xr-x
2022-08-06 15:50
doctemplates
[ DIR ]
drwxr-xr-x
2022-08-06 15:50
__init__.py
1.03
KB
-rw-r--r--
2018-10-29 17:16
__init__.pyc
432
B
-rw-r--r--
2018-10-29 17:16
__init__.pyo
432
B
-rw-r--r--
2018-10-29 17:16
_giscanner.so
94.26
KB
-rwxr-xr-x
2018-10-29 17:16
annotationmain.py
3.75
KB
-rw-r--r--
2018-10-29 17:16
annotationmain.pyc
2.86
KB
-rw-r--r--
2018-10-29 17:16
annotationmain.pyo
2.86
KB
-rw-r--r--
2018-10-29 17:16
annotationparser.py
99.14
KB
-rw-r--r--
2018-10-29 17:16
annotationparser.pyc
74.97
KB
-rw-r--r--
2018-10-29 17:16
annotationparser.pyo
74.97
KB
-rw-r--r--
2018-10-29 17:16
ast.py
41.73
KB
-rw-r--r--
2018-10-29 17:16
ast.pyc
47.07
KB
-rw-r--r--
2018-10-29 17:16
ast.pyo
46.26
KB
-rw-r--r--
2018-10-29 17:16
cachestore.py
5.91
KB
-rw-r--r--
2018-10-29 17:16
cachestore.pyc
5.27
KB
-rw-r--r--
2018-10-29 17:16
cachestore.pyo
5.27
KB
-rw-r--r--
2018-10-29 17:16
ccompiler.py
16.47
KB
-rw-r--r--
2018-10-29 17:16
ccompiler.pyc
9.01
KB
-rw-r--r--
2018-10-29 17:16
ccompiler.pyo
9.01
KB
-rw-r--r--
2018-10-29 17:16
codegen.py
6.1
KB
-rw-r--r--
2018-10-29 17:16
codegen.pyc
5.86
KB
-rw-r--r--
2018-10-29 17:16
codegen.pyo
5.81
KB
-rw-r--r--
2018-10-29 17:16
docmain.py
2.77
KB
-rw-r--r--
2018-10-29 17:16
docmain.pyc
2.1
KB
-rw-r--r--
2018-10-29 17:16
docmain.pyo
2.1
KB
-rw-r--r--
2018-10-29 17:16
docwriter.py
33.09
KB
-rw-r--r--
2018-10-29 17:16
docwriter.pyc
34.37
KB
-rw-r--r--
2018-10-29 17:16
docwriter.pyo
34.23
KB
-rw-r--r--
2018-10-29 17:16
dumper.py
10.69
KB
-rw-r--r--
2018-10-29 17:16
dumper.pyc
8.17
KB
-rw-r--r--
2018-10-29 17:16
dumper.pyo
8.17
KB
-rw-r--r--
2018-10-29 17:16
gdumpparser.py
20.97
KB
-rw-r--r--
2018-10-29 17:16
gdumpparser.pyc
18.24
KB
-rw-r--r--
2018-10-29 17:16
gdumpparser.pyo
18.1
KB
-rw-r--r--
2018-10-29 17:16
girparser.py
26.1
KB
-rw-r--r--
2018-10-29 17:16
girparser.pyc
22.3
KB
-rw-r--r--
2018-10-29 17:16
girparser.pyo
21.79
KB
-rw-r--r--
2018-10-29 17:16
girwriter.py
25.64
KB
-rw-r--r--
2018-10-29 17:16
girwriter.pyc
23.26
KB
-rw-r--r--
2018-10-29 17:16
girwriter.pyo
22.99
KB
-rw-r--r--
2018-10-29 17:16
introspectablepass.py
9.32
KB
-rw-r--r--
2018-10-29 17:16
introspectablepass.pyc
7.38
KB
-rw-r--r--
2018-10-29 17:16
introspectablepass.pyo
7.34
KB
-rw-r--r--
2018-10-29 17:16
libtoolimporter.py
2.64
KB
-rw-r--r--
2018-10-29 17:16
libtoolimporter.pyc
2.24
KB
-rw-r--r--
2018-10-29 17:16
libtoolimporter.pyo
2.24
KB
-rw-r--r--
2018-10-29 17:16
maintransformer.py
63.29
KB
-rw-r--r--
2018-10-29 17:16
maintransformer.pyc
42.48
KB
-rw-r--r--
2018-10-29 17:16
maintransformer.pyo
42.33
KB
-rw-r--r--
2018-10-29 17:16
message.py
7.75
KB
-rw-r--r--
2018-10-29 17:16
message.pyc
8.99
KB
-rw-r--r--
2018-10-29 17:16
message.pyo
8.99
KB
-rw-r--r--
2018-10-29 17:16
msvccompiler.py
3.74
KB
-rw-r--r--
2018-10-29 17:16
msvccompiler.pyc
2.71
KB
-rw-r--r--
2018-10-29 17:16
msvccompiler.pyo
2.71
KB
-rw-r--r--
2018-10-29 17:16
scannermain.py
24.19
KB
-rw-r--r--
2018-10-29 17:16
scannermain.pyc
19.37
KB
-rw-r--r--
2018-10-29 17:16
scannermain.pyo
19.37
KB
-rw-r--r--
2018-10-29 17:16
sectionparser.py
4.82
KB
-rw-r--r--
2018-10-29 17:16
sectionparser.pyc
4.81
KB
-rw-r--r--
2018-10-29 17:16
sectionparser.pyo
4.81
KB
-rw-r--r--
2018-10-29 17:16
shlibs.py
5.54
KB
-rw-r--r--
2018-10-29 17:16
shlibs.pyc
3.36
KB
-rw-r--r--
2018-10-29 17:16
shlibs.pyo
3.36
KB
-rw-r--r--
2018-10-29 17:16
sourcescanner.py
9.27
KB
-rw-r--r--
2018-10-29 17:16
sourcescanner.pyc
11.67
KB
-rw-r--r--
2018-10-29 17:16
sourcescanner.pyo
11.67
KB
-rw-r--r--
2018-10-29 17:16
testcodegen.py
5.8
KB
-rw-r--r--
2018-10-29 17:16
testcodegen.pyc
3.8
KB
-rw-r--r--
2018-10-29 17:16
testcodegen.pyo
3.76
KB
-rw-r--r--
2018-10-29 17:16
transformer.py
42.08
KB
-rw-r--r--
2018-10-29 17:16
transformer.pyc
30.15
KB
-rw-r--r--
2018-10-29 17:16
transformer.pyo
29.91
KB
-rw-r--r--
2018-10-29 17:16
utils.py
9.44
KB
-rw-r--r--
2018-10-29 17:16
utils.pyc
9.13
KB
-rw-r--r--
2018-10-29 17:16
utils.pyo
9.13
KB
-rw-r--r--
2018-10-29 17:16
xmlwriter.py
5.3
KB
-rw-r--r--
2018-10-29 17:16
xmlwriter.pyc
5.92
KB
-rw-r--r--
2018-10-29 17:16
xmlwriter.pyo
5.81
KB
-rw-r--r--
2018-10-29 17:16
Save
Rename
# -*- Mode: Python -*- # GObject-Introspection - a framework for introspecting GObject libraries # Copyright (C) 2008 Johan Dahlin # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # from __future__ import with_statement from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import os import sys from contextlib import contextmanager from xml.sax.saxutils import escape from .libtoolimporter import LibtoolImporter if sys.version_info.major < 3: from StringIO import StringIO else: from io import StringIO unicode = str with LibtoolImporter(None, None): if 'UNINSTALLED_INTROSPECTION_SRCDIR' in os.environ: from _giscanner import collect_attributes else: from giscanner._giscanner import collect_attributes def build_xml_tag(tag_name, attributes=None, data=None, self_indent=0, self_indent_char=' '): if attributes is None: attributes = [] prefix = '<%s' % (tag_name, ) if data is not None: if isinstance(data, bytes): data = data.decode('UTF-8') suffix = '>%s</%s>' % (escape(data), tag_name) else: suffix = '/>' attrs = collect_attributes( tag_name, attributes, self_indent, self_indent_char, len(prefix) + len(suffix)) return prefix + attrs + suffix class XMLWriter(object): def __init__(self): # Build up the XML buffer as unicode strings. When writing to disk, # we can assume the lack of a Byte Order Mark (BOM) and lack # of an "encoding" xml property means utf-8. # See: http://www.opentag.com/xfaq_enc.htm#enc_default self._data = StringIO() self._data.write('<?xml version="1.0"?>\n') self._tag_stack = [] self._indent = 0 self._indent_unit = 2 self.enable_whitespace() # Private def _open_tag(self, tag_name, attributes=None): if attributes is None: attributes = [] attrs = collect_attributes(tag_name, attributes, self._indent, self._indent_char, len(tag_name) + 2) self.write_line('<%s%s>' % (tag_name, attrs)) def _close_tag(self, tag_name): self.write_line('</%s>' % (tag_name, )) # Public API def enable_whitespace(self): self._indent_char = ' ' self._newline_char = '\n' def disable_whitespace(self): self._indent_char = '' self._newline_char = '' def get_xml(self): """Returns a unicode string containing the XML.""" return self._data.getvalue() def get_encoded_xml(self): """Returns a utf-8 encoded bytes object containing the XML.""" return self._data.getvalue().encode('utf-8') def write_line(self, line='', indent=True, do_escape=False): if isinstance(line, bytes): line = line.decode('utf-8') assert isinstance(line, unicode) if do_escape: line = escape(line) if indent: self._data.write('%s%s%s' % (self._indent_char * self._indent, line, self._newline_char)) else: self._data.write('%s%s' % (line, self._newline_char)) def write_comment(self, text): self.write_line('<!-- %s -->' % (text, )) def write_tag(self, tag_name, attributes, data=None): self.write_line(build_xml_tag(tag_name, attributes, data, self._indent, self._indent_char)) def push_tag(self, tag_name, attributes=None): if attributes is None: attributes = [] self._open_tag(tag_name, attributes) self._tag_stack.append(tag_name) self._indent += self._indent_unit def pop_tag(self): self._indent -= self._indent_unit tag_name = self._tag_stack.pop() self._close_tag(tag_name) return tag_name @contextmanager def tagcontext(self, tag_name, attributes=None): self.push_tag(tag_name, attributes) try: yield finally: self.pop_tag() def test(): w = XMLWriter() w.push_tag('repository') w.push_tag('namespace') w.push_tag('enumeration') w.push_tag('member', [('name', 'west'), ('value', '7'), ('c:identifier', 'GTK_ANCHOR_WEST'), ('glib:nick', 'west')]) w.pop_tag() w.pop_tag() w.pop_tag() x = w.get_xml() lines = x.split('\n') import pprint pprint.pprint(lines) assert len(lines[3]) < 80, len(lines[3]) if __name__ == '__main__': test()