Home
last modified time | relevance | path

Searched refs:bytes_to_read (Results 1 – 7 of 7) sorted by relevance

/external/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp292 size_t bytes_to_read = size; // Number of bytes to read from the core file in DoReadMemory() local
300 if (bytes_to_read > bytes_left) in DoReadMemory()
302 zero_fill_size = bytes_to_read - bytes_left; in DoReadMemory()
303 bytes_to_read = bytes_left; in DoReadMemory()
307 if (bytes_to_read) in DoReadMemory()
308 bytes_copied = core_objfile->CopyData(offset + file_start, bytes_to_read, buf); in DoReadMemory()
/external/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp422 size_t bytes_to_read = size; in DoReadMemory() local
423 if (bytes_to_read > bytes_left) in DoReadMemory()
424 bytes_to_read = bytes_left; in DoReadMemory()
425 …eturn core_objfile->CopyData (core_memory_entry->data.GetRangeBase() + offset, bytes_to_read, buf); in DoReadMemory()
/external/sfntly/cpp/src/sfntly/data/
Dfont_input_stream.cc83 int32_t bytes_to_read = in Read() local
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); in Read()
/external/libpcap/
Dsf-pcap-ng.c231 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, in read_bytes() argument
236 amt_read = fread(buf, 1, bytes_to_read, fp); in read_bytes()
237 if (amt_read != bytes_to_read) { in read_bytes()
247 (unsigned long)bytes_to_read, in read_bytes()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Djp2.c1106 OPJ_UINT32 bytes_to_read = (OPJ_UINT32)((channel_size[i]+7)>>3); in opj_jp2_read_pclr() local
1108 if (bytes_to_read > sizeof(OPJ_UINT32)) in opj_jp2_read_pclr()
1109 bytes_to_read = sizeof(OPJ_UINT32); in opj_jp2_read_pclr()
1110 …p_pclr_header_size < (ptrdiff_t)(p_pclr_header_data - orig_header_data) + (ptrdiff_t)bytes_to_read) in opj_jp2_read_pclr()
1113 opj_read_bytes(p_pclr_header_data, &l_value , bytes_to_read); /* Cji */ in opj_jp2_read_pclr()
1114 p_pclr_header_data += bytes_to_read; in opj_jp2_read_pclr()
/external/lldb/source/Target/
DTarget.cpp1412 addr_t bytes_to_read = std::min<addr_t>(bytes_left, cache_line_bytes_left); in ReadCStringFromMemory() local
1413 size_t bytes_read = ReadMemory (address, false, curr_dst, bytes_to_read, error); in ReadCStringFromMemory()
1425 if (len < bytes_to_read) in ReadCStringFromMemory()
DProcess.cpp2406 addr_t bytes_to_read = std::min<addr_t>(bytes_left, cache_line_bytes_left); in ReadStringFromMemory() local
2407 size_t bytes_read = ReadMemory (curr_addr, curr_dst, bytes_to_read, error); in ReadStringFromMemory()
2455 addr_t bytes_to_read = std::min<addr_t>(bytes_left, cache_line_bytes_left); in ReadCStringFromMemory() local
2456 size_t bytes_read = ReadMemory (curr_addr, curr_dst, bytes_to_read, error); in ReadCStringFromMemory()
2468 if (len < bytes_to_read) in ReadCStringFromMemory()