HomeSort by relevance Sort by last modified time
    Searched refs:truncate (Results 176 - 200 of 828) sorted by null

1 2 3 4 5 6 78 91011>>

  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_fileio.py 130 'seek', 'tell', 'truncate', 'write', 'seekable',
133 methods.remove('truncate')
217 f.truncate(0)
371 f.truncate(5)
374 f.truncate(15)
382 # "file.truncate fault on windows"
394 f.truncate()
test_memoryio.py 77 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)
126 # truncate() accepts long objects
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)
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/
dbrecio.py 15 f.truncate([size]) # truncate file at to at most size (default: current pos)
114 def truncate(self, size=None): member in class:DBRecIO
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_fileio.py 130 'seek', 'tell', 'truncate', 'write', 'seekable',
133 methods.remove('truncate')
217 f.truncate(0)
371 f.truncate(5)
374 f.truncate(15)
382 # "file.truncate fault on windows"
394 f.truncate()
test_memoryio.py 77 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)
126 # truncate() accepts long objects
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)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/
dbrecio.py 15 f.truncate([size]) # truncate file at to at most size (default: current pos)
114 def truncate(self, size=None): member in class:DBRecIO
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fileio.py 130 'seek', 'tell', 'truncate', 'write', 'seekable',
133 methods.remove('truncate')
217 f.truncate(0)
371 f.truncate(5)
374 f.truncate(15)
382 # "file.truncate fault on windows"
394 f.truncate()
test_memoryio.py 77 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)
126 # truncate() accepts long objects
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)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/
dbrecio.py 15 f.truncate([size]) # truncate file at to at most size (default: current pos)
114 def truncate(self, size=None): member in class:DBRecIO
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fileio.py 130 'seek', 'tell', 'truncate', 'write', 'seekable',
133 methods.remove('truncate')
217 f.truncate(0)
371 f.truncate(5)
374 f.truncate(15)
382 # "file.truncate fault on windows"
394 f.truncate()
test_memoryio.py 77 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)
126 # truncate() accepts long objects
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)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
_pyio.py 316 def truncate(self, pos=None): member in class:IOBase
317 """Truncate file to size bytes.
322 self._unsupported("truncate")
362 If False, seek(), tell() and truncate() will raise IOError.
392 If False, write() and truncate() will raise IOError.
702 def truncate(self, pos=None): member in class:_BufferedIOMixin
711 # XXX directly to truncate?
712 return self.raw.truncate(pos)
866 def truncate(self, pos=None): member in class:BytesIO
868 raise ValueError("truncate on closed file")
1100 def truncate(self, pos=None): member in class:BufferedWriter
1256 def truncate(self, pos=None): member in class:BufferedRandom
1310 def truncate(self, pos=None): member in class:TextIOBase
1752 def truncate(self, pos=None): member in class:TextIOWrapper
    [all...]
  /external/python/cpython2/Lib/
_pyio.py 326 def truncate(self, pos=None): member in class:IOBase
327 """Truncate file to size bytes.
332 self._unsupported("truncate")
374 If False, seek(), tell() and truncate() will raise IOError.
404 If False, write() and truncate() will raise IOError.
712 def truncate(self, pos=None): member in class:_BufferedIOMixin
721 # XXX directly to truncate?
722 return self.raw.truncate(pos)
879 def truncate(self, pos=None): member in class:BytesIO
881 raise ValueError("truncate on closed file"
1115 def truncate(self, pos=None): member in class:BufferedWriter
1272 def truncate(self, pos=None): member in class:BufferedRandom
1326 def truncate(self, pos=None): member in class:TextIOBase
1777 def truncate(self, pos=None): member in class:TextIOWrapper
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
_pyio.py 317 def truncate(self, pos=None): member in class:IOBase
318 """Truncate file to size bytes.
323 self._unsupported("truncate")
365 If False, seek(), tell() and truncate() will raise IOError.
395 If False, write() and truncate() will raise IOError.
705 def truncate(self, pos=None): member in class:_BufferedIOMixin
714 # XXX directly to truncate?
715 return self.raw.truncate(pos)
872 def truncate(self, pos=None): member in class:BytesIO
874 raise ValueError("truncate on closed file"
1108 def truncate(self, pos=None): member in class:BufferedWriter
1263 def truncate(self, pos=None): member in class:BufferedRandom
1317 def truncate(self, pos=None): member in class:TextIOBase
1763 def truncate(self, pos=None): member in class:TextIOWrapper
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
_pyio.py 317 def truncate(self, pos=None): member in class:IOBase
318 """Truncate file to size bytes.
323 self._unsupported("truncate")
365 If False, seek(), tell() and truncate() will raise IOError.
395 If False, write() and truncate() will raise IOError.
705 def truncate(self, pos=None): member in class:_BufferedIOMixin
714 # XXX directly to truncate?
715 return self.raw.truncate(pos)
872 def truncate(self, pos=None): member in class:BytesIO
874 raise ValueError("truncate on closed file"
1108 def truncate(self, pos=None): member in class:BufferedWriter
1263 def truncate(self, pos=None): member in class:BufferedRandom
1317 def truncate(self, pos=None): member in class:TextIOBase
1763 def truncate(self, pos=None): member in class:TextIOWrapper
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_pyio.py 317 def truncate(self, pos=None): member in class:IOBase
318 """Truncate file to size bytes.
323 self._unsupported("truncate")
365 If False, seek(), tell() and truncate() will raise IOError.
395 If False, write() and truncate() will raise IOError.
705 def truncate(self, pos=None): member in class:_BufferedIOMixin
714 # XXX directly to truncate?
715 return self.raw.truncate(pos)
872 def truncate(self, pos=None): member in class:BytesIO
874 raise ValueError("truncate on closed file"
1108 def truncate(self, pos=None): member in class:BufferedWriter
1263 def truncate(self, pos=None): member in class:BufferedRandom
1317 def truncate(self, pos=None): member in class:TextIOBase
1763 def truncate(self, pos=None): member in class:TextIOWrapper
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_pyio.py 317 def truncate(self, pos=None): member in class:IOBase
318 """Truncate file to size bytes.
323 self._unsupported("truncate")
365 If False, seek(), tell() and truncate() will raise IOError.
395 If False, write() and truncate() will raise IOError.
705 def truncate(self, pos=None): member in class:_BufferedIOMixin
714 # XXX directly to truncate?
715 return self.raw.truncate(pos)
872 def truncate(self, pos=None): member in class:BytesIO
874 raise ValueError("truncate on closed file"
1108 def truncate(self, pos=None): member in class:BufferedWriter
1263 def truncate(self, pos=None): member in class:BufferedRandom
1317 def truncate(self, pos=None): member in class:TextIOBase
1763 def truncate(self, pos=None): member in class:TextIOWrapper
    [all...]
  /bionic/libc/include/
unistd.h 170 int truncate(const char* __path, off_t __length) __RENAME(truncate64) __INTRODUCED_IN(21);
178 int truncate(const char* __path, off_t __length);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_memoryio.py 77 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)
126 # truncate() accepts long objects
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)
  /external/e2fsprogs/debugfs/
debug_cmds.ct 166 request do_punch, "Punch (or truncate) blocks from an inode by deallocating them",
167 punch, truncate;
  /external/icu/icu4c/source/test/intltest/
tsnmfmt.cpp 296 errMsg.truncate(0); // if non-empty, we failed this iteration
323 string[i].truncate(0);
  /external/python/cpython2/Lib/test/
test_memoryio.py 77 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)
126 # truncate() accepts long objects
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)
test_file2k.py 125 'readline', 'readlines', 'seek', 'tell', 'truncate',
129 methods.remove('truncate')
195 self.assertRaises(IOError, self.f.truncate)
248 self.assertRaises(IOError, sys.stdin.truncate)
295 # "file.truncate fault on windows"
307 f.truncate()
642 self.f.truncate()
  /frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
AppCompatibility.java 161 message.append(truncate(err, MAX_CRASH_SNIPPET_LINES)); method
183 * Truncate the text to at most the specified number of lines, and append a marker at the end
189 private static String truncate(String text, int maxLines) { method in class:AppCompatibility
  /libcore/ojluni/src/main/java/sun/nio/ch/
SimpleAsynchronousFileChannelImpl.java 125 public AsynchronousFileChannel truncate(long size) throws IOException { method in class:SimpleAsynchronousFileChannelImpl
139 // truncate file if 'size' less than current size
142 n = nd.truncate(fdObj, size);

Completed in 828 milliseconds

1 2 3 4 5 6 78 91011>>