/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | EnumTest.java | 29 enum Sample { enum in EnumTest 33 Sample larry = Sample.LARRY; 35 Sample moe = Sample.MOE; 60 assertTrue(0 < Sample.MOE.compareTo(Sample.LARRY)); in test_compareToLjava_lang_Enum() 61 assertEquals(0, Sample.MOE.compareTo(Sample.MOE)); in test_compareToLjava_lang_Enum() 62 assertTrue(0 > Sample.MOE.compareTo(Sample.CURLY)); in test_compareToLjava_lang_Enum() 64 Sample.MOE.compareTo((Sample)null); in test_compareToLjava_lang_Enum() 76 assertTrue(moe.equals(Sample.MOE)); in test_equalsLjava_lang_Object() 77 assertFalse(Sample.LARRY.equals(Sample.CURLY)); in test_equalsLjava_lang_Object() 78 assertTrue(Sample.LARRY.equals(larry)); in test_equalsLjava_lang_Object() [all …]
|
D | MockEnum2.java | 25 enum Sample { enum in MockEnum2 37 Sample samEnum; 39 Sample larry = Sample.LARRY;
|
D | MockEnum.java | 24 enum Sample { enum in MockEnum 38 Sample larry = Sample.LARRY;
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ThrowablesTest.java | 39 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_NoneThrown() 55 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UncheckedThrown() 75 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown() 96 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_NoneThrown() 115 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_UncheckedThrown() 135 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_CheckedThrown() 156 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_UndeclaredThrown() 177 Sample sample = new Sample() { in testPropagateIfPossible_TwoDeclared_NoneThrown() 196 Sample sample = new Sample() { in testPropagateIfPossible_TwoDeclared_UncheckedThrown() 219 Sample sample = new Sample() { in testPropagateIfPossible_TwoDeclared_CheckedThrown() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | bandwidthsmoother_unittest.cc | 51 EXPECT_FALSE(mon.Sample(9, bandwidth_sample)); in TEST() 52 EXPECT_TRUE(mon.Sample(10, bandwidth_sample)); in TEST() 57 EXPECT_TRUE(mon.Sample(20, bandwidth_sample)); in TEST() 70 EXPECT_FALSE(mon.Sample(9, kBandwidthSample)); in TEST() 71 EXPECT_TRUE(mon.Sample(10, kBandwidthSample)); in TEST() 84 EXPECT_FALSE(mon.Sample(1, kBandwidthSample)); in TEST() 86 EXPECT_TRUE(mon.Sample(2, kBandwidthSample)); in TEST() 99 EXPECT_FALSE(mon.Sample(1, kBandwidthSample)); in TEST() 100 EXPECT_FALSE(mon.Sample(2, kBandwidthSample)); in TEST() 101 EXPECT_FALSE(mon.Sample(3, kBandwidthSample)); in TEST() [all …]
|
/external/chromium_org/base/metrics/ |
D | sample_map.cc | 14 typedef HistogramBase::Sample Sample; typedef 20 void SampleMap::Accumulate(Sample value, Count count) { in Accumulate() 26 Count SampleMap::GetCount(Sample value) const { in GetCount() 27 map<Sample, Count>::const_iterator it = sample_counts_.find(value); in GetCount() 35 for (map<Sample, Count>::const_iterator it = sample_counts_.begin(); in TotalCount() 49 Sample min; in AddSubtractImpl() 50 Sample max; in AddSubtractImpl() 76 void SampleMapIterator::Get(Sample* min, Sample* max, Count* count) const { in Get()
|
D | histogram.h | 389 Sample minimum, 390 Sample maximum, 403 static void InitializeBucketRanges(Sample minimum, 404 Sample maximum, 426 Sample declared_min() const { return declared_min_; } in declared_min() 427 Sample declared_max() const { return declared_max_; } in declared_max() 428 virtual Sample ranges(size_t i) const; 439 Sample* minimum, 440 Sample* maximum, 446 Sample expected_minimum, [all …]
|
D | histogram.cc | 82 typedef HistogramBase::Sample Sample; typedef 88 Sample minimum, in FactoryGet() 89 Sample maximum, in FactoryGet() 144 void Histogram::InitializeBucketRanges(Sample minimum, in InitializeBucketRanges() 145 Sample maximum, in InitializeBucketRanges() 151 Sample current = minimum; in InitializeBucketRanges() 161 Sample next; in InitializeBucketRanges() 178 Sample previous_range = -1; // Bottom range is always 0. in FindCorruption() 208 Sample Histogram::ranges(size_t i) const { in ranges() 218 Sample* minimum, in InspectConstructionArguments() [all …]
|
D | sparse_histogram.cc | 19 typedef HistogramBase::Sample Sample; typedef 43 Sample expected_minimum, in HasConstructionArguments() 44 Sample expected_maximum, in HasConstructionArguments() 50 void SparseHistogram::Add(Sample value) { in Add() 130 Sample largest_sample = 0; in WriteAsciiImpl() 134 Sample min; in WriteAsciiImpl() 135 Sample max; in WriteAsciiImpl() 150 Sample min; in WriteAsciiImpl() 151 Sample max; in WriteAsciiImpl()
|
D | bucket_ranges.cc | 69 static uint32 Crc32(uint32 sum, HistogramBase::Sample value) { in Crc32() 75 HistogramBase::Sample range; in Crc32() 76 unsigned char bytes[sizeof(HistogramBase::Sample)]; in Crc32() 86 HistogramBase::Sample range; in Crc32() 87 uint16 ints[sizeof(HistogramBase::Sample) / 2]; in Crc32() 89 DCHECK_EQ(sizeof(HistogramBase::Sample), sizeof(converter)); in Crc32() 104 void BucketRanges::set_range(size_t i, HistogramBase::Sample value) { in set_range()
|
D | sample_map.h | 26 virtual void Accumulate(HistogramBase::Sample value, 29 HistogramBase::Sample value) const OVERRIDE; 39 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_; 46 typedef std::map<HistogramBase::Sample, HistogramBase::Count> 55 virtual void Get(HistogramBase::Sample* min, 56 HistogramBase::Sample* max,
|
D | histogram_samples.cc | 20 virtual void Get(HistogramBase::Sample* min, 21 HistogramBase::Sample* max, 26 HistogramBase::Sample min_; 27 HistogramBase::Sample max_; 50 void SampleCountPickleIterator::Get(HistogramBase::Sample* min, in Get() 51 HistogramBase::Sample* max, in Get() 96 HistogramBase::Sample min; in Serialize() 97 HistogramBase::Sample max; in Serialize()
|
D | sample_vector.cc | 15 typedef HistogramBase::Sample Sample; typedef 25 void SampleVector::Accumulate(Sample value, Count count) { in Accumulate() 33 Count SampleVector::GetCount(Sample value) const { in GetCount() 58 HistogramBase::Sample min; in AddSubtractImpl() 59 HistogramBase::Sample max; in AddSubtractImpl() 86 size_t SampleVector::GetBucketIndex(Sample value) const { in GetBucketIndex() 132 void SampleVectorIterator::Get(HistogramBase::Sample* min, in Get() 133 HistogramBase::Sample* max, in Get()
|
D | histogram_base.h | 51 typedef int Sample; // Used for samples. typedef 54 static const Sample kSampleType_MAX; // INT_MAX 97 virtual bool HasConstructionArguments(Sample expected_minimum, 98 Sample expected_maximum, 101 virtual void Add(Sample value) = 0; 152 const std::string GetSimpleAsciiBucketRange(Sample sample) const;
|
D | sample_vector.h | 29 virtual void Accumulate(HistogramBase::Sample value, 32 HistogramBase::Sample value) const OVERRIDE; 44 virtual size_t GetBucketIndex(HistogramBase::Sample value) const; 66 virtual void Get(HistogramBase::Sample* min, 67 HistogramBase::Sample* max,
|
D | histogram_samples.h | 25 virtual void Accumulate(HistogramBase::Sample value, 27 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0; 75 virtual void Get(HistogramBase::Sample* min, 76 HistogramBase::Sample* max,
|
D | bucket_ranges.h | 31 typedef std::vector<HistogramBase::Sample> Ranges; 37 HistogramBase::Sample range(size_t i) const { return ranges_[i]; } in range() 38 void set_range(size_t i, HistogramBase::Sample value);
|
/external/chromium/base/metrics/ |
D | histogram.h | 268 typedef int Sample; // Used for samples (and ranges of samples). typedef 270 static const Sample kSampleType_MAX = INT_MAX; 275 typedef std::vector<Sample> Ranges; 318 Sample sample; 335 void Accumulate(Sample value, Count count, size_t index); 377 Sample minimum, 378 Sample maximum, 441 Sample declared_min() const { return declared_min_; } in declared_min() 442 Sample declared_max() const { return declared_max_; } in declared_max() 443 virtual Sample ranges(size_t i) const; [all …]
|
D | histogram.cc | 77 Sample minimum, in FactoryGet() 78 Sample maximum, in FactoryGet() 311 Sample previous_range = -1; // Bottom range is always 0. in FindCorruption() 356 Histogram::Sample Histogram::ranges(size_t i) const { in ranges() 371 bool Histogram::HasConstructorArguments(Sample minimum, in HasConstructorArguments() 372 Sample maximum, in HasConstructorArguments() 390 Histogram::Histogram(const std::string& name, Sample minimum, in Histogram() 391 Sample maximum, size_t bucket_count) in Histogram() 440 Sample current = declared_min(); in InitializeBucketRange() 466 size_t Histogram::BucketIndex(Sample value) const { in BucketIndex() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | SimpleTimeLimiterTest.java | 121 Sample proxy = service.newProxy( in testGoodMethodWithEnoughTime() 122 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); in testGoodMethodWithEnoughTime() 131 Sample proxy = service.newProxy( in testGoodMethodWithNotEnoughTime() 132 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS); in testGoodMethodWithNotEnoughTime() 149 Sample proxy = service.newProxy( in testBadMethodWithEnoughTime() 150 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); in testBadMethodWithEnoughTime() 162 Sample proxy = service.newProxy( in testBadMethodWithNotEnoughTime() 163 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS); in testBadMethodWithNotEnoughTime() 180 public interface Sample { interface in SimpleTimeLimiterTest 188 public static class SampleImpl implements Sample {
|
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
D | sample.js | 19 function Sample(category, title, colorId, start, args) { class 23 Sample.prototype = { class 28 Sample: Sample
|
/external/llvm/lib/Target/R600/ |
D | SIIntrinsics.td | 23 …class Sample : Intrinsic <[llvm_v4f32_ty], [llvm_anyvector_ty, llvm_v32i8_ty, llvm_v16i8_ty, llvm_… 25 def int_SI_sample : Sample; 26 def int_SI_sampleb : Sample; 27 def int_SI_sampled : Sample; 28 def int_SI_samplel : Sample;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/shaders/ |
D | Passthrough11.hlsl | 13 return Texture.Sample(Sampler, inTexCoord).rgba; 18 return float4(Texture.Sample(Sampler, inTexCoord).rgb, 1.0f); 23 return float4(Texture.Sample(Sampler, inTexCoord).rrr, 1.0f); 28 return Texture.Sample(Sampler, inTexCoord).rrra;
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_gamepad_thunk.cc | 23 void Sample(PP_Instance instance, struct PP_GamepadsSampleData* data) { in Sample() function 30 enter.functions()->Sample(instance, data); in Sample() 34 &Sample
|
/external/chromium_org/net/disk_cache/ |
D | stats_histogram.cc | 24 Sample minimum, in StatsHistogram() 25 Sample maximum, in StatsHistogram() 44 Sample minimum = 1; in FactoryGet() 45 Sample maximum = disk_cache::Stats::kDataSizesLength - 1; in FactoryGet()
|