Home
last modified time | relevance | path

Searched refs:IntRange (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/third_party/externals/wuffs/lib/interval/
Dinterval.go105 func (x *biggerIntPair) toIntRange() IntRange {
109 return IntRange{x[0].i, x[1].i}
112 func (x *biggerIntPair) fromIntRange(y IntRange) { argument
144 type IntRange [2]*big.Int type
147 func (x IntRange) String() string {
169 func empty() IntRange {
170 return IntRange{big.NewInt(+1), big.NewInt(-1)}
174 func (x IntRange) ContainsNegative() bool {
185 func (x IntRange) ContainsPositive() bool {
196 func (x IntRange) ContainsZero() bool {
[all …]
Dinterval_test.go30 i := IntRange{big.NewInt(0), big.NewInt(255)}
31 j := IntRange{big.NewInt(0), big.NewInt(3)}
32 four := IntRange{big.NewInt(4), big.NewInt(4)}
34 want := IntRange{big.NewInt(0), big.NewInt(1023)}
148 func parseInterval(s string) (x IntRange, remaining string, err error) {
153 return IntRange{big.NewInt(+1), big.NewInt(-1)}, s, nil
157 return IntRange{}, "", fmt.Errorf("expected '(' or '['")
162 return IntRange{}, "", err
165 return IntRange{}, "", fmt.Errorf("expected ','")
170 return IntRange{}, "", err
[all …]
Dradial_test.go133 func enumerate(x IntRange) (min radialInput, max radialInput) { argument
409 func bruteForce(x IntRange, y IntRange, opKey string) (z IntRange, ok bool) { argument
420 return IntRange{}, false
439 return IntRange{result[0].bigInt(), result[1].bigInt()}, true
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp52 struct IntRange { struct
59 static bool IsInRanges(const IntRange &R, in IsInRanges()
60 const std::vector<IntRange> &Ranges) { in IsInRanges()
67 Ranges, R, [](IntRange A, IntRange B) { return A.High < B.High; }); in IsInRanges()
110 const std::vector<IntRange> &UnreachableRanges);
253 const std::vector<IntRange> &UnreachableRanges) { in switchConvert()
297 IntRange Gap = { GapLow, GapHigh }; in switchConvert()
515 std::vector<IntRange> UnreachableRanges; in processSwitchInst()
522 IntRange R = {std::numeric_limits<int64_t>::min(), in processSwitchInst()
529 IntRange &LastRange = UnreachableRanges.back(); in processSwitchInst()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/lang/ast/
Dast.go148 mBounds interval.IntRange
192 func (n *Node) MBounds() interval.IntRange { return n.mBounds }
194 func (n *Node) SetMBounds(x interval.IntRange) { n.mBounds = x }
333 func (n *Expr) MBounds() interval.IntRange { return n.mBounds }
345 func (n *Expr) SetMBounds(x interval.IntRange) { n.mBounds = x } argument
/third_party/flutter/skia/third_party/externals/wuffs/lang/check/
Dbounds.go28 type bounds = interval.IntRange