/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
bytesio.c | 430 "truncate([size]) -> int. Truncate the file to at most size bytes.\n"
443 if (!PyArg_ParseTuple(args, "|O:truncate", &arg))
452 /* Truncate to current position if no argument is passed. */
856 {"truncate", (PyCFunction)bytesio_truncate, METH_VARARGS, truncate_doc},
|
fileio.c | 31 /* can simulate truncate with Win32 API functions; see file_truncate */
836 /* Truncate. Note that this may grow the file! */
996 "truncate([size: int]) -> int. Truncate the file to at most size bytes and\n"
1038 {"truncate", (PyCFunction)fileio_truncate, METH_VARARGS, truncate_doc},
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
bytesio.c | 420 "truncate([size]) -> int. Truncate the file to at most size bytes.\n"
433 if (!PyArg_ParseTuple(args, "|O:truncate", &arg))
442 /* Truncate to current position if no argument is passed. */
835 {"truncate", (PyCFunction)bytesio_truncate, METH_VARARGS, truncate_doc},
|
fileio.c | 31 /* can simulate truncate with Win32 API functions; see file_truncate */
824 /* Truncate. Note that this may grow the file! */
977 "truncate([size: int]) -> None. Truncate the file to at most size bytes.\n"
1015 {"truncate", (PyCFunction)fileio_truncate, METH_VARARGS, truncate_doc},
|
/external/dng_sdk/source/ |
dng_camera_profile.cpp | 1268 baseName.Truncate (len - 5); 1284 temp.Truncate (len - 1); 1289 baseName.Truncate (len - 7); 1311 temp.Truncate (len - 1); 1316 baseName.Truncate (len - 3);
|
/external/emma/core/java12/com/vladium/emma/data/ |
DataFactory.java | 523 boolean truncate = false; 541 truncate = (length > 0); 556 truncate = true; 668 if (truncate) raf.seek (0); 736 // truncate:
|
/external/guava/guava/src/com/google/common/base/ |
Ascii.java | 559 * Ascii.truncate("foobar", 7, "..."); // returns "foobar" 560 * Ascii.truncate("foobar", 5, "..."); // returns "fo..." }</pre> 584 public static String truncate(CharSequence seq, int maxLength, String truncationIndicator) { method in class:Ascii 587 // length to truncate the sequence to, not including the truncation indicator 601 // if the length of the toString() result was > maxLength for some reason, truncate that
|
/external/llvm/lib/Target/AArch64/ |
AArch64AddressTypePromotion.cpp | 108 /// - Inst is used only once (no need to insert truncate). 118 /// - Truncate operation if it was just dropping sign extended bits. 168 // Check that the truncate just drop sign extended bits. 188 // If the Inst is used more that once, we may need to insert truncate 193 // This truncate is used only once, thus if we can get thourgh, it will become
|
/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/Modules/_io/ |
bytesio.c | 430 "truncate([size]) -> int. Truncate the file to at most size bytes.\n" 443 if (!PyArg_ParseTuple(args, "|O:truncate", &arg)) 452 /* Truncate to current position if no argument is passed. */ 856 {"truncate", (PyCFunction)bytesio_truncate, METH_VARARGS, truncate_doc},
|
fileio.c | 31 /* can simulate truncate with Win32 API functions; see file_truncate */ 849 /* Truncate. Note that this may grow the file! */ 1009 "truncate([size: int]) -> int. Truncate the file to at most size bytes and\n" 1051 {"truncate", (PyCFunction)fileio_truncate, METH_VARARGS, truncate_doc},
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
ConstantRange.cpp | 464 /// truncate - Return a new range in the specified integer type, which must be 468 ConstantRange ConstantRange::truncate(uint32_t DstTySize) const { 483 return truncate(DstTySize); 495 return truncate(DstTySize); 563 return Result_zext.truncate(getBitWidth());
|
/frameworks/support/room/runtime/src/main/java/androidx/room/ |
RoomDatabase.java | 362 * The actual value will be {@link #TRUNCATE} when the device runs API Level lower than 16 368 * Truncate journal mode. 370 TRUNCATE, 379 * Resolves {@link #AUTOMATIC} to either {@link #TRUNCATE} or 394 return TRUNCATE;
|
/libcore/ojluni/src/main/java/java/util/stream/ |
Node.java | 121 default Node<T> truncate(long from, long to, IntFunction<T[]> generator) { method in interface:Node 253 T_NODE truncate(long from, long to, IntFunction<T[]> generator); method in interface:Node.OfPrimitive 356 default Node.OfInt truncate(long from, long to, IntFunction<Integer[]> generator) { method in interface:Node.OfInt 429 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) { method in interface:Node.OfLong 504 default Node.OfDouble truncate(long from, long to, IntFunction<Double[]> generator) { method in interface:Node.OfDouble
|
/system/update_engine/scripts/update_payload/ |
applier.py | 205 truncate_to_expected_size: whether to truncate the resulting partitions 556 # Copy the src partition to the dst one; make sure we don't truncate it. 568 # We need to create/truncate the dst partition file. 582 # Truncate the result, if so instructed. 587 new_part_file.truncate()
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
ecdsa.c | 119 // Need to truncate digest if it is too long: first truncate whole bytes. 128 // If still too long truncate remaining bits with a shift
|
/external/icu/icu4c/source/tools/genrb/ |
derb.cpp | 59 /* 4 */ { "truncate", NULL, NULL, NULL, 't', UOPT_OPTIONAL_ARG, 0 }, 114 " [ -t, --truncate [ size ] ]\n" 262 thefile.truncate(thefile.length() - (int32_t)uprv_strlen(ext));
|
/external/ltp/testcases/kernel/fs/ftest/ |
ftest01.c | 27 * truncate, ftruncate, fsync, sync, fstat 499 if (truncate(test_name, file_max) < 0) { 501 "Test[%d]: truncate failed @ 0x%x.",
|
ftest03.c | 27 * truncate, ftruncate, fsync, sync, fstat 574 if (truncate(test_name, file_max) < 0) { 577 "\tTest[%d]: truncate error %d @ 0x%x.",
|
ftest05.c | 29 * truncate, ftruncate, fsync, sync, fstat 489 if (truncate(test_name, file_max) < 0) { 491 "\tTest[%d]: truncate error @ 0x%x.",
|
ftest07.c | 30 * truncate, ftruncate, fsync, sync, fstat 568 if (truncate(test_name, file_max) < 0) { 571 "\tTest[%d]: truncate error %d @ 0x%llx.",
|
/external/skia/tests/ |
CodecPartialTest.cpp | 371 // Truncate to 23 bytes, just before the color map. This should fail to decode. 381 // Again, truncate to 23 bytes, this time for an incremental decode. We 410 // Truncate to the beginning of the IDAT, immediately after the IDAT tag.
|
/external/skqp/tests/ |
CodecPartialTest.cpp | 371 // Truncate to 23 bytes, just before the color map. This should fail to decode. 381 // Again, truncate to 23 bytes, this time for an incremental decode. We 410 // Truncate to the beginning of the IDAT, immediately after the IDAT tag.
|
/external/tensorflow/tensorflow/contrib/signal/python/ops/ |
spectral_ops.py | 238 # truncate real_frames to frame_length. 241 # truncate to frame_length. 254 # are different, then pad or truncate real_frames to frame_length.
|
/prebuilts/go/darwin-x86/src/os/ |
file_windows.go | 244 // Truncate changes the size of the named file. 246 func Truncate(name string, size int64) error { 252 e1 := f.Truncate(size)
|