/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
H A D | read.pass.cpp | 12 // basic_istream<charT,traits>& read(char_type* s, streamsize n); 47 is.read(s, 5); 52 is.read(s, 5); 57 is.read(s, 5); 66 is.read(s, 5); 71 is.read(s, 5); 76 is.read(s, 5);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
H A D | NameValueBlockReader.java | 42 * How many compressed bytes must be read into inflaterSource before 55 @Override public long read(Buffer sink, long byteCount) throws IOException { 57 long read = super.read(sink, Math.min(byteCount, compressedLimit)); 58 if (read == -1) return -1; 59 compressedLimit -= read; 60 return read;
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_ProcessReadWriteTest.java | 32 // read just three lines since EOF isn't working properly. It would 33 // be better to read to the end and echo it all 35 int c = input.read(); 38 c = input.read();
|
/external/clang/test/Analysis/ |
H A D | taint-tester.cpp | 21 ssize_t read; local 24 while ((read = T.getline(&line, &len, stdin)) != -1) {
|
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
H A D | getpass.cc | 24 int res = read(master, buf, sizeof(buf)); 27 while ((res = read(master, buf, sizeof(buf))) > 0) write(1, buf, res);
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | RandomAmountInputStream.java | 35 @Override public int read(byte[] b, int off, int len) throws IOException { method in class:RandomAmountInputStream 36 return super.read(b, off, random.nextInt(len) + 1);
|
/external/javassist/sample/hotswap/ |
H A D | Test.java | 11 new FileInputStream(newfile).read(bytes); 19 new FileInputStream(newfile).read(bytes);
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/core/util/ |
H A D | IoUtil.groovy | 30 * @param in - the InputStream to read
42 int b = input.read()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
H A D | FieldReader.java | 24 return read() == null; 27 public Object read() { method in class:FieldReader 31 throw new MockitoException("Cannot read state from field: " + field + ", on instance: " + target);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | ForwardingSource.java | 34 @Override public long read(Buffer sink, long byteCount) throws IOException { method in class:ForwardingSource 35 return delegate.read(sink, byteCount);
|
H A D | RealBufferedSource.java | 44 @Override public long read(Buffer sink, long byteCount) throws IOException { method in class:RealBufferedSource 50 long read = source.read(buffer, Segment.SIZE); 51 if (read == -1) return -1; 55 return buffer.read(sink, toRead); 60 return buffer.exhausted() && source.read(buffer, Segment.SIZE) == -1; 71 if (source.read(buffer, Segment.SIZE) == -1) return false; 101 @Override public int read(byte[] sink) throws IOException { method in class:RealBufferedSource 102 return read(sink, 0, sink.length); 112 int read 121 @Override public int read(byte[] sink, int offset, int byteCount) throws IOException { method in class:RealBufferedSource [all...] |
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/ |
H A D | tFunction_Sync.py | 136 init_filesystem_01 = open(self.filesystem_01).read()[:-1] 137 init_filesystem_02 = open(self.filesystem_02).read()[:-1] 138 init_filesystem_03 = open(self.filesystem_03).read()[:-1] 158 assert open(self.filesystem_01).read()[:-1] != init_filesystem_01, log.F("FILESYSTEM : parameter %s update error"%self.param_name_01) 160 assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %s update error"%self.param_name_02) 162 assert open(self.filesystem_03).read()[:-1] != init_filesystem_03, log.F("FILESYSTEM : parameter %s update error"%self.param_name_03) 176 assert open(self.filesystem_01).read()[:-1] != init_filesystem_01, log.F("FILESYSTEM : parameter %s is updated, autosync is still enabled"%self.param_name_01) 178 assert open(self.filesystem_02).read()[:-1] != init_filesystem_02, log.F("FILESYSTEM : parameter %s is updated, autosync is still enabled"%self.param_name_02) 180 assert open(self.filesystem_03).read()[:-1] != init_filesystem_03, log.F("FILESYSTEM : parameter %s is updated, autosync is still enabled"%self.param_name_03) 211 init_filesystem_01 = open(self.filesystem_01).read()[ [all...] |
/external/proguard/src/proguard/io/ |
H A D | FilteredDataEntryReader.java | 78 public void read(DataEntry dataEntry) method in class:FilteredDataEntryReader 87 dataEntryReader.read(dataEntry);
|
/external/syslinux/com32/lib/libpng/ |
H A D | pngrio.c | 30 * to read more then 64K on a 16 bit machine. 40 png_error(png_ptr, "Call to NULL read function"); 105 png_size_t read, remaining, err; local 110 read = MIN(NEAR_BUF_SIZE, remaining); 112 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 115 err = fread(buf, (png_size_t)1, read, io_ptr); 117 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 118 if (err != read) 122 data += read; 123 remaining -= read; [all...] |
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
H A D | MockWebServerTest.java | 79 assertEquals('A', in.read()); 80 assertEquals('B', in.read()); 81 assertEquals('C', in.read()); 82 assertEquals(-1, in.read()); 175 in.read(); 193 assertEquals('A', in.read()); 194 assertEquals('B', in.read()); 195 assertEquals('C', in.read()); 197 in.read(); // if Content-Length was accurate, this would return -1 immediately 204 assertEquals('D', in2.read()); [all...] |
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
H A D | RandomAccessFileInputStreamFactoryTest.java | 80 Assert.assertEquals(x, rafis1.read()); 81 Assert.assertEquals(x, rafis2.read()); 83 Assert.assertEquals(-1, rafis1.read()); 84 Assert.assertEquals(-1, rafis2.read());
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
H A D | commands.py | 32 return json.loads(url_h.read()) 43 return json.loads(url_h.read()) 66 return json.loads(url_h.read()) 81 return json.loads(url_h.read())
|
/external/autotest/client/site_tests/platform_Nvram/ |
H A D | platform_Nvram.py | 23 if not open(nvram_path, 'rb').read(1): 24 raise error.TestFail('cannot read from %s.' % nvram_path)
|
/external/autotest/site_utils/rpm_control_system/ |
H A D | dli_urllib.py | 22 self.contents = web_file.read()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | ConstructedOctetStream.java | 20 public int read(byte[] b, int off, int len) throws IOException method in class:ConstructedOctetStream 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); 70 public int read() method in class:ConstructedOctetStream 93 int b = _currentStream.read();
|
H A D | DefiniteLengthInputStream.java | 42 public int read() method in class:DefiniteLengthInputStream 50 int b = _in.read(); 65 public int read(byte[] buf, int off, int len) method in class:DefiniteLengthInputStream 74 int numRead = _in.read(buf, off, toRead);
|
/external/clang/test/Sema/ |
H A D | attr-bounded.c | 8 ssize_t read(int, void *, size_t)
|
/external/compiler-rt/test/msan/ |
H A D | errno.cc | 13 int res = read(-1, 0, 0);
|
/external/compiler-rt/test/tsan/ |
H A D | fd_close_norace2.cc | 10 while (read(pipes[0], &x, 1) != 1) {
|
/external/deqp/execserver/ |
H A D | xsPosixFileReader.hpp | 45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); } function in class:xs::posix::FileReader
|