Home
last modified time | relevance | path

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

12345678910

/external/guava/guava-tests/test/com/google/common/base/
DAsciiTest.java85 assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); in testTruncate()
86 assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); in testTruncate()
87 assertEquals("foobar", Ascii.truncate("foobar", 6, "...")); in testTruncate()
88 assertEquals("...", Ascii.truncate("foobar", 3, "...")); in testTruncate()
89 assertEquals("foobar", Ascii.truncate("foobar", 10, "…")); in testTruncate()
90 assertEquals("foo…", Ascii.truncate("foobar", 4, "…")); in testTruncate()
91 assertEquals("fo--", Ascii.truncate("foobar", 4, "--")); in testTruncate()
92 assertEquals("foobar", Ascii.truncate("foobar", 6, "…")); in testTruncate()
93 assertEquals("foob…", Ascii.truncate("foobar", 5, "…")); in testTruncate()
94 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.cpp59 result.truncate(0); in getDisplayLanguage()
71 result.truncate(0); in getDisplayLanguage()
99 result.truncate(0); in getDisplayScript()
111 result.truncate(0); in getDisplayScript()
139 result.truncate(0); in getDisplayCountry()
151 result.truncate(0); in getDisplayCountry()
179 result.truncate(0); in getDisplayVariant()
191 result.truncate(0); in getDisplayVariant()
219 result.truncate(0); in getDisplayName()
231 result.truncate(0); in getDisplayName()
Ducharstrieiterator.cpp88 str_.truncate(length); in reset()
114 str_.truncate(length&0xffff); in next()
Dbytestrieiterator.cpp89 str_->truncate(length); in reset()
115 str_->truncate(length&0xffff); in next()
/external/icu/icu4c/source/i18n/
Desctrn.cpp147 buf.truncate(0); in handleTransliterate()
155 buf.truncate(0); in handleTransliterate()
159 buf.truncate(prefixLen); in handleTransliterate()
Dtransreg.cpp309 nextSpec.truncate(i); in setupNext()
316 nextSpec.truncate(0); in setupNext()
740 result.truncate(0); in getAvailableSource()
757 result.truncate(0); // invalid source in getAvailableTarget()
769 result.truncate(0); // invalid index in getAvailableTarget()
793 result.truncate(0); // invalid source in getAvailableVariant()
798 result.truncate(0); // invalid target in getAvailableVariant()
803 result.truncate(0); // invalid index in getAvailableVariant()
1071 utag.truncate(0); in findInBundle()
1091 s.truncate(0); in findInBundle()
Dname2uni.cpp152 name.truncate(0); in handleTransliterate()
201 str.truncate(0); in handleTransliterate()
Dtridpars.cpp366 canonID.truncate(0); in parseCompoundID()
374 canonID.truncate(0); in parseCompoundID()
554 target.truncate(0); in IDtoSTV()
555 variant.truncate(0); in IDtoSTV()
611 id.truncate(id.length()-1); in STVtoID()
Dstrmatch.cpp163 result.truncate(0); in toPattern()
247 rule.truncate(0); in toReplacerPattern()
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp50 void truncate(int32_t newLength) { in truncate() function in __anon05eb6bd30111::LargestGaps
148 gaps.truncate(num-1); in uprv_makeDenseRanges()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dformatter.py226 v = truncate(v)
231 parts = [truncate(repr(v)) for v in value]
235 return '%s: %s' % (title, truncate(repr(value)))
322 % make_wrappable(self.quote(truncate(value))))
514 def truncate(string, limit=1000): function
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DICUResourceBundleCollationTest.java153 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument
167 …ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases()
/external/e2fsprogs/tests/scripts/
Dresize_test10 if truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
16 if ! truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
/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
/external/lldb/test/unittest2/
Dresult.py91 self._stdout_buffer.truncate()
93 self._stderr_buffer.truncate()
/external/strace/
Dtruncate.c3 SYS_FUNC(truncate) in SYS_FUNC() argument
/external/llvm/test/CodeGen/X86/
Dwiden_conv-1.ll4 ; truncate v2i64 to v2i32
Davx-fp2int.ll3 ;; Check that FP_TO_SINT and FP_TO_UINT generate convert with truncate
/external/libvpx/libvpx/tools/
Dwrap-commit-msg.py63 fileobj.truncate(0)
/external/emma/core/java12/com/vladium/emma/data/
DDataFactory.java523 boolean truncate = false; in persist()
541 truncate = (length > 0); in persist()
556 truncate = true; in persist()
668 if (truncate) raf.seek (0); in persist()
/external/llvm/lib/IR/
DConstantRange.cpp476 ConstantRange ConstantRange::truncate(uint32_t DstTySize) const { in truncate() function in ConstantRange
532 return truncate(DstTySize); in zextOrTrunc()
543 return truncate(DstTySize); in sextOrTrunc()
615 ConstantRange UR = Result_zext.truncate(getBitWidth()); in multiply()
632 ConstantRange SR = Result_sext.truncate(getBitWidth()); in multiply()
/external/clang/test/CodeGenObjC/
Dencode-test-3.m20 char e[1] = @encode(int); // truncate
/external/llvm/test/CodeGen/NVPTX/
Dldu-i8.ll8 ; Ensure we properly truncate off the high-order 24 bits

12345678910