Home
last modified time | relevance | path

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

/third_party/python/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,
/third_party/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.cpp2601 TextFile reader("NumberFormatTestCases.txt", "UTF8", ec); in TestCases()
/third_party/python/Lib/distutils/
Dextension.py147 from distutils.text_file import TextFile
155 file = TextFile(filename,
Dsysconfig.py83 from distutils.text_file import TextFile
84 fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1, errors="surrogateescape")
Dtext_file.py10 class TextFile: class
/third_party/python/Lib/distutils/command/
Dsdist.py14 from distutils.text_file import TextFile
331 template = TextFile(self.template, strip_comments=1, skip_blanks=1,
/third_party/python/Doc/distutils/
Dapiref.rst1567 :mod:`distutils.text_file` --- The TextFile class
1571 :synopsis: Provides the TextFile class, a simple interface to text files
1574 This module provides the :class:`TextFile` class, which gives an interface to
1579 .. class:: TextFile([filename=None, file=None, **options])
1593 :class:`TextFile` instances are create with either *filename*, *file*, or both.
1597 *filename*, so that :class:`TextFile` can include it in warning messages. If
1598 *file* is not supplied, :class:`TextFile` creates its own using the
1657 .. method:: TextFile.open(filename)
1663 .. method:: TextFile.close()
1669 .. method:: TextFile.warn(msg[,line=None])
[all …]
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch1118 # but without the parsing capabilities of distutils.text_file.TextFile.