Home
last modified time | relevance | path

Searched refs:_file (Results 1 – 25 of 51) sorted by relevance

123

/third_party/python/Lib/
Daifc.py306 _file = None # Set here since __del__ checks it variable in Aifc_read
313 self._file = file
329 chunk = Chunk(self._file)
370 return self._file
377 file = self._file
379 self._file = None
557 _file = None # Set here since __del__ checks it variable in Aifc_write
576 self._file = file
731 self._file.write(data)
742 if self._file is None:
[all …]
Dsunau.py169 if self._file:
179 self._file = file
225 return self._file
273 data = self._file.read()
275 data = self._file.read(nframes * self._framesize)
286 self._file.seek(self._data_pos)
297 self._file.seek(self._data_pos + pos * self._framesize)
301 file = self._file
303 self._file = None
319 if self._file:
[all …]
Dmailbox.py595 self._file = f
643 _lock_file(self._file)
649 _unlock_file(self._file)
658 _sync_flush(self._file)
669 self._file.seek(0, 2)
670 cur_len = self._file.tell()
682 self._file.seek(start)
686 buffer = self._file.read(min(4096,
687 stop - self._file.tell()))
700 self._file.close()
[all …]
Dwave.py128 self._file = Chunk(file, bigendian = 0)
129 if self._file.getname() != b'RIFF':
131 if self._file.read(4) != b'WAVE':
138 chunk = Chunk(self._file, bigendian = 0)
182 return self._file
189 self._file = None
314 self._file = file
432 self._file.write(data)
443 if self._file:
447 self._file.flush()
[all …]
Dfileinput.py87 if _state and _state._file:
205 self._file = None
260 if not self._file:
292 file = self._file
293 self._file = None
316 if not self._file:
331 self._file = None
344 self._file = getattr(sys.stdin, 'buffer', sys.stdin)
346 self._file = sys.stdin
358 self._file = open(self._backupfilename, self._mode, encoding=encoding)
[all …]
Dtempfile.py665 self._file = _io.BytesIO()
668 self._file = _io.TextIOWrapper(_io.BytesIO(),
688 file = self._file
689 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs)
708 if self._file.closed:
713 self._file.close()
717 return self._file.__iter__()
720 self._file.close()
724 return self._file.closed
728 return self._file.encoding
[all …]
Dzipfile.py720 self._file = file
734 self._file.seek(offset, whence)
735 self._pos = self._file.tell()
744 self._file.seek(self._pos)
745 data = self._file.read(n)
746 self._pos = self._file.tell()
750 if self._file is not None:
751 fileobj = self._file
752 self._file = None
/third_party/lzma/CPP/7zip/UI/Console/
DBenchCon.cpp12 FILE *_file; member
21 fputs(s, _file); in Print()
26 fputc('\n', _file); in NewLine()
38 callback._file = f; in BenchCon()
/third_party/skia/third_party/externals/expat/expat/cmake/autotools/
Dexpat-package-init.cmake8 macro(set_and_check _var _file)
9 set(${_var} "${_file}")
10 if(NOT EXISTS "${_file}")
11 … message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
/third_party/curl/docs/libcurl/
DCMakeLists.txt31 foreach(_file IN LISTS ${_listname})
32 list(APPEND _rofffiles "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
33 if(_file STREQUAL "libcurl-symbols.3")
35 string(REPLACE ".3" ".md" _mdfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
37 string(REPLACE ".3" ".md" _mdfile "${_file}")
/third_party/protobuf/cmake/
Dprotobuf-config.cmake.in62 foreach(_file ${_source_list})
63 if(_file MATCHES "proto$")
64 list(APPEND protobuf_generate_PROTOS ${_file})
76 foreach(_file ${protobuf_generate_PROTOS})
77 get_filename_component(_abs_file ${_file} ABSOLUTE)
Dprotobuf-module.cmake.in26 foreach(_file ${_outvar})
27 if(_file MATCHES "cc$")
28 list(APPEND ${SRCS} ${_file})
30 list(APPEND ${HDRS} ${_file})
Dinstall.cmake87 foreach(_file ${nobase_dist_proto_DATA})
88 get_filename_component(_file_from "../src/${_file}" ABSOLUTE)
89 get_filename_component(_file_name ${_file} NAME)
90 get_filename_component(_file_path ${_file} PATH)
/third_party/python/Lib/test/
Dtest_mailbox.py1056 self._box._file.flush()
1057 self._box._file.seek(0)
1058 contents = self._box._file.read()
2024 self._file = open(self._path, 'wb+')
2027 self._file.close()
2032 self._file.write(b'foo')
2033 pos = self._file.tell()
2034 proxy0 = mailbox._ProxyFile(self._file)
2036 self.assertEqual(self._file.tell(), pos)
2037 proxy1 = mailbox._ProxyFile(self._file, 0)
[all …]
Dtest_fileinput.py474 file_backup = fi._file
476 fi._file = unconditionally_raise_ValueError
479 fi._file = file_backup # make sure the file gets cleaned up
550 self._file = None
615 instance._file = object()
629 instance._file = None
/third_party/jerryscript/tools/
Dheaplimit_measure.py54 for _file in files:
55 if not os.path.isfile(_file):
56 sys.exit("File not found: %s" % _file)
/third_party/mesa3d/src/intel/compiler/
Dbrw_disasm.c1253 enum brw_reg_file _file; in src0_3src() local
1266 _file = brw_inst_3src_a1_src0_reg_file(devinfo, inst); in src0_3src()
1269 _file = BRW_GENERAL_REGISTER_FILE; in src0_3src()
1272 _file = BRW_ARCHITECTURE_REGISTER_FILE; in src0_3src()
1274 _file = BRW_IMMEDIATE_VALUE; in src0_3src()
1297 _file = BRW_GENERAL_REGISTER_FILE; in src0_3src()
1322 err |= reg(file, _file, reg_nr); in src0_3src()
1340 enum brw_reg_file _file; in src1_3src() local
1353 _file = brw_inst_3src_a1_src1_reg_file(devinfo, inst); in src1_3src()
1356 _file = BRW_GENERAL_REGISTER_FILE; in src1_3src()
[all …]
/third_party/lzma/CPP/7zip/UI/Common/
DBench.cpp2991 IBenchPrintCallback *_file;
3026 RINOK(_file->CheckBreak())
3033 PrintResults(_file, info,
3037 _file->NewLine();
3046 RINOK(_file->CheckBreak())
3054 _file->Print(kSep);
3056 PrintSpaces(*_file, NameFieldSize);
3061 PrintResults(_file, info2,
3070 _file->Print(s);
3075 _file->NewLine();
[all …]
/third_party/mesa3d/bin/
Dperf-annotate-jit.py59 self._file = file
65 line = self._file.readline()
/third_party/rust/crates/rustix/tests/fs/
Ddir.rs13 let _file = rustix::fs::openat( in test_dir() localVariable
Dopenat2.rs36 Ok(_file) => (), in test_openat2()
/third_party/python/Tools/c-analyzer/c_analyzer/
Danalyze.py201 _file = _name = _data = _parent = None
202 super().__init__(_file, _name, _data, _parent, _shortkey='<skipped>')
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Dlib.rs140 _file: *const c_char, in init()
/third_party/rust/crates/nix/test/
Dtest_unistd.rs1171 let _file = File::create(path.clone()).unwrap(); in test_access_file_exists() localVariable
1352 let _file = File::create(path.clone()).unwrap(); in test_faccessat_none_file_exists() localVariable
1370 let _file = File::create(path.clone()).unwrap(); in test_faccessat_file_exists() localVariable
1404 let _file = File::create(path.clone()).unwrap(); in test_eaccess_file_exists() localVariable
/third_party/python/Doc/reference/
Dtoplevel_components.rst62 .. _file-input:

123