/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapPutAllTester.java | 59 containsNullKey = singletonList(entry(null, samples.e3.getValue())); 60 containsNullValue = singletonList(entry(samples.e3.getKey(), null)); 81 expectAdded(samples.e3, samples.e4); 92 expectMissing(samples.e3, samples.e4); 98 putAll(MinimalCollection.of(samples.e3, samples.e0)); 99 expectAdded(samples.e3); 108 putAll(MinimalCollection.of(samples.e3, samples.e0)) [all...] |
CollectionAddTester.java | 50 collection.add(samples.e3)); 51 expectAdded(samples.e3); 57 collection.add(samples.e3); 62 expectMissing(samples.e3); 70 collection.add(samples.e0)); 103 assertTrue(collection.add(samples.e3));
|
QueueOfferTester.java | 38 getQueue().offer(samples.e3)); 39 expectAdded(samples.e3);
|
SetRemoveTester.java | 38 getSet().remove(samples.e0); 41 getSet().contains(samples.e0));
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioHelper.java | 461 int samples = super.read(audioData, offsetInBytes, sizeInBytes); local 463 Assert.assertEquals(samples, mTrack.write(audioData, offsetInBytes, samples)); 464 mPosition += samples / mTrack.getChannelCount(); 466 return samples; 474 int samples = super.read(audioData, offsetInBytes, sizeInBytes, readMode); local 476 Assert.assertEquals(samples, mTrack.write(audioData, offsetInBytes, samples, 478 mPosition += samples / mTrack.getChannelCount(); 480 return samples; 488 int samples = super.read(audioData, offsetInShorts, sizeInShorts); local 501 int samples = super.read(audioData, offsetInShorts, sizeInShorts, readMode); local 515 int samples = super.read(audioData, offsetInFloats, sizeInFloats, readMode); local 658 int samples = super.read(audioData, offsetInShorts, sizeInShorts, readFlags); local 669 int samples = super.read(audioData, offsetInFloats, sizeInFloats, readFlags); local [all...] |
/cts/suite/audio_quality/test/ |
ClientInterfaceTest.cpp | 66 const int samples = 8192*2; local 68 maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 85 const int samples = 44100 * 4; local 86 android::sp<Buffer> buffer(new Buffer(samples * 2, samples * 2, false)); 91 ASSERT_TRUE(buffer->amountHandled() == (samples * 2));
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
PluralSamples.java | 13 private final Map<Count, Double>[] samples = new Map[4]; // we do 1, 2, 3, and 4 decimals field in class:PluralSamples 20 samples[0] = Collections.unmodifiableMap(getValuesForDigits(pluralInfo, total, 0, 9)); 21 samples[1] = Collections.unmodifiableMap(getValuesForDigits(pluralInfo, total, 10, 99)); 22 samples[2] = Collections.unmodifiableMap(getValuesForDigits(pluralInfo, total, 100, 999)); 23 samples[3] = Collections.unmodifiableMap(getValuesForDigits(pluralInfo, total, 1000, 9999)); 73 * Get a set of samples for the locale. 92 return samples[digits - 1];
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
CollectionAddTester.java | 47 collection.add(samples.e3)); 48 expectAdded(samples.e3); 54 collection.add(samples.e3); 59 expectMissing(samples.e3); 67 collection.add(samples.e0)); 100 assertTrue(collection.add(samples.e3));
|
ListSetTester.java | 40 doTestSet(samples.e3); 59 doTestSet(samples.e3); 76 getList().set(-1, samples.e3); 87 getList().set(index, samples.e3); 98 getList().set(aValidIndex(), samples.e3); 109 getList().set(0, samples.e3);
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
multinomial_op_big_test.py | 38 samples = random_ops.multinomial( 43 x = self.evaluate(samples) 56 samples = random_ops.multinomial( 61 x = self.evaluate(samples) 76 samples = random_ops.multinomial( 81 # we'll run out of memory if we try to draw 1e9 samples directly 84 x = self.evaluate(samples)
|
/external/sonic/ |
sonic.c | 67 /* Scale the samples by the factor. */ 69 short *samples, 77 value = (*samples*fixedPointVolume) >> 12; 83 *samples++ = value; 282 /* Set the sample rate of the stream. This will cause samples buffered in the stream to 299 /* Set the num channels of the stream. This will cause samples buffered in the stream to 341 /* Add the input samples to the input buffer. */ 344 float *samples, 358 *buffer++ = (*samples++)*32767.0f; 364 /* Add the input samples to the input buffer. * 1014 short *samples; local [all...] |
/developers/samples/android/views/EmojiCompat/ |
build.gradle | 39 import com.example.android.samples.build.SampleGenPlugin
|
/developers/samples/android/wearable/wear/WearSpeakerSample/ |
build.gradle | 44 import com.example.android.samples.build.SampleGenPlugin
|
/development/samples/AndroidBeamDemo/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples tests
|
/development/samples/BackupRestore/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/development/samples/BasicGLSurfaceView/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/development/samples/BusinessCard/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/external/flac/libFLAC/include/private/ |
ogg_encoder_aspect.h | 60 typedef FLAC__StreamEncoderWriteStatus (*FLAC__OggEncoderAspectWriteCallbackProxy)(const void *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 62 FLAC__StreamEncoderWriteStatus FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data);
|
md5.h | 48 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_resource.c | 45 unsigned samples = MAX2(1, res->nr_samples); local 58 util_format_get_stride(res->format, width) * slices * samples);
|
/external/mesa3d/src/mesa/main/ |
multisample.c | 90 if (index >= ctx->DrawBuffer->Visual.samples) { 194 GLenum internalFormat, GLsizei samples) 199 * "If internalformat is a signed or unsigned integer format and samples 206 && samples > 0) { 216 * "If <samples is greater than the maximum number of samples supported 225 /* since the query returns samples sorted in descending order, 230 return samples > limit ? GL_INVALID_OPERATION : GL_NO_ERROR; 240 * <samples> is greater than the value of MAX_INTEGER_SAMPLES, then the 248 * * <internalformat> is a depth/stencil-renderable format and <samples> [all...] |
/external/webrtc/webrtc/common_audio/resampler/ |
sinusoidal_linear_chirp_source.cc | 21 size_t samples, 25 total_samples_(samples),
|
/external/deqp/modules/gles2/functional/ |
es2fFlushFinishTests.cpp | 143 void analyzeResults (const std::vector<Sample>& samples, const CalibrationParams& calibrationParams); 333 std::vector<Vec2> getPointsFromSamples (const std::vector<FlushFinishCase::Sample>& samples, const deUint64 FlushFinishCase::Sample::*field) 335 vector<Vec2> points(samples.size()); 337 for (size_t ndx = 0; ndx < samples.size(); ndx++) 338 points[ndx] = Vec2(float(samples[ndx].numDrawCalls), float(samples[ndx].*field)); 344 T getMaximumValue (const std::vector<FlushFinishCase::Sample>& samples, const T FlushFinishCase::Sample::*field) 346 DE_ASSERT(!samples.empty()); 348 T maxVal = samples[0].*field; 350 for (size_t ndx = 1; ndx < samples.size(); ndx++ [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTexture.cpp | 84 Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const int samples) 88 , m_numSamples (samples) 93 Texture::Texture (const Texture& other, const int samples) 97 , m_numSamples (samples)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestContainerGenerator.java | 39 SampleElements<E> samples(); method in interface:TestContainerGenerator
|