/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
glue.h | 1 /* $NetBSD: glue.h,v 1.5 2003/08/07 16:43:27 agc Exp $ */
34 * @(#)glue.h 8.1 (Berkeley) 6/4/93
39 * allocated and linked in via this glue structure.
41 struct glue {
struct 42 struct glue *next;
47 extern struct glue __sglue;
|
findfp.c | 57 #include "glue.h"
75 static struct glue uglue = { 0, FOPEN_MAX - 3, usual };
91 struct glue __sglue = { &uglue, 3, __sF };
93 static struct glue *moreglue(int);
100 static struct glue *
103 struct glue *g;
108 g = (struct glue *)malloc(sizeof(*g) + ALIGNBYTES + n * sizeof(FILE)
134 struct glue *g;
176 struct glue *g;
|
fwalk.c | 53 #include "glue.h"
60 struct glue *g;
|
/bionic/libc/stdio/ |
glue.h | 1 /* $OpenBSD: glue.h,v 1.4 2004/01/11 21:39:51 millert Exp $ */ 41 * allocated and linked in via this glue structure. 43 struct glue { struct 44 struct glue *next; 50 __LIBC32_LEGACY_PUBLIC__ extern struct glue __sglue;
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
SampleVideoFragment.java | 51 static void playWhenReady(PlaybackGlue glue) { 52 if (glue.isPrepared()) { 53 glue.play(); 55 glue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { 57 public void onPreparedStateChanged(PlaybackGlue glue) { 58 if (glue.isPrepared()) { 59 glue.removePlayerCallback(this); 60 glue.play(); 67 static void loadSeekData(final PlaybackTransportControlGlue glue) { 68 if (glue.isPrepared()) [all...] |
SampleVideoSupportFragment.java | 54 static void playWhenReady(PlaybackGlue glue) { 55 if (glue.isPrepared()) { 56 glue.play(); 58 glue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { 60 public void onPreparedStateChanged(PlaybackGlue glue) { 61 if (glue.isPrepared()) { 62 glue.removePlayerCallback(this); 63 glue.play(); 70 static void loadSeekData(final PlaybackTransportControlGlue glue) { 71 if (glue.isPrepared()) [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/ |
PlaybackGlueTest.java | 49 PlaybackGlue glue = Mockito.spy(new PlaybackGlueImpl(context)); local 52 glue.setHost(host); 53 Mockito.verify(glue, times(1)).onAttachedToHost(host); 54 assertSame(glue, host.mGlue); 55 assertSame(host, glue.getHost()); 58 Mockito.verify(glue, times(1)).onHostStart(); 61 Mockito.verify(glue, times(1)).onHostResume(); 64 Mockito.verify(glue, times(1)).onHostPause(); 67 Mockito.verify(glue, times(1)).onHostStop(); 71 Mockito.verify(glue, times(1)).onDetachedFromHost() 86 PlaybackGlue glue = Mockito.spy(new PlaybackGlueImpl(context)); local [all...] |
MediaPlayerGlueTest.java | 57 final MediaPlayerGlue glue = Mockito.spy(result[0]); local 58 Mockito.when(glue.getUpdatePeriod()).thenReturn(100); 62 glue.setHost(host); 63 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 65 glue.setPlayerCallback(new PlaybackGlue.PlayerCallback() { 68 glue.play(); 76 glue.setMediaSource(Uri.parse( 91 glue.enableProgressUpdating(true); 94 Mockito.reset(glue); 96 Mockito.verify(glue, atLeastOnce()).updateProgress() [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
PlaybackControlGlueTest.java | 148 PlaybackControlGlue glue; field in class:PlaybackControlGlueTest 157 glue = new PlayControlGlueImpl(context, new int[]{ 172 glue.setControlsRow(row); 182 assertFalse(glue.isMediaPlaying()); 183 glue.onActionClicked(playPause); 184 assertTrue(glue.isMediaPlaying()); 185 assertEquals(PlaybackControlGlue.PLAYBACK_SPEED_NORMAL, glue.getCurrentSpeedId()); 190 glue.onActionClicked(fastForward); 191 assertEquals(PlaybackControlGlue.PLAYBACK_SPEED_FAST_L0, glue.getCurrentSpeedId()); 194 glue.onActionClicked(fastForward) [all...] |
PlaybackControlSupportGlueTest.java | 151 PlaybackControlSupportGlue glue; field in class:PlaybackControlSupportGlueTest 160 glue = new PlayControlGlueImpl(context, new int[]{ 175 glue.setControlsRow(row); 185 assertFalse(glue.isMediaPlaying()); 186 glue.onActionClicked(playPause); 187 assertTrue(glue.isMediaPlaying()); 188 assertEquals(PlaybackControlSupportGlue.PLAYBACK_SPEED_NORMAL, glue.getCurrentSpeedId()); 193 glue.onActionClicked(fastForward); 194 assertEquals(PlaybackControlSupportGlue.PLAYBACK_SPEED_FAST_L0, glue.getCurrentSpeedId()); 197 glue.onActionClicked(fastForward) [all...] |
DetailsFragmentTest.java | 585 final MediaPlayerGlue glue = new MediaPlayerGlue(activity); 586 detailsFragment.mDetailsBackgroundController.setupVideoPlayback(glue); 587 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 588 glue.setArtist("A Googleer"); 589 glue.setTitle("Diving with Sharks"); 590 glue.setMediaSource(Uri.parse( 620 // wait a little bit to replace with new Glue 697 // wait a little bit to replace with new Glue 713 // wait for new glue to get its glue hos [all...] |
DetailsSupportFragmentTest.java | 588 final MediaPlayerGlue glue = new MediaPlayerGlue(activity); 589 detailsFragment.mDetailsBackgroundController.setupVideoPlayback(glue); 590 glue.setMode(MediaPlayerGlue.REPEAT_ALL); 591 glue.setArtist("A Googleer"); 592 glue.setTitle("Diving with Sharks"); 593 glue.setMediaSource(Uri.parse( 623 // wait a little bit to replace with new Glue 700 // wait a little bit to replace with new Glue 716 // wait for new glue to get its glue hos [all...] |