/prebuilts/go/darwin-x86/src/time/ |
example_test.go | 77 fmt.Printf("t.Truncate(%6s) = %s\n", t, d.Truncate(t).String()) 80 // t.Truncate( 1ns) = 1h15m30.918273645s 81 // t.Truncate( 1µs) = 1h15m30.918273s 82 // t.Truncate( 1ms) = 1h15m30.918s 83 // t.Truncate( 1s) = 1h15m30s 84 // t.Truncate( 2s) = 1h15m30s 85 // t.Truncate( 1m0s) = 1h15m0s 86 // t.Truncate( 10m0s) = 1h10m0s 87 // t.Truncate(1h0m0s) = 1h0m0 [all...] |
/prebuilts/go/linux-x86/src/time/ |
example_test.go | 77 fmt.Printf("t.Truncate(%6s) = %s\n", t, d.Truncate(t).String()) 80 // t.Truncate( 1ns) = 1h15m30.918273645s 81 // t.Truncate( 1µs) = 1h15m30.918273s 82 // t.Truncate( 1ms) = 1h15m30.918s 83 // t.Truncate( 1s) = 1h15m30s 84 // t.Truncate( 2s) = 1h15m30s 85 // t.Truncate( 1m0s) = 1h15m0s 86 // t.Truncate( 10m0s) = 1h10m0s 87 // t.Truncate(1h0m0s) = 1h0m0 [all...] |
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/ |
CrashCheckBase.java | 74 errorDetails.append(truncate(dropboxSnippet, MAX_CRASH_SNIPPET_LINES)); method 83 * Truncate the text to at most the specified number of lines, and append a marker at the end 89 private static String truncate(String text, int maxLines) { method in class:CrashCheckBase
|
/system/update_engine/payload_generator/ |
mapfile_filesystem_unittest.cc | 80 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 20))); 112 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 3))); 124 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 3)));
|
/external/llvm/lib/Support/ |
ScaledNumber.cpp | 285 // Find where to truncate. 286 size_t Truncate = 289 // Check if there's anything to truncate. 290 if (Truncate >= Str.size()) 293 bool Carry = doesRoundUp(Str[Truncate]); 295 return stripTrailingZeros(Str.substr(0, Truncate)); 298 for (std::string::reverse_iterator I(Str.begin() + Truncate), E = Str.rend(); 313 return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat01.c | 24 * 2. creat() should truncate a file to 0 bytes if it already 61 tst_res(TFAIL, "creat() failed to truncate file to 0 bytes");
|
/external/python/cpython2/Lib/plat-mac/Carbon/ |
MediaDescr.py | 61 1, # May be longer, truncate 87 1, # May be longer, truncate
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/Carbon/ |
MediaDescr.py | 61 1, # May be longer, truncate 87 1, # May be longer, truncate
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/ |
MediaDescr.py | 61 1, # May be longer, truncate 87 1, # May be longer, truncate
|
/system/core/trusty/storage/tests/ |
main.cpp | 488 // reopen with truncate 593 // open/create/truncate file 639 // open/create/truncate file. 682 // open/create/truncate file. 798 // create/truncate file. 824 // open/create/truncate file. 849 // create/truncate file. 869 // create/truncate file. 901 // create/truncate file. 921 // create/truncate file [all...] |
/art/runtime/interpreter/mterp/x86_64/ |
cvtfp_int.S | 5 * should be zero. Further, the rounding mode is to truncate.
|
/device/linaro/bootloader/edk2/StdLib/Include/Arm/machine/ |
fenv.h | 45 #define FE_TOWARDZERO 3 /* round to zero (truncate) */
|
ieeefp.h | 51 FP_RZ=FE_TOWARDZERO /* round to zero (truncate) */
|
/external/autotest/client/site_tests/platform_LogNonKernelKmsg/ |
platform_LogNonKernelKmsg.py | 21 utils.run('truncate -s 0 %s' % self.SYSTEM_LOG_PATH)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/ |
module.py | 36 # If we fail, we won't truncate the file.
|
/external/compiler-rt/test/profile/Inputs/ |
instrprof-file_ex.c | 25 truncate(FN, 0);
|
/external/e2fsprogs/misc/ |
e2label.8.in | 36 will truncate it and print a warning message.
|
/external/e2fsprogs/tests/scripts/ |
resize_test | 3 # old distros are missing "truncate", emulate it with "dd" 4 truncate() function 20 if truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then 27 if ! truncate -s $SIZE_2 $TMPFILE >> $LOG 2>&1; then
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestByteSink.java | 59 bytes.reset(); // truncate
|
/external/libxml2/win32/wince/ |
wincecompat.h | 25 #define O_TRUNC 0x0200 /* open and truncate */
|
/external/llvm/test/CodeGen/Hexagon/vect/ |
vect-apint-truncate.ll | 2 ; Used to fail with "Invalid APInt Truncate request".
|
/external/llvm/test/CodeGen/NVPTX/ |
ldu-i8.ll | 8 ; Ensure we properly truncate off the high-order 24 bits
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_psengine_unittest.cpp | 18 {"round", PSOP_ROUND}, {"truncate", PSOP_TRUNCATE},
|
/external/pdfium/core/fxcrt/ |
cfx_fileaccess_posix.h | 34 bool Truncate(FX_FILESIZE szFile) override;
|
ifx_fileaccess.h | 35 virtual bool Truncate(FX_FILESIZE szFile) = 0;
|