Searched refs:range (Results 51 - 75 of 1783) sorted by relevance

1234567891011>>

/external/chromium_org/base/
H A Drand_util.cc21 uint64 range = static_cast<uint64>(max) - min + 1; local
22 int result = min + static_cast<int>(base::RandGenerator(range));
35 // produce output in the range [0, 1). For IEEE 754 doubles, the mantissa
47 uint64 RandGenerator(uint64 range) { argument
48 DCHECK_GT(range, 0u);
51 // MAX_UINT64 was 7 and |range| was 5, then a result of 1 would be twice
54 (std::numeric_limits<uint64>::max() / range) * range - 1;
61 return value % range;
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableLength.cpp41 double clampNumber(double value, ValueRange range) argument
43 if (range == ValueRangeNonNegative)
45 ASSERT(range == ValueRangeAll);
61 Length AnimatableLength::length(float zoom, ValueRange range) const
64 return Length(clampNumber(m_pixels, range) * zoom, Fixed);
66 return Length(clampNumber(m_percent, range), Percent);
67 return Length(CalculationValue::create(PixelsAndPercent(m_pixels * zoom, m_percent), range));
/external/libcxx/test/iterators/stream.iterators/iterator.range/
H A DAndroid.mk17 test_makefile := external/libcxx/test/iterators/stream.iterators/iterator.range/Android.mk
19 test_name := iterators/stream.iterators/iterator.range/begin_array
23 test_name := iterators/stream.iterators/iterator.range/begin_const
27 test_name := iterators/stream.iterators/iterator.range/end_non_const
31 test_name := iterators/stream.iterators/iterator.range/end_array
35 test_name := iterators/stream.iterators/iterator.range/end_const
39 test_name := iterators/stream.iterators/iterator.range/begin_non_const
/external/llvm/unittests/ADT/
H A DDeltaAlgorithmTest.cpp64 std::set<unsigned> range(unsigned Start, unsigned End) { function in namespace:__anon26439
71 std::set<unsigned> range(unsigned N) { function in namespace:__anon26439
72 return range(0, N);
80 EXPECT_EQ(fixed_set(3, 3, 5, 7), FDA.Run(range(20)));
85 EXPECT_EQ(range(10,20), FDA.Run(range(10,20)));
94 FDA = FixedDeltaAlgorithm(range(10));
95 EXPECT_EQ(range(4), FDA.Run(range(4)));
/external/chromium_org/printing/
H A Dpage_range.cc20 const PageRange& range = ranges[i]; local
22 for (int i = range.from; i <= range.to; ++i) {
/external/chromium_org/third_party/WebKit/public/web/
H A DWebContentDetectionResult.h42 WebContentDetectionResult(const WebRange& range, const WebString& string, const WebURL& intent) argument
44 , m_range(range)
51 const WebRange& range() const { return m_range; } function in class:blink::WebContentDetectionResult
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dprefix.cc24 // Represents the range of values belonging to a prefix code:
73 const PrefixCodeRange& range = kInsertLengthPrefixCode[i]; local
74 if (length >= range.offset && length < range.offset + (1 << range.nbits)) {
83 const PrefixCodeRange& range = kCopyLengthPrefixCode[i]; local
84 if (length >= range.offset && length < range.offset + (1 << range.nbits)) {
150 const PrefixCodeRange& range local
[all...]
/external/iptables/extensions/
H A Dlibipt_DNAT.c21 /* Dest NAT data consists of a multi-range, indicating where to map
47 append_range(struct ipt_natinfo *info, const struct nf_nat_ipv4_range *range) argument
52 size = XT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range));
59 info->mr.range[info->mr.rangesize] = *range;
69 struct nf_nat_ipv4_range range; local
76 memset(&range, 0, sizeof(range));
86 range.flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
100 range
[all...]
H A Dlibipt_SNAT.c21 /* Source NAT data consists of a multi-range, indicating where to map
47 append_range(struct ipt_natinfo *info, const struct nf_nat_ipv4_range *range) argument
52 size = XT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range));
59 info->mr.range[info->mr.rangesize] = *range;
69 struct nf_nat_ipv4_range range; local
76 memset(&range, 0, sizeof(range));
86 range.flags |= NF_NAT_RANGE_PROTO_SPECIFIED;
100 range
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DRegularContiguousSet.java35 private final Range<C> range; field in class:RegularContiguousSet
37 RegularContiguousSet(Range<C> range, DiscreteDomain<C> domain) { argument
39 this.range = range;
44 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive)))
56 return range.intersection(Ranges.range(fromElement, BoundType.forBoolean(fromInclusive),
62 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive)))
86 return range.lowerBound.leastValueAbove(domain);
90 return range
142 @Override public Range<C> range() { method in class:RegularContiguousSet
146 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { method in class:RegularContiguousSet
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DLengthStyleInterpolation.h15 static PassRefPtrWillBeRawPtr<LengthStyleInterpolation> create(CSSValue* start, CSSValue* end, CSSPropertyID id, ValueRange range) argument
17 return adoptRefWillBeNoop(new LengthStyleInterpolation(lengthToInterpolableValue(start), lengthToInterpolableValue(end), id, range));
27 LengthStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, ValueRange range) argument
29 , m_range(range)
/external/chromium_org/third_party/WebKit/Source/platform/
H A DCalculationValue.h44 static PassRefPtr<CalculationValue> create(PixelsAndPercent value, ValueRange range) argument
46 return adoptRef(new CalculationValue(value, range));
57 CalculationValue(PixelsAndPercent value, ValueRange range) argument
59 , m_isNonNegative(range == ValueRangeNonNegative)
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dcb_mem_energy_calc.h24 int16_t range, /* (i) number of iterations */
/external/chromium_org/tools/gyp/test/many-actions/
H A Dgyptest-many-actions.py18 for i in range(200):
/external/chromium_org/ui/views/controls/table/
H A Dtable_grouper.h22 virtual void GetGroupRange(int model_index, GroupRange* range) = 0;
/external/chromium_org/v8/src/
H A Dlithium-allocator-inl.h44 void LAllocator::SetLiveRangeAssignedRegister(LiveRange* range, int reg) { argument
45 if (range->Kind() == DOUBLE_REGISTERS) {
48 DCHECK(range->Kind() == GENERAL_REGISTERS);
51 range->set_assigned_register(reg, chunk()->zone());
/external/iptables/include/linux/netfilter_ipv4/
H A Dipt_SAME.h17 struct nf_nat_ipv4_range range[IPT_SAME_MAX_RANGE]; member in struct:ipt_same_info
/external/stlport/test/unit/
H A Dequal_test.cpp44 pair<int*, int*> range = equal_range((int*)numbers, (int*)numbers + 10, 2); local
45 CPPUNIT_ASSERT( (range.first - numbers) == 4 );
46 CPPUNIT_ASSERT( (range.second - numbers) == 8 );
56 pair<IntVec::iterator, IntVec::iterator> range = equal_range(v.begin(), v.end(), 2); local
57 CPPUNIT_ASSERT( (range.first - v.begin()) == 6 );
58 CPPUNIT_ASSERT( (range.second - v.begin()) == 9 );
59 for (; range.first != range.second; ++range.first)
60 CPPUNIT_ASSERT( *range
95 pair<char*, char*> range = equal_range((char*)chars, (char*)chars + count, 'q', less<char>()); local
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dqca-vendor-attr.h25 struct qca_avoid_freq_range range[0]; member in struct:qca_avoid_freq_list
/external/wpa_supplicant_8/src/common/
H A Dqca-vendor-attr.h25 struct qca_avoid_freq_range range[0]; member in struct:qca_avoid_freq_list
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dqca-vendor-attr.h25 struct qca_avoid_freq_range range[0]; member in struct:qca_avoid_freq_list
/external/lldb/source/Symbol/
H A DUnwindTable.cpp93 AddressRange range; local
94 if (!sc.GetAddressRange(eSymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddress().IsValid())
97 if (m_eh_frame == NULL || !m_eh_frame->GetAddressRange (addr, range))
103 FuncUnwindersSP func_unwinder_sp(new FuncUnwinders(*this, m_assembly_profiler, range));
104 m_unwinds.insert (insert_pos, std::make_pair(range.GetBaseAddress().GetFileAddress(), func_unwinder_sp));
120 AddressRange range; local
121 if (!sc.GetAddressRange(eSymbolContextFunction | eSymbolContextSymbol, 0, false, range) || !range.GetBaseAddress().IsValid())
124 if (m_eh_frame == NULL || !m_eh_frame->GetAddressRange (addr, range))
[all...]
/external/libsepol/src/
H A Dmls.c113 unsigned int i, l, len, range; local
121 range = 0;
124 p_sens_val_to_name[context->range.level[l].sens -
127 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) {
129 if (range) {
130 range++;
136 range++;
138 if (range > 1)
143 range = 0;
146 /* Handle case where last category is the end of range */
172 unsigned int i, l, range, wrote_sep; local
493 mls_range_set(context_struct_t * context, mls_range_t * range) argument
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRMismatchedRangeException.h34 NSRange range; variable
37 @property (assign) NSRange range; variable
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DthemeChromiumLinux.css40 input[type=range i] {

Completed in 727 milliseconds

1234567891011>>