/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
H A D | ObjectInputStreamInstantiator.java | 119 public int read() throws IOException { method in class:ObjectInputStreamInstantiator.MockStream 132 public int read(byte[] b, int off, int len) throws IOException { method in class:ObjectInputStreamInstantiator.MockStream
|
/external/okhttp/okio/src/main/java/okio/ |
H A D | RealBufferedSource.java | 43 @Override public long read(OkBuffer sink, long byteCount) throws IOException { method in class:RealBufferedSource 48 long read = source.read(buffer, Segment.SIZE); 49 if (read == -1) return -1; 53 return buffer.read(sink, toRead); 58 return buffer.exhausted() && source.read(buffer, Segment.SIZE) == -1; 64 if (source.read(buffer, Segment.SIZE) == -1) throw new EOFException(); 132 if (buffer.size == 0 && source.read(buffer, Segment.SIZE) == -1) { 147 if (source.read(buffer, Segment.SIZE) == -1) return -1L; 154 @Override public int read() throw [all...] |
/external/okhttp/okio/src/test/java/okio/ |
H A D | ByteStringTest.java | 72 @Test public void read() throws Exception { method in class:ByteStringTest 74 assertEquals(ByteString.decodeHex("6162"), ByteString.read(in, 2)); 75 assertEquals(ByteString.decodeHex("63"), ByteString.read(in, 1)); 76 assertEquals(ByteString.of(), ByteString.read(in, 0)); 81 assertEquals(ByteString.encodeUtf8("ab"), ByteString.read(in, 2).toAsciiLowercase()); 82 assertEquals(ByteString.encodeUtf8("c"), ByteString.read(in, 1).toAsciiLowercase()); 83 assertEquals(ByteString.EMPTY, ByteString.read(in, 0).toAsciiLowercase());
|
H A D | GzipSourceTest.java | 164 assertEquals(-1, gunzippedSource.read(new OkBuffer(), 1)); 205 while (source.read(result, Integer.MAX_VALUE) != -1) { 210 /** This source keeps track of whether its read have returned -1. */ 219 @Override public long read(OkBuffer sink, long byteCount) throws IOException { method in class:GzipSourceTest.ExhaustableSource 220 long result = source.read(sink, byteCount);
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
H A D | fpdf_font_utility.cpp | 25 size_t read = FXSYS_fread(buf, 1, 20, file);
local 48 size_t read = 0;
local 50 read = FXSYS_fread(buf, pPackage->m_IndexSize, 1, pPackage->m_pFile);
56 read = FXSYS_fread(pBuffer, size, 1, pPackage->m_pFile);
|
/external/proguard/src/proguard/io/ |
H A D | ManifestRewriter.java | 76 public int read() throws IOException method in class:ManifestRewriter.SplitLineReader 83 super.read(); 96 int c2 = super.read(); 101 c2 = super.read(); 117 public int read(char[] cbuf, int off, int len) throws IOException method in class:ManifestRewriter.SplitLineReader 123 int c = read(); 142 int c = read();
|
/external/qemu/distrib/libpng-1.2.46/ |
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"); 120 png_size_t read, remaining, err; local 125 read = MIN(NEAR_BUF_SIZE, remaining); 127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 130 err = fread(buf, (png_size_t)1, read, io_ptr); 132 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 133 if (err != read) 137 data += read; 138 remaining -= read; [all...] |
/external/skia/bench/ |
H A D | MemoryBench.cpp | 77 ZerosBench(size_t num, bool read, bool write, bool useCalloc) argument 79 , fRead(read) 83 if (read && write) { 85 } else if (read) {
|
/external/skia/src/utils/ |
H A D | SkFrontBufferedStream.cpp | 17 virtual size_t read(void* buffer, size_t size) SK_OVERRIDE; 39 // Amount that has been buffered by calls to read. Will always be less than 126 const size_t buffered = fStream->read(buffer, bytesToBuffer); 132 // Copy the buffer to the destination buffer and update the amount read. 145 const size_t bytesReadDirectly = fStream->read(dst, size); 148 // If we have read past the end of the buffer, rewinding is no longer 157 size_t FrontBufferedStream::read(void* voidDst, size_t size) { function in class:FrontBufferedStream 163 // First, read any data that was previously buffered. 167 // Update the remaining number of bytes needed to read 181 // Update the remaining number of bytes needed to read [all...] |
/external/smack/src/org/jivesoftware/smack/util/ |
H A D | ObservableReader.java | 41 public int read(char[] cbuf, int off, int len) throws IOException { method in class:ObservableReader 42 int count = wrappedReader.read(cbuf, off, len); 45 // Notify that a new string has been read 52 readerListeners[i].read(str); 62 public int read() throws IOException { method in class:ObservableReader 63 return wrappedReader.read(); 66 public int read(char cbuf[]) throws IOException { method in class:ObservableReader 67 return wrappedReader.read(cbuf); 92 * new strings are read.
|
/external/srec/portable/include/ |
H A D | PFile.h | 103 * @param count [in/out] Maximum number of items to be read. On output, contains the 104 * number of full items actually read, which may be less than count if 109 ESR_ReturnCode(*read)(struct PFile_t* self, void* buffer, size_t size, size_t* count); member in struct:PFile_t 117 * @param count [in/out] Maximum number of items to be read. On output, contains the 277 * @param count [in/out] Maximum number of items to be read. On output, contains the 278 * number of full items actually read, which may be less than count if 291 * @param count [in/out] Maximum number of items to be read. On output, contains the 407 * @param value [out] Integer that was read 417 * @param value [out] String that was read
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | FixASCIIControlsReader.java | 55 * @see Reader#read(char[], int, int) 57 public int read(char[] cbuf, int off, int len) throws IOException method in class:FixASCIIControlsReader 60 int read = 0; 65 while (available && read < len) 67 available = super.read(readAheadBuffer, readAhead, 1) == 1; 80 read++; 103 return read > 0 || available ? read : -1;
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | AbstractSessionInputBuffer.java | 108 l = this.instream.read(this.buffer, off, len); 122 public int read() throws IOException { method in class:AbstractSessionInputBuffer 133 public int read(final byte[] b, int off, int len) throws IOException { method in class:AbstractSessionInputBuffer 153 public int read(final byte[] b) throws IOException { method in class:AbstractSessionInputBuffer 157 return read(b, 0, b.length); 182 // the entire line is preset in the read buffer
|
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | HardwareSerial.cpp | 39 // is the index of the location from which to read. 246 int HardwareSerial::read(void) function in class:HardwareSerial
|
/external/arduino/libraries/Wire/ |
H A D | Wire.cpp | 82 // perform blocking read into buffer 83 uint8_t read = twi_readFrom(address, rxBuffer, quantity); local 86 rxBufferLength = read; 88 return read; 215 // meaning, they may not have read all the master requestFrom() data yet 219 // copy twi rx buffer into local read buffer 252 // sets function called on slave read
|
/external/chromium_org/chrome/browser/media/ |
H A D | webrtc_log_uploader_unittest.cc | 105 int read = base::ReadFileToString(test_list_path_, &contents); local 106 EXPECT_GT(read, 0); 107 if (read == 0)
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | new_github_file_system.py | 92 return self._zipball.read(posixpath.join(self._name_prefix, path)) 248 def read(repo_zip): function in function:GithubFileSystem.Read 258 return self._repo_zip.Then(read)
|
/external/chromium_org/device/hid/ |
H A D | hid_connection_linux.cc | 44 VLOG(1) << "Access denied opening device read-write, trying read-only."; 162 read(device_file_.GetPlatformFile(), data, expected_report_size)); 210 PendingHidRead read = pending_reads_.front(); local 214 if (CompleteRead(report.buffer, report.size, read.callback)) {
|
H A D | hid_connection_mac.cc | 123 VLOG(1) << "Failed to read input report: " 155 PendingHidRead read = pending_reads_.front(); local 159 if (CompleteRead(report.buffer, report.size, read.callback)) {
|
/external/chromium_org/media/base/ |
H A D | container_names_unittest.cc | 114 int read = base::ReadFile(filename, buffer, read_size); local 118 DetermineContainer(reinterpret_cast<const uint8*>(buffer), read))
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | kernel_wrap_newlib.cc | 63 OP(fdio, read); \ 113 int WRAP(read)(int fd, void* buf, size_t count, size_t* nread) { function 347 CHECK_REAL(read); 348 return REAL(read)(fd, buf, count, nread);
|
/external/chromium_org/net/tools/balsa/ |
H A D | balsa_frame_test.cc | 96 size_t read = frame_->ProcessInput(input, strlen(input)); local 97 EXPECT_EQ(2u, read); 142 size_t read = frame_->ProcessInput(input, strlen(input)); local 143 ASSERT_EQ(strlen(input), read); local 192 size_t read = frame_->ProcessInput(input, strlen(input)); local 193 ASSERT_EQ(strlen(input), read); local 256 size_t read = frame_->ProcessInput(input, strlen(input)); local 257 ASSERT_EQ(65u, read); 260 read += frame_->ProcessInput(&input[read], strle 261 ASSERT_EQ(strlen(input), read); local 293 size_t read = frame_->ProcessInput(input, strlen(input)); local 294 ASSERT_EQ(strlen(input), read); local 320 size_t read = frame_->ProcessInput(input, strlen(input)); local 344 size_t read = frame_->ProcessInput(input, strlen(input)); local 371 size_t read = frame_->ProcessInput(input, strlen(input)); local 391 size_t read = frame_->ProcessInput(input, strlen(input)); local 433 size_t read = frame_->ProcessInput(input, strlen(input)); local 434 ASSERT_EQ(strlen(input), read); local 488 size_t read = frame_->ProcessInput(input, strlen(input)); local 493 ASSERT_EQ(strlen(input), read); local 498 ASSERT_EQ(strlen(input2), read); local 534 size_t read = frame_->ProcessInput(input, strlen(input)); local 539 ASSERT_EQ(strlen(input), read); local 578 size_t read = frame_->ProcessInput(input, strlen(input)); local 583 ASSERT_EQ(strlen(input), read); local [all...] |
/external/chromium_org/net/tools/dump_cache/ |
H A D | dump_files.cc | 40 int read = file.Read(0, header, header_size); local 41 if (read != header_size) { 42 printf("Unable to read file %s\n", name.MaybeAsASCII().c_str());
|
/external/chromium_org/net/tools/flip_server/ |
H A D | http_interface_test.cc | 187 size_t read = interface_->ProcessReadInput(data.data(), data.size()); local 188 ASSERT_EQ(39u, read); 190 read += interface_->ProcessReadInput(&data.data()[read], data.size() - read); 191 ASSERT_EQ(data.size(), read);
|
/external/chromium_org/net/tools/quic/ |
H A D | quic_server.cc | 192 bool read = true; local 193 while (read) { 194 read = ReadAndDispatchSinglePacket( 226 return false; // We failed to read.
|