Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Djson_escaping.cc186 uint32 *cp, int* num_left, int *num_read) { in ReadCodePoint() argument
190 *num_read = 1; in ReadCodePoint()
235 *num_read = 0; in ReadCodePoint()
240 ++(*num_read); in ReadCodePoint()
367 int num_read; in Escape() local
376 ok = ReadCodePoint(str, i, &cp, &num_left, &num_read); in Escape()
380 i += num_read; in Escape()
381 num_read = 0; in Escape()
385 if (num_read > 0) input->Skip(num_read); in Escape()
/frameworks/av/media/mtp/
DMtpFfsHandle.cpp575 int length, num_read; in sendFile() local
624 num_read = aio_return(&aio); in sendFile()
625 if (static_cast<size_t>(num_read) < aio.aio_nbytes) { in sendFile()
626 errno = num_read == -1 ? aio_error(&aio) : EIO; in sendFile()
632 file_length -= num_read; in sendFile()
633 offset += num_read; in sendFile()
640 if (iobufSubmit(&mIobuf[i], mBulkIn, num_read, false) == -1) { in sendFile()
644 ret = num_read; in sendFile()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_lite_inl.h279 int num_read = 0; in ReadRepeatedFixedSizePrimitive() local
280 while (num_read < elements_available && in ReadRepeatedFixedSizePrimitive()
285 ++num_read; in ReadRepeatedFixedSizePrimitive()
287 const int read_bytes = num_read * per_value_size; in ReadRepeatedFixedSizePrimitive()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp390 ssize_t num_read = getline(&line, &len, file); in get_cpuset_cores_for_policy() local
392 if (num_read > 0) { in get_cpuset_cores_for_policy()