Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 25 of 160) sorted by relevance

1234567

/external/libcxx/test/containers/associative/map/map.ops/
Dupper_bound.pass.cpp42 R r = m.upper_bound(5); in main()
44 r = m.upper_bound(7); in main()
46 r = m.upper_bound(9); in main()
48 r = m.upper_bound(11); in main()
50 r = m.upper_bound(13); in main()
52 r = m.upper_bound(15); in main()
54 r = m.upper_bound(17); in main()
56 r = m.upper_bound(19); in main()
58 r = m.upper_bound(4); in main()
60 r = m.upper_bound(6); in main()
[all …]
/external/libcxx/test/containers/associative/set/
Dupper_bound.pass.cpp42 R r = m.upper_bound(5); in main()
44 r = m.upper_bound(7); in main()
46 r = m.upper_bound(9); in main()
48 r = m.upper_bound(11); in main()
50 r = m.upper_bound(13); in main()
52 r = m.upper_bound(15); in main()
54 r = m.upper_bound(17); in main()
56 r = m.upper_bound(19); in main()
58 r = m.upper_bound(4); in main()
60 r = m.upper_bound(6); in main()
[all …]
/external/libcxx/test/containers/associative/multiset/
Dupper_bound.pass.cpp43 R r = m.upper_bound(4); in main()
45 r = m.upper_bound(5); in main()
47 r = m.upper_bound(6); in main()
49 r = m.upper_bound(7); in main()
51 r = m.upper_bound(8); in main()
53 r = m.upper_bound(9); in main()
55 r = m.upper_bound(11); in main()
73 R r = m.upper_bound(4); in main()
75 r = m.upper_bound(5); in main()
77 r = m.upper_bound(6); in main()
[all …]
/external/libcxx/test/containers/associative/multimap/multimap.ops/
Dupper_bound.pass.cpp43 R r = m.upper_bound(4); in main()
45 r = m.upper_bound(5); in main()
47 r = m.upper_bound(6); in main()
49 r = m.upper_bound(7); in main()
51 r = m.upper_bound(8); in main()
53 r = m.upper_bound(9); in main()
55 r = m.upper_bound(10); in main()
73 R r = m.upper_bound(4); in main()
75 r = m.upper_bound(5); in main()
77 r = m.upper_bound(6); in main()
[all …]
/external/chromium_org/ui/gfx/
Dcolor_utils.cc156 const HSL& upper_bound) { in IsWithinHSLRange() argument
160 DCHECK(lower_bound.h < 0 || upper_bound.h < 0 || in IsWithinHSLRange()
161 (lower_bound.h <= 1 && upper_bound.h <= lower_bound.h + 1)) in IsWithinHSLRange()
163 << ", upper_bound.h: " << upper_bound.h; in IsWithinHSLRange()
164 DCHECK(lower_bound.s < 0 || upper_bound.s < 0 || in IsWithinHSLRange()
165 (lower_bound.s <= upper_bound.s && upper_bound.s <= 1)) in IsWithinHSLRange()
167 << ", upper_bound.s: " << upper_bound.s; in IsWithinHSLRange()
168 DCHECK(lower_bound.l < 0 || upper_bound.l < 0 || in IsWithinHSLRange()
169 (lower_bound.l <= upper_bound.l && upper_bound.l <= 1)) in IsWithinHSLRange()
171 << ", upper_bound.l: " << upper_bound.l; in IsWithinHSLRange()
[all …]
Dcolor_analysis.h93 const HSL& upper_bound,
104 const HSL& upper_bound,
/external/chromium_org/media/cast/logging/
Dreceiver_time_offset_estimator_impl_unittest.cc57 base::TimeDelta upper_bound; in TEST_F() local
59 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
82 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
96 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
103 EXPECT_TRUE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
106 int64 upper_bound_ms = upper_bound.InMilliseconds(); in TEST_F()
120 base::TimeDelta upper_bound; in TEST_F() local
122 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
145 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
155 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound)); in TEST_F()
[all …]
Dreceiver_time_offset_estimator_impl.cc105 base::TimeDelta* upper_bound) { in GetReceiverOffsetBounds() argument
110 *upper_bound = upper_bound_.bound(); in GetReceiverOffsetBounds()
114 if (upper_bound < lower_bound) { in GetReceiverOffsetBounds()
115 lower_bound += (lower_bound - upper_bound) / 2; in GetReceiverOffsetBounds()
116 upper_bound = lower_bound; in GetReceiverOffsetBounds()
/external/chromium_org/media/base/
Dtime_delta_interpolator.cc47 base::TimeDelta upper_bound) { in SetBounds() argument
48 DCHECK(lower_bound <= upper_bound); in SetBounds()
52 upper_bound_ = std::max(base::TimeDelta(), upper_bound); in SetBounds()
56 void TimeDeltaInterpolator::SetUpperBound(base::TimeDelta upper_bound) { in SetUpperBound() argument
57 DCHECK(upper_bound != kNoTimestamp()); in SetUpperBound()
61 upper_bound_ = upper_bound; in SetUpperBound()
Dtime_delta_interpolator.h52 void SetBounds(base::TimeDelta lower_bound, base::TimeDelta upper_bound);
57 void SetUpperBound(base::TimeDelta upper_bound);
/external/chromium_org/pdf/
Dchunk_stream.cc53 std::map<size_t, size_t>::iterator start = chunks_.upper_bound(offset); in WriteData()
59 std::map<size_t, size_t>::iterator end = chunks_.upper_bound(offset + size); in WriteData()
98 std::map<size_t, size_t>::const_iterator start = chunks_.upper_bound(offset); in GetMissedRanges()
105 chunks_.upper_bound(offset + size); in GetMissedRanges()
138 std::map<size_t, size_t>::const_iterator it = chunks_.upper_bound(offset); in IsRangeAvailable()
156 std::map<size_t, size_t>::const_iterator it = chunks_.upper_bound(offset); in GetLastByteBefore()
166 std::map<size_t, size_t>::const_iterator it = chunks_.upper_bound(offset); in GetFirstByteAfter()
/external/jemalloc/src/
Dquarantine.c22 static void quarantine_drain(quarantine_t *quarantine, size_t upper_bound);
92 quarantine_drain(quarantine_t *quarantine, size_t upper_bound) in quarantine_drain() argument
95 while (quarantine->curbytes > upper_bound && quarantine->curobjs > 0) in quarantine_drain()
126 size_t upper_bound = (opt_quarantine >= usize) ? opt_quarantine in quarantine() local
128 quarantine_drain(quarantine, upper_bound); in quarantine()
/external/chromium-trace/trace-viewer/third_party/python_gflags/
Dgflags.py2138 if parser.lower_bound is not None or parser.upper_bound is not None:
2448 (self.upper_bound is not None and val > self.upper_bound))
2459 if self.upper_bound is not None:
2460 _WriteSimpleXMLElement(outfile, 'upper_bound', self.upper_bound, indent)
2482 def __init__(self, lower_bound=None, upper_bound=None): argument
2485 self.upper_bound = upper_bound
2487 if lower_bound is not None and upper_bound is not None:
2488 sh = ("%s in the range [%s, %s]" % (sh, lower_bound, upper_bound))
2491 elif upper_bound == 0:
2493 elif upper_bound is not None:
[all …]
/external/chromium_org/third_party/python_gflags/
Dgflags.py2138 if parser.lower_bound is not None or parser.upper_bound is not None:
2448 (self.upper_bound is not None and val > self.upper_bound))
2459 if self.upper_bound is not None:
2460 _WriteSimpleXMLElement(outfile, 'upper_bound', self.upper_bound, indent)
2482 def __init__(self, lower_bound=None, upper_bound=None): argument
2485 self.upper_bound = upper_bound
2487 if lower_bound is not None and upper_bound is not None:
2488 sh = ("%s in the range [%s, %s]" % (sh, lower_bound, upper_bound))
2491 elif upper_bound == 0:
2493 elif upper_bound is not None:
[all …]
/external/stlport/test/unit/
Dset_test.cpp139 sit = s.upper_bound(5); in bounds()
162 scit = s.upper_bound(5); in bounds()
180 scit = crs.upper_bound(5); in bounds()
409 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
415 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
433 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
439 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
456 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
462 CPPUNIT_ASSERT( ckeySet.upper_bound(2) != ckeySet.end() ); in template_methods()
480 CPPUNIT_ASSERT( keySet.upper_bound(2) != keySet.end() ); in template_methods()
[all …]
Dmap_test.cpp138 i = m.upper_bound(3); in mmap2()
248 i = m.upper_bound( 'x' ); in equal_range()
353 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
359 CPPUNIT_ASSERT( ccont.upper_bound(2) != ccont.end() ); in template_methods()
378 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
384 CPPUNIT_ASSERT( ccont.upper_bound(2) != ccont.end() ); in template_methods()
402 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
408 CPPUNIT_ASSERT( ccont.upper_bound(2) != ccont.end() ); in template_methods()
427 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
433 CPPUNIT_ASSERT( ccont.upper_bound(2) != ccont.end() ); in template_methods()
Dmultiset_test.cpp70 i = s.upper_bound(3); in mset3()
80 ci = s.upper_bound(3); in mset3()
93 ci = crs.upper_bound(3); in mset3()
Dbound_test.cpp46 int location = upper_bound((int*)arr, (int*)arr + 20, 3) - arr; in uprbnd1()
56 …int location = (upper_bound((char const**)str, (char const**)str + strCt, (const char *)"d", char… in uprbnd2()
/external/lldb/source/Breakpoint/
DBreakpointSiteList.cpp209 BreakpointSiteList::FindInRange (lldb::addr_t lower_bound, lldb::addr_t upper_bound, BreakpointSite… in FindInRange() argument
211 if (lower_bound > upper_bound) in FindInRange()
218 || (*lower).first >= upper_bound) in FindInRange()
233 upper = m_bp_site_list.upper_bound(upper_bound); in FindInRange()
/external/ceres-solver/internal/ceres/
Dprogram.cc204 const double upper_bound = parameter_block->UpperBoundForParameter(j); in IsBoundsConstrained() local
206 upper_bound < std::numeric_limits<double>::max()) { in IsBoundsConstrained()
226 const double upper_bound = parameter_block->UpperBoundForParameter(j); in IsFeasible() local
227 if (parameters[j] < lower_bound || parameters[j] > upper_bound) { in IsFeasible()
234 parameters, size, j, lower_bound, parameters[j], upper_bound); in IsFeasible()
245 const double upper_bound = parameter_block->UpperBoundForParameter(j); in IsFeasible() local
246 if (lower_bound >= upper_bound) { in IsFeasible()
253 parameters, size, j, lower_bound, upper_bound); in IsFeasible()
/external/chromium_org/media/cast/test/
Dfake_receiver_time_offset_estimator.cc29 base::TimeDelta* upper_bound) { in GetReceiverOffsetBounds() argument
31 *upper_bound = offset_; in GetReceiverOffsetBounds()
/external/chromium_org/sandbox/win/src/
Dpolicy_engine_opcodes.cc162 unsigned long upper_bound, in MakeOpUlongMatchRange() argument
164 if (lower_bound > upper_bound) { in MakeOpUlongMatchRange()
171 opcode->SetArgument(1, upper_bound); in MakeOpUlongMatchRange()
184 unsigned long upper_bound = 0; in OpcodeEval() local
186 opcode->GetArgument(1, &upper_bound); in OpcodeEval()
187 return((lower_bound <= value) && (upper_bound >= value))? in OpcodeEval()
/external/libcxx/test/algorithms/alg.sorting/alg.binary.search/upper.bound/
DAndroid.mk19 test_name := algorithms/alg.sorting/alg.binary.search/upper.bound/upper_bound
20 test_src := upper_bound.pass.cpp
/external/chromium_org/tools/gn/
Dcommand_refs.cc95 DepMap::const_iterator dep_end = dep_map.upper_bound(target); in RecursivePrintTree()
114 if (dep_map.lower_bound(cur_target) != dep_map.upper_bound(cur_target)) in RecursivePrintTree()
145 DepMap::const_iterator dep_end = dep_map.upper_bound(target); in RecursiveCollectChildRefs()
273 DepMap::const_iterator dep_end = dep_map.upper_bound(query[query_i]); in RunRefs()
/external/stlport/stlport/stl/debug/
D_tree.h192 iterator upper_bound(const _KT& __x) in upper_bound() function
193 { return iterator(&_M_iter_list, _M_non_dbg_impl.upper_bound(__x)); } in upper_bound()
195 const_iterator upper_bound(const _KT& __x) const in upper_bound() function
196 { return const_iterator(&_M_iter_list, _M_non_dbg_impl.upper_bound(__x)); } in upper_bound()
201 iterator(&_M_iter_list, _M_non_dbg_impl.upper_bound(__x))); in equal_range()
206 … const_iterator(&_M_iter_list, _M_non_dbg_impl.upper_bound(__x))); in equal_range()

1234567