Searched defs:upper_bound (Results 1 - 25 of 33) sorted by path

12

/external/ceres-solver/internal/ceres/
H A Dparameter_block.h185 void SetUpperBound(int index, double upper_bound) { argument
195 upper_bounds_[index] = upper_bound;
H A Dproblem.cc194 double upper_bound) {
195 problem_impl_->SetParameterUpperBound(values, index, upper_bound);
192 SetParameterUpperBound(double* values, int index, double upper_bound) argument
H A Dproblem_impl.cc594 double upper_bound) {
596 ->SetUpperBound(index, upper_bound);
592 SetParameterUpperBound(double* values, int index, double upper_bound) argument
H A Dprogram.cc204 const double upper_bound = parameter_block->UpperBoundForParameter(j); local
206 upper_bound < std::numeric_limits<double>::max()) {
226 const double upper_bound = parameter_block->UpperBoundForParameter(j); local
227 if (parameters[j] < lower_bound || parameters[j] > upper_bound) {
234 parameters, size, j, lower_bound, parameters[j], upper_bound);
245 const double upper_bound = parameter_block->UpperBoundForParameter(j); local
246 if (lower_bound >= upper_bound) {
253 parameters, size, j, lower_bound, upper_bound);
/external/chromium_org/chromeos/network/onc/
H A Donc_validator.cc360 int upper_bound) {
363 (lower_bound <= actual_value && actual_value <= upper_bound)) {
370 << ", " << upper_bound << "] (boundaries inclusive)"; local
556 // In case of missing type, choose higher upper_bound.
557 int upper_bound = (type == kIPv4) ? 32 : 128; local
559 *result, kRoutingPrefix, lower_bound, upper_bound)) {
357 FieldExistsAndIsNotInRange(const base::DictionaryValue& object, const std::string& field_name, int lower_bound, int upper_bound) argument
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_backing_store.cc3634 bool upper_bound = range.upper().IsValid(); local
3654 if (!upper_bound) {
3713 bool upper_bound = range.upper().IsValid(); local
3733 if (!upper_bound) {
/external/chromium_org/content/child/npapi/
H A Dplugin_url_fetcher.cc268 int64 upper_bound = 0, instance_size = 0; local
272 response, &data_offset_, &upper_bound, &instance_size);
/external/chromium_org/content/renderer/media/android/
H A Dwebmediaplayer_android.cc904 base::TimeDelta upper_bound = lower_bound; local
908 upper_bound += base::TimeDelta::FromMilliseconds(
915 interpolator_.SetBounds(lower_bound, upper_bound);
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_impl.cc985 int64 upper_bound = 0, instance_size = 0; local
990 &upper_bound,
/external/chromium_org/media/base/
H A Dtime_delta_interpolator.cc47 base::TimeDelta upper_bound) {
48 DCHECK(lower_bound <= upper_bound);
52 upper_bound_ = std::max(base::TimeDelta(), upper_bound);
56 void TimeDeltaInterpolator::SetUpperBound(base::TimeDelta upper_bound) { argument
57 DCHECK(upper_bound != kNoTimestamp());
61 upper_bound_ = upper_bound;
46 SetBounds(base::TimeDelta lower_bound, base::TimeDelta upper_bound) argument
/external/chromium_org/media/cast/logging/
H A Dreceiver_time_offset_estimator_impl.cc105 base::TimeDelta* upper_bound) {
110 *upper_bound = upper_bound_.bound();
114 if (upper_bound < lower_bound) {
115 lower_bound += (lower_bound - upper_bound) / 2;
116 upper_bound = lower_bound;
103 GetReceiverOffsetBounds( base::TimeDelta* lower_bound, base::TimeDelta* upper_bound) argument
H A Dreceiver_time_offset_estimator_impl_unittest.cc57 base::TimeDelta upper_bound; local
59 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
82 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
96 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
103 EXPECT_TRUE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
106 int64 upper_bound_ms = upper_bound.InMilliseconds();
120 base::TimeDelta upper_bound; local
122 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
145 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
155 EXPECT_FALSE(estimator_.GetReceiverOffsetBounds(&lower_bound, &upper_bound));
182 base::TimeDelta upper_bound; local
[all...]
/external/chromium_org/media/cast/sender/
H A Daudio_encoder_unittest.cc37 const base::TimeTicks& upper_bound) {
39 upper_bound_ = upper_bound;
36 SetCaptureTimeBounds(const base::TimeTicks& lower_bound, const base::TimeTicks& upper_bound) argument
/external/chromium_org/media/cast/test/
H A Dfake_receiver_time_offset_estimator.cc29 base::TimeDelta* upper_bound) {
31 *upper_bound = offset_;
27 GetReceiverOffsetBounds( base::TimeDelta* lower_bound, base::TimeDelta* upper_bound) argument
/external/chromium_org/media/formats/mp4/
H A Dmp4_stream_parser.cc572 int64 upper_bound = std::min(max_clear_offset, queue_.tail()); local
573 while (mdat_tail_ < upper_bound) {
590 queue_.Trim(std::min(mdat_tail_, upper_bound));
/external/chromium_org/net/quic/crypto/
H A Dstrike_register.cc342 uint32 upper_bound = local
346 return make_pair(lower_bound, upper_bound);
/external/chromium_org/net/url_request/
H A Durl_request_unittest.cc3596 int upper_bound = 1; local
3600 while (DoManyCookiesRequest(upper_bound)) {
3601 lower_bound = upper_bound;
3602 upper_bound *= 2;
3603 ASSERT_LT(upper_bound, 1000000);
3606 int tolerance = upper_bound * 0.005;
3612 while (upper_bound - lower_bound >= tolerance) {
3613 int num_cookies = (lower_bound + upper_bound) / 2;
3618 upper_bound = num_cookies;
/external/chromium_org/sandbox/win/src/
H A Dpolicy_engine_opcodes.cc162 unsigned long upper_bound,
164 if (lower_bound > upper_bound) {
171 opcode->SetArgument(1, upper_bound);
184 unsigned long upper_bound = 0; local
186 opcode->GetArgument(1, &upper_bound);
187 return((lower_bound <= value) && (upper_bound >= value))?
160 MakeOpUlongMatchRange(int16 selected_param, unsigned long lower_bound, unsigned long upper_bound, uint32 options) argument
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
H A Dsubsetter_impl.cc398 int32_t upper_bound = b->last_glyph_index(); local
410 if (gid > upper_bound) {
451 int32_t upper_bound = b->last_glyph_index(); local
464 if (gid > upper_bound) {
/external/chromium_org/ui/gfx/
H A Dcolor_analysis.cc224 const HSL& upper_bound,
344 if (IsWithinHSLRange(hsl, lower_bound, upper_bound)) {
364 const HSL& upper_bound,
382 upper_bound,
396 const HSL& upper_bound,
409 upper_bound,
220 CalculateKMeanColorOfBuffer(uint8_t* decoded_data, int img_width, int img_height, const HSL& lower_bound, const HSL& upper_bound, KMeanImageSampler* sampler) argument
362 CalculateKMeanColorOfPNG(scoped_refptr<base::RefCountedMemory> png, const HSL& lower_bound, const HSL& upper_bound, KMeanImageSampler* sampler) argument
394 CalculateKMeanColorOfBitmap(const SkBitmap& bitmap, const HSL& lower_bound, const HSL& upper_bound, KMeanImageSampler* sampler) argument
H A Dcolor_utils.cc156 const HSL& upper_bound) {
160 DCHECK(lower_bound.h < 0 || upper_bound.h < 0 ||
161 (lower_bound.h <= 1 && upper_bound.h <= lower_bound.h + 1))
163 << ", upper_bound.h: " << upper_bound.h;
164 DCHECK(lower_bound.s < 0 || upper_bound.s < 0 ||
165 (lower_bound.s <= upper_bound.s && upper_bound.s <= 1))
167 << ", upper_bound.s: " << upper_bound
154 IsWithinHSLRange(const HSL& hsl, const HSL& lower_bound, const HSL& upper_bound) argument
[all...]
/external/flac/libFLAC/
H A Dstream_decoder.c2982 FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample, this_frame_sample; local
3027 upper_bound = stream_length;
3040 FLAC__uint64 new_upper_bound = upper_bound;
3076 upper_bound = new_upper_bound;
3098 if (lower_bound_sample >= upper_bound_sample || lower_bound > upper_bound) {
3105 pos = (FLAC__int64)lower_bound + (FLAC__int64)((FLAC__double)(FLAC__int64)(target_sample - lower_bound_sample) / (FLAC__double)(FLAC__int64)(upper_bound_sample - lower_bound_sample) * (FLAC__double)(FLAC__int64)(upper_bound - lower_bound)) - approx_bytes_per_frame;
3107 pos = (FLAC__int64)lower_bound + (FLAC__int64)((FLAC__double)(target_sample - lower_bound_sample) / (FLAC__double)(upper_bound_sample - lower_bound_sample) * (FLAC__double)(upper_bound - lower_bound)) - approx_bytes_per_frame;
3111 if(upper_bound - lower_bound < 0xffffffff)
3112 pos = (FLAC__int64)lower_bound + (FLAC__int64)(((target_sample - lower_bound_sample) * (upper_bound - lower_bound)) / (upper_bound_sample - lower_bound_sample)) - approx_bytes_per_frame;
3114 pos = (FLAC__int64)lower_bound + (FLAC__int64)((((target_sample - lower_bound_sample)>>8) * ((upper_bound
[all...]
/external/jemalloc/src/
H A Dquarantine.c22 static void quarantine_drain(quarantine_t *quarantine, size_t upper_bound);
92 quarantine_drain(quarantine_t *quarantine, size_t upper_bound) argument
95 while (quarantine->curbytes > upper_bound && quarantine->curobjs > 0)
126 size_t upper_bound = (opt_quarantine >= usize) ? opt_quarantine local
128 quarantine_drain(quarantine, upper_bound);
/external/lldb/source/Breakpoint/
H A DBreakpointSiteList.cpp209 BreakpointSiteList::FindInRange (lldb::addr_t lower_bound, lldb::addr_t upper_bound, BreakpointSiteList &bp_site_list) const argument
211 if (lower_bound > upper_bound)
218 || (*lower).first >= upper_bound)
233 upper = m_bp_site_list.upper_bound(upper_bound);
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.cpp4417 uint64_t upper_bound = 0; local
4449 upper_bound = form_value.Unsigned();
4471 if (upper_bound_valid && upper_bound >= lower_bound)
4472 num_elements = upper_bound - lower_bound + 1;

Completed in 3451 milliseconds

12