/external/icu/icu4c/source/samples/ |
Makefile.in | 1 ## Makefile.in for ICU samples 14 subdir = samples 41 all-samples: all-samples-recursive 42 clean-samples: clean-samples-recursive 43 check-samples: check-samples-recursive 45 # Note (srl 4/15/2002) do NOT recursively check samples for 2.1, look into testing them in the future. 69 all-samples-recursive check-samples-recursive clean-samples-recursive [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 25 int samples, bool stereo) 27 int bufferSize = samples * (stereo? 2 : 1) * BPS; 33 for (int i = 0; i < samples; i++) { 46 int maxPositive, int samples, bool stereo) 48 int bufferSize = samples * (stereo? 2 : 1) * BPS; 56 for (int i = 0; i < samples; i++) { 71 int samples, bool stereo) 73 int bufferSize = samples * (stereo? 2 : 1) * BPS; 78 for (int i = 0; i < samples; i++) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetReadsTester.java | 41 getMultiset().elementSet().contains(samples.e0)); 48 Multisets.immutableEntry(samples.e0, 1))); 54 Multisets.immutableEntry(samples.e3, 0))); 59 getMultiset().entrySet().contains(samples.e0)); 76 1 ^ samples.e0.hashCode(), getMultiset().entrySet().hashCode()); 86 other.add(samples.e0); 94 other.remove(samples.e0); 95 other.add(samples.e3); 109 1 ^ samples.e0.hashCode(), getMultiset().hashCode());
|
MultisetEntrySetTester.java | 60 Multisets.immutableEntry(samples.e0, 1), iterator.next()); 77 Multisets.immutableEntry(samples.e0, 1))); 80 getMultiset().contains(samples.e0)); 89 Multisets.immutableEntry(samples.e0, 2))); 92 getMultiset().contains(samples.e0)); 101 Collections.singleton(Multisets.immutableEntry(samples.e0, 1)))); 104 getMultiset().contains(samples.e0)); 113 Collections.singleton(Multisets.immutableEntry(samples.e0, 2)))); 116 getMultiset().contains(samples.e0)); 125 Collections.singleton(Multisets.immutableEntry(samples.e0, 1)))) [all...] |
MultisetRemoveTester.java | 49 getMultiset().remove(samples.e0, -1); 58 getMultiset().remove(samples.e0, 2); 65 int originalCount = getMultiset().count(samples.e0); 66 assertEquals("old count", originalCount, getMultiset().remove(samples.e0, 0)); 74 1, getMultiset().remove(samples.e0, 2)); 76 getMultiset().contains(samples.e0)); 77 assertEquals(0, getMultiset().count(samples.e0)); 85 3, getMultiset().remove(samples.e0, 2)); 87 getMultiset().contains(samples.e0)); 88 assertEquals(1, getMultiset().count(samples.e0)) [all...] |
AbstractMultisetSetCountTester.java | 115 assertSetCount(samples.e3, 0); 119 assertSetCount(samples.e0, 1); 124 assertSetCount(samples.e0, 3); 191 assertSetCount(samples.e3, 1); 199 assertSetCount(samples.e3, 1); 212 assertSetCount(samples.e3, 1); 222 assertSetCount(samples.e3, 3); 228 assertSetCount(samples.e0, 3); 233 assertSetCountIncreasingFailure(samples.e3, 1); 238 assertSetCountIncreasingFailure(samples.e3, 3) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioHelper.java | 270 int samples = super.read(audioData, offsetInBytes, sizeInBytes); local 272 Assert.assertEquals(samples, mTrack.write(audioData, offsetInBytes, samples)); 273 mPosition += samples / mTrack.getChannelCount(); 275 return samples; 283 int samples = super.read(audioData, offsetInBytes, sizeInBytes, readMode); local 285 Assert.assertEquals(samples, mTrack.write(audioData, offsetInBytes, samples, 287 mPosition += samples / mTrack.getChannelCount(); 289 return samples; 297 int samples = super.read(audioData, offsetInShorts, sizeInShorts); local 310 int samples = super.read(audioData, offsetInShorts, sizeInShorts, readMode); local 324 int samples = super.read(audioData, offsetInFloats, sizeInFloats, readMode); local 467 int samples = super.read(audioData, offsetInShorts, sizeInShorts, readFlags); local 478 int samples = super.read(audioData, offsetInFloats, sizeInFloats, readFlags); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapRemoveTester.java | 52 samples.e0.getValue(), getMap().remove(samples.e0.getKey())); 55 expectMissing(samples.e0); 64 getMap().remove(samples.e0.getKey()); 78 getMap().remove(samples.e0.getKey()); 92 getMap().remove(samples.e0.getKey()); 103 getMap().remove(samples.e3.getKey())); 124 getMap().remove(samples.e0.getKey()); 130 samples.e0.getValue(), get(samples.e0.getKey())) [all...] |
CollectionRemoveAllTester.java | 58 collection.removeAll(MinimalCollection.of(samples.e3))); 66 collection.removeAll(MinimalCollection.of(samples.e0))); 67 expectMissing(samples.e0); 74 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3))); 75 expectMissing(samples.e0); 84 assertTrue(collection.removeAll(MinimalCollection.of(samples.e0, samples.e3))); 100 samples.e0, samples.e0, samples.e0 [all...] |
CollectionRetainAllTester.java | 83 List<E> disjointList = Arrays.asList(samples.e3, samples.e4); 88 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4), 91 = new Target(MinimalCollection.of(samples.e1), "subset"); 95 MinimalCollection.of(samples.e0, samples.e0, samples.e3, samples.e3) [all...] |
MapPutTester.java | 56 nullKeyEntry = entry(null, samples.e3.getValue()); 57 nullValueEntry = entry(samples.e3.getKey(), null); 59 presentKeyNullValueEntry = entry(samples.e0.getKey(), null); 64 assertNull("put(notPresent, value) should return null", put(samples.e3)); 65 expectAdded(samples.e3); 73 put(samples.e3); 86 put(samples.e3); 99 put(samples.e3); 110 put(samples.e3); 115 expectMissing(samples.e3) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
WireSphere.java | 48 private static final int samples = 30;
field in class:WireSphere 57 ShortBuffer ib = BufferUtils.createShortBuffer(samples * 2 * 2 + zSamples * samples * 2 /*+ 3 * 2*/);
69 for (int i = curNum; i < curNum + samples - 1; i++) {
72 ib.put((short) (curNum + samples - 1)).put((short) curNum);
73 curNum += samples;
88 pb = BufferUtils.createVector3Buffer(samples * 2 + samples * zSamples /*+ 6 * 3*/);
109 float rate = FastMath.TWO_PI / (float) samples;
111 for (int i = 0; i < samples; i++) { [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
AmrCodec.cpp | 54 int encode(void *payload, int16_t *samples); 55 int decode(int16_t *samples, int count, void *payload, int length); 100 int AmrCodec::encode(void *payload, int16_t *samples) 106 samples, bytes + 1, &type, AMR_TX_WMF); 131 int AmrCodec::decode(int16_t *samples, int count, void *payload, int length) 169 if (AMRDecode(mDecoder, type, bytes, samples, MIME_IETF) != length) { 215 int encode(void *payload, int16_t *samples); 216 int decode(int16_t *samples, int count, void *payload, int length); 224 int GsmEfrCodec::encode(void *payload, int16_t *samples) 230 samples, bytes, &type, AMR_TX_WMF) [all...] |
/external/skia/gm/ |
morphology.cpp | 64 } samples[] = { local 75 for (unsigned i = 0; i < SK_ARRAY_COUNT(samples); ++i) { 79 samples[i].fRadiusX, 80 samples[i].fRadiusY, 85 samples[i].fRadiusX, 86 samples[i].fRadiusY,
|
/development/samples/SpellChecker/HelloSpellChecker/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/development/samples/SpellChecker/SampleSpellCheckerService/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/development/samples/TtsEngine/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/external/doclava/ |
moe.sh | 23 rm -fr res/ src/ && svn export --force https://doclava.googlecode.com/svn/trunk/ . && rm -fr lib/ samples/ src/com/google/doclava/DoclavaTask.java
|
/external/sonic/ |
Sonic.java | 61 // Move samples from one array to another. May move samples down within an array, but not up. 74 // Scale the samples by the factor. 76 short samples[], 86 int value = (samples[xSample]*fixedPointVolume) >> 12; 92 samples[xSample] = (short)value; 220 // Set the sample rate of the stream. This will cause samples buffered in the stream to be lost. 233 // Set the num channels of the stream. This will cause samples buffered in the stream to be lost. 260 // Add the input samples to the input buffer. 262 float samples[], [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
MapPutTester.java | 53 nullKeyEntry = entry(null, samples.e3.getValue()); 54 nullValueEntry = entry(samples.e3.getKey(), null); 56 presentKeyNullValueEntry = entry(samples.e0.getKey(), null); 61 assertNull("put(notPresent, value) should return null", put(samples.e3)); 62 expectAdded(samples.e3); 70 put(samples.e3); 83 put(samples.e3); 96 put(samples.e3); 107 put(samples.e3); 112 expectMissing(samples.e3) [all...] |
/external/ceres-solver/internal/ceres/ |
polynomial_test.cc | 314 vector<FunctionSample> samples; local 319 samples.push_back(sample); 321 const Vector polynomial = FindInterpolatingPolynomial(samples); 330 vector<FunctionSample> samples; local 337 samples.push_back(sample); 339 const Vector polynomial = FindInterpolatingPolynomial(samples); 348 vector<FunctionSample> samples; local 356 samples.push_back(sample); 364 samples.push_back(sample); 367 Vector polynomial = FindInterpolatingPolynomial(samples); 376 vector<FunctionSample> samples; local 407 vector<FunctionSample> samples; local 450 vector<FunctionSample> samples; local 487 vector<FunctionSample> samples; local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
AbstractMultisetSetCountTester.java | 110 assertSetCount(samples.e3, 0); 114 assertSetCount(samples.e0, 1); 119 assertSetCount(samples.e0, 3); 186 assertSetCount(samples.e3, 1); 194 assertSetCount(samples.e3, 1); 207 assertSetCount(samples.e3, 1); 217 assertSetCount(samples.e3, 3); 223 assertSetCount(samples.e0, 3); 228 assertSetCountIncreasingFailure(samples.e3, 1); 233 assertSetCountIncreasingFailure(samples.e3, 3) [all...] |
/development/samples/SimpleJNI/ |
Android.mk | 27 LOCAL_MODULE_TAGS := samples
|
/development/samples/SimpleJNI/jni/ |
Android.mk | 23 LOCAL_MODULE_TAGS := samples
|
/development/samples/VoicemailProviderDemo/ |
Android.mk | 20 LOCAL_MODULE_TAGS := samples
|