/external/guava/guava-tests/test/com/google/common/base/ |
D | AsciiTest.java | 85 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/ |
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 | 59 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()
|
D | ucharstrieiterator.cpp | 88 str_.truncate(length); in reset() 114 str_.truncate(length&0xffff); in next()
|
D | bytestrieiterator.cpp | 89 str_->truncate(length); in reset() 115 str_->truncate(length&0xffff); in next()
|
/external/icu/icu4c/source/i18n/ |
D | esctrn.cpp | 147 buf.truncate(0); in handleTransliterate() 155 buf.truncate(0); in handleTransliterate() 159 buf.truncate(prefixLen); in handleTransliterate()
|
D | transreg.cpp | 309 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()
|
D | name2uni.cpp | 152 name.truncate(0); in handleTransliterate() 201 str.truncate(0); in handleTransliterate()
|
D | tridpars.cpp | 366 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()
|
D | strmatch.cpp | 163 result.truncate(0); in toPattern() 247 rule.truncate(0); in toReplacerPattern()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | denseranges.cpp | 50 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/ |
D | formatter.py | 226 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/ |
D | ICUResourceBundleCollationTest.java | 153 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument 167 …ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate); in getFunctionalEquivalentTestCases()
|
/external/e2fsprogs/tests/scripts/ |
D | resize_test | 10 if truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then 16 if ! truncate -s $SIZE_2 $TMPFILE 2> /dev/null; then
|
/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
|
/external/lldb/test/unittest2/ |
D | result.py | 91 self._stdout_buffer.truncate() 93 self._stderr_buffer.truncate()
|
/external/strace/ |
D | truncate.c | 3 SYS_FUNC(truncate) in SYS_FUNC() argument
|
/external/llvm/test/CodeGen/X86/ |
D | widen_conv-1.ll | 4 ; truncate v2i64 to v2i32
|
D | avx-fp2int.ll | 3 ;; Check that FP_TO_SINT and FP_TO_UINT generate convert with truncate
|
/external/libvpx/libvpx/tools/ |
D | wrap-commit-msg.py | 63 fileobj.truncate(0)
|
/external/emma/core/java12/com/vladium/emma/data/ |
D | DataFactory.java | 523 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/ |
D | ConstantRange.cpp | 476 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/ |
D | encode-test-3.m | 20 char e[1] = @encode(int); // truncate
|
/external/llvm/test/CodeGen/NVPTX/ |
D | ldu-i8.ll | 8 ; Ensure we properly truncate off the high-order 24 bits
|