samples 185 base/metrics/histogram.cc int Histogram::FindCorruption(const HistogramSamples& samples) const { samples 198 base/metrics/histogram.cc int64 delta64 = samples.redundant_count() - samples.TotalCount(); samples 281 base/metrics/histogram.cc void Histogram::AddSamples(const HistogramSamples& samples) { samples 282 base/metrics/histogram.cc samples_->Add(samples); samples 377 base/metrics/histogram.cc scoped_ptr<SampleVector> samples(new SampleVector(bucket_ranges())); samples 378 base/metrics/histogram.cc samples->Add(*samples_); samples 379 base/metrics/histogram.cc return samples.Pass(); samples 449 base/metrics/histogram.cc double Histogram::GetPeakBucketSize(const SampleVector& samples) const { samples 452 base/metrics/histogram.cc double current_size = GetBucketSize(samples.GetCountAtIndex(i), i); samples 459 base/metrics/histogram.cc void Histogram::WriteAsciiHeader(const SampleVector& samples, samples 467 base/metrics/histogram.cc DCHECK_EQ(samples.sum(), 0); samples 469 base/metrics/histogram.cc double average = static_cast<float>(samples.sum()) / sample_count; samples 433 base/metrics/histogram.h virtual int FindCorruption(const HistogramSamples& samples) const OVERRIDE; samples 463 base/metrics/histogram.h virtual void AddSamples(const HistogramSamples& samples) OVERRIDE; samples 518 base/metrics/histogram.h double GetPeakBucketSize(const SampleVector& samples) const; samples 521 base/metrics/histogram.h void WriteAsciiHeader(const SampleVector& samples, samples 95 base/metrics/histogram_base.cc int HistogramBase::FindCorruption(const HistogramSamples& samples) const { samples 121 base/metrics/histogram_base.h virtual void AddSamples(const HistogramSamples& samples) = 0; samples 131 base/metrics/histogram_base.h virtual int FindCorruption(const HistogramSamples& samples) const; samples 85 base/metrics/histogram_unittest.cc scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); samples 86 base/metrics/histogram_unittest.cc EXPECT_EQ(2, samples->TotalCount()); samples 87 base/metrics/histogram_unittest.cc EXPECT_EQ(2, samples->GetCount(10)); samples 256 base/metrics/histogram_unittest.cc scoped_ptr<SampleVector> samples = histogram->SnapshotSampleVector(); samples 257 base/metrics/histogram_unittest.cc EXPECT_EQ(2, samples->GetCountAtIndex(0)); samples 258 base/metrics/histogram_unittest.cc EXPECT_EQ(0, samples->GetCountAtIndex(1)); samples 261 base/metrics/histogram_unittest.cc EXPECT_EQ(0, samples->GetCountAtIndex(array_size - 2)); samples 262 base/metrics/histogram_unittest.cc EXPECT_EQ(2, samples->GetCountAtIndex(array_size - 1)); samples 304 base/metrics/histogram_unittest.cc scoped_ptr<SampleVector> samples = histogram->SnapshotSampleVector(); samples 306 base/metrics/histogram_unittest.cc EXPECT_EQ(i + 1, samples->GetCountAtIndex(i)); samples 13 base/metrics/sample_map_unittest.cc SampleMap samples; samples 15 base/metrics/sample_map_unittest.cc samples.Accumulate(1, 100); samples 16 base/metrics/sample_map_unittest.cc samples.Accumulate(2, 200); samples 17 base/metrics/sample_map_unittest.cc samples.Accumulate(1, -200); samples 18 base/metrics/sample_map_unittest.cc EXPECT_EQ(-100, samples.GetCount(1)); samples 19 base/metrics/sample_map_unittest.cc EXPECT_EQ(200, samples.GetCount(2)); samples 21 base/metrics/sample_map_unittest.cc EXPECT_EQ(300, samples.sum()); samples 22 base/metrics/sample_map_unittest.cc EXPECT_EQ(100, samples.TotalCount()); samples 23 base/metrics/sample_map_unittest.cc EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); samples 58 base/metrics/sample_map_unittest.cc SampleMap samples; samples 59 base/metrics/sample_map_unittest.cc samples.Accumulate(1, 100); samples 60 base/metrics/sample_map_unittest.cc samples.Accumulate(2, 200); samples 61 base/metrics/sample_map_unittest.cc samples.Accumulate(4, -300); samples 62 base/metrics/sample_map_unittest.cc samples.Accumulate(5, 0); samples 64 base/metrics/sample_map_unittest.cc scoped_ptr<SampleCountIterator> it = samples.Iterator(); samples 101 base/metrics/sample_map_unittest.cc SampleMap samples; samples 103 base/metrics/sample_map_unittest.cc scoped_ptr<SampleCountIterator> it = samples.Iterator(); samples 114 base/metrics/sample_map_unittest.cc samples.Accumulate(1, 100); samples 115 base/metrics/sample_map_unittest.cc it = samples.Iterator(); samples 24 base/metrics/sample_vector_unittest.cc SampleVector samples(&ranges); samples 26 base/metrics/sample_vector_unittest.cc samples.Accumulate(1, 200); samples 27 base/metrics/sample_vector_unittest.cc samples.Accumulate(2, -300); samples 28 base/metrics/sample_vector_unittest.cc EXPECT_EQ(-100, samples.GetCountAtIndex(0)); samples 30 base/metrics/sample_vector_unittest.cc samples.Accumulate(5, 200); samples 31 base/metrics/sample_vector_unittest.cc EXPECT_EQ(200, samples.GetCountAtIndex(1)); samples 33 base/metrics/sample_vector_unittest.cc EXPECT_EQ(600, samples.sum()); samples 34 base/metrics/sample_vector_unittest.cc EXPECT_EQ(100, samples.redundant_count()); samples 35 base/metrics/sample_vector_unittest.cc EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); samples 37 base/metrics/sample_vector_unittest.cc samples.Accumulate(5, -100); samples 38 base/metrics/sample_vector_unittest.cc EXPECT_EQ(100, samples.GetCountAtIndex(1)); samples 40 base/metrics/sample_vector_unittest.cc EXPECT_EQ(100, samples.sum()); samples 41 base/metrics/sample_vector_unittest.cc EXPECT_EQ(0, samples.redundant_count()); samples 42 base/metrics/sample_vector_unittest.cc EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); samples 95 base/metrics/sample_vector_unittest.cc SampleVector samples(&ranges); samples 98 base/metrics/sample_vector_unittest.cc samples.Accumulate(0, 1); samples 99 base/metrics/sample_vector_unittest.cc samples.Accumulate(3, 2); samples 100 base/metrics/sample_vector_unittest.cc samples.Accumulate(64, 3); samples 101 base/metrics/sample_vector_unittest.cc EXPECT_EQ(1, samples.GetCount(0)); samples 102 base/metrics/sample_vector_unittest.cc EXPECT_EQ(2, samples.GetCount(2)); samples 103 base/metrics/sample_vector_unittest.cc EXPECT_EQ(3, samples.GetCount(65)); samples 106 base/metrics/sample_vector_unittest.cc EXPECT_DEATH(samples.Accumulate(INT_MIN, 100), ""); samples 107 base/metrics/sample_vector_unittest.cc EXPECT_DEATH(samples.Accumulate(-1, 100), ""); samples 108 base/metrics/sample_vector_unittest.cc EXPECT_DEATH(samples.Accumulate(INT_MAX, 100), ""); samples 213 base/metrics/sample_vector_unittest.cc SampleVector samples(&ranges); samples 214 base/metrics/sample_vector_unittest.cc samples.Accumulate(0, 0); samples 215 base/metrics/sample_vector_unittest.cc samples.Accumulate(1, 1); samples 216 base/metrics/sample_vector_unittest.cc samples.Accumulate(2, 2); samples 217 base/metrics/sample_vector_unittest.cc samples.Accumulate(3, 3); samples 218 base/metrics/sample_vector_unittest.cc scoped_ptr<SampleCountIterator> it2 = samples.Iterator(); samples 243 base/metrics/sample_vector_unittest.cc SampleVector samples(&ranges); samples 245 base/metrics/sample_vector_unittest.cc scoped_ptr<SampleCountIterator> it = samples.Iterator(); samples 256 base/metrics/sample_vector_unittest.cc samples.Accumulate(2, 100); samples 257 base/metrics/sample_vector_unittest.cc it = samples.Iterator(); samples 63 base/metrics/sparse_histogram.cc void SparseHistogram::AddSamples(const HistogramSamples& samples) { samples 65 base/metrics/sparse_histogram.cc samples_.Add(samples); samples 72 base/metrics/sparse_histogram.h virtual void AddSamples(const HistogramSamples& samples) OVERRIDE; samples 81 base/metrics/sparse_histogram_unittest.cc scoped_ptr<HistogramSamples> samples = sparse_histogram->SnapshotSamples(); samples 82 base/metrics/sparse_histogram_unittest.cc EXPECT_EQ(3, samples->TotalCount()); samples 83 base/metrics/sparse_histogram_unittest.cc EXPECT_EQ(2, samples->GetCount(100)); samples 84 base/metrics/sparse_histogram_unittest.cc EXPECT_EQ(1, samples->GetCount(200)); samples 21 base/test/statistics_delta_reader_unittest.cc scoped_ptr<HistogramSamples> samples( samples 23 base/test/statistics_delta_reader_unittest.cc EXPECT_FALSE(samples); samples 29 base/test/statistics_delta_reader_unittest.cc samples = reader.GetHistogramSamplesSinceCreation("Test"); samples 30 base/test/statistics_delta_reader_unittest.cc EXPECT_TRUE(samples); samples 31 base/test/statistics_delta_reader_unittest.cc EXPECT_EQ(1, samples->TotalCount()); samples 32 cc/test/test_in_process_context_provider.cc attribs.samples = 0; samples 45 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); samples 46 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc if (!samples.get()) { samples 58 chrome/browser/chromeos/net/network_portal_detector_test_utils.cc const int actual = samples->GetCount(i) - base; samples 150 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc if (audio_frame->samples.empty()) { samples 158 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const int crossings = media::cast::CountZeroCrossings(audio_frame->samples); samples 159 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc const float seconds_per_frame = audio_frame->samples.size() / samples 220 chrome/browser/extensions/api/cast_streaming/performance_test.cc if (audio_frame->samples.empty()) { samples 225 chrome/browser/extensions/api/cast_streaming/performance_test.cc std::vector<int16> samples; samples 227 chrome/browser/extensions/api/cast_streaming/performance_test.cc i < audio_frame->samples.size(); samples 229 chrome/browser/extensions/api/cast_streaming/performance_test.cc samples.push_back(audio_frame->samples[i]); samples 233 chrome/browser/extensions/api/cast_streaming/performance_test.cc if (media::cast::DecodeTimestamp(samples, &frame_no)) { samples 123 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc const base::HistogramSamples& samples) { samples 129 chrome/browser/extensions/api/metrics_private/metrics_apitest.cc EXPECT_EQ(bucket.count, samples.GetCount(bucket.histogram_value)); samples 99 chrome/browser/history/most_visited_tiles_experiment_unittest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); samples 100 chrome/browser/history/most_visited_tiles_experiment_unittest.cc if (samples.get()) { samples 104 chrome/browser/history/most_visited_tiles_experiment_unittest.cc previous_metrics_count_[state] = samples->GetCount(state); samples 113 chrome/browser/history/most_visited_tiles_experiment_unittest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); samples 114 chrome/browser/history/most_visited_tiles_experiment_unittest.cc if (samples.get()) { samples 120 chrome/browser/history/most_visited_tiles_experiment_unittest.cc samples->GetCount(state)); samples 122 chrome/browser/history/most_visited_tiles_experiment_unittest.cc EXPECT_EQ(previous_metrics_count_[state], samples->GetCount(state)); samples 104 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples = GetHistogram(name); samples 105 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc if (samples.get() && samples->TotalCount() > 0) { samples 106 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc original_samples_[name] = samples.release(); samples 156 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples = GetHistogram(name); samples 157 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc if (!samples.get()) samples 161 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc samples->Subtract((*original_samples_[name])); samples 164 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc EXPECT_EQ(expected_count, samples->TotalCount()) << name; samples 166 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc EXPECT_EQ(expected_count, samples->GetCount(expected_value)) << name; samples 194 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples = GetHistogram(name.c_str()); samples 195 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc if (!samples.get()) samples 199 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc samples->Subtract(*(original_samples_[name])); samples 202 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc EXPECT_EQ(expected_count, samples->TotalCount()) << name; samples 204 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc EXPECT_EQ(expected_count, samples->GetCount(expected_value)) << name; samples 214 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc scoped_ptr<HistogramSamples> samples; samples 229 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc samples = cached_histogram->SnapshotSamples(); samples 231 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc samples->Add(*(current_histogram->SnapshotSamples())); samples 235 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc samples = current_histogram->SnapshotSamples(); samples 238 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc samples = cached_histogram->SnapshotSamples(); samples 240 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc return samples.Pass(); samples 82 chrome/browser/prefs/pref_hash_browsertest.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); samples 85 chrome/browser/prefs/pref_hash_browsertest.cc int count_for_id = samples->GetCount(i); samples 1142 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc scoped_ptr<HistogramSamples> samples = histogram->SnapshotSamples(); samples 1144 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc samples->Subtract(*baseline); samples 1145 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc EXPECT_EQ(0,samples->sum()); samples 48 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( samples 50 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(1, samples->GetCount(0)); samples 51 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(0, samples->GetCount(1)); samples 57 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc samples = samples 59 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(0, samples->GetCount(0)); samples 60 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(1, samples->GetCount(1)); samples 79 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( samples 82 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(23, samples->sum()); samples 107 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples; samples 109 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc samples = statistics_delta_reader.GetHistogramSamplesSinceCreation( samples 111 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(0, samples->TotalCount()); samples 121 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc scoped_ptr<base::HistogramSamples> samples( samples 123 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(1, samples->GetCount(0)); samples 124 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(0, samples->GetCount(1)); samples 130 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc samples = samples 132 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(0, samples->GetCount(0)); samples 133 chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc EXPECT_EQ(1, samples->GetCount(1)); samples 69 chrome/common/metrics/metrics_log_base_unittest.cc base::SampleVector samples(&ranges); samples 70 chrome/common/metrics/metrics_log_base_unittest.cc samples.Accumulate(3, 1); // Bucket 1-5. samples 71 chrome/common/metrics/metrics_log_base_unittest.cc samples.Accumulate(6, 1); // Bucket 5-7. samples 72 chrome/common/metrics/metrics_log_base_unittest.cc samples.Accumulate(8, 1); // Bucket 8-9. (7-8 skipped) samples 73 chrome/common/metrics/metrics_log_base_unittest.cc samples.Accumulate(10, 1); // Bucket 10-11. (9-10 skipped) samples 74 chrome/common/metrics/metrics_log_base_unittest.cc samples.Accumulate(11, 1); // Bucket 11-12. samples 77 chrome/common/metrics/metrics_log_base_unittest.cc log.RecordHistogramDelta("Test", samples); samples 41 chrome/test/base/uma_histogram_helper.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); samples 42 chrome/test/base/uma_histogram_helper.cc CheckBucketCount(name, sample, expected_count, *samples); samples 43 chrome/test/base/uma_histogram_helper.cc CheckTotalCount(name, expected_count, *samples); samples 53 chrome/test/base/uma_histogram_helper.cc scoped_ptr<base::HistogramSamples> samples(histogram->SnapshotSamples()); samples 54 chrome/test/base/uma_histogram_helper.cc CheckTotalCount(name, count, *samples); samples 69 chrome/test/base/uma_histogram_helper.cc base::HistogramSamples& samples) { samples 70 chrome/test/base/uma_histogram_helper.cc EXPECT_EQ(expected_count, samples.GetCount(sample)) samples 79 chrome/test/base/uma_histogram_helper.cc base::HistogramSamples& samples) { samples 80 chrome/test/base/uma_histogram_helper.cc EXPECT_EQ(expected_count, samples.TotalCount()) samples 39 chrome/test/base/uma_histogram_helper.h base::HistogramSamples& samples); samples 43 chrome/test/base/uma_histogram_helper.h base::HistogramSamples& samples); samples 36 content/browser/speech/audio_encoder.cc unsigned samples, samples 50 content/browser/speech/audio_encoder.cc unsigned samples, samples 24 content/browser/speech/endpointer/endpointer_unittest.cc virtual EpStatus ProcessFrame(int64 time, int16* samples, int frame_size) = 0; samples 28 content/browser/speech/endpointer/endpointer_unittest.cc int16 samples[kFrameSize]; samples 50 content/browser/speech/endpointer/endpointer_unittest.cc samples[i] = static_cast<int16>(gain * randNum); samples 53 content/browser/speech/endpointer/endpointer_unittest.cc EpStatus ep_status = processor->ProcessFrame(time, samples, kFrameSize); samples 77 content/browser/speech/endpointer/endpointer_unittest.cc int16* samples, samples 79 content/browser/speech/endpointer/endpointer_unittest.cc endpointer_->ProcessAudioFrame(time, samples, kFrameSize, NULL); samples 122 content/browser/speech/endpointer/endpointer_unittest.cc int16* samples, samples 125 content/browser/speech/endpointer/endpointer_unittest.cc new AudioChunk(reinterpret_cast<uint8*>(samples), kFrameSize * 2, 2)); samples 18 content/browser/speech/endpointer/energy_endpointer.cc float RMS(const int16* samples, int num_samples) { samples 22 content/browser/speech/endpointer/energy_endpointer.cc sum_int64 += samples[i]; samples 23 content/browser/speech/endpointer/energy_endpointer.cc ssq_int64 += samples[i] * samples[i]; samples 233 content/browser/speech/endpointer/energy_endpointer.cc const int16* samples, samples 237 content/browser/speech/endpointer/energy_endpointer.cc float rms = RMS(samples, num_samples); samples 84 content/browser/speech/endpointer/energy_endpointer.h const int16* samples, int num_samples, samples 250 content/browser/speech/google_one_shot_remote_engine.cc std::vector<int16> samples( samples 253 content/browser/speech/google_one_shot_remote_engine.cc new AudioChunk(reinterpret_cast<uint8*>(&samples[0]), samples 254 content/browser/speech/google_one_shot_remote_engine.cc samples.size() * sizeof(int16), samples 475 content/browser/speech/google_streaming_remote_engine.cc std::vector<short> samples( samples 478 content/browser/speech/google_streaming_remote_engine.cc new AudioChunk(reinterpret_cast<uint8*>(&samples[0]), samples 479 content/browser/speech/google_streaming_remote_engine.cc samples.size() * sizeof(short), samples 85 content/browser/speech/speech_recognizer_impl.cc const int16* samples = chunk.SamplesData16(); samples 90 content/browser/speech/speech_recognizer_impl.cc if (samples[i] <= -32767 || samples[i] >= 32767) { samples 239 content/common/gpu/client/gl_helper_unittest.cc bool CheckScale(double scale, int samples, bool already_scaled) { samples 241 content/common/gpu/client/gl_helper_unittest.cc if (samples == 1 && scale == 1.0) { samples 245 content/common/gpu/client/gl_helper_unittest.cc if (scale == 2.0 * samples) { samples 251 content/common/gpu/client/gl_helper_unittest.cc if (samples == 1 && scale <= 1.0) { samples 255 content/common/gpu/client/gl_helper_unittest.cc if (scale > samples / 2.0 && scale < samples) { samples 555 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, samples 669 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei samples); samples 671 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, samples 248 gpu/GLES2/gl2extchromium.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECHROMIUMPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 177 gpu/command_buffer/client/gl_in_process_context.cc if (attribs.samples >= 0) { samples 179 gpu/command_buffer/client/gl_in_process_context.cc attrib_vector.push_back(attribs.samples); samples 310 gpu/command_buffer/client/gl_in_process_context.cc samples(-1), samples 42 gpu/command_buffer/client/gl_in_process_context.h int32 samples; samples 603 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei samples, samples 608 gpu/command_buffer/client/gles2_c_lib_autogen.h target, samples, internalformat, width, height); samples 611 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei samples, samples 616 gpu/command_buffer/client/gles2_c_lib_autogen.h target, samples, internalformat, width, height); samples 623 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei samples) { samples 625 gpu/command_buffer/client/gles2_c_lib_autogen.h target, attachment, textarget, texture, level, samples); samples 1625 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei samples, samples 1632 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, samples, internalformat, width, height); samples 1637 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei samples, samples 1644 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, samples, internalformat, width, height); samples 1653 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei samples) { samples 1657 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(target, attachment, textarget, texture, level, samples); samples 487 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei samples, samples 493 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei samples, samples 503 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei samples) OVERRIDE; samples 1692 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei samples, samples 1699 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << GLES2Util::GetStringRenderBufferTarget(target) << ", " << samples samples 1702 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (samples < 0) { samples 1721 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, samples, internalformat, width, height); samples 1727 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei samples, samples 1734 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << GLES2Util::GetStringRenderBufferTarget(target) << ", " << samples samples 1737 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (samples < 0) { samples 1753 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, samples, internalformat, width, height); samples 1762 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GLsizei samples) { samples 1769 gpu/command_buffer/client/gles2_implementation_impl_autogen.h << texture << ", " << level << ", " << samples << ")"); samples 1770 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (samples < 0) { samples 1777 gpu/command_buffer/client/gles2_implementation_impl_autogen.h target, attachment, textarget, texture, level, samples); samples 332 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei samples, samples 337 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei samples, samples 346 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei samples) = 0; samples 353 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei samples, samples 358 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei samples, samples 367 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei samples) OVERRIDE; samples 353 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei samples, samples 358 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei samples, samples 367 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei samples) OVERRIDE; samples 1007 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei samples, samples 1014 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, samples, internalformat, width, height); samples 1019 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei samples, samples 1026 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, samples, internalformat, width, height); samples 1035 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei samples) { samples 1039 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h target, attachment, textarget, texture, level, samples); samples 7961 gpu/command_buffer/common/gles2_cmd_format_autogen.h samples = _samples; samples 7980 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 samples; samples 7992 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(RenderbufferStorageMultisampleCHROMIUM, samples) == 8, samples 8022 gpu/command_buffer/common/gles2_cmd_format_autogen.h samples = _samples; samples 8041 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 samples; samples 8053 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(RenderbufferStorageMultisampleEXT, samples) == 8, samples 8087 gpu/command_buffer/common/gles2_cmd_format_autogen.h samples = _samples; samples 8108 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 samples; samples 8125 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(FramebufferTexture2DMultisampleEXT, samples) == 24, samples 2782 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(12), cmd.samples); samples 2803 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(12), cmd.samples); samples 2829 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(16), cmd.samples); samples 68 gpu/command_buffer/service/framebuffer_manager.cc return renderbuffer_->samples(); samples 138 gpu/command_buffer/service/framebuffer_manager.cc TextureRef* texture_ref, GLenum target, GLint level, GLsizei samples) samples 142 gpu/command_buffer/service/framebuffer_manager.cc samples_(samples) { samples 601 gpu/command_buffer/service/framebuffer_manager.cc GLint level, GLsizei samples) { samples 607 gpu/command_buffer/service/framebuffer_manager.cc new TextureAttachment(texture_ref, target, level, samples)); samples 36 gpu/command_buffer/service/framebuffer_manager.h virtual GLsizei samples() const = 0; samples 82 gpu/command_buffer/service/framebuffer_manager.h GLint level, GLsizei samples); samples 322 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kSamples1, attachment->samples()); samples 351 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kSamples4, attachment->samples()); samples 365 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kSamples4, attachment->samples()); samples 497 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kSamples1, attachment->samples()); samples 531 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kSamples2, attachment->samples()); samples 551 gpu/command_buffer/service/framebuffer_manager_unittest.cc EXPECT_EQ(kSamples3, attachment->samples()); samples 454 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei samples); samples 705 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei samples, samples 1296 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint texture, GLint level, GLsizei samples); samples 1301 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint texture, GLint level, GLsizei samples); samples 1379 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLsizei samples, GLenum internalformat, samples 1385 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLsizei samples, GLenum internalformat, samples 1389 gpu/command_buffer/service/gles2_cmd_decoder.cc bool ValidateRenderbufferStorageMultisample(GLsizei samples, samples 2103 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei samples) { samples 2110 gpu/command_buffer/service/gles2_cmd_decoder.cc size.width(), size.height(), samples, format, &estimated_size)) { samples 2118 gpu/command_buffer/service/gles2_cmd_decoder.cc if (samples <= 1) { samples 2126 gpu/command_buffer/service/gles2_cmd_decoder.cc samples, samples 5080 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint client_texture_id, GLint level, GLsizei samples) { samples 5089 gpu/command_buffer/service/gles2_cmd_decoder.cc textarget, client_texture_id, level, samples); samples 5094 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint client_texture_id, GLint level, GLsizei samples) { samples 5095 gpu/command_buffer/service/gles2_cmd_decoder.cc if (samples > renderbuffer_manager()->max_samples()) { samples 5132 gpu/command_buffer/service/gles2_cmd_decoder.cc if (0 == samples) { samples 5137 gpu/command_buffer/service/gles2_cmd_decoder.cc service_id, level, samples); samples 5140 gpu/command_buffer/service/gles2_cmd_decoder.cc service_id, level, samples); samples 5146 gpu/command_buffer/service/gles2_cmd_decoder.cc samples); samples 5239 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei samples, samples 5247 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, internal_format, width, height); samples 5250 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, internal_format, width, height); samples 5253 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, internal_format, width, height); samples 5282 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei samples, samples 5286 gpu/command_buffer/service/gles2_cmd_decoder.cc if (samples > renderbuffer_manager()->max_samples()) { samples 5303 gpu/command_buffer/service/gles2_cmd_decoder.cc width, height, samples, internalformat, &estimated_size)) { samples 5321 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLsizei samples, GLenum internalformat, samples 5339 gpu/command_buffer/service/gles2_cmd_decoder.cc samples, internalformat, width, height)) { samples 5349 gpu/command_buffer/service/gles2_cmd_decoder.cc feature_info_, target, samples, impl_format, width, height); samples 5368 gpu/command_buffer/service/gles2_cmd_decoder.cc renderbuffer, samples, internalformat, width, height); samples 5374 gpu/command_buffer/service/gles2_cmd_decoder.cc GLenum target, GLsizei samples, GLenum internalformat, samples 5392 gpu/command_buffer/service/gles2_cmd_decoder.cc samples, internalformat, width, height)) { samples 5402 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, impl_format, width, height); samples 5405 gpu/command_buffer/service/gles2_cmd_decoder.cc target, samples, impl_format, width, height); samples 5413 gpu/command_buffer/service/gles2_cmd_decoder.cc renderbuffer, samples, internalformat, width, height); samples 2771 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei samples = static_cast<GLsizei>(c.samples); samples 2780 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (samples < 0) { samples 2805 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, samples, internalformat, width, height); samples 2813 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei samples = static_cast<GLsizei>(c.samples); samples 2822 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (samples < 0) { samples 2844 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, samples, internalformat, width, height); samples 2856 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei samples = static_cast<GLsizei>(c.samples); samples 2878 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (samples < 0) { samples 2885 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h target, attachment, textarget, texture, level, samples); samples 102 gpu/command_buffer/service/renderbuffer_manager.cc GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { samples 108 gpu/command_buffer/service/renderbuffer_manager.cc renderbuffer->SetInfo(samples, internalformat, width, height); samples 156 gpu/command_buffer/service/renderbuffer_manager.cc int samples, samples 165 gpu/command_buffer/service/renderbuffer_manager.cc if (!SafeMultiplyUint32(temp, samples, &temp)) { samples 46 gpu/command_buffer/service/renderbuffer_manager.h GLsizei samples() const { samples 85 gpu/command_buffer/service/renderbuffer_manager.h GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { samples 86 gpu/command_buffer/service/renderbuffer_manager.h samples_ = samples; samples 147 gpu/command_buffer/service/renderbuffer_manager.h GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 169 gpu/command_buffer/service/renderbuffer_manager.h int samples, samples 132 gpu/command_buffer/service/renderbuffer_manager_unittest.cc EXPECT_EQ(0, renderbuffer1->samples()); samples 145 gpu/command_buffer/service/renderbuffer_manager_unittest.cc EXPECT_EQ(kSamples, renderbuffer1->samples()); samples 181 media/audio/cras/cras_input.cc uint8* samples, samples 186 media/audio/cras/cras_input.cc me->ReadAudio(frames, samples, sample_ts); samples 49 media/audio/cras/cras_input.h uint8* samples, samples 19 media/audio/simple_sources_unittest.cc static const uint32 samples = 1024; samples 25 media/audio/simple_sources_unittest.cc AudioParameters::kTelephoneSampleRate, bytes_per_sample * 8, samples); samples 165 media/base/sinc_resampler_unittest.cc int samples, samples 168 media/base/sinc_resampler_unittest.cc total_samples_(samples), samples 134 media/cast/cast_config.h std::vector<int16> samples; samples 49 media/cast/test/utility/audio_utility.cc audio_frame->samples.resize(audio_bus.channels() * audio_bus.frames()); samples 51 media/cast/test/utility/audio_utility.cc sizeof(audio_frame->samples.front()), samples 52 media/cast/test/utility/audio_utility.cc &audio_frame->samples.front()); samples 56 media/cast/test/utility/audio_utility.cc int CountZeroCrossings(const float* samples, int len) { samples 65 media/cast/test/utility/audio_utility.cc last = samples[i]; samples 67 media/cast/test/utility/audio_utility.cc if (fabsf(samples[i]) >= kAmplitudeThreshold && samples 68 media/cast/test/utility/audio_utility.cc (last < 0) != (samples[i] < 0)) { samples 70 media/cast/test/utility/audio_utility.cc last = samples[i]; samples 76 media/cast/test/utility/audio_utility.cc int CountZeroCrossings(const std::vector<int16>& samples) { samples 82 media/cast/test/utility/audio_utility.cc std::vector<int16>::const_iterator i = samples.begin(); samples 84 media/cast/test/utility/audio_utility.cc for (; i != samples.end() && abs(last) < kAmplitudeThreshold; ++i) samples 86 media/cast/test/utility/audio_utility.cc for (; i != samples.end(); ++i) { samples 129 media/cast/test/utility/audio_utility.cc std::vector<int16>* samples) { samples 130 media/cast/test/utility/audio_utility.cc if (samples->size() < kSamplesToAnalyze) { samples 143 media/cast/test/utility/audio_utility.cc for (size_t i = 0; i < samples->size(); i++) { samples 149 media/cast/test/utility/audio_utility.cc (*samples)[i] = ret * 32766 / (kNumBits + 1); samples 161 media/cast/test/utility/audio_utility.cc double DecodeOneFrequency(const int16* samples, samples 167 media/cast/test/utility/audio_utility.cc sin_sum += samples[i] * sin(i * Pi * 2 * frequency / kSamplingFrequency); samples 168 media/cast/test/utility/audio_utility.cc cos_sum += samples[i] * cos(i * Pi * 2 * frequency / kSamplingFrequency); samples 178 media/cast/test/utility/audio_utility.cc bool DecodeTimestamp(const std::vector<int16>& samples, uint16* timestamp) { samples 180 media/cast/test/utility/audio_utility.cc start + kSamplesToAnalyze <= samples.size(); samples 182 media/cast/test/utility/audio_utility.cc double sense = DecodeOneFrequency(&samples[start], samples 190 media/cast/test/utility/audio_utility.cc &samples[start], samples 59 media/cast/test/utility/audio_utility.h int CountZeroCrossings(const float* samples, int len); samples 61 media/cast/test/utility/audio_utility.h int CountZeroCrossings(const std::vector<int16>& samples); samples 73 media/cast/test/utility/audio_utility.h std::vector<int16>* samples); samples 77 media/cast/test/utility/audio_utility.h bool DecodeTimestamp(const std::vector<int16>& samples, uint16* timestamp); samples 15 media/cast/test/utility/audio_utility_unittest.cc std::vector<int16> samples(480); samples 17 media/cast/test/utility/audio_utility_unittest.cc EncodeTimestamp(in_timestamp, 0, &samples); samples 19 media/cast/test/utility/audio_utility_unittest.cc EXPECT_TRUE(DecodeTimestamp(samples, &out_timestamp)); samples 25 media/cast/test/utility/audio_utility_unittest.cc std::vector<int16> samples(480); samples 27 media/cast/test/utility/audio_utility_unittest.cc EXPECT_FALSE(DecodeTimestamp(samples, &out_timestamp)); samples 31 media/cast/test/utility/audio_utility_unittest.cc std::vector<int16> samples(4800); samples 32 media/cast/test/utility/audio_utility_unittest.cc EncodeTimestamp(4711, 0, &samples); samples 33 media/cast/test/utility/audio_utility_unittest.cc while (samples.size() > 240) { samples 35 media/cast/test/utility/audio_utility_unittest.cc EXPECT_TRUE(DecodeTimestamp(samples, &out_timestamp)); samples 38 media/cast/test/utility/audio_utility_unittest.cc samples.erase(samples.begin(), samples.begin() + 73); samples 20 media/cast/test/utility/generate_timecode_audio.cc std::vector<int16> samples(kSamplingFrequency / fps); samples 23 media/cast/test/utility/generate_timecode_audio.cc CHECK(media::cast::EncodeTimestamp(frame_id, num_samples, &samples)); samples 24 media/cast/test/utility/generate_timecode_audio.cc num_samples += samples.size(); samples 25 media/cast/test/utility/generate_timecode_audio.cc for (size_t sample = 0; sample < samples.size(); sample++) { samples 26 media/cast/test/utility/generate_timecode_audio.cc putchar(samples[sample] & 0xff); samples 27 media/cast/test/utility/generate_timecode_audio.cc putchar(samples[sample] >> 8); samples 28 media/cast/test/utility/generate_timecode_audio.cc putchar(samples[sample] & 0xff); samples 29 media/cast/test/utility/generate_timecode_audio.cc putchar(samples[sample] >> 8); samples 113 media/cast/test/utility/in_process_receiver.cc pcm_frame->samples.resize(audio_frame->channels() * audio_frame->frames()); samples 115 media/cast/test/utility/in_process_receiver.cc audio_frame->frames(), sizeof(int16), &pcm_frame->samples.front()); samples 29 media/formats/mp4/track_run_iterator.cc std::vector<SampleInfo> samples; samples 279 media/formats/mp4/track_run_iterator.cc tri.samples.resize(trun.sample_count); samples 282 media/formats/mp4/track_run_iterator.cc k, &tri.samples[k], traf.sdtp.sample_depends_on(k)); samples 283 media/formats/mp4/track_run_iterator.cc run_start_dts += tri.samples[k].duration; samples 291 media/formats/mp4/track_run_iterator.cc tri.samples[k].is_keyframe = true; samples 313 media/formats/mp4/track_run_iterator.cc sample_itr_ = run_itr_->samples.begin(); samples 335 media/formats/mp4/track_run_iterator.cc cenc_info_.resize(run_itr_->samples.size()); samples 337 media/formats/mp4/track_run_iterator.cc for (size_t i = 0; i < run_itr_->samples.size(); i++) { samples 355 media/formats/mp4/track_run_iterator.cc return IsRunValid() && (sample_itr_ != run_itr_->samples.end()); samples 457 media/formats/mp4/track_run_iterator.cc size_t sample_idx = sample_itr_ - run_itr_->samples.begin(); samples 246 media/video/capture/win/pin_base_win.cc STDMETHODIMP PinBase::ReceiveMultiple(IMediaSample** samples, samples 249 media/video/capture/win/pin_base_win.cc DCHECK(samples); samples 254 media/video/capture/win/pin_base_win.cc hr = Receive(samples[*processed]); samples 85 media/video/capture/win/pin_base_win.h STDMETHOD(ReceiveMultiple)(IMediaSample** samples, samples 60 native_client_sdk/src/examples/api/audio/audio.cc static void SineWaveCallback(void* samples, samples 68 native_client_sdk/src/examples/api/audio/audio.cc int16_t* buff = reinterpret_cast<int16_t*>(samples); samples 169 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc uint32_t samples = buffer.GetNumberOfSamples() / channels; samples 171 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc if (channel_count_ != channels || sample_count_ != samples) { samples 173 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc sample_count_ = samples; samples 169 net/cert/multi_log_ct_verifier_unittest.cc scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); samples 170 net/cert/multi_log_ct_verifier_unittest.cc return samples->GetCount(sample_index); samples 251 net/disk_cache/blockfile/stats.cc void Stats::Snapshot(base::HistogramSamples* samples) const { samples 256 net/disk_cache/blockfile/stats.cc samples->Accumulate(GetBucketRange(i), count); samples 89 net/disk_cache/blockfile/stats.h void Snapshot(base::HistogramSamples* samples) const; samples 78 net/disk_cache/blockfile/stats_histogram.cc scoped_ptr<SampleVector> samples(new SampleVector(bucket_ranges())); samples 80 net/disk_cache/blockfile/stats_histogram.cc stats_->Snapshot(samples.get()); samples 86 net/disk_cache/blockfile/stats_histogram.cc return samples.PassAs<HistogramSamples>(); samples 89 net/disk_cache/blockfile/stats_histogram.cc int StatsHistogram::FindCorruption(const HistogramSamples& samples) const { samples 49 net/disk_cache/blockfile/stats_histogram.h const base::HistogramSamples& samples) const OVERRIDE; samples 275 net/dns/dns_session.cc const base::SampleVector& samples = samples 278 net/dns/dns_session.cc base::HistogramBase::Count total = samples.TotalCount(); samples 282 net/dns/dns_session.cc remaining_count -= samples.GetCountAtIndex(index); samples 46 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); samples 48 net/socket_stream/socket_stream_metrics_unittest.cc samples->Subtract(*original); // Cancel the original values. samples 50 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::PROTOCOL_UNKNOWN)); samples 51 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET)); samples 53 net/socket_stream/socket_stream_metrics_unittest.cc samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET_SECURE)); samples 81 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); samples 83 net/socket_stream/socket_stream_metrics_unittest.cc samples->Subtract(*original); // Cancel the original values. samples 85 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::ALL_CONNECTIONS)); samples 86 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::TUNNEL_CONNECTION)); samples 87 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(3, samples->GetCount(SocketStreamMetrics::SOCKS_CONNECTION)); samples 88 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(4, samples->GetCount(SocketStreamMetrics::SSL_CONNECTION)); samples 112 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples()); samples 114 net/socket_stream/socket_stream_metrics_unittest.cc samples->Subtract(*original); // Cancel the original values. samples 116 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(3, samples->GetCount(SocketStreamMetrics::WIRE_PROTOCOL_WEBSOCKET)); samples 117 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(7, samples->GetCount(SocketStreamMetrics::WIRE_PROTOCOL_SPDY)); samples 165 net/socket_stream/socket_stream_metrics_unittest.cc scoped_ptr<HistogramSamples> samples; samples 193 net/socket_stream/socket_stream_metrics_unittest.cc samples = histogram->SnapshotSamples(); samples 194 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(11, samples->sum() - original_received_bytes); // 11 bytes read. samples 201 net/socket_stream/socket_stream_metrics_unittest.cc samples = histogram->SnapshotSamples(); samples 202 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(2, samples->sum() - original_received_counts); // 2 read requests. samples 209 net/socket_stream/socket_stream_metrics_unittest.cc samples = histogram->SnapshotSamples(); samples 210 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(222, samples->sum() - original_sent_bytes); // 222 bytes sent. samples 217 net/socket_stream/socket_stream_metrics_unittest.cc samples = histogram->SnapshotSamples(); samples 218 net/socket_stream/socket_stream_metrics_unittest.cc EXPECT_EQ(3, samples->sum() - original_sent_counts); // 3 write requests. samples 219 net/url_request/url_request_throttler_unittest.cc scoped_ptr<base::HistogramSamples> samples( samples 222 net/url_request/url_request_throttler_unittest.cc ASSERT_EQ(1, samples->GetCount(0)); samples 223 net/url_request/url_request_throttler_unittest.cc ASSERT_EQ(1, samples->GetCount(1)); samples 234 net/url_request/url_request_throttler_unittest.cc scoped_ptr<base::HistogramSamples> samples( samples 237 net/url_request/url_request_throttler_unittest.cc ASSERT_EQ(2, samples->GetCount(0)); samples 238 net/url_request/url_request_throttler_unittest.cc ASSERT_EQ(0, samples->GetCount(1)); samples 1049 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); samples 1050 net/websockets/websocket_stream_test.cc ASSERT_TRUE(samples); samples 1052 net/websockets/websocket_stream_test.cc samples->Subtract(*original); // Cancel the original values. samples 1054 net/websockets/websocket_stream_test.cc EXPECT_EQ(1, samples->GetCount(INCOMPLETE)); samples 1055 net/websockets/websocket_stream_test.cc EXPECT_EQ(0, samples->GetCount(CONNECTED)); samples 1056 net/websockets/websocket_stream_test.cc EXPECT_EQ(0, samples->GetCount(FAILED)); samples 1074 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); samples 1075 net/websockets/websocket_stream_test.cc ASSERT_TRUE(samples); samples 1077 net/websockets/websocket_stream_test.cc samples->Subtract(*original); // Cancel the original values. samples 1079 net/websockets/websocket_stream_test.cc EXPECT_EQ(0, samples->GetCount(INCOMPLETE)); samples 1080 net/websockets/websocket_stream_test.cc EXPECT_EQ(1, samples->GetCount(CONNECTED)); samples 1081 net/websockets/websocket_stream_test.cc EXPECT_EQ(0, samples->GetCount(FAILED)); samples 1105 net/websockets/websocket_stream_test.cc scoped_ptr<base::HistogramSamples> samples(GetSamples(name)); samples 1106 net/websockets/websocket_stream_test.cc ASSERT_TRUE(samples); samples 1108 net/websockets/websocket_stream_test.cc samples->Subtract(*original); // Cancel the original values. samples 1110 net/websockets/websocket_stream_test.cc EXPECT_EQ(0, samples->GetCount(INCOMPLETE)); samples 1111 net/websockets/websocket_stream_test.cc EXPECT_EQ(0, samples->GetCount(CONNECTED)); samples 1112 net/websockets/websocket_stream_test.cc EXPECT_EQ(1, samples->GetCount(FAILED)); samples 553 ppapi/c/ppb_opengles2.h GLsizei samples, samples 72 ppapi/examples/audio/audio.cc static void SineWaveCallbackTrampoline(void* samples, samples 75 ppapi/examples/audio/audio.cc static_cast<MyInstance*>(thiz)->SineWaveCallback(samples, num_bytes); samples 78 ppapi/examples/audio/audio.cc void SineWaveCallback(void* samples, uint32_t num_bytes) { samples 88 ppapi/examples/audio/audio.cc int16_t* buf = reinterpret_cast<int16_t*>(samples); samples 271 ppapi/examples/audio_input/audio_input.cc static void CaptureCallback(const void* samples, samples 282 ppapi/examples/audio_input/audio_input.cc memcpy(thiz->samples_, samples, num_bytes); samples 166 ppapi/examples/media_stream_audio/media_stream_audio.cc uint32_t samples = buffer.GetNumberOfSamples() / channels; samples 168 ppapi/examples/media_stream_audio/media_stream_audio.cc if (channel_count_ != channels || sample_count_ != samples) { samples 170 ppapi/examples/media_stream_audio/media_stream_audio.cc sample_count_ = samples; samples 911 ppapi/lib/gl/gles2/gles2.c GLsizei samples, samples 920 ppapi/lib/gl/gles2/gles2.c samples, samples 958 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 961 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 997 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1095 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1096 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); samples 1389 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1390 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); samples 1700 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1703 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1409 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei samples, samples 1416 ppapi/shared_impl/ppb_opengles2_shared.cc target, samples, internalformat, width, height); samples 82 remoting/client/audio_player.cc void AudioPlayer::AudioPlayerCallback(void* samples, samples 86 remoting/client/audio_player.cc audio_player->FillWithSamples(samples, buffer_size); samples 96 remoting/client/audio_player.cc void AudioPlayer::FillWithSamples(void* samples, uint32 buffer_size) { samples 105 remoting/client/audio_player.cc char* next_sample = static_cast<char*>(samples); samples 33 remoting/client/audio_player.h static void AudioPlayerCallback(void* samples, samples 43 remoting/client/audio_player.h void FillWithSamples(void* samples, uint32 buffer_size); samples 93 remoting/client/audio_player_unittest.cc AudioPacket::SamplingRate rate, int samples) { samples 102 remoting/client/audio_player_unittest.cc data.resize(samples * kAudioSampleBytes, kDummyAudioData); samples 108 remoting/client/audio_player_unittest.cc scoped_ptr<AudioPacket> CreatePacket44100Hz(int samples) { samples 110 remoting/client/audio_player_unittest.cc samples); samples 113 remoting/client/audio_player_unittest.cc scoped_ptr<AudioPacket> CreatePacket48000Hz(int samples) { samples 115 remoting/client/audio_player_unittest.cc samples); samples 67 remoting/codec/audio_encoder_opus_unittest.cc int samples, samples 71 remoting/codec/audio_encoder_opus_unittest.cc std::vector<int16> data(samples * kChannels); samples 72 remoting/codec/audio_encoder_opus_unittest.cc for (int i = 0; i < samples; ++i) { samples 79 remoting/codec/audio_encoder_opus_unittest.cc samples * kChannels * sizeof(int16)); samples 106 remoting/codec/audio_encoder_opus_unittest.cc void ValidateReceivedData(int samples, samples 37 remoting/host/audio_silence_detector.cc bool AudioSilenceDetector::IsSilence(const int16* samples, samples 44 remoting/host/audio_silence_detector.cc if (abs(samples[i]) > threshold_) { samples 25 remoting/host/audio_silence_detector.h bool IsSilence(const int16* samples, size_t samples_count); samples 17 remoting/host/audio_silence_detector_unittest.cc const int16* samples, int samples_count, samples 23 remoting/host/audio_silence_detector_unittest.cc bool result = target->IsSilence(samples, samples_count); samples 474 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 476 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 545 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 548 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 811 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 812 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); samples 814 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 815 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); samples 1103 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1104 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); samples 1106 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1107 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); samples 1339 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1341 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); samples 1112 third_party/qcms/src/transform.c int samples, qcms_data_type in_type) samples 1117 third_party/qcms/src/transform.c uint32_t lutSize = 3 * samples * samples * samples; samples 1128 third_party/qcms/src/transform.c for (x = 0; x < samples; x++) { samples 1129 third_party/qcms/src/transform.c for (y = 0; y < samples; y++) { samples 1130 third_party/qcms/src/transform.c for (z = 0; z < samples; z++) { samples 1131 third_party/qcms/src/transform.c src[l++] = x / (float)(samples-1); samples 1132 third_party/qcms/src/transform.c src[l++] = y / (float)(samples-1); samples 1133 third_party/qcms/src/transform.c src[l++] = z / (float)(samples-1); samples 1143 third_party/qcms/src/transform.c transform->grid_size = samples; samples 322 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc void ExpectRunningSamples(int samples) { samples 326 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc EXPECT_EQ(samples, state.samples_gathered); samples 322 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc void ExpectRunningSamples(int samples) { samples 326 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc EXPECT_EQ(samples, state.samples_gathered); samples 62 ui/events/gesture_detection/velocity_tracker_unittest.cc size_t samples) { samples 63 ui/events/gesture_detection/velocity_tracker_unittest.cc EXPECT_TRUE(!!samples); samples 64 ui/events/gesture_detection/velocity_tracker_unittest.cc if (!samples) samples 66 ui/events/gesture_detection/velocity_tracker_unittest.cc const base::TimeDelta dt = t / samples; samples 68 ui/events/gesture_detection/velocity_tracker_unittest.cc ApplyMovement(state, p0, v, t0, t, samples); samples 77 ui/events/gesture_detection/velocity_tracker_unittest.cc size_t samples) { samples 78 ui/events/gesture_detection/velocity_tracker_unittest.cc EXPECT_TRUE(!!samples); samples 79 ui/events/gesture_detection/velocity_tracker_unittest.cc if (!samples) samples 81 ui/events/gesture_detection/velocity_tracker_unittest.cc const base::TimeDelta dt = t / samples; samples 82 ui/events/gesture_detection/velocity_tracker_unittest.cc for (size_t i = 0; i < samples; ++i) samples 90 ui/events/gesture_detection/velocity_tracker_unittest.cc const size_t samples = 60; samples 104 ui/events/gesture_detection/velocity_tracker_unittest.cc ApplyMovementSequence(&state, p0, v, TimeTicks::Now(), kOneSecond, samples); samples 126 ui/events/gesture_detection/velocity_tracker_unittest.cc const size_t samples = 3; samples 130 ui/events/gesture_detection/velocity_tracker_unittest.cc ApplyMovementSequence(&state, p0, v, TimeTicks::Now(), dt, samples); samples 146 ui/events/gesture_detection/velocity_tracker_unittest.cc const size_t samples = 12; samples 163 ui/events/gesture_detection/velocity_tracker_unittest.cc ApplyMovement(&state, pCurr, vFast, tCurr, dt, samples); samples 170 ui/events/gesture_detection/velocity_tracker_unittest.cc ApplyMovement(&state, pCurr, vSlow, tCurr, dt, samples); samples 182 ui/events/gesture_detection/velocity_tracker_unittest.cc ApplyMovement(&state, pCurr, vFast, tCurr, dt, samples); samples 95 ui/gfx/color_analysis_unittest.cc explicit MockKMeanImageSampler(const std::vector<int>& samples) samples 96 ui/gfx/color_analysis_unittest.cc : prebaked_sample_results_(samples), samples 247 ui/gl/gl_bindings_skia_in_process.cc GLint level, GLsizei samples) { samples 249 ui/gl/gl_bindings_skia_in_process.cc level, samples); samples 400 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLRenderbufferStorageMultisample(GLenum target, GLsizei samples, samples 403 ui/gl/gl_bindings_skia_in_process.cc glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, samples 167 ui/gl/gl_gl_api_implementation.cc GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, samples 171 ui/gl/gl_gl_api_implementation.cc target, samples, gl_internal_format, width, height); samples 146 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc output_attribs->samples = attributes.antialias ? 4 : 0; samples 442 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, samples 446 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc target, samples, internalformat, width, height); samples 461 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, samples 526 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei samples); samples 528 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h WGC3Dsizei samples,