/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileOutputStreamTest.java | 280 * java.io.FileOutputStream#getChannel() 292 assertEquals(0, f.getChannel().position()); 299 assertEquals(0, fos.getChannel().position()); 301 assertEquals(10, fos.getChannel().position()); 303 assertEquals(20, fos.getChannel().position()); 305 assertEquals(30, fos.getChannel().position()); 309 fos.getChannel().position(); 320 assertEquals(0, fos.getChannel().position()); 322 assertEquals(10, fos.getChannel().position()); 324 assertEquals(20, fos.getChannel().position()) [all...] |
FileInputStreamTest.java | 451 assertEquals(0, fis.getChannel().position()); 455 assertEquals(count++, fis.getChannel().position()); 460 fis.getChannel().position(); 467 assertEquals(0, fis.getChannel().position()); 470 assertEquals(10, fis.getChannel().position()); 474 assertEquals(0, fis.getChannel().position()); 477 assertEquals(100, fis.getChannel().position()); 479 assertEquals(110, fis.getChannel().position());
|
/external/deqp/framework/common/ |
tcuBilinearImageCompare.cpp | 44 static inline deUint8 getChannel (deUint32 color) 66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT; 67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT; 68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT; 69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT; 106 res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; 107 res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT [all...] |
tcuFuzzyImageCompare.cpp | 38 static inline deUint8 getChannel (deUint32 color) 43 static inline deUint8 getChannel (deUint32 color, int channel) 55 return Vec4((float)getChannel<0>(color), (float)getChannel<1>(color), (float)getChannel<2>(color), (float)getChannel<3>(color)); 97 ptr[c] = getChannel(val, c); 110 int r = de::max<int>(de::abs((int)getChannel<0>(pa) - (int)getChannel<0>(pb)) - minErrThreshold, 0); 111 int g = de::max<int>(de::abs((int)getChannel<1>(pa) - (int)getChannel<1>(pb)) - minErrThreshold, 0) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
CommonTokenStream.java | 68 while ( tokens.get(p).getChannel()!=channel ) { 111 while ( tokens.get(i).getChannel()!=channel ) { // also stops at EOF (it's onchannel) 119 while ( i>=0 && ((Token)tokens.get(i)).getChannel()!=channel ) { 134 while ( tokens.get(i).getChannel()!=channel ) { 147 if ( t.getChannel()==channel ) n++;
|
Token.java | 77 public int getChannel();
|
ClassicToken.java | 56 channel = oldToken.getChannel(); 98 public int getChannel() {
|
CommonToken.java | 78 channel = oldToken.getChannel(); 131 public int getChannel() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
MappedByteBufferTest.java | 46 FileChannel fc = fis.getChannel(); 76 FileChannel fc = fis.getChannel(); 129 FileChannel fileChannelRead = fileInputStream.getChannel(); 136 FileChannel fileChannelR = inputStream.getChannel(); 147 FileChannel fileChannelReadWrite = randomFile.getChannel(); 155 FileChannel fileChannelRW = random.getChannel(); 173 FileChannel fileChannelRead = fileInputStream.getChannel(); 180 FileChannel fileChannelReadWrite = randomFile.getChannel(); 195 FileChannel fileChannel = fileOutputStream.getChannel(); 216 FileChannel ch = f.getChannel(); [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FileChannelTest.java | 34 FileChannel fc = new FileInputStream(tmp).getChannel(); 59 fc = new FileOutputStream(tmp).getChannel(); 69 FileChannel fc = new FileOutputStream(tmp).getChannel(); 73 fc = new FileInputStream(tmp).getChannel(); 89 FileChannel fc = new FileOutputStream(tmp).getChannel(); 103 FileChannel fc = fos.getChannel(); 221 FileChannel fc = fos.getChannel(); 227 fc = new RandomAccessFile(tmp, "rw").getChannel();
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRToken.h | 71 - (NSUInteger) getChannel;
|
ANTLRCommonTokenStream.h | 42 @property (assign, getter=getChannel,setter=setChannel) NSInteger channel; 84 - (NSInteger)getChannel;
|
ANTLRUnbufferedTokenStream.h | 46 @property (getter=getChannel, setter=setChannel:) NSInteger channel;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRToken.h | 71 - (NSUInteger) getChannel;
|
ANTLRCommonTokenStream.h | 42 @property (assign, getter=getChannel,setter=setChannel) NSInteger channel; 84 - (NSInteger)getChannel;
|
ANTLRUnbufferedTokenStream.h | 46 @property (getter=getChannel, setter=setChannel:) NSInteger channel;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRToken.h | 71 - (NSUInteger) getChannel;
|
ANTLRCommonTokenStream.h | 42 @property (assign, getter=getChannel,setter=setChannel) NSInteger channel; 84 - (NSInteger)getChannel;
|
ANTLRUnbufferedTokenStream.h | 46 @property (getter=getChannel, setter=setChannel:) NSInteger channel;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileChannelLockingTest.java | 64 readOnlyChannel = fileInputStream.getChannel(); 67 writeOnlyChannel = fileOutputStream.getChannel(); 71 readWriteChannel = randomAccessFile.getChannel();
|
FileLockTest.java | 61 readWriteChannel = randomAccessFile.getChannel(); 176 FileChannel fileChannel = fout.getChannel(); 188 fileChannel = fout.getChannel();
|
/cts/tools/vm-tests-tf/src/util/build/ |
BuildStep.java | 107 FileChannel inChannel = new FileInputStream(in).getChannel(); 108 FileChannel outChannel = new FileOutputStream(out).getChannel();
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
DictDecoder.java | 149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, 205 buffer = raFile.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, file.length());
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
FileDisk.java | 64 this.fc = raf.getChannel(); 77 this.fc = raf.getChannel();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
StreamUtil.java | 39 FileChannel channel = ((FileInputStream)in).getChannel();
|