Home
last modified time | relevance | path

Searched defs:Int (Results 1 – 25 of 226) sorted by relevance

12345678910

/prebuilts/go/linux-x86/src/math/big/
Dint.go33 type Int struct { struct
34 neg bool // sign
35 abs nat // absolute value of the integer
44 func (x *Int) Sign() int {
58 func (z *Int) SetInt64(x int64) *Int {
70 func (z *Int) SetUint64(x uint64) *Int {
95 func (z *Int) Set(x *Int) *Int {
108 func (x *Int) Bits() []Word {
120 func (z *Int) SetBits(abs []Word) *Int {
127 func (z *Int) Abs(x *Int) *Int {
[all …]
Dalias_test.go16 func equal(z, x *big.Int) bool {
21 *big.Int anonMember
40 *big.Int anonMember
55 *big.Int anonMember
64 *big.Int anonMember
100 func checkAliasingOneArg(t *testing.T, f func(v, x *big.Int) *big.Int, v, x *big.Int) bool {
129 func checkAliasingTwoArgs(t *testing.T, f func(v, x, y *big.Int) *big.Int, v, x, y *big.Int) bool {
/prebuilts/go/linux-x86/misc/cgo/gmp/
Dgmp.go128 type Int struct { struct
129 i C.mpz_t
130 init bool
142 func (z *Int) doinit() {
151 func (z *Int) Bytes() []byte {
159 func (z *Int) Len() int {
165 func (z *Int) Set(x *Int) *Int {
173 func (z *Int) SetBytes(b []byte) *Int {
184 func (z *Int) SetInt64(x int64) *Int {
194 func (z *Int) SetString(s string, base int) error {
[all …]
/prebuilts/go/linux-x86/src/crypto/elliptic/
Delliptic.go40 IsOnCurve(x, y *big.Int) bool
45 Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int)
50 Double(x1, y1 *big.Int) (x, y *big.Int)
57 ScalarMult(x1, y1 *big.Int, k []byte) (x, y *big.Int)
109 func Marshal(curve Curve, x, y *big.Int) []byte {
126 func MarshalCompressed(curve Curve, x, y *big.Int) []byte {
212 func panicIfNotOnCurve(curve Curve, x, y *big.Int) {
Dnistec.go129 func (curve *nistCurve[Point]) IsOnCurve(x, y *big.Int) bool {
139 func (curve *nistCurve[Point]) pointFromAffine(x, y *big.Int) (p Point, err error) {
174 func (curve *nistCurve[Point]) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) {
186 func (curve *nistCurve[Point]) Double(x1, y1 *big.Int) (*big.Int, *big.Int) {
209 func (curve *nistCurve[Point]) ScalarMult(Bx, By *big.Int, scalar []byte) (*big.Int, *big.Int) {
233 func (curve *nistCurve[Point]) CombinedMult(Px, Py *big.Int, s1, s2 []byte) (x, y *big.Int) {
/prebuilts/go/linux-x86/src/cmd/compile/internal/test/testdata/gen/
DcmpConstGen.go39 func cmp(left *big.Int, op string, right *big.Int) bool {
51 func inRange(typ string, val *big.Int) bool {
139 func sigString(v *big.Int) string {
/prebuilts/rust/linux-musl-x86/1.82.0/lib/rustlib/src/rust/library/core/tests/
Dcmp.rs162 struct Int(isize); in cmp_default() struct
164 impl PartialEq for Int { in cmp_default() implementation
166 let Int(this) = *self; in cmp_default() localVariable
167 let Int(other) = *other; in cmp_default() localVariable
172 impl PartialOrd for Int { in cmp_default() implementation
174 let Int(this) = *self; in cmp_default() localVariable
175 let Int(other) = *other; in cmp_default() localVariable
/prebuilts/rust/linux-x86/1.82.0/lib/rustlib/src/rust/library/core/tests/
Dcmp.rs162 struct Int(isize); in cmp_default() struct
164 impl PartialEq for Int { in cmp_default() implementation
166 let Int(this) = *self; in cmp_default() localVariable
167 let Int(other) = *other; in cmp_default() localVariable
172 impl PartialOrd for Int { in cmp_default() implementation
174 let Int(this) = *self; in cmp_default() localVariable
175 let Int(other) = *other; in cmp_default() localVariable
/prebuilts/rust/linux-x86/1.83.0/lib/rustlib/src/rust/library/core/tests/
Dcmp.rs162 struct Int(isize); in cmp_default() struct
164 impl PartialEq for Int { in cmp_default() implementation
166 let Int(this) = *self; in cmp_default() localVariable
167 let Int(other) = *other; in cmp_default() localVariable
172 impl PartialOrd for Int { in cmp_default() implementation
174 let Int(this) = *self; in cmp_default() localVariable
175 let Int(other) = *other; in cmp_default() localVariable
/prebuilts/rust/linux-musl-x86/1.83.0/lib/rustlib/src/rust/library/core/tests/
Dcmp.rs162 struct Int(isize); in cmp_default() struct
164 impl PartialEq for Int { in cmp_default() implementation
166 let Int(this) = *self; in cmp_default() localVariable
167 let Int(other) = *other; in cmp_default() localVariable
172 impl PartialOrd for Int { in cmp_default() implementation
174 let Int(this) = *self; in cmp_default() localVariable
175 let Int(other) = *other; in cmp_default() localVariable
/prebuilts/rust/linux-x86/1.82.0/lib/rustlib/src/rust/vendor/compiler_builtins/src/float/
Dconv.rs159 u32: CastFrom<F::Int>, in float_to_unsigned_int()
169 I::UnsignedInt: Int, in float_to_signed_int()
172 u32: CastFrom<F::Int>, in float_to_signed_int()
189 fbits: F::Int, in float_to_int_inner()
195 I: Int, in float_to_int_inner()
198 I::UnsignedInt: Int, in float_to_int_inner()
201 u32: CastFrom<F::Int>, in float_to_int_inner()
Dextend.rs8 u64: CastInto<F::Int>, in extend()
9 u32: CastInto<R::Int>, in extend()
12 u64: CastInto<R::Int>, in extend()
13 F::Int: CastInto<R::Int>, in extend()
Dtrunc.rs8 u64: CastInto<F::Int>, in trunc()
9 u32: CastInto<F::Int>, in trunc()
12 u32: CastInto<R::Int>, in trunc()
13 F::Int: CastInto<R::Int>, in trunc()
/prebuilts/rust/linux-musl-x86/1.83.0/lib/rustlib/src/rust/vendor/compiler_builtins/src/float/
Dconv.rs159 u32: CastFrom<F::Int>, in float_to_unsigned_int()
169 I::UnsignedInt: Int, in float_to_signed_int()
172 u32: CastFrom<F::Int>, in float_to_signed_int()
189 fbits: F::Int, in float_to_int_inner()
195 I: Int, in float_to_int_inner()
198 I::UnsignedInt: Int, in float_to_int_inner()
201 u32: CastFrom<F::Int>, in float_to_int_inner()
Dextend.rs8 u64: CastInto<F::Int>, in extend()
9 u32: CastInto<R::Int>, in extend()
12 u64: CastInto<R::Int>, in extend()
13 F::Int: CastInto<R::Int>, in extend()
Dtrunc.rs8 u64: CastInto<F::Int>, in trunc()
9 u32: CastInto<F::Int>, in trunc()
12 u32: CastInto<R::Int>, in trunc()
13 F::Int: CastInto<R::Int>, in trunc()
/prebuilts/rust/linux-musl-x86/1.82.0/lib/rustlib/src/rust/vendor/compiler_builtins/src/float/
Dconv.rs159 u32: CastFrom<F::Int>, in float_to_unsigned_int()
169 I::UnsignedInt: Int, in float_to_signed_int()
172 u32: CastFrom<F::Int>, in float_to_signed_int()
189 fbits: F::Int, in float_to_int_inner()
195 I: Int, in float_to_int_inner()
198 I::UnsignedInt: Int, in float_to_int_inner()
201 u32: CastFrom<F::Int>, in float_to_int_inner()
Dextend.rs8 u64: CastInto<F::Int>, in extend()
9 u32: CastInto<R::Int>, in extend()
12 u64: CastInto<R::Int>, in extend()
13 F::Int: CastInto<R::Int>, in extend()
Dtrunc.rs8 u64: CastInto<F::Int>, in trunc()
9 u32: CastInto<F::Int>, in trunc()
12 u32: CastInto<R::Int>, in trunc()
13 F::Int: CastInto<R::Int>, in trunc()
/prebuilts/rust/linux-x86/1.83.0/lib/rustlib/src/rust/vendor/compiler_builtins/src/float/
Dconv.rs159 u32: CastFrom<F::Int>, in float_to_unsigned_int()
169 I::UnsignedInt: Int, in float_to_signed_int()
172 u32: CastFrom<F::Int>, in float_to_signed_int()
189 fbits: F::Int, in float_to_int_inner()
195 I: Int, in float_to_int_inner()
198 I::UnsignedInt: Int, in float_to_int_inner()
201 u32: CastFrom<F::Int>, in float_to_int_inner()
Dextend.rs8 u64: CastInto<F::Int>, in extend()
9 u32: CastInto<R::Int>, in extend()
12 u64: CastInto<R::Int>, in extend()
13 F::Int: CastInto<R::Int>, in extend()
Dtrunc.rs8 u64: CastInto<F::Int>, in trunc()
9 u32: CastInto<F::Int>, in trunc()
12 u32: CastInto<R::Int>, in trunc()
13 F::Int: CastInto<R::Int>, in trunc()
/prebuilts/go/linux-x86/src/crypto/rand/
Dutil.go62 func Int(rand io.Reader, max *big.Int) (n *big.Int, err error) { func
/prebuilts/go/linux-x86/src/expvar/
Dexpvar.go54 type Int struct { struct
55 i atomic.Int64
58 func (v *Int) Value() int64 {
62 func (v *Int) String() string {
66 func (v *Int) appendJSON(b []byte) []byte {
70 func (v *Int) Add(delta int64) {
74 func (v *Int) Set(value int64) {
/prebuilts/go/linux-x86/test/fixedbugs/
Dissue50190.go9 type Int = int talias
12 type B = struct{ Int } member

12345678910