HomeSort by relevance Sort by last modified time
    Searched refs:samples_ (Results 1 - 23 of 23) sorted by null

  /frameworks/ex/variablespeed/jni/
ring_buffer.cc 33 : initialized_(false), samples_(NULL),
38 delete[] samples_;
43 delete[] samples_;
44 samples_ = new float[size_ * num_channels_];
45 memset(samples_, 0,
46 size_ * num_channels_ * sizeof(samples_[0]));
52 temp_read_buffer_size_ * num_channels_ * sizeof(samples_[0]));
87 memcpy(samples_ + head_ * num_channels_, samples,
92 memcpy(samples_ + head_ * num_channels_, samples,
95 memcpy(samples_, samples + overhead * num_channels_
    [all...]
ring_buffer.h 101 float* samples_; member in class:video_editing::RingBuffer
  /external/chromium_org/third_party/libjingle/source/talk/base/
rollingaccumulator.h 49 samples_(max_count) {
55 return samples_.size();
65 T sample_to_remove = samples_[next_index_];
73 samples_[next_index_] = sample;
107 weighted_mean += current_weight * samples_[index];
130 std::vector<T> samples_; member in class:talk_base::RollingAccumulator
  /external/chromium_org/tools/android/device_stats_monitor/
device_stats_monitor.cc 31 samples_.reserve(1024 * 1024);
49 samples_.push_back(out);
60 for (std::vector<std::string>::const_iterator i = samples_.begin();
61 i != samples_.end(); ++i) {
69 std::vector<std::string> samples_; member in class:__anon16452::DeviceStatsMonitor
  /external/chromium_org/chrome/browser/translate/
translate_browser_metrics_unittest.cc 70 if (!samples_.get())
72 HistogramBase::Count count = samples_->TotalCount();
88 samples_ = histogram->SnapshotSamples();
92 if (!samples_.get())
94 HistogramBase::Count count = samples_->GetCount(value);
102 scoped_ptr<HistogramSamples> samples_; member in class:__anon8339::MetricsRecorder
  /external/chromium_org/gpu/command_buffer/service/
renderbuffer_manager.h 47 return samples_;
86 samples_ = samples;
113 GLsizei samples_; member in class:gpu::gles2::Renderbuffer
renderbuffer_manager.cc 42 width_, height_, samples_, internal_format_, &size);
51 internal_format_, samples_, width_, height_);
62 samples_(0),
framebuffer_manager.cc 126 samples_(samples) {
154 return samples_;
225 GLsizei samples_; member in class:gpu::gles2::TextureAttachment
gles2_cmd_decoder.cc     [all...]
  /external/chromium_org/base/metrics/
sparse_histogram.cc 52 samples_.Accumulate(value, 1);
59 snapshot->Add(samples_);
65 samples_.Add(samples);
70 return samples_.AddFromPickle(iter);
sparse_histogram.h 107 // Protects access to |samples_|.
110 SampleMap samples_; member in class:base::SparseHistogram
histogram.cc 265 samples_->Accumulate(value, 1);
273 samples_->Add(samples);
277 return samples_->AddFromPickle(iter);
311 samples_.reset(new SampleVector(ranges));
369 samples->Add(*samples_);
histogram.h 528 scoped_ptr<SampleVector> samples_; member in class:base::Histogram
  /external/chromium_org/gpu/gles2_conform_support/egl/
config.h 73 EGLint samples_; member in class:egl::Config
config.cc 35 samples_(0),
126 *value = samples_;
  /external/chromium_org/chrome/common/translate/
translate_common_metrics_unittest.cc 119 ASSERT_TRUE(samples_.get());
120 for (scoped_ptr<SampleCountIterator> i = samples_->Iterator();
143 samples_ = histogram->SnapshotSamples();
147 if (!samples_.get())
149 HistogramBase::Count count = samples_->GetCount(value);
156 if (!samples_.get())
158 HistogramBase::Count count = samples_->TotalCount();
166 scoped_ptr<HistogramSamples> samples_; member in class:__anon9195::MetricsRecorder
  /external/chromium_org/ppapi/examples/audio_input/
audio_input.cc 48 samples_(NULL),
60 delete[] samples_;
69 samples_ = new int16_t[sample_count_ * channel_count_];
70 memset(samples_, 0, sample_count_ * channel_count_ * sizeof(int16_t));
209 int y = samples_[i] * max_amplitude /
282 memcpy(thiz->samples_, samples, num_bytes);
283 memset(reinterpret_cast<char*>(thiz->samples_) + num_bytes, 0,
311 int16_t* samples_; local
332 // Protects |samples_| and |latency_|.
  /external/chromium_org/v8/src/
profile-generator.h 216 int samples_count() const { return samples_.length(); }
217 ProfileNode* sample(int index) const { return samples_.at(index); }
233 List<ProfileNode*> samples_; member in class:v8::internal::CpuProfile
profile-generator.cc 386 if (record_samples_) samples_.Add(top_frame_node);
  /external/chromium_org/net/url_request/
url_request_throttler_unittest.cc 181 // After calling this function, histogram snapshots in |samples_| contain
190 std::map<std::string, HistogramSamples*> samples_; member in class:net::URLRequestThrottlerEntryTest
226 STLDeleteValues(&samples_);
241 samples_[name] = samples.release();
264 ASSERT_EQ(1, samples_["Throttling.RequestThrottled"]->GetCount(0));
265 ASSERT_EQ(1, samples_["Throttling.RequestThrottled"]->GetCount(1));
276 ASSERT_EQ(2, samples_["Throttling.RequestThrottled"]->GetCount(0));
277 ASSERT_EQ(0, samples_["Throttling.RequestThrottled"]->GetCount(1));
  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_utils.h 189 int32 samples_; member in class:gpu::gles2::ContextCreationAttribParser
gles2_cmd_utils.cc 725 samples_(-1),
783 samples_ = value;
  /external/chromium-trace/
script.js 28 base.exportTo("tracing.trace_model",function(){function d(a,c){this.guid_=base.GUID.allocate();this.timestamp_=a;this.value_=c}function b(a,c){this.guid_=base.GUID.allocate();this.name_=a;this.color_=c;this.timestamps_=[];this.samples_=[]}d.prototype={__proto__:Object.prototype,get value(){return this.value_},set timestamp(a){this.timestamp_=a},toJSON:function(){for(var a={},c=Object.keys(this),e=0;e<c.length;e++){var b=c[e];"function"!=typeof this[b]&&(a[b]="parent"==b?this[b].guid:this[b])}return a}};
29 b.prototype={__proto__:Object.prototype,toJSON:function(){for(var a={},c=Object.keys(this),e=0;e<c.length;e++){var b=c[e];"function"!=typeof this[b]&&(a[b]="parent"==b?this[b].guid:this[b])}return a},get length(){return this.timestamps_.length},get name(){return this.name_},get color(){return this.color_},get samples(){return this.samples_},get timestamps(){return this.timestamps_},getSample:function(a){return this.samples_[a]},getTimestamp:function(a){return this.timestamps_[a]},addSample:function(a,
30 c){this.timestamps_.push(a);this.samples_.push(new d(a,c))},getStatistics:function(a){for(var c=0,e=Number.MAX_VALUE,b=-Number.MAX_VALUE,g=0;g<a.length;++g)var h=this.getSample(a[g]).value,c=c+h,e=Math.min(h,e),b=Math.max(h,b);return{min:e,max:b,avg:c/a.length,start:this.getSample(a[0]).value,end:this.getSample(a.length-1).value}},shiftTimestampsForward:function(a){for(var c=0;c<this.timestamps_.length;++c)this.timestamps_[c]+=a,this.samples_[c].timestamp=this.timestamps_[c]}};return{CounterSeries:b}});
    [all...]

Completed in 1628 milliseconds