/external/linux-kselftest/tools/testing/selftests/vm/ |
H A D | hugepage-mmap.c | 52 static int read_bytes(char *addr) function 86 ret = read_bytes(addr);
|
H A D | map_hugetlb.c | 48 static int read_bytes(char *addr) function 75 ret = read_bytes(addr);
|
/external/freetype/src/base/ |
H A D | ftstream.c | 125 FT_ULong read_bytes; local 138 read_bytes = stream->read( stream, pos, buffer, count ); 141 read_bytes = stream->size - pos; 142 if ( read_bytes > count ) 143 read_bytes = count; 145 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); 148 stream->pos = pos + read_bytes; 150 if ( read_bytes < count ) 154 count, read_bytes )); 168 FT_ULong read_bytes local 238 FT_ULong read_bytes; local [all...] |
/external/ltp/utils/ffsb-6.0-rc2/ |
H A D | ffsb_op.h | 83 uint64_t read_bytes; member in struct:ffsb_op_results
|
/external/tensorflow/tensorflow/core/lib/io/snappy/ |
H A D | snappy_inputbuffer.cc | 152 size_t read_bytes = next_in_ - input_buffer_.get(); local 153 // Remove `read_bytes` from the head of the input stream. 155 if (read_bytes > 0) {
|
H A D | snappy_outputbuffer.cc | 89 // [<...read_bytes...><...avail_in...>......empty space......] 105 const int32 read_bytes = next_in_ - input_buffer_.get(); local 108 input_buffer_capacity_ - (read_bytes + unread_bytes);
|
/external/webrtc/webrtc/base/ |
H A D | bytebuffer_unittest.cc | 175 char read_bytes[3]; local 176 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); 178 EXPECT_EQ(write_bytes[i], read_bytes[i]); 185 memset(read_bytes, 0, 3); 186 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); 188 EXPECT_EQ(write_bytes[i], read_bytes[i]);
|
/external/autotest/client/site_tests/security_Libcontainer/src/ |
H A D | libcontainer_target_unittest.cc | 45 ssize_t read_bytes = read(read_fd_.get(), buffer, sizeof(buffer) - 1); local 46 CHECK(read_bytes >= 0); 47 buffer[read_bytes] = '\0'; 48 return std::string(buffer, read_bytes);
|
/external/freetype/builds/amiga/src/base/ |
H A D | ftsystem.c | 298 unsigned long read_bytes; local 322 read_bytes = count; 330 read_bytes = Read( sysfile->file, sysfile->iobuf, IOBUF_SIZE ); 331 if ( read_bytes == -1UL ) 334 read_bytes = 0; 338 sysfile->iobuf_end = offset + read_bytes; 340 if ( read_bytes > count ) 342 read_bytes = count; 351 read_bytes = Read( sysfile->file, buffer, count ); 352 if ( read_bytes [all...] |
/external/libmojo/mojo/public/c/system/tests/ |
H A D | core_perftest.cc | 140 uint32_t read_bytes = self->num_bytes_; local 141 result = MojoReadMessage(self->h1_, self->buffer_, &read_bytes, nullptr,
|
/external/libunwind/src/ |
H A D | Los-common.c | 164 map_local_is_readable (unw_word_t addr, size_t read_bytes) argument 166 return is_flag_set (addr, PROT_READ, read_bytes);
|
/external/tensorflow/tensorflow/core/lib/io/ |
H A D | zlib_inputstream.cc | 80 uLong read_bytes = z_stream_->next_in - z_stream_input_.get(); local 81 // Remove `read_bytes` from the head of the input stream. 83 if (read_bytes > 0) { 137 size_t read_bytes = local 139 return output_buffer_capacity_ - z_stream_->avail_out - read_bytes;
|
H A D | zlib_outputbuffer.cc | 81 // [<...read_bytes...><...avail_in...>......empty space......] 97 int32 read_bytes = z_stream_->next_in - z_stream_input_.get(); local 99 int32 free_tail_bytes = input_buffer_capacity_ - (read_bytes + unread_bytes);
|
/external/bsdiff/ |
H A D | bspatch.cc | 305 size_t read_bytes; local 307 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) { 311 if (!read_bytes) { 316 if (!patch_reader.ReadDiffStream(new_buf.data(), read_bytes)) { 321 for (size_t k = 0; k < read_bytes; k++) 323 if (!WriteAll(new_file, new_buf.data(), read_bytes)) { 327 chunk_size -= read_bytes;
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
H A D | readahead02.c | 147 char entry[] = "read_bytes: %lu"; 197 * @read_bytes: returns difference of bytes read, parsed from /proc/<pid>/io 202 unsigned long *read_bytes, long *usec, 276 *read_bytes = get_bytes_read() - read_bytes_start; 287 unsigned long read_bytes, read_bytes_ra; local 294 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); 302 read_testfile(0, testfile, testfile_size, &read_bytes, &usec, &cached); 322 tst_resm(TINFO, "read_testfile(0) read: %ld bytes", read_bytes); 326 if (read_bytes_ra < read_bytes) 201 read_testfile(int do_readahead, const char *fname, size_t fsize, unsigned long *read_bytes, long *usec, unsigned long *cached) argument
|
/external/kernel-headers/original/uapi/linux/ |
H A D | taskstats.h | 152 __u64 read_bytes; /* bytes of read I/O */ member in struct:taskstats
|
/external/libmojo/mojo/edk/system/ |
H A D | data_pipe_unittest.cc | 1736 uint32_t read_bytes = num_bytes; local 1738 MojoReadData(consumer, elements, &read_bytes, MOJO_READ_DATA_FLAG_NONE); 1740 num_bytes -= read_bytes; 1741 elements = static_cast<uint8_t*>(elements) + read_bytes;
|
/external/protobuf/src/google/protobuf/ |
H A D | wire_format_lite_inl.h | 287 const int read_bytes = num_read * per_value_size; local 288 if (read_bytes > 0) { 289 input->Skip(read_bytes);
|
/external/python/cpython3/Modules/_io/ |
H A D | bytesio.c | 356 read_bytes(bytesio *self, Py_ssize_t size) function 417 return read_bytes(self, size); 476 return read_bytes(self, n); 642 return read_bytes(self, n);
|
/external/libpcap/ |
H A D | sf-pcap-ng.c | 235 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, function 267 status = read_bytes(fp, &bhdr, sizeof(bhdr), 0, errbuf); 327 if (read_bytes(fp, bdata, data_remaining, 1, errbuf) == -1) 878 if (read_bytes(fp,
|
/external/pdfium/core/fxcodec/codec/ |
H A D | fx_codec_flate.cpp | 727 size_t read_bytes = local 730 read_bytes); 731 m_LeftOver += m_PredictPitch - read_bytes; 732 bytes_to_go -= read_bytes;
|
/external/libxaac/test/ |
H A D | ixheaacd_main_flush_csd.c | 879 WORD32 buff_pos, read_bytes = 330, input_buff_size; local 1284 WORD32 read_bytes_act = read_bytes; 1290 if (buff_pos + read_bytes > input_buff_size) 1524 WORD32 read_bytes_act = read_bytes; 1526 if (buff_pos + read_bytes > input_buff_size)
|
/external/python/cpython3/Lib/ |
H A D | pathlib.py | 1166 def read_bytes(self): member in class:Path
|
/external/squashfs-tools/squashfs-tools/ |
H A D | mksquashfs.c | 531 int read_bytes(int fd, void *buff, int bytes) function 568 } else if(read_bytes(fd, buff, bytes) < bytes) { 2201 byte = read_bytes(file, file_buffer->data, block_size); 2305 file_buffer->size = read_bytes(file, file_buffer->data, 2335 res = read_bytes(file, &buffer, 1); 5029 res = read_bytes(recoverfd, header2, RECOVER_ID_SIZE); 5038 res = read_bytes(recoverfd, &sBlk, sizeof(struct squashfs_super_block)); 5062 res = read_bytes(recoverfd, metadata, bytes);
|