Home
last modified time | relevance | path

Searched refs:level_ (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium_org/remoting/test/
Dleaky_bucket.cc14 level_(0.0), in LeakyBucket()
24 double new_level = level_ + size; in AddPacket()
28 base::TimeDelta result = base::TimeDelta::FromSecondsD(level_ / rate_); in AddPacket()
29 level_ = new_level; in AddPacket()
35 level_ -= rate_ * (now - last_update_).InSecondsF(); in UpdateLevel()
36 if (level_ < 0.0) in UpdateLevel()
37 level_ = 0.0; in UpdateLevel()
/external/chromium_org/v8/src/base/platform/
Dmutex.cc116 level_ = 0; in Mutex()
123 DCHECK_EQ(0, level_); in ~Mutex()
151 level_ = 0; in RecursiveMutex()
158 DCHECK_EQ(0, level_); in ~RecursiveMutex()
165 DCHECK_LE(0, level_); in Lock()
166 level_++; in Lock()
173 DCHECK_LT(0, level_); in Unlock()
174 level_--; in Unlock()
185 DCHECK_LE(0, level_); in TryLock()
186 level_++; in TryLock()
Dmutex.h72 int level_; variable
77 DCHECK_EQ(1, level_); in AssertHeldAndUnmark()
78 level_--; in AssertHeldAndUnmark()
84 DCHECK_EQ(0, level_); in AssertUnheldAndMark()
85 level_++; in AssertUnheldAndMark()
167 int level_; variable
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Dlogging_unittest.cc29 if (level_ != kTraceNone && static_cast<int>(expected_log_.str().size()) == in Print()
31 EXPECT_EQ(level_, level); in Print()
33 level_ = kTraceNone; in Print()
42 level_(kTraceNone), in LoggingTest()
55 ASSERT_EQ(kTraceNone, level_) << "Print() was not called"; in TearDown()
60 TraceLevel level_ GUARDED_BY(crit_);
67 level_ = kTraceWarning; in TEST_F()
80 level_ = kTraceError; in TEST_F()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/walkers/
Dmath_shifter.js35 this.level_ = 0;
112 return this.direction_ ? 'up to level ' + this.level_ :
113 'down to level ' + this.level_;
121 this.level_ = this.level_ > 0 ? this.level_ - 1 : 0;
134 this.level_++;
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dlogger.h49 Logger() : level_(LOG_ERROR) {} in Logger()
61 return level_; in level()
65 level_ = level; in set_level()
88 int level_; variable
/external/chromium_org/ui/views/color_chooser/
Dcolor_chooser_view.cc133 int level_; member in views::ColorChooserView::HueView
140 level_(0) { in HueView()
149 if (level_ != level) { in OnHueChanged()
150 level_ = level; in OnHueChanged()
157 level_ = std::max(kBorderWidth, in ProcessEventAtLocation()
162 SkIntToScalar(base_height - (level_ - kBorderWidth))), in ProcessEventAtLocation()
196 SK_ScalarHalf, SkIntToScalar(level_ - kHueIndicatorSize)); in OnPaint()
198 kHueIndicatorSize, SkIntToScalar(level_)); in OnPaint()
200 SK_ScalarHalf, SkIntToScalar(level_ + kHueIndicatorSize)); in OnPaint()
202 SK_ScalarHalf, SkIntToScalar(level_ - kHueIndicatorSize)); in OnPaint()
[all …]
/external/webrtc/src/modules/audio_processing/
Dnoise_suppression_impl.cc53 level_(kModerate) {} in NoiseSuppressionImpl()
105 level_ = level; in set_level()
110 return level_; in level()
162 MapSetting(level_)); in ConfigureHandle()
165 MapSetting(level_)); in ConfigureHandle()
/external/chromium_org/content/renderer/media/
Dmedia_stream_audio_level_calculator.cc35 level_(0) { in MediaStreamAudioLevelCalculator()
55 level_ = (max_amplitude_ == 0 ? in Calculate()
65 return level_; in Calculate()
Dmedia_stream_audio_level_calculator.h42 int level_; variable
/external/chromium_org/third_party/webrtc/modules/audio_processing/
Dnoise_suppression_impl.cc54 level_(kModerate) {} in NoiseSuppressionImpl()
127 level_ = level; in set_level()
132 return level_; in level()
186 MapSetting(level_)); in ConfigureHandle()
189 MapSetting(level_)); in ConfigureHandle()
/external/chromium_org/chrome/installer/util/
Dinstaller_state.cc38 machine_state.GetProductState(level_ == SYSTEM_LEVEL, in IsMultiInstallUpdate()
48 machine_state.GetProductState(level_ == SYSTEM_LEVEL, in IsMultiInstallUpdate()
69 level_(UNKNOWN_LEVEL), in InstallerState()
81 level_(UNKNOWN_LEVEL), in InstallerState()
300 level_ = level; in set_level()
310 level_ = UNKNOWN_LEVEL; in set_level()
475 DCHECK(level_ == USER_LEVEL || level_ == SYSTEM_LEVEL); in system_install()
476 return level_ == SYSTEM_LEVEL; in system_install()
515 if (machine_state.GetProductState(level_ == SYSTEM_LEVEL, in GetCurrentVersion()
525 machine_state.GetProductState(level_ == SYSTEM_LEVEL, product_type); in GetCurrentVersion()
[all …]
/external/chromium_org/jingle/glue/
Dpseudotcp_adapter_unittest.cc48 level_(0.0), in LeakyBucket()
58 level_ = level_ + 1.0 - interval * rate_; in DropNextPacket()
59 if (level_ > volume_) { in DropNextPacket()
60 level_ = volume_; in DropNextPacket()
62 } else if (level_ < 0.0) { in DropNextPacket()
63 level_ = 0.0; in DropNextPacket()
71 double level_; member in jingle_glue::__anon42e171f00211::LeakyBucket
/external/chromium_org/third_party/webrtc/base/
Dsocketadapters.cc837 : AsyncSocketAdapter(socket), level_(level), hex_mode_(hex_mode) { in LoggingSocketAdapter()
846 LogMultiline(level_, label_.c_str(), false, pv, res, hex_mode_, &lms_); in Send()
854 LogMultiline(level_, label_.c_str(), false, pv, res, hex_mode_, &lms_); in SendTo()
861 LogMultiline(level_, label_.c_str(), true, pv, res, hex_mode_, &lms_); in Recv()
868 LogMultiline(level_, label_.c_str(), true, pv, res, hex_mode_, &lms_); in RecvFrom()
873 LogMultiline(level_, label_.c_str(), false, NULL, 0, hex_mode_, &lms_); in Close()
874 LogMultiline(level_, label_.c_str(), true, NULL, 0, hex_mode_, &lms_); in Close()
875 LOG_V(level_) << label_ << " Closed locally"; in Close()
880 LOG_V(level_) << label_ << " Connected"; in OnConnectEvent()
885 LogMultiline(level_, label_.c_str(), false, NULL, 0, hex_mode_, &lms_); in OnCloseEvent()
[all …]
Dsocketpool.cc239 : pool_(pool), level_(level), label_(label), binary_mode_(binary_mode) { in LoggingPoolAdapter()
256 LOG_V(level_) << ss.str() in RequestConnectedStream()
261 return new LoggingAdapter(stream, level_, ss.str(), binary_mode_); in RequestConnectedStream()
Dstream.cc1118 : StreamAdapterInterface(stream), level_(level), hex_mode_(hex_mode) { in LoggingAdapter()
1134 LogMultiline(level_, label_.c_str(), true, buffer, *read, hex_mode_, &lms_); in Read()
1146 LogMultiline(level_, label_.c_str(), false, data, *written, hex_mode_, in Write()
1153 LogMultiline(level_, label_.c_str(), false, NULL, 0, hex_mode_, &lms_); in Close()
1154 LogMultiline(level_, label_.c_str(), true, NULL, 0, hex_mode_, &lms_); in Close()
1155 LOG_V(level_) << label_ << " Closed locally"; in Close()
1161 LOG_V(level_) << label_ << " Open"; in OnEvent()
1163 LogMultiline(level_, label_.c_str(), false, NULL, 0, hex_mode_, &lms_); in OnEvent()
1164 LogMultiline(level_, label_.c_str(), true, NULL, 0, hex_mode_, &lms_); in OnEvent()
1165 LOG_V(level_) << label_ << " Closed with error: " << err; in OnEvent()
/external/chromium_org/extensions/browser/
Dextension_error.cc37 level_(level), in ExtensionError()
53 value->SetInteger(kLevelKey, static_cast<int>(level_)); in ToValue()
63 "\n Level: " + base::IntToString(static_cast<int>(level_)) + in PrintForTest()
209 return level_ == error->level_ && in IsEqualImpl()
Dextension_error.h46 logging::LogSeverity level() const { return level_; } in level()
77 logging::LogSeverity level_; variable
/external/chromium_org/ui/gfx/geometry/
Dr_tree_base.cc77 RTreeBase::Node::Node() : NodeBase(Rect(), NULL), level_(0) { in Node()
85 scoped_ptr<Node> new_parent(new Node(level_ + 1)); in ConstructParent()
161 DCHECK_GT(level_, node->Level()); in ChooseSubtree()
164 if (level_ == node->Level() + 1) in ChooseSubtree()
178 if (level_ == 1) in ChooseSubtree()
194 DCHECK_EQ(level_ - 1, node->Level()); in AddChild()
257 return level_; in Level()
260 RTreeBase::Node::Node(int level) : NodeBase(Rect(), NULL), level_(level) { in Node()
448 scoped_ptr<Node> sibling(new Node(level_)); in DivideChildren()
492 DCHECK_GE(level_, 1); in LeastOverlapIncrease()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcommon.cc177 : level_(level), filename_(filename), line_(line) {} in LogMessage()
183 if (level_ != LOGLEVEL_FATAL) { in Finish()
190 internal::log_handler_(level_, filename_, line_, message_); in Finish()
193 if (level_ == LOGLEVEL_FATAL) { in Finish()
/external/chromium_org/gpu/command_buffer/service/
Dframebuffer_manager.cc141 level_(level), in TextureAttachment()
149 target_, level_, &temp_width, &temp_height); in width()
157 target_, level_, &temp_width, &temp_height); in height()
165 target_, level_, &temp_type, &temp_internal_format); in internal_format()
173 target_, level_, &temp_type, &temp_internal_format); in texture_type()
186 return texture_ref_->texture()->IsLevelCleared(target_, level_); in cleared()
194 texture_ref_.get(), target_, level_, cleared); in SetCleared()
226 target_, level_, &type, &internal_format)) { in ValidForAttachmentType()
246 texture_ref_.get(), target_, level_, signature); in AddToSignature()
263 GLint level_; member in gpu::gles2::TextureAttachment
/external/chromium_org/tools/relocation_packer/src/
Ddebug.cc17 level_ = level; in Logger()
24 if (level_ <= max_level_) { in ~Logger()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dcommon.cc177 : level_(level), filename_(filename), line_(line) {} in LogMessage()
183 if (level_ != LOGLEVEL_FATAL) { in Finish()
190 log_handler_(level_, filename_, line_, message_); in Finish()
193 if (level_ == LOGLEVEL_FATAL) { in Finish()
/external/chromium_org/gpu/gles2_conform_support/egl/
Dconfig.cc24 level_(0), in Config()
93 *value = level_; in GetAttrib()
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_pref_store.cc42 level_(level) { in ConfigurationPolicyPrefStore()
117 filtered_policies.FilterLevel(level_); in CreatePreferencesFromPolicies()

123