/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tempfile.py | 599 def truncate(self): member in class:SpooledTemporaryFile 600 self._file.truncate()
|
/external/python/cpython3/Lib/ |
tempfile.py | 756 def truncate(self, size=None): member in class:SpooledTemporaryFile 758 self._file.truncate() 762 self._file.truncate(size)
|
_pyio.py | 347 def truncate(self, pos=None): member in class:IOBase 348 """Truncate file to size bytes. 353 self._unsupported("truncate") 395 If False, seek(), tell() and truncate() will raise OSError. 424 If False, write() and truncate() will raise OSError. 753 def truncate(self, pos=None): member in class:_BufferedIOMixin 762 # XXX directly to truncate? 763 return self.raw.truncate(pos) 928 def truncate(self, pos=None): member in class:BytesIO 930 raise ValueError("truncate on closed file" 1204 def truncate(self, pos=None): member in class:BufferedWriter 1353 def truncate(self, pos=None): member in class:BufferedRandom 1644 def truncate(self, size=None): member in class:FileIO 1752 def truncate(self, pos=None): member in class:TextIOBase 2267 def truncate(self, pos=None): member in class:TextIOWrapper [all...] |
/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/java/util/stream/ |
Nodes.java | 817 public Node<T> truncate(long from, long to, IntFunction<T[]> generator) { method in class:Nodes.ConcNode 822 return right.truncate(from - leftCount, to - leftCount, generator); 824 return left.truncate(from, to, generator); 826 return Nodes.conc(getShape(), left.truncate(from, leftCount, generator), 827 right.truncate(0, to - leftCount, generator)); [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
OmtpConstants.java | 214 truncate( 223 truncate( 233 truncate( 244 private static final String truncate(String string, int length) { method in class:OmtpConstants
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
MimeStreamParser.java | 126 rootStream.truncate();
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
unistd.h | 1026 # define truncate macro [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
fs_nacl.go | 673 func (fs *fsys) truncate(ip *inode, length int64) error { func 688 func Truncate(path string, length int64) error { 696 return fs.truncate(ip, length) 706 return f.fsys.truncate(f.inode, length)
|
/prebuilts/go/linux-x86/src/syscall/ |
fs_nacl.go | 673 func (fs *fsys) truncate(ip *inode, length int64) error { func 688 func Truncate(path string, length int64) error { 696 return fs.truncate(ip, length) 706 return f.fsys.truncate(f.inode, length)
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
FileUseMap.java | 298 void truncate() { method in class:FileUseMap
|
/bionic/tools/relocation_packer/src/ |
elf_file.cc | 969 const int truncate = ftruncate(fd_, file_bytes); local [all...] |
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
test_case.py | 648 def truncate(msg, diff):
function in function:Test_TestCase.testAssertDictEqualTruncates 650 test._truncateMessage = truncate
660 def truncate(msg, diff):
function in function:Test_TestCase.testAssertMultiLineEqualTruncates 662 test._truncateMessage = truncate
[all...] |
/external/avb/ |
avbtool | 630 (truncate()) and appending is supported (append_raw() and 806 self._image.truncate(self._image.tell() + num_bytes) 954 def truncate(self, size): member in class:ImageHandler 964 self._image.truncate(size) [all...] |
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
serialutil.py | 214 def truncate(self, n=None): member in class:FileLike
|
/external/icu/icu4c/source/common/unicode/ |
unistr.h | 4782 UnicodeString::truncate(int32_t targetLength) function in class:UnicodeString [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...] |
/external/python/cpython2/Lib/unittest/test/ |
test_case.py | 649 def truncate(msg, diff): function in function:Test_TestCase.testAssertDictEqualTruncates 651 test._truncateMessage = truncate 661 def truncate(msg, diff): function in function:Test_TestCase.testAssertMultiLineEqualTruncates 663 test._truncateMessage = truncate [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/darwin-x86/lib/python2.7/unittest/test/ |
test_case.py | 649 def truncate(msg, diff): function in function:Test_TestCase.testAssertDictEqualTruncates 651 test._truncateMessage = truncate 661 def truncate(msg, diff): function in function:Test_TestCase.testAssertMultiLineEqualTruncates 663 test._truncateMessage = truncate [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/gdb/linux-x86/lib/python2.7/unittest/test/ |
test_case.py | 649 def truncate(msg, diff): function in function:Test_TestCase.testAssertDictEqualTruncates 651 test._truncateMessage = truncate 661 def truncate(msg, diff): function in function:Test_TestCase.testAssertMultiLineEqualTruncates 663 test._truncateMessage = truncate [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/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_case.py | 649 def truncate(msg, diff): function in function:Test_TestCase.testAssertDictEqualTruncates 651 test._truncateMessage = truncate 661 def truncate(msg, diff): function in function:Test_TestCase.testAssertMultiLineEqualTruncates 663 test._truncateMessage = truncate [all...] |