Home
last modified time | relevance | path

Searched refs:Range (Results 1 - 25 of 438) sorted by relevance

12345678910>>...18

/third_party/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoder.cs12 public uint Range; field in SevenZip.Compression.RangeCoder.Encoder
33 Range = 0xFFFFFFFF; in Init()
56 Low += start * (Range /= total); in Encode()
57 Range *= size; in Encode()
58 while (Range < kTopValue) in Encode()
60 Range <<= 8; in Encode()
86 Range >>= 1; in EncodeDirectBits()
88 Low += Range; in EncodeDirectBits()
89 if (Range < kTopValue) in EncodeDirectBits()
91 Range << in EncodeDirectBits()
125 public uint Range; global() field in SevenZip.Compression.RangeCoder.Decoder
[all...]
H A DRangeCoderBit.cs29 uint newBound = (encoder.Range >> kNumBitModelTotalBits) * Prob; in Encode()
32 encoder.Range = newBound; in Encode()
38 encoder.Range -= newBound; in Encode()
41 if (encoder.Range < Encoder.kTopValue) in Encode()
43 encoder.Range <<= 8; in Encode()
91 uint newBound = (uint)(rangeDecoder.Range >> kNumBitModelTotalBits) * (uint)Prob; in Decode()
94 rangeDecoder.Range = newBound; in Decode()
96 if (rangeDecoder.Range < Decoder.kTopValue) in Decode()
99 rangeDecoder.Range <<= 8; in Decode()
105 rangeDecoder.Range in Decode()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dfixed_array_benchmark.cc44 ->Range(0, 1 << 16);
45 BENCHMARK_TEMPLATE(BM_FixedArray, char, 0)->Range(0, 1 << 16);
46 BENCHMARK_TEMPLATE(BM_FixedArray, char, 1)->Range(0, 1 << 16);
47 BENCHMARK_TEMPLATE(BM_FixedArray, char, 16)->Range(0, 1 << 16);
48 BENCHMARK_TEMPLATE(BM_FixedArray, char, 256)->Range(0, 1 << 16);
49 BENCHMARK_TEMPLATE(BM_FixedArray, char, 65536)->Range(0, 1 << 16);
52 ->Range(0, 1 << 16);
53 BENCHMARK_TEMPLATE(BM_FixedArray, SimpleClass, 0)->Range(0, 1 << 16);
54 BENCHMARK_TEMPLATE(BM_FixedArray, SimpleClass, 1)->Range(0, 1 << 16);
55 BENCHMARK_TEMPLATE(BM_FixedArray, SimpleClass, 16)->Range(
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_layout_test.cpp50 struct Range { struct
51 explicit Range(bool inverse = false) : inverse_(inverse) {} in Range() function
121 pred_type All = Range<0, kRangeEnd>();
125 ::testing::Combine(::testing::Range((int)0, (int)getInstructions().size()),
132 ::testing::Values(std::make_tuple(std::string("OpCapability") , Equals<0> , Range<0, 2>())
135 , std::make_tuple(std::string("OpMemoryModel") , Equals<3> , Range<1, kRangeEnd>())
137 , std::make_tuple(std::string("OpExecutionMode ") , Range<5, 6>() , All)
138 , std::make_tuple(std::string("OpExecutionModeId") , Range<5, 6>() , All)
139 , std::make_tuple(std::string("OpSource ") , Range<7, 11>() , Range<
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_layout_test.cpp50 struct Range { struct
51 explicit Range(bool inverse = false) : inverse_(inverse) {} in Range() function
121 pred_type All = Range<0, kRangeEnd>();
125 ::testing::Combine(::testing::Range((int)0, (int)getInstructions().size()),
132 ::testing::Values(std::make_tuple(std::string("OpCapability") , Equals<0> , Range<0, 2>())
135 , std::make_tuple(std::string("OpMemoryModel") , Equals<3> , Range<1, kRangeEnd>())
137 , std::make_tuple(std::string("OpExecutionMode ") , Range<5, 6>() , All)
138 , std::make_tuple(std::string("OpExecutionModeId") , Range<5, 6>() , All)
139 , std::make_tuple(std::string("OpSource ") , Range<7, 11>() , Range<
[all...]
/third_party/spirv-tools/test/val/
H A Dval_layout_test.cpp48 struct Range { struct
49 explicit Range(bool inverse = false) : inverse_(inverse) {} in Range() function
112 pred_type All = Range<0, kRangeEnd>();
116 ::testing::Combine(::testing::Range((int)0, (int)getInstructions().size()),
123 ::testing::Values(std::make_tuple(std::string("OpCapability") , Equals<0> , Range<0, 2>())
126 , std::make_tuple(std::string("OpMemoryModel") , Equals<3> , Range<1, kRangeEnd>())
128 , std::make_tuple(std::string("OpExecutionMode ") , Range<5, 6>() , All)
129 , std::make_tuple(std::string("OpExecutionModeId") , Range<5, 6>() , All)
130 , std::make_tuple(std::string("OpSource ") , Range<7, 11>() , Range<
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
H A Dequal_benchmark.cc82 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
84 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
86 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
88 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
91 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
93 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
95 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
97 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
100 ->Range(kMinBenchmarkSize, kMaxBenchmarkSize);
102 ->Range(kMinBenchmarkSiz
[all...]
/third_party/lzma/Java/SevenZip/Compression/RangeCoder/
H A DDecoder.java12 int Range; field in Decoder
30 Range = -1; in Init()
40 Range >>>= 1; in DecodeDirectBits()
41 int t = ((Code - Range) >>> 31); in DecodeDirectBits()
42 Code -= Range & (t - 1); in DecodeDirectBits()
45 if ((Range & kTopMask) == 0) in DecodeDirectBits()
48 Range <<= 8; in DecodeDirectBits()
57 int newBound = (Range >>> kNumBitModelTotalBits) * prob; in DecodeBit()
60 Range = newBound; in DecodeBit()
62 if ((Range in DecodeBit()
[all...]
H A DEncoder.java15 int Range; field in Encoder
35 Range = -1; in Init()
74 Range >>>= 1; in EncodeDirectBits()
76 Low += Range; in EncodeDirectBits()
77 if ((Range & Encoder.kTopMask) == 0) in EncodeDirectBits()
79 Range <<= 8; in EncodeDirectBits()
105 int newBound = (Range >>> kNumBitModelTotalBits) * prob; in Encode()
108 Range = newBound; in Encode()
114 Range -= newBound; in Encode()
117 if ((Range in Encode()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
H A DFunctionInfo.h16 #include "llvm/DebugInfo/GSYM/Range.h"
89 AddressRange Range; member
95 : Range(Addr, Addr + Size), Name(N) {} in FunctionInfo()
172 uint64_t startAddress() const { return Range.Start; } in startAddress()
173 uint64_t endAddress() const { return Range.End; } in endAddress()
174 uint64_t size() const { return Range.size(); } in size()
175 void setStartAddress(uint64_t Addr) { Range.Start = Addr; } in setStartAddress()
176 void setEndAddress(uint64_t Addr) { Range.End = Addr; } in setEndAddress()
177 void setSize(uint64_t Size) { Range.End = Range in setEndAddress()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
H A DRange.cpp1 //===- Range.cpp ------------------------------------------------*- C++ -*-===//
10 #include "llvm/DebugInfo/GSYM/Range.h"
20 void AddressRanges::insert(AddressRange Range) { in insert() argument
21 if (Range.size() == 0) in insert()
24 auto It = llvm::upper_bound(Ranges, Range); in insert()
26 while (It2 != Ranges.end() && It2->Start < Range.End) in insert()
29 Range.End = std::max(Range.End, It2[-1].End); in insert()
32 if (It != Ranges.begin() && Range.Start < It[-1].End) in insert()
33 It[-1].End = std::max(It[-1].End, Range in insert()
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dsource.h92 /// Range holds a Location interval described by [begin, end).
93 class Range { class in tint::Source
95 /// Constructs a zero initialized Range.
96 inline Range() = default;
98 /// Constructs a zero-length Range starting at `loc`
100 inline constexpr explicit Range(const Location& loc) in Range() function in tint::Source::Range
103 /// Constructs the Range beginning at `b` and ending at `e`
106 inline constexpr Range(const Location& b, const Location& e) in Range() function in tint::Source::Range
109 /// Return a column-shifted Range
111 /// @returns a Range wit
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSTLExtras.h312 make_filter_range(RangeT &&Range, PredicateT Pred) { in make_filter_range() argument
315 return make_range(FilterIteratorT(std::begin(std::forward<RangeT>(Range)), in make_filter_range()
316 std::end(std::forward<RangeT>(Range)), in make_filter_range()
318 FilterIteratorT(std::end(std::forward<RangeT>(Range)))); in make_filter_range()
473 bool all_of(R &&Range, UnaryPredicate P) { in all_of() argument
474 return std::all_of(std::begin(Range), std::end(Range), P); in all_of()
480 bool any_of(R &&Range, UnaryPredicate P) { in any_of() argument
481 return std::any_of(std::begin(Range), std::end(Range), in any_of()
487 none_of(R &&Range, UnaryPredicate P) none_of() argument
520 is_contained(R &&Range, const E &Element) is_contained() argument
544 transform(R &&Range, OutputIt d_first, UnaryPredicate P) transform() argument
664 enumerator_impl(R &&Range) enumerator_impl() argument
670 R Range; global() member in llvm::detail::enumerator_impl
689 enumerate(R &&Range) enumerate() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSTLExtras.h426 make_filter_range(RangeT &&Range, PredicateT Pred) { in make_filter_range() argument
430 FilterIteratorT(std::begin(std::forward<RangeT>(Range)), in make_filter_range()
431 std::end(std::forward<RangeT>(Range)), Pred), in make_filter_range()
432 FilterIteratorT(std::end(std::forward<RangeT>(Range)), in make_filter_range()
433 std::end(std::forward<RangeT>(Range)), Pred)); in make_filter_range()
512 make_early_inc_range(RangeT &&Range) { in make_early_inc_range() argument
515 return make_range(EarlyIncIteratorT(std::begin(std::forward<RangeT>(Range))), in make_early_inc_range()
516 EarlyIncIteratorT(std::end(std::forward<RangeT>(Range)))); in make_early_inc_range()
1163 auto size(R &&Range, typename std::enable_if<
1165 Range
1175 for_each(R &&Range, UnaryPredicate P) for_each() argument
1182 all_of(R &&Range, UnaryPredicate P) all_of() argument
1189 any_of(R &&Range, UnaryPredicate P) any_of() argument
1196 none_of(R &&Range, UnaryPredicate P) none_of() argument
1229 copy_if(R &&Range, OutputIt Out, UnaryPredicate P) copy_if() argument
1234 copy(R &&Range, OutputIt Out) copy() argument
1241 is_contained(R &&Range, const E &Element) is_contained() argument
1264 transform(R &&Range, OutputIt d_first, UnaryPredicate P) transform() argument
1306 stable_sort(R &&Range) stable_sort() argument
1311 stable_sort(R &&Range, Compare C) stable_sort() argument
1326 is_splat(R &&Range) is_splat() argument
1480 enumerator(R &&Range) enumerator() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp67 MIToken &MIToken::reset(TokenKind Kind, StringRef Range) { in reset() argument
69 this->Range = Range; in reset()
161 auto Range = C; in lexName() local
165 StringRef String = Range.upto(R); in lexName()
171 Token.reset(MIToken::Error, Range.remaining()); in lexName()
172 return Range; in lexName()
176 Token.reset(Type, Range.upto(C)) in lexName()
177 .setStringValue(Range.upto(C).drop_front(PrefixLength)); in lexName()
264 auto Range in maybeLexIdentifier()
398 auto Range = C; lexVirtualRegister() local
414 Cursor Range = C; lexNamedVirtualRegister() local
439 auto Range = C; maybeLexRegister() local
524 lexFloatingPointLiteral(Cursor Range, Cursor C, MIToken &Token) lexFloatingPointLiteral() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/
H A Dspan.go38 rng, err := m.Range(s)
42 return Location{URI: NewURI(s.URI()), Range: rng}, nil
45 func (m *ColumnMapper) Range(s span.Span) (Range, error) {
47 return Range{}, errors.Errorf("column mapper is for file %q instead of %q", m.URI, s.URI())
51 return Range{}, err
55 return Range{}, err
59 return Range{}, err
61 return Range{Start: start, End: end}, nil
76 return m.RangeSpan(l.Range)
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
H A Dspan.go38 rng, err := m.Range(s)
42 return Location{URI: NewURI(s.URI()), Range: rng}, nil
45 func (m *ColumnMapper) Range(s span.Span) (Range, error) {
47 return Range{}, errors.Errorf("column mapper is for file %q instead of %q", m.URI, s.URI())
51 return Range{}, err
55 return Range{}, err
59 return Range{}, err
61 return Range{Start: start, End: end}, nil
76 return m.RangeSpan(l.Range)
[all...]
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/
H A Dspan.go38 rng, err := m.Range(s)
42 return Location{URI: NewURI(s.URI()), Range: rng}, nil
45 func (m *ColumnMapper) Range(s span.Span) (Range, error) {
47 return Range{}, errors.Errorf("column mapper is for file %q instead of %q", m.URI, s.URI())
51 return Range{}, err
55 return Range{}, err
59 return Range{}, err
61 return Range{Start: start, End: end}, nil
76 return m.RangeSpan(l.Range)
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DRangeDateRule.java32 // Range is a package-private class so this should be package-private too, probably
33 // public RangeDateRule(Range[] ranges)
53 ranges.add(new Range(start, rule)); in add()
69 Range r = rangeAt(index); in firstAfter()
70 Range e = rangeAt(index+1); in firstAfter()
95 Range next = rangeAt(index); in firstBetween()
99 Range r = next; in firstBetween()
115 Range r = rangeAt(startIndex(date)); in isOn()
136 Range r = ranges.get(i); in startIndex()
145 private Range rangeA
157 class Range { global() class
158 public Range(Date start, DateRule rule) { Range() method in Range
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
H A DAnnotations.h31 /// llvm::Range R = Example.range("fail"); // find named ranges
50 struct Range { struct in llvm::Annotations
54 friend bool operator==(const Range &L, const Range &R) { in operator ==()
57 friend bool operator!=(const Range &L, const Range &R) { return !(L == R); } in operator !=()
75 Range range(llvm::StringRef Name = "") const;
77 std::vector<Range> ranges(llvm::StringRef Name = "") const;
82 llvm::StringMap<llvm::SmallVector<Range, 1>> Ranges;
86 const llvm::Annotations::Range
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/parser/
H A Dparser.go68 Range Range
71 func (t Token) String() string { return fmt.Sprintf("{%v %v}", t.Type, t.Range) }
74 func (t Token) Text(lines []string) string { return t.Range.Text(lines) }
76 // Range represents an interval in a text file.
77 type Range struct { type
82 func (r Range) String() string { return fmt.Sprintf("[%v %v]", r.Start, r.End) }
84 // Text returns the text for the given Range in the provided lines.
85 func (r Range) Text(lines []string) string {
109 func (r Range) Contain
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/
H A Dparser.go68 Range Range
71 func (t Token) String() string { return fmt.Sprintf("{%v %v}", t.Type, t.Range) }
74 func (t Token) Text(lines []string) string { return t.Range.Text(lines) }
76 // Range represents an interval in a text file.
77 type Range struct { type
82 func (r Range) String() string { return fmt.Sprintf("[%v %v]", r.Start, r.End) }
84 // Text returns the text for the given Range in the provided lines.
85 func (r Range) Text(lines []string) string {
109 func (r Range) Contain
[all...]
/third_party/spirv-tools/utils/vscode/src/parser/
H A Dparser.go68 Range Range
71 func (t Token) String() string { return fmt.Sprintf("{%v %v}", t.Type, t.Range) }
74 func (t Token) Text(lines []string) string { return t.Range.Text(lines) }
76 // Range represents an interval in a text file.
77 type Range struct { type
82 func (r Range) String() string { return fmt.Sprintf("[%v %v]", r.Start, r.End) }
84 // Text returns the text for the given Range in the provided lines.
85 func (r Range) Text(lines []string) string {
109 func (r Range) Contain
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DRangeDateRule.java30 // Range is a package-private class so this should be package-private too, probably
31 // public RangeDateRule(Range[] ranges)
51 ranges.add(new Range(start, rule)); in add()
68 Range r = rangeAt(index); in firstAfter()
69 Range e = rangeAt(index+1); in firstAfter()
95 Range next = rangeAt(index); in firstBetween()
99 Range r = next; in firstBetween()
116 Range r = rangeAt(startIndex(date)); in isOn()
138 Range r = ranges.get(i); in startIndex()
147 private Range rangeA
159 class Range { global() class
160 public Range(Date start, DateRule rule) { Range() method in Range
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DImageIndex.cpp252 return ImageIndexIterator(TextureType::_2D, Range<GLint>(minMip, maxMip), in Make2D()
253 Range<GLint>(ImageIndex::kEntireLevel, ImageIndex::kEntireLevel), in Make2D()
259 return ImageIndexIterator(TextureType::Rectangle, Range<GLint>(minMip, maxMip), in MakeRectangle()
260 Range<GLint>(ImageIndex::kEntireLevel, ImageIndex::kEntireLevel), in MakeRectangle()
266 return ImageIndexIterator(TextureType::CubeMap, Range<GLint>(minMip, maxMip), in MakeCube()
267 Range<GLint>(0, 6), nullptr); in MakeCube()
275 return ImageIndexIterator(TextureType::_3D, Range<GLint>(minMip, maxMip), in Make3D()
276 Range<GLint>(minLayer, maxLayer), nullptr); in Make3D()
283 return ImageIndexIterator(TextureType::_2DArray, Range<GLint>(minMip, maxMip), in Make2DArray()
284 Range<GLin in Make2DArray()
[all...]

Completed in 13 milliseconds

12345678910>>...18