/external/guava/android/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/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | verifier-generic-extend-truncate.mir | 3 # CHECK: Bad machine code: Generic extend/truncate can not operate on pointers 8 # CHECK: Bad machine code: Generic extend/truncate must be all-vector or all-scalar 13 # CHECK: Bad machine code: Generic vector extend/truncate must preserve number of lanes 23 # CHECK: Bad machine code: Generic truncate has destination type no smaller than source *** 29 # CHECK: Bad machine code: Generic extend/truncate can not operate on pointers 34 # CHECK: Bad machine code: Generic vector extend/truncate must preserve number of lanes 45 # CHECK: Bad machine code: Generic extend/truncate can not operate on pointers 50 # CHECK: Bad machine code: Generic extend/truncate must be all-vector or all-scalar
|
D | vector-truncate-combine.ll | 7 ; sequence of extend and subsequent truncate operations. The bug was that an extension 11 ; preservation of the extend/truncate operations mentioned above (2 extend and 12 ; 3 truncate instructions). 14 ; NOTE: This operation could be collapsed in to a single truncate. Once that is done
|
/external/e2fsprogs/resize/ |
D | test-resize | 12 truncate -s 8T $FS 17 truncate -s 20T $FS 23 truncate -s 21T $FS
|
/external/pdfium/testing/resources/pixel/ |
D | bug_1314.in | 94 1.1 truncate 106 3123412341.1 truncate -3123412340.5 add 118 -1.9 truncate 1.5 add
|
/external/arm-trusted-firmware/plat/marvell/a3700/common/ |
D | a3700_common.mk | 122 $(shell truncate -s %128K ${BUILD_PLAT}/bl1.bin) 124 $(shell truncate -s %4 ${BUILD_PLAT}/${BOOT_IMAGE}) 125 $(shell truncate -s %4 $(WTMI_IMG)) 154 @truncate -s %16 $(WTMI_MULTI_IMG) 159 @truncate -s %16 $(BUILD_PLAT)/$(BOOT_IMAGE);
|
/external/icu/icu4c/source/common/ |
D | locdispnames.cpp | 62 result.truncate(0); in getDisplayLanguage() 74 result.truncate(0); in getDisplayLanguage() 102 result.truncate(0); in getDisplayScript() 114 result.truncate(0); in getDisplayScript() 142 result.truncate(0); in getDisplayCountry() 154 result.truncate(0); in getDisplayCountry() 182 result.truncate(0); in getDisplayVariant() 194 result.truncate(0); in getDisplayVariant() 222 result.truncate(0); in getDisplayName() 234 result.truncate(0); in getDisplayName()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cast_op_impl_bfloat.cc | 35 bool truncate) { in GetGpuCastFromBfloat() argument 38 inp.flat<bfloat16>(), truncate); in GetGpuCastFromBfloat()
|
D | cast_op.h | 36 bool truncate = false) { \ 37 if (truncate) { \ 54 bool truncate = false) { \ 55 if (truncate) { \ 81 bool truncate = false) { \ 148 typename TTypes<Tin>::ConstFlat i, bool truncate = false);
|
/external/perfetto/ui/src/controller/ |
D | trace_converter.ts | 21 export function ConvertTrace(trace: Blob, truncate?: 'start'|'end') { 30 if (truncate === undefined) { 34 ['json', '--truncate', truncate, '/fs/trace.proto', outPath]);
|
/external/python/cpython2/Tools/framer/ |
D | example.py | 83 def truncate(self, pos): member in cStringIO.InputType 85 truncate.pyarg = "|i"
|
/external/python/google-api-python-client/samples/tasks_appengine/ |
D | main.py | 43 task['title_short'] = truncate(task['title'], 26) 50 def truncate(s, l): function
|
/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/skqp/tools/ |
D | git-sync-deps | 103 def truncate(s, length): function 106 directory = truncate(directory, dlen) 107 checkoutable = truncate(checkoutable, 40)
|
/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()
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | git-sync-deps | 127 def truncate(s, length): function 130 directory = truncate(directory, dlen) 131 checkoutable = truncate(checkoutable, 40)
|
/external/angle/third_party/spirv-tools/src/utils/ |
D | git-sync-deps | 127 def truncate(s, length): function 130 directory = truncate(directory, dlen) 131 checkoutable = truncate(checkoutable, 40)
|
/external/deqp-deps/amber/tools/ |
D | git-sync-deps | 126 def truncate(s, length): function 129 directory = truncate(directory, dlen) 130 checkoutable = truncate(checkoutable, 40)
|
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | git-sync-deps | 127 def truncate(s, length): function 130 directory = truncate(directory, dlen) 131 checkoutable = truncate(checkoutable, 40)
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_truncate.c | 167 truncate(filename, 0); in main() 169 truncate("junkfile", 0); in main()
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.mul-truncate.frag | 25 float4 r11 = mul(v4, m34); // truncate vector to vec3 29 float4 r21 = mul(m43, v4); // truncate vector to vec3
|
/external/angle/third_party/glslang/src/Test/ |
D | hlsl.mul-truncate.frag | 25 float4 r11 = mul(v4, m34); // truncate vector to vec3 29 float4 r21 = mul(m43, v4); // truncate vector to vec3
|
/external/python/cpython2/Tools/freeze/ |
D | bkfile.py | 30 self.truncate = self.__file.truncate
|
/external/python/cpython3/Lib/test/ |
D | test_memoryio.py | 82 self.assertEqual(f.truncate(12), 12) 125 self.assertRaises(ValueError, memio.truncate, -1) 126 self.assertRaises(ValueError, memio.truncate, IntLike(-1)) 128 self.assertEqual(memio.truncate(IntLike(8)), 8) 130 self.assertEqual(memio.truncate(), 6) 132 self.assertEqual(memio.truncate(4), 4) 139 self.assertEqual(memio.truncate(None), pos) 141 self.assertRaises(TypeError, memio.truncate, '0') 143 self.assertRaises(ValueError, memio.truncate, 0) 144 self.assertRaises(ValueError, memio.truncate, IntLike(0)) [all …]
|