Searched defs:read (Results 251 - 275 of 531) sorted by relevance

<<11121314151617181920>>

/external/zlib/src/contrib/iostream2/
H A Dzstream.h60 * open() can be used to read a file which is not in gzip format;
61 * in this case read() will directly read from the file without
85 /* Binary read the given number of bytes from the compressed file.
87 int read(void* buf, size_t len) { function in class:izstream
108 * Binary read the given (array of) object(s) from the compressed file.
109 * If the input file was not in gzip format, read() copies the objects number
111 * returns the number of uncompressed bytes actually read
115 inline int read(izstream& zs, T* x, Items items) { function
/external/zlib/src/
H A Dgzguts.h40 # define read _read macro
180 int past; /* true if read requested past end */
/external/chromium-trace/trace-viewer/examples/stream_server/
H A Dstandalone.py192 def read(self, length): member in class:_StandaloneConnection
193 """Mimic mp_conn.read()."""
195 return self._request_handler.rfile.read(length)
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dstandalone.py188 def read(self, length): member in class:_StandaloneConnection
189 """Mimic mp_conn.read()."""
191 return self._request_handler.rfile.read(length)
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_log_uploader.cc289 uint32 read = 0; local
293 read = read_pcb.Read(&intermediate_buffer[0],
296 stream.avail_in = read;
297 if (read != kIntermediateCompressionBufferBytes)
373 DPLOG(WARNING) << "Could not read WebRTC log list file.";
418 DPLOG(WARNING) << "Could not read WebRTC log list file.";
/external/chromium_org/chrome/browser/safe_browsing/
H A Dprefix_set.cc173 size_t read = fread(&header, sizeof(header), 1, file.get()); local
174 if (read != 1)
186 // Track version read to inform removal of support for older versions.
216 read = fread(&(index[0]), sizeof(index[0]), index.size(), file.get());
217 if (read != index.size())
227 read = fread(&(deltas[0]), sizeof(deltas[0]), deltas.size(), file.get());
228 if (read != deltas.size())
238 read = fread(&(full_hashes[0]), sizeof(full_hashes[0]), full_hashes.size(),
240 if (read != full_hashes.size())
252 read
[all...]
/external/chromium_org/gpu/gles2_conform_support/egl/
H A Degl.cc331 EGLSurface read,
337 error_code = ValidateDisplaySurface(dpy, read);
346 if (!display->MakeCurrent(draw, read, ctx))
329 eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) argument
/external/chromium_org/jingle/glue/
H A Dchrome_async_socket_unittest.cc44 // If there's no read, sets the "has pending read" flag. Otherwise,
45 // pops the next read.
76 // read/write events.
79 // If there is a pending read, completes it with the given read.
80 // Otherwise, queues up the given read.
408 std::string read; local
421 read.append(buf.get(), len_read);
423 return read;
[all...]
/external/chromium_org/net/socket/
H A Dssl_server_socket_unittest.cc276 // Write then read.
282 int read = client.Read(read_buf.get(), kReadBufSize, CompletionCallback()); local
283 EXPECT_GT(read, 0);
284 EXPECT_LE(read, written);
285 EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), read));
296 read = callback.WaitForResult();
297 EXPECT_GT(read, 0);
298 EXPECT_LE(read, written);
299 EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), read));
429 // Write then read
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_basic_stream_test.cc82 // expected to be read or written actually is.
179 // A test fixture for the common case of tests that only perform a single read.
183 void CreateRead(const MockRead& read) { argument
184 reads_[0] = read;
205 // Prepares a read from |data| of |data_size|, split into |number_of_chunks|,
289 // frame was really read.
336 // A frame that does not arrive in a single read should be broken into separate
634 // If there was a frame read at the same time as the response headers (and the
795 // A frame with a 1MB payload that has to be read in chunks.
/external/chromium_org/ppapi/tests/
H A Dtest_file_io.cc36 # define read _read macro
138 ret = read(fd, buf, sizeof(buf));
340 // Attempt to read a negative number of bytes; it should fail.
368 // Try to read past the end of the file.
470 // Attempt to read a negative number of bytes; it should fail.
495 // Try to read past the end of the file.
782 // Parallel read operations.
836 // Make sure every read operation writes into the correct buffer.
1060 // Check read(2) for the native FD.
1062 cnt = read(f
[all...]
/external/chromium_org/sandbox/win/wow_helper/
H A Dservice64_resolver.cc260 SIZE_T read; local
262 sizeof(function_code), &read))
265 if (sizeof(function_code) != read)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dfilesystem_mock.py460 def read(self, bytes=None): member in class:ReadableBinaryFileObject
476 def read(self, bytes=-1): member in class:ReadableTextFileObject
477 return self.data.read(bytes)
/external/chromium_org/third_party/icu/source/io/
H A Dustdio.c16 * 07/19/99 stephen Fixed read() and gets()
422 /* Don't read from stdin too many times. There is still some data. */
675 /* Remember, read them back on in the reverse order. */
696 int32_t read = 0; local
709 /* Make sure that we don't read too much */
710 if (dataSize > (count - read)) {
711 dataSize = count - read;
715 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar));
717 /* update number of items read */
718 read
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Ddtlstransportchannel.cc57 size_t* read,
64 return fifo_.Read(buffer, buffer_len, read, error);
83 // We force a read event here to ensure that we don't overflow our FIFO.
547 size_t read; local
548 if (dtls_->Read(buf, sizeof(buf), &read, NULL) == rtc::SR_SUCCESS) {
549 SignalReadPacket(this, buf, read, rtc::CreatePacketTime(0), 0);
55 Read(void* buffer, size_t buffer_len, size_t* read, int* error) argument
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
H A Dpseudotcpchannel.cc72 size_t* read, int* error);
251 size_t* read, int* error) {
261 if (read)
262 *read = result;
575 void* buffer, size_t buffer_len, size_t* read, int* error) {
581 return parent_->Read(buffer, buffer_len, read, error);
250 Read(void* buffer, size_t buffer_len, size_t* read, int* error) argument
574 Read( void* buffer, size_t buffer_len, size_t* read, int* error) argument
/external/chromium_org/third_party/pexpect/
H A Dpexpect.py133 """Raised when EOF is read from a child.
139 """Raised when a read time exceeds the timeout. """
143 ## This is different than a read TIMEOUT because the child process may
318 The maxread attribute sets the read buffer size. This is maximum number
319 of bytes that Pexpect will try to read from a TTY at one time. Setting
322 output are read back from the child. This feature is useful in
329 imcomming buffer each time new data is read from the child. But this is
389 If you need more detail you can also read the self.status member which
422 # max bytes to read at one time into buffer
424 # This is the read buffe
894 def read(self, size=-1): member in class:spawn
[all...]
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libgif.cpp104 return (int) stream->read(out, size);
455 int read = (outHeight - 1) * sampler.srcDY() + sampler.srcY0() + 1; local
456 SkASSERT(read <= innerHeight);
457 skip_src_rows(gif, scanline, innerWidth, innerHeight - read);
514 if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) {
/external/chromium_org/third_party/webrtc/base/
H A Dfileutils_mock.h32 size_t* read, int* error) {
33 return string_stream_.Read(buffer, buffer_len, read, error);
31 Read(void* buffer, size_t buffer_len, size_t* read, int* error) argument
H A Dschanneladapter.cc561 size_t read = _min(cb, readable.size()); local
562 memcpy(pv, &readable[0], read);
563 if (size_t remaining = readable.size() - read) {
564 memmove(&readable[0], &readable[read], remaining);
571 return static_cast<int>(read);
/external/chromium_org/tools/telemetry/telemetry/unittest/
H A Dsystem_stub.py192 def read(self, size=None): member in class:OpenFunctionStub.FileStub
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialposix.py417 # vmin "minimal number of characters to be read. = for non blocking"
453 def read(self, size=1): member in class:PosixSerial
456 until the requested number of bytes is read."""
458 read = bytearray()
459 while len(read) < size:
463 # returns with empty lists -> thus abort read operation.
465 # is nothing to read.
468 buf = os.read(self.fd, size-len(read))
469 # read shoul
660 def read(self, size=1): member in class:PosixPollSerial
[all...]
/external/chromium_org/ui/message_center/
H A Dnotification.h155 void set_is_read(bool read) { is_read_ = read; } argument
/external/chromium_org/v8/src/
H A Dutils.cc148 // When we read a line that ends with a "\" we remove the escape and
154 // Since we read a new line we are done reading the line. This
171 // Copy the newly read line into the result.
188 base::OS::PrintError("Cannot read from file %s.\n", filename);
199 int read = static_cast<int>(fread(&result[i], 1, *size - i, file)); local
200 if (read != (*size - i) && ferror(file) != 0) {
205 i += read;
/external/clang/test/Analysis/
H A Dtaint-tester.c164 ssize_t read; local
165 while ((read = getline(&line, &len, stdin)) != -1) {

Completed in 2956 milliseconds

<<11121314151617181920>>