/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/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:__anon5836::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 | 44 width_, height_, samples_, internal_format_, &size); 53 internal_format_, samples_, width_, height_); 64 samples_(0),
|
framebuffer_manager.cc | 142 samples_(samples) { 178 return samples_; 264 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 | 534 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/components/translate/common/ |
translate_metrics_unittest.cc | 105 ASSERT_TRUE(samples_.get()); 106 for (scoped_ptr<SampleCountIterator> i = samples_->Iterator(); !i->Done(); 128 samples_ = histogram->SnapshotSamples(); 132 if (!samples_.get()) 134 HistogramBase::Count count = samples_->GetCount(value); 141 if (!samples_.get()) 143 HistogramBase::Count count = samples_->TotalCount(); 151 scoped_ptr<HistogramSamples> samples_; member in class:__anon7528::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 | 209 int samples_count() const { return samples_.length(); } 210 ProfileNode* sample(int index) const { return samples_.at(index); } 226 List<ProfileNode*> samples_; member in class:v8::internal::CpuProfile
|
profile-generator.cc | 366 if (record_samples_) samples_.Add(top_frame_node);
|
/external/chromium_org/net/url_request/ |
url_request_throttler_unittest.cc | 182 // After calling this function, histogram snapshots in |samples_| contain 191 std::map<std::string, HistogramSamples*> samples_; member in class:net::URLRequestThrottlerEntryTest 227 STLDeleteValues(&samples_); 242 samples_[name] = samples.release(); 277 ASSERT_EQ(1, samples_["Throttling.RequestThrottled"]->GetCount(0)); 278 ASSERT_EQ(1, samples_["Throttling.RequestThrottled"]->GetCount(1)); 289 ASSERT_EQ(2, samples_["Throttling.RequestThrottled"]->GetCount(0)); 290 ASSERT_EQ(0, samples_["Throttling.RequestThrottled"]->GetCount(1));
|
/external/chromium_org/gpu/command_buffer/common/ |
gles2_cmd_utils.cc | 785 samples_(-1), 818 if (samples_ != -1) { 820 attribs->push_back(samples_); 871 samples_ = value;
|
gles2_cmd_utils.h | 196 int32 samples_; member in class:gpu::gles2::ContextCreationAttribHelper
|
/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...] |