/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
QueuePeekTester.java | 46 samples.e0, getQueue().peek()); 54 samples.e0, getQueue().peek());
|
SetNavigationTester.java | 93 assertNull(navigableSet.lower(samples.e0)); 94 assertNull(navigableSet.floor(samples.e0)); 95 assertNull(navigableSet.ceiling(samples.e0)); 96 assertNull(navigableSet.higher(samples.e0)); 128 assertNull(navigableSet.lower(samples.e0)); 129 assertEquals(a, navigableSet.floor(samples.e0)); 130 assertEquals(a, navigableSet.ceiling(samples.e0)); 131 assertNull(navigableSet.higher(samples.e0));
|
MapEqualsTester.java | 50 Entry<K, V> e3 = getSubjectGenerator().samples().e3; 62 entries.add(entry(null, samples.e3.getValue())); 73 entries.add(entry(null, samples.e3.getValue())); 86 entries.add(entry(samples.e3.getKey(), null)); 97 entries.add(entry(samples.e3.getKey(), null));
|
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
FrameBuffer.java | 79 private int samples = 1; field in class:FrameBuffer 159 * of samples. If any textures are attached to this FrameBuffer, then 160 * they must have the same number of samples as given in this constructor. 168 * @param samples The number of samples to use for a multisampled 173 public FrameBuffer(int width, int height, int samples){ 180 this.samples = samples == 0 ? 1 : samples; 250 if (samples != tex.getImage().getMultiSamples() [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Framebuffer.cpp | 273 // If the framebuffer is not complete, attachment samples may be mismatched, and it 275 // have a color attachment, and all its attachments must have the same number of samples, 276 // so the number of samples for the colorbuffer will indicate whether the framebuffer is 292 int samples = -1; local 337 samples = colorbuffer->getSamples(); 376 if (samples == -1) 378 samples = depthbuffer->getSamples(); 380 else if (samples != depthbuffer->getSamples()) 415 if (samples == -1) 417 samples = stencilbuffer->getSamples() [all...] |
Renderbuffer.cpp | 197 Colorbuffer::Colorbuffer(int width, int height, GLenum format, GLsizei samples) 203 int supportedSamples = getContext()->getNearestSupportedSamples(requestedFormat, samples); 322 DepthStencilbuffer::DepthStencilbuffer(int width, int height, GLsizei samples) 328 int supportedSamples = getContext()->getNearestSupportedSamples(D3DFMT_D24S8, samples); 417 Depthbuffer::Depthbuffer(int width, int height, GLsizei samples) : DepthStencilbuffer(width, height, samples) 455 Stencilbuffer::Stencilbuffer(int width, int height, GLsizei samples) : DepthStencilbuffer(width, height, samples)
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.h | 81 size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 85 size_t bytes, unsigned samples, unsigned current_frame); 87 // FLAC takes samples aligned on 32bit boundaries, use this buffer for the conversion
|
/frameworks/av/services/audioflinger/ |
AudioResamplerSinc.h | 55 int32_t* out, uint32_t phase, const int16_t *samples, uint32_t vRL); 61 int32_t lerp, const int16_t* samples);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
SampleSelectionPage.java | 109 // Update samples list if the SDK target has changed (or if it hasn't yet 140 if (mValues.samples != null && mValues.samples.size() > 0) { 141 Object[] samples = mValues.samples.toArray(); local 142 mTableViewer.setInput(samples); 145 selectSample(mValues.samples.get(0).getSecond()); 237 // Ensure that when creating samples, the Finish button isn't enabled until 248 if (mValues.samples == null || mValues.samples.size() == 0) [all...] |
/external/flac/libFLAC/ |
ogg_encoder_aspect.c | 111 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) 114 * This depends on the behavior of FLAC__StreamEncoder that 'samples' 117 const FLAC__bool is_metadata = (samples == 0); 137 packet.granulepos = aspect->samples_written + samples; 185 * FLAC__ASSERT(total_samples_estimate == 0 || total_samples_estimate == aspect->samples_written + samples); 194 /*@@@ can't figure out a way to pass a useful number for 'samples' to the write_callback, so we'll just pass 0 */ 212 else if(is_metadata && current_frame == 0 && samples == 0 && bytes == 4 && 0 == memcmp(buffer, FLAC__STREAM_SYNC_STRING, sizeof(FLAC__STREAM_SYNC_STRING))) { 224 aspect->samples_written += samples;
|
md5.c | 277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) 287 memcpy(buf_, signal[0], sizeof(FLAC__int32) * samples); 288 for(sample = 0; sample < samples; sample++, buf1_+=2) 293 for(sample = 0; sample < samples; sample++) 300 for(sample = 0; sample < samples; sample++) { 310 for(sample = 0; sample < samples; sample++) { 317 for(sample = 0; sample < samples; sample++) { 328 for(sample = 0; sample < samples; sample++) { 340 for(sample = 0; sample < samples; sample++) { 348 for(sample = 0; sample < samples; sample++) [all...] |
/external/qemu/audio/ |
esdaudio.c | 93 int samples; member in struct:__anon13132 98 .samples = 1024, 120 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 152 int chunk = audio_MIN (to_mix, hw->samples - rpos); 176 rpos = (rpos + wsamples) % hw->samples; 180 rpos = (rpos + chunk) % hw->samples; 241 dolog ("Will use 16 instead of 32 bit samples\n"); 259 hw->samples = conf.samples; 260 esd->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift) [all...] |
paaudio.c | 66 int samples; member in struct:__anon13139 72 .samples = 1024, 93 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 125 int chunk = audio_MIN (to_mix, hw->samples - rpos); 136 rpos = (rpos + chunk) % hw->samples; 188 threshold = conf.divisor ? hw->samples / conf.divisor : 0; 220 int chunk = audio_MIN (to_grab, hw->samples - wpos); 230 wpos = (wpos + chunk) % hw->samples; 258 dead = hw->samples - live; 355 hw->samples = conf.samples [all...] |
audio.c | 803 int samples, struct mixeng_volume *vol) 807 (void) samples; 956 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { 957 dolog ("live=%d hw->samples=%d\n", live, hw->samples); 966 int left = hw->samples - pending; 973 int samples_till_end_of_buf = hw->samples - hw->rpos; 978 hw->rpos = (hw->rpos + samples_to_clip) % hw->samples; 994 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) { 995 dolog ("live=%d hw->samples=%d\n", live, hw->samples) 1011 int samples, live, ret = 0, swlim, isamp, osamp, rpos, total = 0; local 1108 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Dome.java | 79 * The number of samples along the radial. 101 * The number of samples along the radial. 125 * The number of samples along the radial. 151 * Get the number of samples radially around the main axis of the dome. 176 * @param radialSamples the new number of radial samples of the dome. 305 for (int samples = 0; samples < radialSamples; samples++, index += 3) { 307 ib.put((short) (bottomPlaneStart + samples)); 308 ib.put((short) (bottomPlaneStart + samples + 1)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
AACTrackImpl.java | 77 private List<ByteBuffer> samples; field in class:AACTrackImpl 100 samples = new LinkedList<ByteBuffer>(); 106 double duration = samples.size() / packetsPerSecond; 110 for (int i = 0; i < samples.size(); i++) { 111 int size = samples.get(i).capacity(); 204 return samples; 275 samples.add(ByteBuffer.wrap(data));
|
Amf0Track.java | 53 LinkedList<ByteBuffer> samples = new LinkedList<ByteBuffer>(); local 55 samples.add(ByteBuffer.wrap(bytes)); 57 return samples; 91 // AMF0 tracks do not have Sync Samples
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
NavigableMapTestSuiteBuilder.java | 122 // derive values for inclusive filtering from the input samples 123 SampleElements<Entry<K, V>> samples = delegate.samples(); local 126 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4); 253 public SampleElements<Entry<K, V>> samples() { 254 return delegate.samples(); [all...] |
MapTestSuiteBuilder.java | 191 public SampleElements<Map.Entry<K, V>> samples() { method in class:MapTestSuiteBuilder.MapEntrySetGenerator 192 return mapGenerator.samples(); 218 private final SampleElements<K> samples; field in class:MapTestSuiteBuilder.MapKeySetGenerator 225 this.mapGenerator.samples(); 226 this.samples = new SampleElements<K>( 235 public SampleElements<K> samples() { method in class:MapTestSuiteBuilder.MapKeySetGenerator 236 return samples; 279 private final SampleElements<V> samples; field in class:MapTestSuiteBuilder.MapValueCollectionGenerator 286 this.mapGenerator.samples(); 287 this.samples = new SampleElements<V> 296 public SampleElements<V> samples() { method in class:MapTestSuiteBuilder.MapValueCollectionGenerator [all...] |
TestEnumSetGenerator.java | 34 public SampleElements<AnEnum> samples() { method in class:TestEnumSetGenerator
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SortedMultisetTestSuiteBuilder.java | 139 SampleElements<E> samples = delegate.samples(); local 142 Arrays.asList(samples.e0, samples.e1, samples.e2, samples.e3, 143 samples.e4); 259 public SampleElements<E> samples() { 260 return delegate.samples();
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 34 * Home activity for app navigation code samples. 58 ArrayList<SampleInfo> samples = new ArrayList<SampleInfo>(); local 70 samples.add(sample); 73 return samples;
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 34 * Home activity for app navigation code samples. 58 ArrayList<SampleInfo> samples = new ArrayList<SampleInfo>(); local 70 samples.add(sample); 73 return samples;
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_audio.c | 220 SDL_Delay((audio->spec.samples*1000)/audio->spec.freq); 457 if ( desired->samples == 0 ) { 460 desired->samples = (Uint16)SDL_atoi(env); 463 if ( desired->samples == 0 ) { 465 int samples = (desired->freq / 1000) * 46; local 467 while ( power2 < samples ) { 470 desired->samples = power2; 506 if ( audio->spec.samples != desired->samples ) { 507 desired->samples = audio->spec.samples [all...] |
/external/libvorbis/lib/ |
vorbisfile.c | 454 /* less than zero? This is a stream with samples trimmed off 724 int i,samples; local 746 samples=vorbis_synthesis_pcmout(&vf->vd,NULL); 748 granulepos-=samples; 1652 long samples=vorbis_synthesis_pcmout(&vf->vd,NULL); local 1853 long samples; local 2009 long samples=vorbis_synthesis_pcmout(&vf->vd,&pcm); local 2109 int samples=vorbis_synthesis_pcmout(vd,&pcm); local 2126 int samples=vorbis_synthesis_lapout(&vf->vd,&pcm); local [all...] |