Searched refs:read (Results 51 - 75 of 2823) sorted by relevance

1234567891011>>

/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
H A Dread.pass.cpp12 // 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 DNameValueBlockReader.java42 * 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 DSupport_ProcessReadWriteTest.java32 // 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 Dtaint-tester.cpp21 ssize_t read; local
24 while ((read = T.getline(&line, &len, stdin)) != -1) {
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dgetpass.cc24 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 DRandomAmountInputStream.java35 @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 DTest.java11 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 DIoUtil.groovy30 * @param in - the InputStream to read
42 int b = input.read()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
H A DFieldReader.java24 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 DForwardingSource.java34 @Override public long read(Buffer sink, long byteCount) throws IOException { method in class:ForwardingSource
35 return delegate.read(sink, byteCount);
H A DRealBufferedSource.java44 @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 DtFunction_Sync.py136 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 DFilteredDataEntryReader.java78 public void read(DataEntry dataEntry) method in class:FilteredDataEntryReader
87 dataEntryReader.read(dataEntry);
/external/syslinux/com32/lib/libpng/
H A Dpngrio.c30 * 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 DMockWebServerTest.java79 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 DRandomAccessFileInputStreamFactoryTest.java80 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 Dcommands.py32 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 Dplatform_Nvram.py23 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 Ddli_urllib.py22 self.contents = web_file.read()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DConstructedOctetStream.java20 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 DDefiniteLengthInputStream.java42 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 Dattr-bounded.c8 ssize_t read(int, void *, size_t)
/external/compiler-rt/test/msan/
H A Derrno.cc13 int res = read(-1, 0, 0);
/external/compiler-rt/test/tsan/
H A Dfd_close_norace2.cc10 while (read(pipes[0], &x, 1) != 1) {
/external/deqp/execserver/
H A DxsPosixFileReader.hpp45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); } function in class:xs::posix::FileReader

Completed in 926 milliseconds

1234567891011>>