Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 25 of 26) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
Dexample.py83 def truncate(self, pos): member in cStringIO.InputType
85 truncate.pyarg = "|i"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dbkfile.py30 self.truncate = self.__file.truncate
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_StringIO.py61 f.truncate()
63 f.truncate(5)
67 self.assertRaises(IOError, f.truncate, -1)
Dtest_largefile.py118 f.truncate()
126 f.truncate(newsize)
134 f.truncate(1)
Dtest_fileio.py187 f.truncate(0)
338 f.truncate(5)
341 f.truncate(15)
361 f.truncate()
Dtest_memoryio.py77 self.assertEqual(f.truncate(12), 12)
120 self.assertRaises(ValueError, memio.truncate, -1)
122 self.assertEqual(memio.truncate(), 6)
124 self.assertEqual(memio.truncate(4), 4)
127 self.assertEqual(memio.truncate(4L), 4)
134 self.assertEqual(memio.truncate(None), pos)
136 self.assertRaises(TypeError, memio.truncate, '0')
138 self.assertRaises(ValueError, memio.truncate, 0)
Dtest_file2k.py177 self.assertRaises(IOError, self.f.truncate)
224 self.assertRaises(IOError, sys.stdin.truncate)
283 f.truncate()
584 self.f.truncate()
Dtest_file.py165 self.assertRaises((IOError, ValueError), sys.stdin.truncate)
218 f.truncate()
Dtest_io.py109 def truncate(self, pos=None): member in MockRawIOWithoutRead
254 f.truncate(0)
270 self.assertEqual(f.truncate(12), 12)
312 self.assertEqual(f.truncate(), self.LARGE + 2)
315 self.assertEqual(f.truncate(self.LARGE + 1), self.LARGE + 1)
1027 self.check_writes(lambda bufio: bufio.truncate(bufio.tell()))
1089 self.assertEqual(bufio.truncate(3), 3)
1498 self.assertEqual(bufio.truncate(), 2)
1500 self.assertEqual(bufio.truncate(), 4)
1945 f.truncate()
[all …]
Dpickletester.py1172 f.truncate()
1180 f.truncate()
1256 f.truncate()
Dtest_mmap.py196 f.truncate(mapsize)
/device/linaro/bootloader/edk2/StdLib/Include/sys/
DEfiSysCall.h295 int truncate (const char *, off_t);
Dtypes.h225 extern int truncate (const char *, off_t);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dresult.py101 self._stdout_buffer.truncate()
103 self._stderr_buffer.truncate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_pyio.py316 def truncate(self, pos=None): member in IOBase
702 def truncate(self, pos=None): member in _BufferedIOMixin
712 return self.raw.truncate(pos)
866 def truncate(self, pos=None): member in BytesIO
1100 def truncate(self, pos=None): member in BufferedWriter
1105 return self.raw.truncate(pos)
1256 def truncate(self, pos=None): member in BufferedRandom
1260 return BufferedWriter.truncate(self, pos)
1310 def truncate(self, pos=None): member in TextIOBase
1752 def truncate(self, pos=None): member in TextIOWrapper
[all …]
DStringIO.py187 def truncate(self, size=None): member in StringIO
316 f.truncate(length/2)
Dtempfile.py590 def truncate(self): member in SpooledTemporaryFile
591 self._file.truncate()
Ddoctest.py263 def truncate(self, size=None): member in _SpoofOut
264 StringIO.truncate(self, size)
1264 self._fakeout.truncate(0)
Dmailbox.py714 self._file.truncate(before)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DStringIO.py187 def truncate(self, size=None): member in StringIO
316 f.truncate(length/2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_case.py648 def truncate(msg, diff): function
650 test._truncateMessage = truncate
660 def truncate(msg, diff): function
662 test._truncateMessage = truncate
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfixdiv.py338 def truncate(self): member in FileContext
/device/google/bonito/json-c/
DDoxyfile1109 # this value, doxygen will try to truncate the graph, so that it fits within
1117 # this value, doxygen will try to truncate the graph, so that it fits within
/device/google/crosshatch/json-c/
DDoxyfile1109 # this value, doxygen will try to truncate the graph, so that it fits within
1117 # this value, doxygen will try to truncate the graph, so that it fits within
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/
Dextra.decTest189 -- Issue #7233: rotate and scale should truncate an argument

12