Home
last modified time | relevance | path

Searched refs:TextFile (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/distutils/tests/
Dtest_text_file.py4 from distutils.text_file import TextFile
62 in_file = TextFile(filename, strip_comments=0, skip_blanks=0,
69 in_file = TextFile(filename, strip_comments=1, skip_blanks=0,
76 in_file = TextFile(filename, strip_comments=0, skip_blanks=1,
83 in_file = TextFile(filename)
89 in_file = TextFile(filename, strip_comments=1, skip_blanks=1,
96 in_file = TextFile(filename, strip_comments=1, skip_blanks=1,
/external/python/cpython3/Lib/distutils/tests/
Dtest_text_file.py4 from distutils.text_file import TextFile
62 in_file = TextFile(filename, strip_comments=0, skip_blanks=0,
69 in_file = TextFile(filename, strip_comments=1, skip_blanks=0,
76 in_file = TextFile(filename, strip_comments=0, skip_blanks=1,
83 in_file = TextFile(filename)
89 in_file = TextFile(filename, strip_comments=1, skip_blanks=1,
96 in_file = TextFile(filename, strip_comments=1, skip_blanks=1,
/external/icu/icu4c/source/test/intltest/
Dtextfile.cpp23 TextFile::TextFile(const char* _name, const char* _encoding, UErrorCode& ec) : in TextFile() function in TextFile
69 TextFile::~TextFile() { in ~TextFile()
78 UBool TextFile::readLine(UnicodeString& line, UErrorCode& ec) { in readLine()
113 UBool TextFile::readLineSkippingComments(UnicodeString& line, UErrorCode& ec, in readLineSkippingComments()
134 UBool TextFile::setBuffer(int32_t index, char c, UErrorCode& ec) { in setBuffer()
151 UBool TextFile::ensureCapacity(int32_t mincapacity) { in ensureCapacity()
Dtextfile.h23 class TextFile {
30 TextFile(const char* name, const char* encoding, UErrorCode& ec);
32 virtual ~TextFile();
70 inline int32_t TextFile::getLineNumber() const { in getLineNumber()
Dtokiter.h18 class TextFile; variable
36 TokenIterator(TextFile* r);
65 TextFile* reader; // alias
Dtokiter.cpp19 TokenIterator::TokenIterator(TextFile* r) { in TokenIterator()
Dthcoll.cpp87 TextFile names("TestNames_Thai.txt", "UTF16LE", ec); in TestNamesList()
134 TextFile riwords("riwords.txt", "UTF8", ec); in TestDictionary()
Dnumfmtst.cpp2596 TextFile reader("NumberFormatTestCases.txt", "UTF8", ec); in TestCases()
/external/python/cpython2/Lib/distutils/
Dextension.py142 from distutils.text_file import TextFile
150 file = TextFile(filename,
Dsysconfig.py292 from distutils.text_file import TextFile
293 fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1)
Dtext_file.py12 class TextFile: class
/external/python/cpython3/Lib/distutils/
Dextension.py146 from distutils.text_file import TextFile
154 file = TextFile(filename,
Dtext_file.py10 class TextFile: class
Dsysconfig.py312 from distutils.text_file import TextFile
313 fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1, errors="surrogateescape")
/external/python/cpython2/Lib/distutils/command/
Dsdist.py15 from distutils.text_file import TextFile
307 template = TextFile(self.template,
/external/python/cpython3/Lib/distutils/command/
Dsdist.py14 from distutils.text_file import TextFile
331 template = TextFile(self.template, strip_comments=1, skip_blanks=1,
/external/python/cpython3/Doc/distutils/
Dapiref.rst1562 :mod:`distutils.text_file` --- The TextFile class
1566 :synopsis: Provides the TextFile class, a simple interface to text files
1569 This module provides the :class:`TextFile` class, which gives an interface to
1574 .. class:: TextFile([filename=None, file=None, **options])
1588 :class:`TextFile` instances are create with either *filename*, *file*, or both.
1592 *filename*, so that :class:`TextFile` can include it in warning messages. If
1593 *file* is not supplied, :class:`TextFile` creates its own using the
1652 .. method:: TextFile.open(filename)
1658 .. method:: TextFile.close()
1664 .. method:: TextFile.warn(msg[,line=None])
[all …]
/external/python/cpython2/Doc/distutils/
Dapiref.rst1521 :mod:`distutils.text_file` --- The TextFile class
1525 :synopsis: provides the TextFile class, a simple interface to text files
1528 This module provides the :class:`TextFile` class, which gives an interface to
1533 .. class:: TextFile([filename=None, file=None, **options])
1547 :class:`TextFile` instances are create with either *filename*, *file*, or both.
1551 *filename*, so that :class:`TextFile` can include it in warning messages. If
1552 *file* is not supplied, :class:`TextFile` creates its own using the
1611 .. method:: TextFile.open(filename)
1617 .. method:: TextFile.close()
1623 .. method:: TextFile.warn(msg[,line=None])
[all …]
/external/python/cpython2/Misc/
DBeOS-setup.py97 input = text_file.TextFile('Modules/Setup', join_lines=1)
/external/python/cpython2/
Dsetup.py243 input = text_file.TextFile(filename, join_lines=1)