/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
H A D | enrollment_screen.cc | 425 void EnrollmentScreen::UMA(policy::MetricEnrollment sample) { argument 429 UMA_HISTOGRAM_SPARSE_SLOWLY("Enterprise.Enrollment", sample); 432 UMA_HISTOGRAM_SPARSE_SLOWLY("Enterprise.EnrollmentForced", sample); 435 UMA_HISTOGRAM_SPARSE_SLOWLY("Enterprise.EnrollmentRecovery", sample); 443 void EnrollmentScreen::UMAFailure(policy::MetricEnrollment sample) { argument 445 sample = policy::kMetricEnrollmentAutoFailed; 446 UMA(sample);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
H A D | power_ui.cc | 85 const PowerDataCollector::PowerSupplySample& sample = power_supply[i]; local 87 element->SetDouble("batteryPercent", sample.battery_percent); 88 element->SetDouble("batteryDischargeRate", sample.battery_discharge_rate); 89 element->SetBoolean("externalPower", sample.external_power); 90 element->SetDouble("time", sample.time.ToJsTime()); 147 const PowerDataCollector::SystemResumedSample& sample = system_resumed[i]; local 150 sample.sleep_duration.InMillisecondsF()); 151 element->SetDouble("time", sample.time.ToJsTime()); 165 const CpuDataCollector::StateOccupancySample& sample = sample_deque[i]; local 167 js_sample->SetDouble("time", sample [all...] |
/external/chromium_org/components/nacl/renderer/ |
H A D | histogram.cc | 12 int32_t sample, 26 counter->Add(sample); 30 int32_t sample, 39 counter->Add(sample); 90 void HistogramTimeSmall(const std::string& name, int64_t sample) { argument 91 if (sample < 0) 92 sample = 0; 100 counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); 106 void HistogramTimeMedium(const std::string& name, int64_t sample) { argument 107 if (sample < 11 HistogramCustomCounts(const std::string& name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) argument 29 HistogramEnumerate(const std::string& name, int32_t sample, int32_t boundary_value) argument 122 HistogramTimeLarge(const std::string& name, int64_t sample) argument 171 HistogramSizeKB(const std::string& name, int32_t sample) argument 183 int sample = status / 100; local [all...] |
/external/chromium_org/components/precache/core/ |
H A D | precache_database_unittest.cc | 69 // Log a sample for each histogram, to ensure that they are all created. 109 base::HistogramBase::Sample sample) { 113 EXPECT_EQ(1, delta_samples->GetCount(sample)); 108 ExpectNewSample(const char* histogram_name, base::HistogramBase::Sample sample) argument
|
/external/chromium_org/components/rappor/ |
H A D | rappor_service.cc | 201 const std::string& sample) { 202 // Ignore the sample if the service hasn't started yet. 206 DVLOG(2) << "Recording sample \"" << sample 209 RecordSampleInternal(metric_name, kRapporParametersForType[type], sample); 214 const std::string& sample) { 217 metric->AddSample(sample); 199 RecordSample(const std::string& metric_name, RapporType type, const std::string& sample) argument 212 RecordSampleInternal(const std::string& metric_name, const RapporParameters& parameters, const std::string& sample) argument
|
/external/chromium_org/media/base/ |
H A D | audio_bus.cc | 75 Fixed sample; local 77 sample = v <= -1 ? min : static_cast<Fixed>(-v * min); 79 sample = v >= 1 ? max : static_cast<Fixed>(v * max); 81 dest[offset] = static_cast<Format>(sample) + Bias; 260 NOTREACHED() << "Unsupported bytes per sample encountered."; 300 NOTREACHED() << "Unsupported bytes per sample encountered.";
|
H A D | vector_math.cc | 77 const float sample = src[i]; local 78 const float sample_squared = sample * sample; 180 const float sample = src[i]; local 181 const float sample_squared = sample * sample; 273 const float sample = src[i]; local 274 const float sample_squared = sample * sample;
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
H A D | sample_service_unittest.cc | 17 struct TypeConverter<int32_t, sample::BarPtr> { 18 static int32_t Convert(const sample::BarPtr& bar) { 27 namespace sample { namespace 36 // Make a sample |Foo|. 381 } // namespace sample
|
/external/chromium_org/ppapi/tests/ |
H A D | test_media_stream_audio_track.cc | 370 uint32_t CalculateWaveStartingTime(int16_t sample, int16_t next_sample, argument 372 int16_t slope = next_sample - sample; 373 double angle = asin(sample / (double)INT16_MAX); 451 for (uint32_t sample = 0; sample < num_samples; 452 sample += 2, sample_time++) { 453 int16_t left = data_buffer[sample]; 454 int16_t right = data_buffer[sample + 1];
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | OscillatorNode.cpp | 176 // Get the sample-accurate frequency values and convert to phase increments. 189 // Get the sample-accurate detune values. 318 float sample = (1 - tableInterpolationFactor) * sampleHigher + tableInterpolationFactor * sampleLower; local 320 *destP++ = sample;
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | nullvideoframe.h | 38 virtual bool Reset(uint32 format, int w, int h, int dw, int dh, uint8 *sample, argument
|
H A D | videoframe.cc | 238 // Returns whether a sample is valid. 240 const uint8 *sample, size_t sample_size) { 305 if (sample == NULL) { 306 LOG(LS_ERROR) << "NULL sample pointer." 317 four_samples[i] = sample[i]; 326 << " sample[0..3]: " << static_cast<int>(four_samples[0]) 339 << " sample[0..3]: " << static_cast<int>(four_samples[0]) 359 << " sample[0..3]: " << static_cast<int>(four_samples[0]) 376 << " sample[0..3]: " << static_cast<int>(four_samples[0]) 239 Validate(uint32 fourcc, int w, int h, const uint8 *sample, size_t sample_size) argument
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtctexturevideoframe.cc | 56 uint32 fourcc, int w, int h, int dw, int dh, uint8* sample, 55 Reset( uint32 fourcc, int w, int h, int dw, int dh, uint8* sample, size_t sample_size, size_t pixel_width, size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) argument
|
H A D | webrtcvideocapturer.cc | 330 webrtc::I420VideoFrame& sample) { 347 << sample.width() << "x" << sample.height() 355 sample.width(), sample.height()); 358 webrtc::ExtractBuffer(sample, length, &capture_buffer_[0]); 359 WebRtcCapturedFrame frame(sample, &capture_buffer_[0], length); 369 WebRtcCapturedFrame::WebRtcCapturedFrame(const webrtc::I420VideoFrame& sample, argument 372 width = sample.width(); 373 height = sample 329 OnIncomingCapturedFrame(const int32_t id, webrtc::I420VideoFrame& sample) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/ |
H A D | convert_to_i420.cc | 23 // Convert camera sample to I420 with cropping, rotation and vertical flip. 29 int ConvertToI420(const uint8* sample, argument 48 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample; 58 if (!y || !u || !v || !sample || 70 // For in-place conversion, if destination y is same as source sample, 89 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 97 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 105 src = sample + (src_width * crop_y + crop_x) * 2; 113 src = sample + (src_width * crop_y + crop_x) * 2; 121 src = sample [all...] |
/external/chromium_org/third_party/libyuv/source/ |
H A D | convert_to_i420.cc | 23 // Convert camera sample to I420 with cropping, rotation and vertical flip. 29 int ConvertToI420(const uint8* sample, argument 48 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample; 58 if (!y || !u || !v || !sample || 70 // For in-place conversion, if destination y is same as source sample, 89 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 97 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 105 src = sample + (src_width * crop_y + crop_x) * 2; 113 src = sample + (src_width * crop_y + crop_x) * 2; 121 src = sample [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | memory_region_map.cc | 338 Region sample; local 339 sample.SetRegionSetKey(addr); 340 RegionSet::iterator region = regions_->lower_bound(sample); 459 Region sample; local 460 sample.SetRegionSetKey(region.start_addr); 461 i = regions_->lower_bound(sample); 664 Region sample; 665 sample.SetRegionSetKey(start_addr); 667 for (RegionSet::iterator region = regions_->lower_bound(sample);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | memory_region_map.cc | 301 Region sample; local 302 sample.SetRegionSetKey(addr); 303 RegionSet::iterator region = regions_->lower_bound(sample); 366 Region sample; local 367 sample.SetRegionSetKey(region.start_addr); 368 i = regions_->lower_bound(sample); 519 Region sample; 520 sample.SetRegionSetKey(start_addr); 522 for (RegionSet::iterator region = regions_->lower_bound(sample);
|
/external/chromium_org/v8/src/ |
H A D | cpu-profiler.h | 104 TickSample sample; member in class:v8::internal::TickSampleEventRecord 138 // Puts current stack into tick sample events buffer. 141 // Tick sample events are filled directly in the buffer of the circular
|
/external/clang/test/SemaCXX/ |
H A D | cxx1y-generic-lambdas-capturing.cpp | 26 namespace sample { namespace 176 sample::X cx{5};
|
/external/deqp/executor/ |
H A D | xeTestLogWriter.cpp | 467 const ri::Sample& sample = static_cast<const ri::Sample&>(item); local 469 for (int ndx = 0; ndx < sample.values.getNumItems(); ndx++) 470 writeResultItem(sample.values.getItem(ndx), dst);
|
/external/flac/libFLAC/ |
H A D | lpc.c | 92 unsigned sample, coeff; local 100 for(sample = 0; sample <= limit; sample++) { 101 d = data[sample]; 103 autoc[coeff] += d * data[sample+coeff]; 105 for(; sample < data_len; sample++) { 106 d = data[sample]; 107 for(coeff = 0; coeff < data_len - sample; coef [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-annotate.c | 47 struct perf_sample *sample, 79 evsel->hists.stats.total_period += sample->period; 86 struct perf_sample *sample, 93 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { 99 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) 102 if (!al.filtered && perf_evsel__add_sample(evsel, sample, &al, ann)) { 278 .sample = process_sample_event, 46 perf_evsel__add_sample(struct perf_evsel *evsel, struct perf_sample *sample, struct addr_location *al, struct perf_annotate *ann) argument 84 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine) argument
|
H A D | builtin-inject.c | 85 struct perf_sample *sample __maybe_unused, 93 struct perf_sample *sample, 99 struct perf_sample *sample, 105 return f(tool, event, sample, evsel, machine); 108 build_id__mark_dso_hit(tool, event, sample, evsel, machine); 115 struct perf_sample *sample, 120 err = perf_event__process_mmap(tool, event, sample, machine); 121 perf_event__repipe(tool, event, sample, machine); 128 struct perf_sample *sample, 133 err = perf_event__process_mmap2(tool, event, sample, machin 97 perf_event__repipe_sample(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine) argument 113 perf_event__repipe_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) argument 126 perf_event__repipe_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) argument 139 perf_event__repipe_fork(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) argument 202 perf_event__inject_buildid(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel __maybe_unused, struct machine *machine) argument 248 perf_inject__sched_process_exit(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct perf_evsel *evsel __maybe_unused, struct machine *machine __maybe_unused) argument 268 perf_inject__sched_switch(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine) argument 292 perf_inject__sched_stat(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | hists_link.c | 150 struct sample { struct 158 static struct sample fake_common_samples[] = { 171 static struct sample fake_samples[][5] = { 203 struct perf_sample sample = { .cpu = 0, }; local 219 sample.pid = fake_common_samples[k].pid; 220 sample.ip = fake_common_samples[k].ip; 222 &sample) < 0) 241 sample.pid = fake_samples[i][k].pid; 242 sample.ip = fake_samples[i][k].ip; 244 &sample) < [all...] |