/external/chromium_org/third_party/libyuv/source/ |
H A D | mjpeg_validate.cc | 20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { argument 26 if (sample[0] != 0xff || sample[1] != 0xd8) { // Start Of Image 31 if (sample[i] != 0xd9) { 32 if (sample[i] == 0xff && sample[i + 1] == 0xd9) { // End Of Image
|
H A D | convert_to_argb.cc | 27 // Convert camera sample to I420 with cropping, rotation and vertical flip. 33 int ConvertToARGB(const uint8* sample, size_t sample_size, argument 51 // For in-place conversion, if destination crop_argb is same as source sample, 54 crop_argb == sample; 60 if (crop_argb == NULL || sample == NULL || 82 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 88 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 94 src = sample + (src_width * crop_y + crop_x) * 3; 100 src = sample + (src_width * crop_y + crop_x) * 3; 106 src = sample [all...] |
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/ceres-solver/internal/ceres/ |
H A D | polynomial_test.cc | 315 FunctionSample sample; local 316 sample.x = 1.0; 317 sample.value = 1.0; 318 sample.value_is_valid = true; 319 samples.push_back(sample); 331 FunctionSample sample; local 332 sample.x = 1.0; 333 sample.value = 1.0; 334 sample.value_is_valid = true; 335 sample 350 FunctionSample sample; local 360 FunctionSample sample; local 378 FunctionSample sample; local 388 FunctionSample sample; local 409 FunctionSample sample; local 417 FunctionSample sample; local 425 FunctionSample sample; local 433 FunctionSample sample; local 452 FunctionSample sample; local 460 FunctionSample sample; local 468 FunctionSample sample; local 489 FunctionSample sample; local 499 FunctionSample sample; local [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | histogram_macros.h | 21 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ 26 counter->Add(sample); \ 29 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \ 30 name, sample, 1, 1000000, 50) 32 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \ 33 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50) 35 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \ 36 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50) 38 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 43 counter->AddTime(sample); \ [all...] |
H A D | histogram_macros_v3.h | 20 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ 27 counter->Add(sample); \ 30 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \ 31 name, sample, 1, 1000000, 50) 33 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \ 34 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50) 36 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \ 37 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50) 39 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 46 counter->AddTime(sample); \ [all...] |
/external/chromium_org/net/quic/ |
H A D | quic_address_mismatch.cc | 26 int sample; local 28 sample = QUIC_ADDRESS_MISMATCH_BASE; 30 sample = QUIC_PORT_MISMATCH_BASE; 32 sample = QUIC_ADDRESS_AND_PORT_MATCH_BASE; 35 // Add an offset to |sample|: 43 CHECK_EQ(sample, QUIC_ADDRESS_MISMATCH_BASE); 44 sample += 2; 47 sample += 1; 49 return sample;
|
/external/chromium_org/third_party/webrtc/test/ |
H A D | statistics.cc | 19 void Statistics::AddSample(double sample) { argument 20 sum_ += sample; 21 sum_squared_ += sample * sample;
|
H A D | statistics.h | 22 void AddSample(double sample);
|
/external/chromium_org/chrome/browser/chromeos/power/ |
H A D | power_data_collector.cc | 53 PowerSupplySample sample; local 54 sample.time = base::Time::Now(); 55 sample.external_power = (prop.external_power() != 57 sample.battery_percent = prop.battery_percent(); 58 sample.battery_discharge_rate = prop.battery_discharge_rate(); 59 AddSample(&power_supply_data_, sample); 63 SystemResumedSample sample; local 64 sample.time = base::Time::Now(); 65 sample.sleep_duration = sleep_duration; 66 AddSample(&system_resumed_data_, sample); [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/ |
H A D | exp_filter.cc | 25 VCMExpFilter::Apply(float exp, float sample) argument 30 _filtered = sample; 34 _filtered = _alpha * _filtered + (1 - _alpha) * sample; 39 _filtered = alpha * _filtered + (1 - alpha) * sample;
|
/external/javassist/sample/evolve/ |
H A D | CannotCreateException.java | 1 package sample.evolve;
|
H A D | CannotUpdateException.java | 1 package sample.evolve;
|
H A D | Sample.java | 1 package sample.evolve;
4 * This is a sample class used by Transformer.
|
/external/oprofile/libpp/ |
H A D | symbol_functors.cpp | 3 * Functors for symbol/sample comparison 26 if (lhs.sample.vma != rhs.sample.vma) 27 return lhs.sample.vma < rhs.sample.vma;
|
H A D | symbol_functors.h | 3 * Functors for symbol/sample comparison 26 return lhs->sample.file_loc < rhs->sample.file_loc;
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | external_metrics.cc | 162 void ExternalMetrics::RecordHistogram(const metrics::MetricSample& sample) { argument 163 CHECK_EQ(metrics::MetricSample::HISTOGRAM, sample.type()); 165 sample.name(), sample.min(), sample.max(), sample.bucket_count())) { 166 DLOG(ERROR) << "Invalid histogram: " << sample.name(); 171 base::Histogram::FactoryGet(sample.name(), 172 sample.min(), 173 sample 179 RecordLinearHistogram( const metrics::MetricSample& sample) argument 195 RecordSparseHistogram( const metrics::MetricSample& sample) argument 211 const metrics::MetricSample& sample = **it; local [all...] |
/external/chromium_org/components/metrics/chromeos/ |
H A D | serialization_utils.h | 21 // Deserializes a sample passed as a string and return a sample. 22 // The return value will either be a scoped_ptr to a Metric sample (if the 24 scoped_ptr<MetricSample> ParseSample(const std::string& sample); 30 // Serializes a sample and write it to filename. 36 // * serialized_message is the serialized version of sample (using ToString) 40 bool WriteMetricToFile(const MetricSample& sample, const std::string& filename);
|
/external/chromium_org/base/metrics/ |
H A D | histogram.h | 100 // sample is an expansion (with comments) of the code for 134 histogram_pointer->Add(sample); 139 // vary are the invocation of the Add(sample) vs AddTime(sample), and the choice 168 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \ 169 name, sample, base::TimeDelta::FromMilliseconds(1), \ 174 #define HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 175 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \ 179 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 180 name, sample, 573 Sample sample; member in struct:base::LinearHistogram::DescriptionPair [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/ |
H A D | SDL_sunaudio.c | 57 static Uint8 snd2au(int sample); 400 static Uint8 snd2au(int sample) argument 405 if (sample < 0) { 406 sample = -sample; 412 if (sample < 32) { 413 sample = 0xF0 | (15 - sample / 2); 414 } else if (sample < 96) { 415 sample [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | ThrowablesTest.java | 39 Sample sample = new Sample() { 51 sample.noneDeclared(); 55 Sample sample = new Sample() { 68 sample.noneDeclared(); 75 Sample sample = new Sample() { 88 sample.noneDeclared(); 96 Sample sample = new Sample() { 110 sample.oneDeclared(); 115 Sample sample = new Sample() { 128 sample [all...] |
/external/chromium_org/ppapi/c/private/ |
H A D | ppb_uma_private.h | 37 * sample given in milliseconds in the histogram given by |name|, possibly 42 int64_t sample, 47 * HistogramCustomCounts is a pointer to a function which records a sample 53 int32_t sample, 58 * HistogramEnumeration is a pointer to a function which records a sample 60 * does not exist. The sample represents a value in an enumeration bounded 61 * by |boundary_value|, that is, sample < boundary_value always. 65 int32_t sample,
|
/external/chromium_org/ppapi/cpp/private/ |
H A D | uma_private.h | 26 int64_t sample, 32 int32_t sample, 38 int32_t sample,
|
/external/chromium_org/v8/tools/ |
H A D | generate-trig-table.py | 68 sample = i * interval 69 sin.append(repr(math.sin(sample))) 70 cos_times_interval.append(repr(math.cos(sample) * interval))
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | confirm_quit.h | 26 void RecordHistogram(ConfirmQuitMetric sample);
|