Home
last modified time | relevance | path

Searched refs:num_read (Results 1 – 18 of 18) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/internal/
Djson_escaping.cc129 int* num_read) { in ReadCodePoint() argument
133 *num_read = 1; in ReadCodePoint()
178 *num_read = 0; in ReadCodePoint()
183 ++(*num_read); in ReadCodePoint()
310 int num_read; in Escape() local
319 ok = ReadCodePoint(str, i, &cp, &num_left, &num_read); in Escape()
323 i += num_read; in Escape()
324 num_read = 0; in Escape()
328 if (num_read > 0) input->Skip(num_read); in Escape()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dbit_stream.h344 size_t num_read = ReadBits(&val, num_bits); variable
345 if (num_read) {
348 return num_read;
356 size_t num_read = ReadBits(&bits, num_bits); in ReadStream() local
357 return BitsToStream(bits, num_read); in ReadStream()
365 const size_t num_read = ReadBits(&bits, sizeof(T) * 8); in ReadUnencoded() local
366 if (num_read != sizeof(T) * 8) in ReadUnencoded()
/third_party/boost/boost/convert/
Dprintf.hpp43 int const num_read = sscanf(&*range.begin(), format(pos<out_type>()), &result); in str_to() local
45 if (num_read == 1) in str_to()
/third_party/glib/gio/tests/
Dgdbus-peer.c656 gssize num_read;
658 num_read = g_input_stream_read (g_io_stream_get_input_stream (stream),
663 if (num_read < 0)
670 g_debug ("no error, read %d bytes", (gint) num_read);
694 gssize num_read; in read_all_from_fd() local
702 num_read = read (fd, buf, sizeof (buf)); in read_all_from_fd()
704 if (num_read == -1) in read_all_from_fd()
717 else if (num_read > 0) in read_all_from_fd()
719 g_string_append_len (str, buf, num_read); in read_all_from_fd()
721 else if (num_read == 0) in read_all_from_fd()
/third_party/boost/boost/test/impl/
Ddebug.ipp274 ssize_t num_read = ::read( psinfo_fd, m_stat_line, sizeof(m_stat_line)-1 );
275 if( num_read == -1 )
278 m_stat_line[num_read] = 0;
293 num_read = ::readlink( fname_buff, m_binary_path_buff, sizeof(m_binary_path_buff)-1 );
295 if( num_read == -1 )
298 m_binary_path_buff[num_read] = 0;
299 m_binary_path.assign( m_binary_path_buff, num_read );
/third_party/openssl/crypto/bio/
Dbio_local.h130 uint64_t num_read; member
Dbio_lib.c273 b->num_read += (uint64_t)*readbytes; in bio_read_intern()
761 return bio->num_read; in BIO_number_read()
Dbss_bio.c775 bio->num_read += ret; in BIO_nread()
/third_party/mesa3d/src/gtest/src/
Dgtest-death-test.cc349 int num_read; in FailFromInternalError() local
352 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError()
353 buffer[num_read] = '\0'; in FailFromInternalError()
356 } while (num_read == -1 && errno == EINTR); in FailFromInternalError()
358 if (num_read == 0) { in FailFromInternalError()
/third_party/googletest/googletest/src/
Dgtest-death-test.cc350 int num_read; in FailFromInternalError() local
353 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError()
354 buffer[num_read] = '\0'; in FailFromInternalError()
357 } while (num_read == -1 && errno == EINTR); in FailFromInternalError()
359 if (num_read == 0) { in FailFromInternalError()
/third_party/glib/gio/
Dgdbusauth.c316 gssize num_read; in _my_g_input_stream_read_line_safe() local
324 num_read = g_input_stream_read (i, in _my_g_input_stream_read_line_safe()
329 if (num_read == -1) in _my_g_input_stream_read_line_safe()
331 if (num_read == 0) in _my_g_input_stream_read_line_safe()
/third_party/flutter/skia/src/codec/
DSkWuffsCodec.cpp40 size_t num_read = s->read(b->data.ptr + b->meta.wi, b->data.len - b->meta.wi); in fill_buffer() local
41 b->meta.wi += num_read; in fill_buffer()
43 return num_read > 0; in fill_buffer()
/third_party/skia/src/codec/
DSkWuffsCodec.cpp64 size_t num_read = s->read(b->data.ptr + b->meta.wi, b->data.len - b->meta.wi); in fill_buffer() local
65 b->meta.wi += num_read; in fill_buffer()
67 return num_read > 0; in fill_buffer()
/third_party/gstreamer/gstreamer/gst/
Dgstpoll.c194 ssize_t num_read; in release_event() local
195 while ((num_read = read (set->control_read_fd.fd, buf, 1)) != 1) { in release_event()
196 if (num_read == -1 && errno != EAGAIN && errno != EINTR) { in release_event()
/third_party/python/Modules/
D_pickle.c1322 Py_ssize_t num_read; in _Unpickler_ReadImpl() local
1339 num_read = _Unpickler_ReadFromFile(self, n); in _Unpickler_ReadImpl()
1340 if (num_read < 0) in _Unpickler_ReadImpl()
1342 if (num_read < n) in _Unpickler_ReadImpl()
1482 Py_ssize_t i, num_read; in _Unpickler_Readline() local
1487 num_read = i - self->next_read_idx + 1; in _Unpickler_Readline()
1489 return _Unpickler_CopyLine(self, line_start, num_read, result); in _Unpickler_Readline()
1495 num_read = _Unpickler_ReadFromFile(self, READ_WHOLE_LINE); in _Unpickler_Readline()
1496 if (num_read < 0) in _Unpickler_Readline()
1498 if (num_read == 0 || self->input_buffer[num_read - 1] != '\n') in _Unpickler_Readline()
[all …]
/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.h1093 int num_read = 0; in ReadRepeatedFixedSizePrimitive() local
1094 while (num_read < elements_available && in ReadRepeatedFixedSizePrimitive()
1099 ++num_read; in ReadRepeatedFixedSizePrimitive()
1101 const int read_bytes = num_read * per_value_size; in ReadRepeatedFixedSizePrimitive()
/third_party/cef/tools/distrib/gtest/
Dgtest-all.cc8581 int num_read; in FailFromInternalError() local
8584 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError()
8585 buffer[num_read] = '\0'; in FailFromInternalError()
8588 } while (num_read == -1 && errno == EINTR); in FailFromInternalError()
8590 if (num_read == 0) { in FailFromInternalError()
/third_party/openssl/
DCHANGES2297 the corresponding num_read and num_write members in the BIO structure has