Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/external/guava/guava-tests/test/com/google/common/base/
DAsciiTest.java86 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/
Dtest-resize12 truncate -s 8T $FS
17 truncate -s 20T $FS
23 truncate -s 21T $FS
/external/icu/icu4c/source/common/
Dlocdispnames.cpp61 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()
Ducharstrieiterator.cpp90 str_.truncate(length); in reset()
116 str_.truncate(length&0xffff); in next()
/external/e2fsprogs/tests/scripts/
Dresize_test4 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/
Desctrn.cpp149 buf.truncate(0); in handleTransliterate()
157 buf.truncate(0); in handleTransliterate()
161 buf.truncate(prefixLen); in handleTransliterate()
Dtransreg.cpp311 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()
Dname2uni.cpp154 name.truncate(0); in handleTransliterate()
203 str.truncate(0); in handleTransliterate()
Dtridpars.cpp368 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/
Ddio_truncate.c161 truncate(filename, 0); in main()
163 truncate("junkfile", 0); in main()
/external/skia/tools/
Dgit-sync-deps103 def truncate(s, length): function
106 directory = truncate(directory, dlen)
107 checkoutable = truncate(checkoutable, 40)
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate02.c118 TEST(truncate(TESTFILE, TRUNC_LEN1)); in main()
157 TEST(truncate(TESTFILE, TRUNC_LEN2)); in main()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c103 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/
Ddenseranges.cpp52 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/
DICUResourceBundleCollationTest.java159 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/
DICUResourceBundleCollationTest.java158 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument
172 …ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases()
/external/llvm/test/CodeGen/X86/
Dwiden_conv-1.ll5 ; truncate v2i64 to v2i32
29 ; truncate v3i32 to v3i8
65 ; truncate v5i16 to v5i8
/external/strace/tests/
Dtruncate64.c43 int rc = truncate(fname, len); in main()
Dtruncate.c45 rc = truncate(fname, len); in main()
/external/strace/tests-mx32/
Dtruncate64.c43 int rc = truncate(fname, len); in main()
Dtruncate.c45 rc = truncate(fname, len); in main()
/external/strace/tests-m32/
Dtruncate64.c43 int rc = truncate(fname, len); in main()
Dtruncate.c45 rc = truncate(fname, len); in main()
/external/toybox/tests/
Dlosetup.test14 truncate -s 1M blah.img &&
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/
Dmysql-modelingschema.truncate2 -- $ mysql -u root -p < mysql-modelingschema.truncate

12345678910>>...17