Home
last modified time | relevance | path

Searched refs:_file (Results 1 – 25 of 54) 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.py649 self._file = _io.BytesIO()
652 self._file = _io.TextIOWrapper(_io.BytesIO(),
672 file = self._file
673 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs)
692 if self._file.closed:
697 self._file.close()
701 return self._file.__iter__()
704 self._file.close()
708 return self._file.closed
712 return self._file.encoding
[all …]
Dzipfile.py718 self._file = file
732 self._file.seek(offset, whence)
733 self._pos = self._file.tell()
742 self._file.seek(self._pos)
743 data = self._file.read(n)
744 self._pos = self._file.tell()
748 if self._file is not None:
749 fileobj = self._file
750 self._file = None
/third_party/curl/docs/libcurl/
DCMakeLists.txt29 foreach(_file IN LISTS ${_listname})
30 if(_file STREQUAL "libcurl-symbols.3")
32 set(_srcfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
34 set(_srcfile "${CMAKE_CURRENT_SOURCE_DIR}/${_file}")
37 string(REPLACE ".3" ".html" _htmlfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
44 string(REPLACE ".3" ".pdf" _pdffile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
45 string(REPLACE ".3" ".ps" _psfile "${CMAKE_CURRENT_BINARY_DIR}/${_file}")
/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/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/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/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/node/deps/npm/node_modules/depd/
Dindex.js117 deprecate._file = file
200 var file = this._file
222 } else if (callFile === this._file) {
223 file = this._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.cpp2898 IBenchPrintCallback *_file; member
2937 RINOK(_file->CheckBreak()); in SetEncodeResult()
2941 PrintResults(_file, info, in SetEncodeResult()
2945 _file->NewLine(); in SetEncodeResult()
2954 RINOK(_file->CheckBreak()); in SetDecodeResult()
2959 _file->Print(kSep); in SetDecodeResult()
2961 PrintSpaces(*_file, NameFieldSize); in SetDecodeResult()
2966 PrintResults(_file, info2, in SetDecodeResult()
2975 _file->Print(s); in Print()
2980 _file->NewLine(); in NewLine()
[all …]
/third_party/mesa3d/bin/
Dperf-annotate-jit.py59 self._file = file
65 line = self._file.readline()
/third_party/node/deps/npm/node_modules/depd/lib/browser/
Dindex.js29 deprecate._file = undefined
/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()

123