Home
last modified time | relevance | path

Searched refs:num_read (Results 1 – 17 of 17) 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/rust/crates/signal-hook/signal-hook-async-std/src/
Dlib.rs112 Poll::Ready(Ok(num_read)) => Ok(num_read > 0), in has_signals()
/third_party/rust/crates/signal-hook/src/iterator/
Dmod.rs187 Ok(num_read) => break Ok(num_read > 0), in has_signals()
/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/openssl/crypto/bio/
Dbio_local.h133 uint64_t num_read; member
Dbio_lib.c295 b->num_read += (uint64_t)*readbytes; in bio_read_intern()
833 return bio->num_read; in BIO_number_read()
Dbss_bio.c773 bio->num_read += ret; in BIO_nread()
/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/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs36 pub num_read: c_ulong,
/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/
DCHANGES.md4435 the corresponding num_read and num_write members in the BIO structure has