Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dtrace_test.py21 self._file = None
28 self._file = tempfile.NamedTemporaryFile()
29 trace_enable(open(self._file.name, 'a+'))
35 e = ParsedTraceEvents(trace_filename = self._file.name)
36 self._file.close()
37 self._file = None
42 return self._file.name
47 if self._file:
48 self._file.close()
/external/python/cpython2/Lib/
Daifc.py297 self._file = file
312 chunk = Chunk(self._file)
353 return self._file
366 self._file.close()
579 self._file = file
597 if self._file:
726 self._file.write(data)
737 if self._file is None:
743 self._file.write(chr(0))
756 f = self._file
[all …]
Dsunau.py161 if self._file:
165 self._file = file
212 return self._file
260 data = self._file.read()
262 data = self._file.read(nframes * self._framesize)
273 self._file.seek(self._data_pos)
284 self._file.seek(self._data_pos + pos * self._framesize)
288 self._file = None
299 if self._file:
303 self._file = file
[all …]
Dmailbox.py582 self._file = f
631 _lock_file(self._file)
637 _unlock_file(self._file)
646 _sync_flush(self._file)
657 self._file.seek(0, 2)
658 cur_len = self._file.tell()
670 self._file.seek(start)
674 buffer = self._file.read(min(4096,
675 stop - self._file.tell()))
688 self._file.close()
[all …]
Dtempfile.py528 self._file = _StringIO()
541 file = self._file
542 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs)
557 if self._file.closed:
562 self._file.close()
566 return self._file.__iter__()
569 self._file.close()
573 return self._file.closed
577 return self._file.fileno()
580 self._file.flush()
[all …]
Dwave.py129 self._file = Chunk(file, bigendian = 0)
130 if self._file.getname() != 'RIFF':
132 if self._file.read(4) != 'WAVE':
139 chunk = Chunk(self._file, bigendian = 0)
176 return self._file
183 self._file = None
318 self._file = file
433 data.tofile(self._file)
438 self._file.write(data)
449 if self._file:
[all …]
Dfileinput.py94 if _state and _state._file:
209 self._file = None
241 if not self._file:
266 file = self._file
267 self._file = None
290 if not self._file:
302 self._file = None
307 self._file = sys.stdin
317 self._file = open(self._backupfilename, self._mode)
319 perm = os.fstat(self._file.fileno()).st_mode
[all …]
Dhttplib.py1374 self._file = file
1380 return getattr(self._file, attr)
1387 self.read = self._file.read
1388 self.readline = self._file.readline
1389 self.readlines = self._file.readlines
1393 return self._file.read(amt)
1399 return s + self._file.read()
1401 return s + self._file.read(amt - len(s))
1415 return self._file.readline()
1423 return self._file.readlines(size)
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DPathProfileInfo.cpp78 FILE* _file; member in __anon3d5d6cfa0111::PathProfileLoaderPass
296 if (!(_file = fopen(_filename.c_str(), "rb"))) { in runOnModule()
303 while( fread(&profType, sizeof(ProfilingType), 1, _file) ) { in runOnModule()
313 fclose (_file); in runOnModule()
318 fclose (_file); in runOnModule()
338 if( fread(&savedArgsLength, sizeof(unsigned), 1, _file) != 1 ) { in handleArgumentInfo()
345 if( fread(args, 1, savedArgsLength, _file) != savedArgsLength ) in handleArgumentInfo()
354 fseek(_file, 4-(savedArgsLength&3), SEEK_CUR); in handleArgumentInfo()
361 if( fread(&functionCount, sizeof(functionCount), 1, _file) != 1 ) { in handlePathInfo()
369 if( fread(&pathHeader, sizeof(pathHeader), 1, _file) != 1 ) { in handlePathInfo()
[all …]
/external/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()
/external/syslinux/com32/lib/sys/module/
Dcommon.c95 module->u.l._file = findpath(module->name); in image_load()
97 if (module->u.l._file == NULL) { in image_load()
107 if (module->u.l._file != NULL) { in image_load()
108 fclose(module->u.l._file); in image_load()
109 module->u.l._file = NULL; in image_load()
117 if (module->u.l._file != NULL) { in image_unload()
118 fclose(module->u.l._file); in image_unload()
119 module->u.l._file = NULL; in image_unload()
128 size_t result = fread(buff, size, 1, module->u.l._file); in image_read()
145 result = fread(skip_buff, size, 1, module->u.l._file); in image_skip()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DANTLRFileStream.as8 protected var _file:File;
15 _file = file;
33 return _file.name;
/external/emma/core/java12/com/vladium/emma/instr/
DInstrProcessor.java92 final File _file = new File (fileName); in setMetaOutFile() local
94 if (_file.exists () && ! _file.isFile ()) in setMetaOutFile()
95 … throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]"); in setMetaOutFile()
97 m_mdataOutFile = _file; in setMetaOutFile()
/external/toolchain-utils/
Dfile_lock_machine.py95 self._file = None
147 self._file = open(self._filepath, 'a+')
148 self._file.seek(0, os.SEEK_SET)
150 if fcntl.flock(self._file.fileno(), fcntl.LOCK_EX) == -1:
154 desc = json.load(self._file)
181 self._file.truncate(0)
182 self._file.write(json.dumps(self._description.__dict__, skipkeys=True))
183 self._file.close()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_standard_test.h66 _file(false), in SubAPIManager()
84 _file = true; in SubAPIManager()
111 bool _externalMedia, _file, _hardware; variable
Dvoe_standard_test.cc49 if (_file) in DisplayStatus()
75 if (!_file) in DisplayStatus()
/external/emma/core/java12/com/vladium/emma/data/
DMergeProcessor.java69 final File _file = new File (fileName); in setSessionOutFile() local
71 if (_file.exists () && ! _file.isFile ()) in setSessionOutFile()
72 … throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]"); in setSessionOutFile()
74 m_sdataOutFile = _file; in setSessionOutFile()
/external/protobuf/cmake/
Dinstall.cmake69 foreach(_file ${nobase_dist_proto_DATA})
70 get_filename_component(_file_from "../src/${_file}" ABSOLUTE)
71 get_filename_component(_file_name ${_file} NAME)
72 get_filename_component(_file_path ${_file} PATH)
/external/python/cpython2/Lib/test/
Dtest_mailbox.py927 self._box._file.flush()
928 self._box._file.seek(0)
929 contents = self._box._file.read()
1818 self._file = open(self._path, 'wb+')
1821 self._file.close()
1826 self._file.write('foo')
1827 pos = self._file.tell()
1828 proxy0 = mailbox._ProxyFile(self._file)
1830 self.assertEqual(self._file.tell(), pos)
1831 proxy1 = mailbox._ProxyFile(self._file, 0)
[all …]
/external/openssh/regress/
Dkeygen-knownhosts.sh94 _file=$3
95 test "x$_file" = "x" && _file=$OBJ/kh.invalid
96 ${SSHKEYGEN} -f $_file -HF $_host | grep '|1|' | \
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp1881 IBenchPrintCallback *_file; member
1920 RINOK(_file->CheckBreak()); in SetEncodeResult()
1924 PrintResults(_file, info, in SetEncodeResult()
1928 _file->NewLine(); in SetEncodeResult()
1937 RINOK(_file->CheckBreak()); in SetDecodeResult()
1942 _file->Print(kSep); in SetDecodeResult()
1944 PrintSpaces(*_file, NameFieldSize); in SetDecodeResult()
1949 PrintResults(_file, info2, in SetDecodeResult()
1958 _file->Print(s); in Print()
1963 _file->NewLine(); in NewLine()
[all …]
/external/mesa3d/bin/
Dperf-annotate-jit59 self._file = file
65 line = self._file.readline()
/external/emma/core/java12/com/vladium/emma/rt/
DAppRunner.java194 final File _file = new File (fileName); in setSessionOutFile() local
196 if (_file.exists () && ! _file.isFile ()) in setSessionOutFile()
197 … throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]"); in setSessionOutFile()
199 m_sdataOutFile = _file; in setSessionOutFile()
/external/compiler-rt/cmake/Modules/
DCompilerRTDarwinUtils.cmake245 foreach (_file ${intermediate})
246 get_filename_component(_name_we ${_file} NAME_WE)
249 list(REMOVE_ITEM intermediate ${_file})
250 elseif(${_file} MATCHES ".*/.*\\.S" OR ${_file} MATCHES ".*/.*\\.c")
251 get_filename_component(_name ${_file} NAME)
/external/bison/lib/
Dstdio-impl.h98 int _file; \

12