/external/guava/guava-tests/test/com/google/common/base/ |
D | AsciiTest.java | 86 assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); in testTruncate() 87 assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); in testTruncate() 88 assertEquals("foobar", Ascii.truncate("foobar", 6, "...")); in testTruncate() 89 assertEquals("...", Ascii.truncate("foobar", 3, "...")); in testTruncate() 90 assertEquals("foobar", Ascii.truncate("foobar", 10, "…")); in testTruncate() 91 assertEquals("foo…", Ascii.truncate("foobar", 4, "…")); in testTruncate() 92 assertEquals("fo--", Ascii.truncate("foobar", 4, "--")); in testTruncate() 93 assertEquals("foobar", Ascii.truncate("foobar", 6, "…")); in testTruncate() 94 assertEquals("foob…", Ascii.truncate("foobar", 5, "…")); in testTruncate() 95 assertEquals("foo", Ascii.truncate("foobar", 3, "")); in testTruncate() [all …]
|
/external/e2fsprogs/resize/ |
D | test-resize | 12 truncate -s 8T $FS 17 truncate -s 20T $FS 23 truncate -s 21T $FS
|
/external/icu/icu4c/source/common/ |
D | locdispnames.cpp | 61 result.truncate(0); in getDisplayLanguage() 73 result.truncate(0); in getDisplayLanguage() 101 result.truncate(0); in getDisplayScript() 113 result.truncate(0); in getDisplayScript() 141 result.truncate(0); in getDisplayCountry() 153 result.truncate(0); in getDisplayCountry() 181 result.truncate(0); in getDisplayVariant() 193 result.truncate(0); in getDisplayVariant() 221 result.truncate(0); in getDisplayName() 233 result.truncate(0); in getDisplayName()
|
D | ucharstrieiterator.cpp | 90 str_.truncate(length); in reset() 116 str_.truncate(length&0xffff); in next()
|
/external/e2fsprogs/tests/scripts/ |
D | resize_test | 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/icu/icu4c/source/i18n/ |
D | esctrn.cpp | 149 buf.truncate(0); in handleTransliterate() 157 buf.truncate(0); in handleTransliterate() 161 buf.truncate(prefixLen); in handleTransliterate()
|
D | transreg.cpp | 311 nextSpec.truncate(i); in setupNext() 318 nextSpec.truncate(0); in setupNext() 742 result.truncate(0); in getAvailableSource() 759 result.truncate(0); // invalid source in getAvailableTarget() 771 result.truncate(0); // invalid index in getAvailableTarget() 795 result.truncate(0); // invalid source in getAvailableVariant() 800 result.truncate(0); // invalid target in getAvailableVariant() 805 result.truncate(0); // invalid index in getAvailableVariant() 1073 utag.truncate(0); in findInBundle() 1093 s.truncate(0); in findInBundle()
|
D | name2uni.cpp | 154 name.truncate(0); in handleTransliterate() 203 str.truncate(0); in handleTransliterate()
|
D | tridpars.cpp | 368 canonID.truncate(0); in parseCompoundID() 376 canonID.truncate(0); in parseCompoundID() 556 target.truncate(0); in IDtoSTV() 557 variant.truncate(0); in IDtoSTV() 613 id.truncate(id.length()-1); in STVtoID()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_truncate.c | 161 truncate(filename, 0); in main() 163 truncate("junkfile", 0); in main()
|
/external/skia/tools/ |
D | git-sync-deps | 103 def truncate(s, length): function 106 directory = truncate(directory, dlen) 107 checkoutable = truncate(checkoutable, 40)
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate02.c | 118 TEST(truncate(TESTFILE, TRUNC_LEN1)); in main() 157 TEST(truncate(TESTFILE, TRUNC_LEN2)); in main()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_rewrite_test.c | 103 show_result(truncate(REWRITE_PATH, 0)); in stage_rewrite_test() 147 show_result(truncate(REWRITE_PATH, 0)); in stage_rewrite_test()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | denseranges.cpp | 52 void truncate(int32_t newLength) { in truncate() function in __anon05eb6bd30111::LargestGaps 150 gaps.truncate(num-1); in uprv_makeDenseRanges()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 159 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument 173 …ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 158 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument 172 …ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases()
|
/external/llvm/test/CodeGen/X86/ |
D | widen_conv-1.ll | 5 ; truncate v2i64 to v2i32 29 ; truncate v3i32 to v3i8 65 ; truncate v5i16 to v5i8
|
/external/strace/tests/ |
D | truncate64.c | 43 int rc = truncate(fname, len); in main()
|
D | truncate.c | 45 rc = truncate(fname, len); in main()
|
/external/strace/tests-mx32/ |
D | truncate64.c | 43 int rc = truncate(fname, len); in main()
|
D | truncate.c | 45 rc = truncate(fname, len); in main()
|
/external/strace/tests-m32/ |
D | truncate64.c | 43 int rc = truncate(fname, len); in main()
|
D | truncate.c | 45 rc = truncate(fname, len); in main()
|
/external/toybox/tests/ |
D | losetup.test | 14 truncate -s 1M blah.img &&
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/ |
D | mysql-modelingschema.truncate | 2 -- $ mysql -u root -p < mysql-modelingschema.truncate
|