/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
NonLinComp_D16.c | 31 /* Non-linear compression by companding. The function works on a sample by sample */ 70 LVM_INT16 Sample; /* Input samples */ 71 LVM_INT32 SampleNo; /* Sample index */ 84 Sample = *pDataIn; 93 if ((LVM_INT32)Sample != -32768) 95 Temp = (LVM_INT16)((Sample * Sample) >> 15); 96 if(Sample >0) 98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)) [all...] |
/external/flatbuffers/samples/ |
sample_binary.py | 26 import MyGame.Sample.Color 27 import MyGame.Sample.Equipment 28 import MyGame.Sample.Monster 29 import MyGame.Sample.Vec3 30 import MyGame.Sample.Weapon 41 MyGame.Sample.Weapon.WeaponStart(builder) 42 MyGame.Sample.Weapon.WeaponAddName(builder, weapon_one) 43 MyGame.Sample.Weapon.WeaponAddDamage(builder, 3) 44 sword = MyGame.Sample.Weapon.WeaponEnd(builder) 46 MyGame.Sample.Weapon.WeaponStart(builder [all...] |
samplebinary.js | 31 MyGame.Sample.Weapon.startWeapon(builder); 32 MyGame.Sample.Weapon.addName(builder, weaponOne); 33 MyGame.Sample.Weapon.addDamage(builder, 3); 34 var sword = MyGame.Sample.Weapon.endWeapon(builder); 36 MyGame.Sample.Weapon.startWeapon(builder); 37 MyGame.Sample.Weapon.addName(builder, weaponTwo); 38 MyGame.Sample.Weapon.addDamage(builder, 5); 39 var axe = MyGame.Sample.Weapon.endWeapon(builder); 45 var inv = MyGame.Sample.Monster.createInventoryVector(builder, treasure); 48 var weapons = MyGame.Sample.Monster.createWeaponsVector(builder, weaps) [all...] |
SampleBinary.php | 25 join(DIRECTORY_SEPARATOR, array($root_dir, "samples", "MyGame", "Sample"))); 41 $sword = \MyGame\Sample\Weapon::CreateWeapon($builder, $weapon_one, 3); 43 $axe = \MyGame\Sample\Weapon::CreateWeapon($builder, $weapon_two, 5); 49 $inv = \MyGame\Sample\Monster::CreateInventoryVector($builder, $treasure); 52 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps); 54 $pos = \MyGame\Sample\Vec3::CreateVec3($builder, 1.0, 2.0, 3.0); 56 \MyGame\Sample\Monster::StartMonster($builder); 57 \MyGame\Sample\Monster::AddPos($builder, $pos); 58 \MyGame\Sample\Monster::AddHp($builder, 300); 59 \MyGame\Sample\Monster::AddName($builder, $name) [all...] |
/external/swiftshader/third_party/LLVM/projects/sample/tools/sample/ |
Makefile | 1 ##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===##
11 TOOLNAME=Sample
15 # We use LIBS because sample is a dynamic library.
17 USEDLIBS = sample.a
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
EnumTest.java | 29 enum Sample { 33 Sample larry = Sample.LARRY; 35 Sample moe = Sample.MOE; 60 assertTrue(0 < Sample.MOE.compareTo(Sample.LARRY)); 61 assertEquals(0, Sample.MOE.compareTo(Sample.MOE)); 62 assertTrue(0 > Sample.MOE.compareTo(Sample.CURLY)) [all...] |
MockEnum.java | 24 enum Sample { 38 Sample larry = Sample.LARRY;
|
MockEnum2.java | 25 enum Sample { 37 Sample samEnum; 39 Sample larry = Sample.LARRY;
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
MainActivity.java | 28 * The launchpad activity for this sample project. This activity launches other activities that 33 * This class describes an individual sample (the sample title, and the activity class that 34 * demonstrates this sample). 36 private class Sample { 40 public Sample(int titleResId, Class<? extends Activity> activityClass) { 53 * #onCreate(android.os.Bundle)} because the {@link Sample} constructor needs access to {@link 56 private static Sample[] mSamples; 63 mSamples = new Sample[]{ 64 new Sample(R.string.title_crossfade, CrossfadeActivity.class) [all...] |
/external/javassist/sample/evolve/ |
Sample.java | 1 package sample.evolve;
4 * This is a sample class used by Transformer.
6 public class Sample {
|
/external/webrtc/webrtc/base/ |
bandwidthsmoother_unittest.cc | 34 EXPECT_FALSE(mon.Sample(9, bandwidth_sample)); 35 EXPECT_TRUE(mon.Sample(10, bandwidth_sample)); 40 EXPECT_TRUE(mon.Sample(20, bandwidth_sample)); 53 EXPECT_FALSE(mon.Sample(9, kBandwidthSample)); 54 EXPECT_TRUE(mon.Sample(10, kBandwidthSample)); 67 EXPECT_FALSE(mon.Sample(1, kBandwidthSample)); 69 EXPECT_TRUE(mon.Sample(2, kBandwidthSample)); 82 EXPECT_FALSE(mon.Sample(1, kBandwidthSample)); 83 EXPECT_FALSE(mon.Sample(2, kBandwidthSample)); 84 EXPECT_FALSE(mon.Sample(3, kBandwidthSample)) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
ThrowablesTest.java | 38 Sample sample = new Sample() { local 50 sample.noneDeclared(); 54 Sample sample = new Sample() { local 67 sample.noneDeclared(); 74 Sample sample = new Sample() local 95 Sample sample = new Sample() { local 114 Sample sample = new Sample() { local 134 Sample sample = new Sample() { local 155 Sample sample = new Sample() { local 176 Sample sample = new Sample() { local 195 Sample sample = new Sample() { local 218 Sample sample = new Sample() { local 241 Sample sample = new Sample() { local 270 Sample sample = new Sample() { local 285 Sample sample = new Sample() { local 304 Sample sample = new Sample() { local 323 Sample sample = new Sample() { local 344 Sample sample = new Sample() { local 360 Sample sample = new Sample() { local 381 Sample sample = new Sample() { local 402 Sample sample = new Sample() { local [all...] |
/external/libchrome/base/metrics/ |
persistent_sample_map.h | 33 // Constructs a persistent sample map using a PersistentHistogramAllocator 42 void Accumulate(HistogramBase::Sample value, 44 HistogramBase::Count GetCount(HistogramBase::Sample value) const override; 56 // specific sample |value| of a histogram with the given |sample_map_id|. 60 HistogramBase::Sample value); 67 // if sample does not exist. 68 HistogramBase::Count* GetSampleCountStorage(HistogramBase::Sample value); 71 // the sample (initialized to zero) if it does not already exists. 73 HistogramBase::Sample value); 80 // Imports samples from persistent memory by iterating over all sample [all...] |
sample_map.cc | 14 typedef HistogramBase::Sample Sample; 23 typedef std::map<HistogramBase::Sample, HistogramBase::Count> 32 void Get(HistogramBase::Sample* min, 33 HistogramBase::Sample* max, 61 void SampleMapIterator::Get(Sample* min, Sample* max, Count* count) const { 85 void SampleMap::Accumulate(Sample value, Count count) { 91 Count SampleMap::GetCount(Sample value) const { 92 std::map<Sample, Count>::const_iterator it = sample_counts_.find(value) [all...] |
sample_map.h | 32 void Accumulate(HistogramBase::Sample value, 34 HistogramBase::Count GetCount(HistogramBase::Sample value) const override; 43 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_;
|
histogram.h | 120 Sample minimum, 121 Sample maximum, 134 Sample minimum, 135 Sample maximum, 147 Sample minimum, 148 Sample maximum, 156 static void InitializeBucketRanges(Sample minimum, 157 Sample maximum, 163 // redundant count that doesn't match the sample count. We allow for a 180 Sample declared_min() const { return declared_min_; 372 Sample sample; member in struct:base::LinearHistogram::DescriptionPair [all...] |
bucket_ranges.h | 35 typedef std::vector<HistogramBase::Sample> Ranges; 41 HistogramBase::Sample range(size_t i) const { return ranges_[i]; } 42 void set_range(size_t i, HistogramBase::Sample value); 63 // put a sample into. For each index, show the smallest sample that can be
|
persistent_sample_map.cc | 15 typedef HistogramBase::Sample Sample; 24 typedef std::map<HistogramBase::Sample, HistogramBase::Count*> 33 void Get(HistogramBase::Sample* min, 34 HistogramBase::Sample* max, 63 void PersistentSampleMapIterator::Get(Sample* min, 64 Sample* max, 83 // allocator or they will get attached to the wrong sample map. 86 Sample value; // The value for which this record holds a count. 90 // The type-id used to identify sample records inside an allocator [all...] |
/external/javassist/sample/vector/ |
Sample.java | 1 package sample.vector;
3 public class Sample extends java.util.Vector {
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
SpyStubbingMisuseTest.java | 30 public class Sample { } 33 Sample getSample() { 34 return new Sample(); 39 Sample sample; field in class:SpyStubbingMisuseTest.Sampler 41 sample = f.getSample();
|
/external/testng/src/test/java/test/bug90/ |
Sample.java | 6 public class Sample {
|
Bug90Test.java | 20 XmlTest t = createXmlTest(s, "Bug90 test", Sample.class.getName()); 25 Sample.m_afterClassWasRun = false; 28 Assert.assertTrue(Sample.m_afterClassWasRun);
|
/external/deqp/modules/internal/ |
ditTestLogTests.cpp | 43 : TestCase(testCtx, "sample_list", "Basic sample list usage") 51 log << TestLog::SampleList("TestSamples", "Test Sample List") 58 log << TestLog::Sample << 1 << 2 << 2.3 << TestLog::EndSample 59 << TestLog::Sample << 0 << 0 << 0 << TestLog::EndSample 60 << TestLog::Sample << 421 << -23 << 0.00001 << TestLog::EndSample 61 << TestLog::Sample << 2 << 9 << -1e9 << TestLog::EndSample 62 << TestLog::Sample << std::numeric_limits<deInt64>::max() << std::numeric_limits<deInt64>::min() << -0.0f << TestLog::EndSample 63 << TestLog::Sample << 0x3355 << 0xf24 << std::numeric_limits<double>::max() << TestLog::EndSample;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
InputSmoother.java | 20 * out the data using a moving average over this window size. A sample window size n will 28 * Only consecutive samples will factor into the rolling average sample window. 29 * Any samples that are older than this maximum are continually purged from the sample window, 37 private final Deque<Sample> mRecentSamples = Lists.newLinkedList(); 40 private static class Sample { 50 Sample sample; local 53 final Sample last = mRecentSamples.peekLast(); 59 sample = mRecentSamples.removeFirst(); 61 sample = new Sample() [all...] |
/external/javassist/src/main/javassist/tools/rmi/ |
Sample.java | 23 public class Sample {
|