OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:file_object
(Results
1 - 15
of
15
) sorted by null
/build/make/tools/
event_log_tags.py
43
def __init__(self, filename,
file_object
=None):
45
messages). If '
file_object
' is None, 'filename' will be opened
55
if
file_object
is None:
57
file_object
= open(filename, "rb")
63
for self.linenum, line in enumerate(
file_object
):
/external/toolchain-utils/crosperf/
experiment_file.py
177
def __init__(self,
file_object
):
178
self.
file_object
=
file_object
191
self.current_line = self.
file_object
.readline()
/external/autotest/scheduler/
drone_utility.py
242
file_object
= open(file_path, 'a')
243
file_object
.write(contents)
244
file_object
.close()
386
file_object
= open(failed_file, 'w')
388
file_object
.write('%s:%s\n%s\n%s' %
393
file_object
.close()
652
with open(pidfile_path, 'r') as
file_object
:
653
return _PidfileContent(pidfile_path,
file_object
.read())
/external/autotest/client/common_lib/
logging_manager_test.py
160
def set_stdout(
file_object
):
161
self.stdout =
file_object
logging_manager.py
313
def set_stream(
file_object
):
314
setattr(sys, stream_name,
file_object
)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_warnings.py
563
file_object
= StringIO.StringIO()
567
file_object
)
568
self.assertEqual(
file_object
.getvalue(), expect)
573
file_object
= StringIO.StringIO()
575
file_object
, expected_file_line)
576
self.assertEqual(expect,
file_object
.getvalue())
/external/python/cpython3/Lib/
aifc.py
349
file_object
= builtins.open(f, 'rb')
351
self.initfp(
file_object
)
353
file_object
.close()
556
file_object
= builtins.open(f, 'wb')
558
self.initfp(
file_object
)
560
file_object
.close()
/external/python/cpython2/Lib/test/
test_warnings.py
674
file_object
= StringIO.StringIO()
678
file_object
)
679
self.assertEqual(
file_object
.getvalue(), expect)
684
file_object
= StringIO.StringIO()
686
file_object
, expected_file_line)
687
self.assertEqual(expect,
file_object
.getvalue())
[
all
...]
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_warnings.py
575
file_object
= StringIO.StringIO()
579
file_object
)
580
self.assertEqual(
file_object
.getvalue(), expect)
585
file_object
= StringIO.StringIO()
587
file_object
, expected_file_line)
588
self.assertEqual(expect,
file_object
.getvalue())
/prebuilts/gdb/linux-x86/lib/python2.7/test/
test_warnings.py
575
file_object
= StringIO.StringIO()
579
file_object
)
580
self.assertEqual(
file_object
.getvalue(), expect)
585
file_object
= StringIO.StringIO()
587
file_object
, expected_file_line)
588
self.assertEqual(expect,
file_object
.getvalue())
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_warnings.py
575
file_object
= StringIO.StringIO()
579
file_object
)
580
self.assertEqual(
file_object
.getvalue(), expect)
585
file_object
= StringIO.StringIO()
587
file_object
, expected_file_line)
588
self.assertEqual(expect,
file_object
.getvalue())
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_warnings.py
575
file_object
= StringIO.StringIO()
579
file_object
)
580
self.assertEqual(
file_object
.getvalue(), expect)
585
file_object
= StringIO.StringIO()
587
file_object
, expected_file_line)
588
self.assertEqual(expect,
file_object
.getvalue())
/system/extras/pagecache/
pagecache.py
120
def __init__(self,
file_object
, output_queue, text_file, chunk_size=-1):
124
file_object
: The file or pipe to read from.
134
self._file_object =
file_object
/system/iot/attestation/at-factory-tool/
atftman.py
918
file_object
= json.loads(content)
922
product_name =
file_object
.get(self.JSON_PRODUCT_NAME)
923
attribute_string =
file_object
.get(self.JSON_PRODUCT_ATTRIBUTE)
924
vboot_key_string =
file_object
.get(self.JSON_VBOOT_KEY)
[
all
...]
/external/python/cpython3/Lib/test/test_warnings/
__init__.py
[
all
...]
Completed in 1049 milliseconds