/external/python/cpython2/Lib/test/ |
D | test_format.py | 98 big = 123456789012345678901234567890L 99 testboth("%d", big, "123456789012345678901234567890") 100 testboth("%d", -big, "-123456789012345678901234567890") 101 testboth("%5d", -big, "-123456789012345678901234567890") 102 testboth("%31d", -big, "-123456789012345678901234567890") 103 testboth("%32d", -big, " -123456789012345678901234567890") 104 testboth("%-32d", -big, "-123456789012345678901234567890 ") 105 testboth("%032d", -big, "-0123456789012345678901234567890") 106 testboth("%-032d", -big, "-123456789012345678901234567890 ") 107 testboth("%034d", -big, "-000123456789012345678901234567890") [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_format.py | 141 big = 123456789012345678901234567890 142 testcommon("%d", big, "123456789012345678901234567890") 143 testcommon("%d", -big, "-123456789012345678901234567890") 144 testcommon("%5d", -big, "-123456789012345678901234567890") 145 testcommon("%31d", -big, "-123456789012345678901234567890") 146 testcommon("%32d", -big, " -123456789012345678901234567890") 147 testcommon("%-32d", -big, "-123456789012345678901234567890 ") 148 testcommon("%032d", -big, "-0123456789012345678901234567890") 149 testcommon("%-032d", -big, "-123456789012345678901234567890 ") 150 testcommon("%034d", -big, "-000123456789012345678901234567890") [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | aarch64-neon-ranges.c | 6 void test_vext_8bit(int8x8_t small, int8x16_t big) { in test_vext_8bit() argument 10 vextq_s8(big, big, 15); in test_vext_8bit() 11 vextq_u8(big, big, 15); in test_vext_8bit() 12 vextq_p8(big, big, 15); in test_vext_8bit() 17 vextq_s8(big, big, 16); // expected-error-re {{argument value {{.*}} is outside the valid range}} in test_vext_8bit() 18 vextq_u8(big, big, 16); // expected-error-re {{argument value {{.*}} is outside the valid range}} in test_vext_8bit() 19 vextq_p8(big, big, 16); // expected-error-re {{argument value {{.*}} is outside the valid range}} in test_vext_8bit() 22 void test_mul_lane_f64(float64x1_t small, float64x2_t big, float64x2_t rhs) { in test_mul_lane_f64() argument 24 vmul_laneq_f64(small, big, 1); in test_mul_lane_f64() 25 vmulq_lane_f64(big, small, 0); in test_mul_lane_f64() [all …]
|
/external/clang/test/Sema/ |
D | aarch64-neon-ranges.c | 6 void test_vext_8bit(int8x8_t small, int8x16_t big) { in test_vext_8bit() argument 10 vextq_s8(big, big, 15); in test_vext_8bit() 11 vextq_u8(big, big, 15); in test_vext_8bit() 12 vextq_p8(big, big, 15); in test_vext_8bit() 17 vextq_s8(big, big, 16); // expected-error {{argument should be a value from 0 to 15}} in test_vext_8bit() 18 vextq_u8(big, big, 16); // expected-error {{argument should be a value from 0 to 15}} in test_vext_8bit() 19 vextq_p8(big, big, 16); // expected-error {{argument should be a value from 0 to 15}} in test_vext_8bit() 22 void test_mul_lane_f64(float64x1_t small, float64x2_t big, float64x2_t rhs) { in test_mul_lane_f64() argument 24 vmul_laneq_f64(small, big, 1); in test_mul_lane_f64() 25 vmulq_lane_f64(big, small, 0); in test_mul_lane_f64() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | int128_unittest.cc | 51 uint128 big(2000, 2); in TEST() local 59 EXPECT_LT(one, big); in TEST() 60 EXPECT_LT(one, big); in TEST() 63 EXPECT_GT(big, one); in TEST() 64 EXPECT_GE(big, two); in TEST() 65 EXPECT_GE(big, big_minus_one); in TEST() 66 EXPECT_GT(big, big_minus_one); in TEST() 67 EXPECT_LT(big_minus_one, big); in TEST() 68 EXPECT_LE(big_minus_one, big); in TEST() 69 EXPECT_NE(big_minus_one, big); in TEST() [all …]
|
/external/starlark-go/starlark/ |
D | int.go | 32 return makeBigInt(big.NewInt(x)) 43 return makeBigInt(new(big.Int).SetUint64(x)) 48 func MakeBigInt(x *big.Int) Int { 52 z := new(big.Int).Set(x) 58 oneBig = big.NewInt(1) 82 if acc != big.Exact { 91 func (i Int) BigInt() *big.Int { 94 return new(big.Int).Set(iBig) 96 return big.NewInt(iSmall) 102 func (i Int) bigInt() *big.Int { [all …]
|
D | int_test.go | 17 left, right := big.NewInt(math.MinInt32), big.NewInt(math.MaxInt32) 59 small, big := test.val.get() 63 if big == nil { 69 if big.Cmp(left) >= 0 && big.Cmp(right) <= 0 { 79 mutint := big.NewInt(expect) 81 mutint.Set(big.NewInt(1)) 92 value := MakeBigInt(big.NewInt(expect)) 95 bigint.Set(big.NewInt(2))
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | make_p256-x86_64-tests.go | 29 zero, one, p, R, Rinv *big.Int 43 zero = new(big.Int) 44 one = new(big.Int).SetInt64(1) 48 R = new(big.Int) 52 Rinv = new(big.Int).ModInverse(R, p) 57 func modMul(z, x, y *big.Int) *big.Int { 62 func toMontgomery(z, x *big.Int) *big.Int { 66 func fromMontgomery(z, x *big.Int) *big.Int { 70 func isAffineInfinity(x, y *big.Int) bool { 76 func randNonZeroInt(max *big.Int) *big.Int { [all …]
|
D | make_tables.go | 39 tables := make([][][2]*big.Int, 0, 37) 91 tables := [][][2]*big.Int{ 177 func makeMultiples(curve elliptic.Curve, n, shift int) [][2]*big.Int { 178 ret := make([][2]*big.Int, n) 183 ret[1-1] = [2]*big.Int{x, y} 187 ret[i-1] = [2]*big.Int{x, y} 190 ret[i-1] = [2]*big.Int{x, y} 200 func makeComb(curve elliptic.Curve, stride, size, shift int) [][2]*big.Int { 201 ret := make([][2]*big.Int, 1<<size-1) 206 ret[1<<0-1] = [2]*big.Int{x, y} [all …]
|
/external/pigweed/pw_bytes/ |
D | endian_test.cc | 26 ? std::endian::big 118 static_assert(Equal(CopyInOrder(std::endian::big, '?'), 120 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<uint8_t>(0x10)), 122 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int8_t>(0x10)), 132 static_assert(Equal(CopyInOrder(std::endian::big, uint16_t{0xAB12}), 134 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int16_t>(0xAB12)), 144 static_assert(Equal(CopyInOrder(std::endian::big, uint32_t{0xAABBCCDD}), 146 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int32_t>(0xAABBCCDD)), 156 static_assert(Equal(CopyInOrder(std::endian::big, uint64_t{0xAABBCCDD11223344}), 158 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int64_t>(0xAABBCCDD11223344ull)), [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | check_bn_tests.go | 30 Values map[string]*big.Int 62 valueInt, ok := new(big.Int).SetString(value, 16) 77 Values: make(map[string]*big.Int), 155 func checkResult(t test, expr, key string, r *big.Int) { 180 r := new(big.Int).Add(test.Values["A"], test.Values["B"]) 185 r := new(big.Int).Add(test.Values["A"], test.Values["A"]) 190 r := new(big.Int).Lsh(test.Values["A"], uint(test.Values["N"].Uint64())) 195 r := new(big.Int).Rsh(test.Values["A"], uint(test.Values["N"].Uint64())) 200 r := new(big.Int).Mul(test.Values["A"], test.Values["A"]) 205 r := new(big.Int).Mul(test.Values["A"], test.Values["B"]) [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | compactptrset.h | 41 if (isbig()) delete big(); in ~CompactPointerSet() 51 *big() = *other.big(); 54 big()->clear(); 56 big()->insert(reinterpret_cast<T>(other.rep_)); 115 bool empty() const { return isbig() ? big()->empty() : (rep_ == 0); } in empty() 116 size_t size() const { return isbig() ? big()->size() : (rep_ == 0 ? 0 : 1); } in size() 120 delete big(); in clear() 138 auto p = big()->insert(elem); in insert() 150 return isbig() ? iterator(big()->begin()) : iterator(rep_); in begin() 153 return isbig() ? iterator(big()->end()) : iterator(0); in end() [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | i1-contents.ll | 2 %big = type i32 4 @var = global %big 0 12 %val = zext i1 %in to %big 13 store %big %val, %big* @var 25 %val = zext i1 %val1 to %big 26 store %big %val, %big* @var 35 %val = load %big, %big* @var 36 %val1 = trunc %big %val to i1 45 %val = load %big, %big* @var 46 %val1 = trunc %big %val to i1
|
/external/llvm/test/CodeGen/AArch64/ |
D | i1-contents.ll | 2 %big = type i32 4 @var = global %big 0 12 %val = zext i1 %in to %big 13 store %big %val, %big* @var 25 %val = zext i1 %val1 to %big 26 store %big %val, %big* @var 35 %val = load %big, %big* @var 36 %val1 = trunc %big %val to i1 45 %val = load %big, %big* @var 46 %val1 = trunc %big %val to i1
|
/external/strace/tests-m32/ |
D | xattr.c | 50 char *const big = tail_alloc(XATTR_SIZE_MAX + 1); in main() local 62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main() 64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main() 91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main() 93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main() 95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main() 97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main() 105 rc = listxattr(".", big, 0); in main() 106 printf("listxattr(\".\", %p, 0) = %s\n", big, sprintrc(rc)); in main() 108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main() [all …]
|
/external/strace/tests/ |
D | xattr.c | 50 char *const big = tail_alloc(XATTR_SIZE_MAX + 1); in main() local 62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main() 64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main() 91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main() 93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main() 95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main() 97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main() 105 rc = listxattr(".", big, 0); in main() 106 printf("listxattr(\".\", %p, 0) = %s\n", big, sprintrc(rc)); in main() 108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main() [all …]
|
/external/strace/tests-mx32/ |
D | xattr.c | 50 char *const big = tail_alloc(XATTR_SIZE_MAX + 1); in main() local 62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main() 64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main() 91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main() 93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main() 95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main() 97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main() 105 rc = listxattr(".", big, 0); in main() 106 printf("listxattr(\".\", %p, 0) = %s\n", big, sprintrc(rc)); in main() 108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main() [all …]
|
/external/skqp/gm/ |
D | bigrect.cpp | 11 static void draw_big_rect(SkCanvas* canvas, SkScalar big, const SkPaint& rectPaint) { in draw_big_rect() argument 30 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect() 33 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect() 36 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect() 39 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect() 42 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect() 45 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect() 100 const SkScalar big = SkFloatToScalar(sizes[j]); variable 101 draw_big_rect(canvas, big, paint);
|
/external/skia/gm/ |
D | bigrect.cpp | 16 static void draw_big_rect(SkCanvas* canvas, SkScalar big, const SkPaint& rectPaint) { in draw_big_rect() argument 35 SkRect horiz = SkRect::MakeLTRB(-big, 5, big, 10); in draw_big_rect() 38 SkRect vert = SkRect::MakeLTRB(5, -big, 10, big); in draw_big_rect() 41 SkRect fromLeft = SkRect::MakeLTRB(-big, 20, 17, 25); in draw_big_rect() 44 SkRect fromTop = SkRect::MakeLTRB(20, -big, 25, 17); in draw_big_rect() 47 SkRect fromRight = SkRect::MakeLTRB(28, 20, big, 25); in draw_big_rect() 50 SkRect fromBottom = SkRect::MakeLTRB(20, 28, 25, big); in draw_big_rect() 105 const SkScalar big = SkFloatToScalar(sizes[j]); variable 106 draw_big_rect(canvas, big, paint);
|
/external/skqp/tests/ |
D | InfRectTest.cpp | 27 SkScalar big = SkIntToScalar(100); in DEF_TEST() local 31 SkRect rect = SkRect::MakeXYWH(small, small, big, big); in DEF_TEST() 36 check_invalid(reporter, small, small, big, invalid[i]); in DEF_TEST() 37 check_invalid(reporter, small, small, invalid[i], big); in DEF_TEST() 38 check_invalid(reporter, small, invalid[i], big, big); in DEF_TEST() 39 check_invalid(reporter, invalid[i], small, big, big); in DEF_TEST()
|
/external/skia/tests/ |
D | InfRectTest.cpp | 27 SkScalar big = SkIntToScalar(100); in DEF_TEST() local 31 SkRect rect = SkRect::MakeXYWH(small, small, big, big); in DEF_TEST() 36 check_invalid(reporter, small, small, big, invalid[i]); in DEF_TEST() 37 check_invalid(reporter, small, small, invalid[i], big); in DEF_TEST() 38 check_invalid(reporter, small, invalid[i], big, big); in DEF_TEST() 39 check_invalid(reporter, invalid[i], small, big, big); in DEF_TEST()
|
/external/llvm-project/llvm/test/CodeGen/Generic/ |
D | 2010-11-04-BigByval.ll | 4 %big = type [131072 x i8] 6 declare void @foo(%big* byval(%big) align 1) 8 define void @bar(%big* byval(%big) align 1 %x) { 9 call void @foo(%big* byval(%big) align 1 %x)
|
/external/pdfium/xfa/fgas/crt/ |
D | cfgas_decimal_unittest.cpp | 19 CFGAS_Decimal big(std::numeric_limits<int32_t>::max()); in TEST() local 21 EXPECT_STREQ(L"2147483647", big.ToWideString().c_str()); in TEST() 26 CFGAS_Decimal big(std::numeric_limits<uint32_t>::max()); in TEST() local 28 EXPECT_STREQ(L"4294967295", big.ToWideString().c_str()); in TEST() 33 CFGAS_Decimal big(std::numeric_limits<uint64_t>::max()); in TEST() local 35 EXPECT_STREQ(L"18446744073709551615", big.ToWideString().c_str()); in TEST() 40 WideString big = CFGAS_Decimal(powf(2.0f, 95.0f), 0).ToWideString(); in TEST() local 44 EXPECT_EQ(big_expected.GetLength(), big.GetLength()); in TEST() 45 EXPECT_STREQ(big_expected.First(8).c_str(), big.First(8).c_str()); in TEST() 68 CFGAS_Decimal big(L"100000000000000000000000000"); in TEST() local [all …]
|
/external/llvm/unittests/Support/ |
D | EndianTest.cpp | 27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval))); in TEST() 31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)), in TEST() 42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)), in TEST() 51 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)), in TEST() 57 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)), in TEST() 68 (endian::readAtBitAlignment<int64_t, big, unaligned>(&bigval3[0], 4)), in TEST() 76 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval, (int)0xffffaaaa, in TEST() 102 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval2, (int)0xffffffff, in TEST() 127 endian::writeAtBitAlignment<int64_t, big, unaligned>( in TEST() 169 endian::write<int32_t, big, unaligned>(data, -1362446643); in TEST() [all …]
|
/external/skia/docs/examples/ |
D | Surface_makeImageSnapshot.cpp | 7 sk_sp<SkSurface> big(SkSurface::MakeRasterN32Premul(64, 64)); in draw() local 8 sk_sp<SkSurface> lil(big->makeSurface(SkImageInfo::MakeN32(32, 32, kPremul_SkAlphaType))); in draw() 9 big->getCanvas()->clear(SK_ColorRED); in draw() 11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw() 12 lil->draw(big->getCanvas(), 16, 16); in draw() 13 sk_sp<SkImage> later(big->makeImageSnapshot()); in draw()
|