/external/boringssl/src/ssl/ |
s3_both.c | 351 int bytes_read = ssl3_read_bytes( local 353 if (bytes_read <= 0) { 355 return bytes_read; 357 ssl->init_num += bytes_read; 407 int bytes_read = local 409 if (bytes_read <= 0) { 412 return bytes_read; 414 ssl->init_num += bytes_read; 415 n -= bytes_read;
|
/external/dbus/dbus/ |
dbus-file-win.c | 53 DWORD bytes_read; local 71 result = ReadFile (hnd, data, count, &bytes_read, NULL); 81 if (bytes_read) 84 _dbus_string_set_length (buffer, start + bytes_read); 87 if (bytes_read > 0) 88 _dbus_verbose_bytes_of_string (buffer, start, bytes_read); 92 return bytes_read; 166 int bytes_read; local 170 bytes_read = _dbus_file_read (hnd, str, fsize - total, error); 171 if (bytes_read <= 0 [all...] |
/external/selinux/policycoreutils/restorecond/ |
user.c | 117 gsize bytes_read; local 125 &bytes_read, NULL); 127 if (! bytes_read) { 132 while (i < bytes_read) {
|
/external/sfntly/cpp/src/sample/chromium/ |
chrome_subsetter.cc | 57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local 59 return bytes_read == file_size;
|
/external/sfntly/cpp/src/sfntly/data/ |
font_input_stream.cc | 86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); local 87 position_ += bytes_read; 88 return bytes_read;
|
/external/sfntly/cpp/src/test/ |
byte_array_test.cc | 39 int32_t bytes_read = ba->Get(index, buffer); local 40 std::copy(buffer->begin(), buffer->begin() + bytes_read, 42 index += bytes_read; 54 int32_t bytes_read = ba->Get(index, &((*b)[0]), index, actual_window_size); local 55 index += bytes_read;
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
file_utils.cc | 91 size_t bytes_read = file->Read(byte_array.get(), 2); local 92 if (bytes_read < 2) { 153 size_t bytes_read = file->Read(byte_array.get(), 4); local 154 if (bytes_read < 4) { 176 size_t bytes_read = file->Read(byte_array.get(), 8); local 177 if (bytes_read < 8) {
|
/external/webrtc/webrtc/test/ |
fake_audio_device.cc | 91 int bytes_read = file_utility_->ReadPCMData( local 93 if (bytes_read <= 0) 96 size_t num_samples = static_cast<size_t>(bytes_read / 2);
|
/external/zlib/src/contrib/iostream3/ |
zfstream.cc | 197 int bytes_read = gzread(file, buffer, buffer_size); local 199 if (bytes_read <= 0) 206 this->setg(buffer, buffer, buffer + bytes_read);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
svc_test.cc | 417 const size_t bytes_read = fread(stats_buf.buf, 1, stats_buf.sz, stats_file); local 418 ASSERT_EQ(bytes_read, stats_buf.sz);
|
/system/core/fastboot/ |
tcp.cpp | 146 ssize_t bytes_read = socket_->ReceiveAll(data, length, 0); local 147 if (bytes_read == -1) { 150 message_bytes_left_ -= bytes_read; 152 return bytes_read;
|
/system/media/brillo/audio/audioservice/ |
audio_device_handler.cpp | 73 int bytes_read = file.ReadAtCurrentPos(reinterpret_cast<char*>(&state), 1); local 75 if (bytes_read == 0) {
|
/system/update_engine/payload_consumer/ |
postinstall_runner_action.cc | 211 size_t bytes_read; local 213 bytes_read = 0; 216 utils::ReadAll(progress_fd_, buf, arraysize(buf), &bytes_read, &eof); 217 progress_buffer_.append(buf, bytes_read); 235 } while (bytes_read);
|
/system/update_engine/payload_generator/ |
full_update_generator.cc | 97 ssize_t bytes_read = -1; local 102 &bytes_read)); 103 TEST_AND_RETURN_FALSE(bytes_read == static_cast<ssize_t>(size_));
|
/device/google/contexthub/util/nanotool/ |
contexthub.cpp | 155 size_t bytes_read = fread(firmware_data.data(), sizeof(uint8_t), local 159 if (bytes_read != static_cast<size_t>(file_size)) { 161 bytes_read, file_size);
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
hog.c | 165 ssize_t bytes_read = recv(connfd, &command, sizeof(command), 0); local 167 if (bytes_read < 0) { 170 } else if (bytes_read == 0) { 174 } else if (bytes_read != sizeof(command)) { 176 bytes_read, sizeof(command)); 202 bytes_read = recv(connfd, &balloon_size, sizeof(balloon_size), 0); 204 if (bytes_read < 0) { 207 } else if (bytes_read == 0) {
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 131 uptr bytes_read = 0; local 132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); 133 EXPECT_EQ(len1, bytes_read); 137 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); 138 EXPECT_EQ(len2, bytes_read);
|
/external/e2fsprogs/lib/quota/ |
quotaio.c | 178 unsigned int bytes_read = 0; local 187 err = ext2fs_file_read(e2_file, buf, size, &bytes_read); 193 return bytes_read;
|
/external/google-breakpad/src/tools/windows/dump_syms/ |
dump_syms_unittest.cc | 136 DWORD bytes_read = 0;
local 137 while (::ReadFile(child_stdout_read, buffer, sizeof(buffer), &bytes_read,
138 NULL) && bytes_read > 0) {
139 stdout_string->append(buffer, bytes_read);
159 size_t bytes_read = ::fread(buffer, 1, sizeof(buffer), f);
local 160 if (bytes_read == 0)
162 content->append(buffer, bytes_read);
|
/external/libchrome/base/files/ |
file_unittest.cc | 174 int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); local 175 EXPECT_EQ(0, bytes_read); 179 bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); 180 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); 181 for (int i = 0; i < bytes_read; i++) 185 bytes_read = file.Read(0, data_read_1, 0); 186 EXPECT_EQ(0, bytes_read); 189 bytes_read = file.Read(0, data_read_1, kTestDataSize); 190 EXPECT_EQ(kTestDataSize, bytes_read); 191 for (int i = 0; i < bytes_read; i++ 262 int bytes_read = file.Read(0, data_read_1, local 298 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); local [all...] |
/external/opencv3/3rdparty/include/ffmpeg_/libavformat/ |
avio.h | 136 int64_t bytes_read; member in struct:AVIOContext
|
/external/pdfium/testing/ |
test_support.cpp | 93 size_t bytes_read = fread(buffer.get(), 1, file_length, file); local 95 if (bytes_read != file_length) { 99 *retlen = bytes_read;
|
/external/tinyalsa/ |
tinycap.c | 192 unsigned int bytes_read = 0; local 228 bytes_read += size; 233 return pcm_bytes_to_frames(pcm, bytes_read);
|
/external/vboot_reference/cgpt/ |
cgpt_find.c | 30 ssize_t bytes_read = read(fd, bufptr, count); local 32 if (bytes_read <= 0) 34 count -= bytes_read; 35 bufptr += bytes_read;
|
/external/webrtc/talk/media/devices/ |
filevideocapturer.cc | 286 size_t bytes_read; local 290 &bytes_read, 293 << ", bytes read = " << bytes_read << ", error = " << error; 295 if (CapturedFrame::kFrameHeaderSize != bytes_read) {
|