Home
last modified time | relevance | path

Searched refs:getChannel (Results 1 – 25 of 58) sorted by relevance

123

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DFileOutputStreamTest.java274 assertEquals(0, f.getChannel().position()); in test_getChannel()
281 assertEquals(0, fos.getChannel().position()); in test_getChannel_Append()
283 assertEquals(10, fos.getChannel().position()); in test_getChannel_Append()
285 assertEquals(20, fos.getChannel().position()); in test_getChannel_Append()
287 assertEquals(30, fos.getChannel().position()); in test_getChannel_Append()
291 fos.getChannel().position(); in test_getChannel_Append()
302 assertEquals(0, fos.getChannel().position()); in test_getChannel_UnAppend()
304 assertEquals(10, fos.getChannel().position()); in test_getChannel_UnAppend()
306 assertEquals(20, fos.getChannel().position()); in test_getChannel_UnAppend()
308 assertEquals(30, fos.getChannel().position()); in test_getChannel_UnAppend()
[all …]
DFileInputStreamTest.java399 assertEquals(0, fis.getChannel().position()); in test_getChannel()
403 assertEquals(count++, fis.getChannel().position()); in test_getChannel()
408 fis.getChannel().position(); in test_getChannel()
415 assertEquals(0, fis.getChannel().position()); in test_getChannel()
418 assertEquals(10, fis.getChannel().position()); in test_getChannel()
422 assertEquals(0, fis.getChannel().position()); in test_getChannel()
425 assertEquals(100, fis.getChannel().position()); in test_getChannel()
427 assertEquals(110, fis.getChannel().position()); in test_getChannel()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DCommonTokenStream.java68 while ( tokens.get(p).getChannel()!=channel ) { in consume()
111 while ( tokens.get(i).getChannel()!=channel ) { // also stops at EOF (it's onchannel) in skipOffTokenChannels()
119 while ( i>=0 && ((Token)tokens.get(i)).getChannel()!=channel ) { in skipOffTokenChannelsReverse()
134 while ( tokens.get(i).getChannel()!=channel ) { in setup()
147 if ( t.getChannel()==channel ) n++; in getNumberOfOnChannelTokens()
DClassicToken.java56 channel = oldToken.getChannel(); in ClassicToken()
98 public int getChannel() { in getChannel() method in ClassicToken
DCommonToken.java78 channel = oldToken.getChannel(); in CommonToken()
131 public int getChannel() { in getChannel() method in CommonToken
DLegacyCommonTokenStream.java113 else if ( discardOffChannelTokens && t.getChannel()!=this.channel ) { in fillBuffer()
147 while ( i<n && ((Token)tokens.get(i)).getChannel()!=channel ) { in skipOffTokenChannels()
154 while ( i>=0 && ((Token)tokens.get(i)).getChannel()!=channel ) { in skipOffTokenChannelsReverse()
DToken.java77 public int getChannel(); in getChannel() method
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatPackageWriterImpl.java99 muxed.getBox(muxedFileOutputStream.getChannel()); in write()
110 muxed.getBox(muxedFileOutputStream.getChannel()); in write()
117 isoFile.getBox(allQualis.getChannel()); in write()
150 FileChannel fc = fos.getChannel(); in write()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3commontoken.c49 static ANTLR3_UINT32 getChannel (pANTLR3_COMMON_TOKEN token);
338 token->getChannel = getChannel; in antlr3SetTokenAPI()
494 static ANTLR3_UINT32 getChannel (pANTLR3_COMMON_TOKEN token) in getChannel() function
571 if (token->getChannel(token) > ANTLR3_TOKEN_DEFAULT_CHANNEL) in toString()
574 outtext->addi (outtext, (ANTLR3_INT32)token->getChannel(token)); in toString()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRCommonTokenStream.h42 @property (assign, getter=getChannel,setter=setChannel) NSInteger channel;
84 - (NSInteger)getChannel;
DANTLRRecognizerSharedState.h61 @property (getter=getChannel,setter=setChannel:) NSUInteger channel;
81 - (NSUInteger) getChannel;
DANTLRToken.h71 - (NSUInteger) getChannel;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRCommonTokenStream.h42 @property (assign, getter=getChannel,setter=setChannel) NSInteger channel;
84 - (NSInteger)getChannel;
DANTLRRecognizerSharedState.h61 @property (getter=getChannel,setter=setChannel:) NSUInteger channel;
81 - (NSUInteger) getChannel;
DANTLRToken.h71 - (NSUInteger) getChannel;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRCommonTokenStream.h42 @property (assign, getter=getChannel,setter=setChannel) NSInteger channel;
84 - (NSInteger)getChannel;
DANTLRRecognizerSharedState.h61 @property (getter=getChannel,setter=setChannel:) NSUInteger channel;
81 - (NSUInteger) getChannel;
DANTLRToken.h71 - (NSUInteger) getChannel;
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DCommonTokenStream.js58 t.getChannel()!=this.channel )
93 while ( i<n && (this.tokens[i]).getChannel()!=this.channel ) {
100 while ( i>=0 && (this.tokens[i]).getChannel()!=this.channel ) {
DCommonToken.js18 this.channel = oldToken.getChannel();
80 getChannel: function() { method
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
DAndroidAudioRenderer.java99 if (src.getChannel() < 0) { in updateSourceParam()
183 soundPool.setVolume(src.getChannel(), src.getVolume(), in updateSourceParam()
441 int channel = src.getChannel(); in pauseSource()
460 int channel = src.getChannel(); in stopSource()
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtokens.py108 def getChannel(self): member in Token
266 def getChannel(self): member in CommonToken
371 def getChannel(self): member in ClassicToken
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
DChannelManager.java65 private Channel getChannel(int id) in getChannel() method in ChannelManager
792 Channel c = getChannel(id); in msgChannelExtendedData()
1069 Channel c = getChannel(id); in msgChannelData()
1109 Channel c = getChannel(id); in msgChannelWindowAdjust()
1257 Channel c = getChannel(id); in msgChannelRequest()
1343 Channel c = getChannel(id); in msgChannelEOF()
1365 Channel c = getChannel(id); in msgChannelClose()
1393 Channel c = getChannel(id); in msgChannelSuccess()
1415 Channel c = getChannel(id); in msgChannelFailure()
1434 Channel c = getChannel(sm.recipientChannelID); in msgChannelOpenConfirmation()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/audio/lwjgl/
DLwjglAudioRenderer.java312 if (src.getChannel() < 0) in updateSourceParam()
315 assert src.getChannel() >= 0; in updateSourceParam()
317 int id = channels[src.getChannel()]; in updateSourceParam()
739 boolean boundSource = i == src.getChannel(); in updateInThread()
892 alSourcePlay(channels[src.getChannel()]); in playSource()
911 assert src.getChannel() != -1; in pauseSource()
913 alSourcePause(channels[src.getChannel()]); in pauseSource()
932 int chan = src.getChannel(); in stopSource()
/external/smali/smali/src/test/java/
DLexerTest.java168 if (discardHiddenTokens && token.getChannel() == smaliParser.HIDDEN) { in runTest()
178 token.getChannel() == smaliParser.ERROR_CHANNEL); in runTest()

123