Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 25 of 110) sorted by relevance

12345

/openbsd/gnu/usr.bin/binutils/bfd/
H A Ddwarf2.c467 abbrev_ptr += bytes_read; in read_abbrevs()
505 abbrev_ptr += bytes_read; in read_abbrevs()
507 abbrev_ptr += bytes_read; in read_abbrevs()
542 unsigned int bytes_read; in read_attribute_value() local
1022 line_ptr += bytes_read; in decode_line_info()
1051 line_ptr += bytes_read; in decode_line_info()
1119 line_ptr += bytes_read; in decode_line_info()
1131 line_ptr += bytes_read; in decode_line_info()
1134 line_ptr += bytes_read; in decode_line_info()
1170 line_ptr += bytes_read; in decode_line_info()
[all …]
/openbsd/gnu/llvm/lldb/tools/lldb-vscode/
H A DIOStream.cpp98 int bytes_read = 0; in read_full() local
100 bytes_read = ::recv(descriptor.m_socket, ptr, length, 0); in read_full()
102 bytes_read = ::read(descriptor.m_fd, ptr, length); in read_full()
104 if (bytes_read == 0) { in read_full()
109 if (bytes_read < 0) { in read_full()
127 assert(bytes_read >= 0 && (size_t)bytes_read <= length); in read_full()
128 ptr += bytes_read; in read_full()
129 length -= bytes_read; in read_full()
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Ddwarf2.c464 abbrev_ptr += bytes_read; in read_abbrevs()
519 abbrev_ptr += bytes_read; in read_abbrevs()
521 abbrev_ptr += bytes_read; in read_abbrevs()
556 unsigned int bytes_read; in read_attribute_value() local
1072 line_ptr += bytes_read; in decode_line_info()
1109 line_ptr += bytes_read; in decode_line_info()
1177 line_ptr += bytes_read; in decode_line_info()
1197 line_ptr += bytes_read; in decode_line_info()
1239 line_ptr += bytes_read; in decode_line_info()
1553 info_ptr += bytes_read; in find_abstract_instance_name()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Ddwarf.c233 data += bytes_read; in process_extended_line_op()
238 return bytes_read; in process_extended_line_op()
241 len += bytes_read; in process_extended_line_op()
440 start += bytes_read; in process_abbrev_section()
443 start += bytes_read; in process_abbrev_section()
641 data += bytes_read; in decode_location_expression()
645 data += bytes_read; in decode_location_expression()
701 data += bytes_read; in decode_location_expression()
846 data += bytes_read; in decode_location_expression()
851 data += bytes_read; in decode_location_expression()
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/Process/POSIX/
H A DNativeProcessELF.cpp70 size_t bytes_read; in GetELFImageInfoAddress() local
72 sizeof(phdr_entry), bytes_read); in GetELFImageInfoAddress()
95 size_t bytes_read; in GetELFImageInfoAddress() local
97 &dynamic_entry, sizeof(dynamic_entry), bytes_read); in GetELFImageInfoAddress()
120 size_t bytes_read; in ReadSVR4LibraryInfo() local
122 ReadMemory(link_map_addr, &link_map, sizeof(link_map), bytes_read); in ReadSVR4LibraryInfo()
128 link_map.l_name, &name_buffer[0], sizeof(name_buffer), bytes_read); in ReadSVR4LibraryInfo()
151 size_t bytes_read; in GetLoadedSVR4Libraries() local
153 ReadMemory(info_address, &address, GetAddressByteSize(), bytes_read); in GetLoadedSVR4Libraries()
162 GetAddressByteSize(), bytes_read); in GetLoadedSVR4Libraries()
/openbsd/gnu/llvm/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp376 size_t bytes_read = 0; in RemoveSoftwareBreakpoint() local
433 size_t bytes_read = 0; in EnableSoftwareBreakpoint() local
440 if (bytes_read != saved_opcode_bytes.size()) { in EnableSoftwareBreakpoint()
445 saved_opcode_bytes.size(), bytes_read); in EnableSoftwareBreakpoint()
678 size_t bytes_read = 0; in ReadCStringFromMemory() local
691 bytes_to_read, bytes_read); in ReadCStringFromMemory()
693 if (bytes_read == 0) in ReadCStringFromMemory()
704 total_bytes_read += bytes_read; in ReadCStringFromMemory()
705 curr_buffer += bytes_read; in ReadCStringFromMemory()
706 curr_addr += bytes_read; in ReadCStringFromMemory()
[all …]
H A DPipeBase.cpp21 Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) { in Read() argument
23 bytes_read); in Read()
H A DFile.cpp519 ssize_t bytes_read = -1; in Read() local
521 bytes_read = llvm::sys::RetryAfterSignal(-1, ::read, m_descriptor, buf, num_bytes); in Read()
522 if (bytes_read == -1) { in Read()
526 num_bytes = bytes_read; in Read()
528 bytes_read = ::fread(buf, 1, num_bytes, m_stream); in Read()
530 if (bytes_read == 0) { in Read()
537 num_bytes = bytes_read; in Read()
643 ssize_t bytes_read = in Read() local
645 if (bytes_read < 0) { in Read()
649 offset += bytes_read; in Read()
[all …]
H A DFileCache.cpp109 size_t bytes_read = dst_len; in ReadFile() local
110 error = file_up->Read(dst, bytes_read); in ReadFile()
113 return bytes_read; in ReadFile()
/openbsd/gnu/usr.bin/binutils/opcodes/
H A Dv850-dis.c58 int bytes_read; local
65 bytes_read = short_op ? 2 : 4;
290 status = info->read_memory_func (memaddr + bytes_read, buffer, 2, info);
293 bytes_read += 2;
304 info->memory_error_func (status, memaddr + bytes_read, info);
309 status = info->read_memory_func (memaddr + bytes_read, buffer, 4, info);
312 bytes_read += 4;
318 info->memory_error_func (status, memaddr + bytes_read, info);
347 return bytes_read;
/openbsd/gnu/usr.bin/binutils-2.17/opcodes/
H A Dv850-dis.c55 int bytes_read; in disassemble() local
62 bytes_read = short_op ? 2 : 4; in disassemble()
305 status = info->read_memory_func (memaddr + bytes_read, in disassemble()
309 bytes_read += 2; in disassemble()
320 info->memory_error_func (status, memaddr + bytes_read, in disassemble()
325 status = info->read_memory_func (memaddr + bytes_read, in disassemble()
329 bytes_read += 4; in disassemble()
334 info->memory_error_func (status, memaddr + bytes_read, in disassemble()
363 return bytes_read; in disassemble()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Ddwarf2read.c1244 int bytes_read;
1272 int bytes_read; in read_comp_unit_head() local
1631 int bytes_read; in create_all_comp_units() local
5889 *bytes_read = 8; in read_initial_length()
6264 int bytes_read; in dwarf_decode_line_header() local
8642 i += bytes_read; in decode_locdesc()
8651 i += bytes_read; in decode_locdesc()
8686 &bytes_read); in decode_locdesc()
8687 i += bytes_read; in decode_locdesc()
8692 i += bytes_read; in decode_locdesc()
[all …]
H A Ddwarf2-frame.c273 int bytes_read; in execute_cfa_program() local
1249 unsigned int bytes_read; in decode_frame_entry_1() local
1257 buf += bytes_read; in decode_frame_entry_1()
1335 buf += bytes_read; in decode_frame_entry_1()
1339 buf += bytes_read; in decode_frame_entry_1()
1344 bytes_read = 1; in decode_frame_entry_1()
1348 &bytes_read); in decode_frame_entry_1()
1349 buf += bytes_read; in decode_frame_entry_1()
1357 buf += bytes_read; in decode_frame_entry_1()
1441 buf += bytes_read; in decode_frame_entry_1()
[all …]
H A Ddwarf2expr.c199 dwarf2_read_address (unsigned char *buf, unsigned char *buf_end, int *bytes_read) in dwarf2_read_address() argument
206 *bytes_read = TARGET_ADDR_BIT / TARGET_CHAR_BIT; in dwarf2_read_address()
266 int bytes_read; in execute_stack_op() local
306 result = dwarf2_read_address (op_ptr, op_end, &bytes_read); in execute_stack_op()
307 op_ptr += bytes_read; in execute_stack_op()
537 int bytes_read; in execute_stack_op() local
544 &bytes_read); in execute_stack_op()
551 int bytes_read; in execute_stack_op() local
557 &bytes_read); in execute_stack_op()
/openbsd/lib/libutil/
H A Duucplock.c214 ssize_t bytes_read; in get_pid() local
218 bytes_read = read(fd, buf, sizeof (buf) - 1); in get_pid()
219 if (bytes_read > 0) { in get_pid()
220 buf[bytes_read] = '\0'; in get_pid()
224 *err = bytes_read ? errno : EINVAL; in get_pid()
/openbsd/gnu/llvm/lldb/source/Host/windows/
H A DConnectionGenericFileWindows.cpp169 DWORD bytes_read = 0; in Read() local
210 if (!::GetOverlappedResult(m_file, &m_overlapped, &bytes_read, FALSE)) { in Read()
218 return_info.Set(bytes_read, eConnectionStatusEndOfFile, 0); in Read()
220 return_info.Set(bytes_read, eConnectionStatusError, result_error); in Read()
221 } else if (bytes_read == 0) in Read()
222 return_info.Set(bytes_read, eConnectionStatusEndOfFile, 0); in Read()
224 return_info.Set(bytes_read, eConnectionStatusSuccess, 0); in Read()
/openbsd/gnu/llvm/lldb/source/API/
H A DSBFile.cpp57 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { in Read() argument
58 LLDB_INSTRUMENT_VA(this, buf, num_bytes, bytes_read); in Read()
63 *bytes_read = 0; in Read()
67 *bytes_read = num_bytes; in Read()
H A DSBCommunication.cpp108 size_t bytes_read = 0; in Read() local
113 bytes_read = m_opaque->Read(dst, dst_len, timeout, status, nullptr); in Read()
117 return bytes_read; in Read()
H A DSBProcess.cpp263 size_t bytes_read = 0; in GetSTDOUT() local
267 bytes_read = process_sp->GetSTDOUT(dst, dst_len, error); in GetSTDOUT()
270 return bytes_read; in GetSTDOUT()
276 size_t bytes_read = 0; in GetSTDERR() local
283 return bytes_read; in GetSTDERR()
289 size_t bytes_read = 0; in GetAsyncProfileData() local
296 return bytes_read; in GetAsyncProfileData()
805 size_t bytes_read = 0; in ReadMemory() local
823 return bytes_read; in ReadMemory()
830 size_t bytes_read = 0; in ReadCStringFromMemory() local
[all …]
/openbsd/gnu/llvm/lldb/source/Host/posix/
H A DPipePosix.cpp248 size_t &bytes_read) { in ReadWithTimeout() argument
249 bytes_read = 0; in ReadWithTimeout()
264 ::read(fd, static_cast<char *>(buf) + bytes_read, size - bytes_read); in ReadWithTimeout()
266 bytes_read += result; in ReadWithTimeout()
267 if (bytes_read == size || result == 0) in ReadWithTimeout()
H A DConnectionFileDescriptorPosix.cpp279 size_t bytes_read = dst_len; in Read() local
280 error = m_io_sp->Read(dst, bytes_read); in Read()
289 static_cast<uint64_t>(bytes_read), error.AsCString()); in Read()
292 if (bytes_read == 0) { in Read()
354 return bytes_read; in Read()
512 ssize_t bytes_read = in BytesAvailable() local
514 assert(bytes_read == 1); in BytesAvailable()
515 (void)bytes_read; in BytesAvailable()
/openbsd/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp145 size_t bytes_read; in __dfsw_strchr() local
154 size_t bytes_read; in __dfso_strchr() local
216 *bytes_read = n; in dfsan_memcmp_bcmp()
239 size_t bytes_read; in dfsan_memcmp_bcmp_label() local
248 size_t bytes_read; in dfsan_memcmp_bcmp_origin() local
329 size_t bytes_read; in DECLARE_WEAK_INTERCEPTOR_HOOK() local
341 size_t bytes_read; in __dfso_strcmp() local
368 size_t bytes_read; in __dfsw_strcasecmp() local
378 size_t bytes_read; in __dfso_strcasecmp() local
408 size_t bytes_read; in DECLARE_WEAK_INTERCEPTOR_HOOK() local
[all …]
/openbsd/usr.bin/openssl/
H A Ds_time.c99 static long bytes_read = 0; variable
385 bytes_read += i; in run_test()
433 bytes_read = 0; in benchmark()
457 nConn, totalTime, ((double) nConn / totalTime), bytes_read); in benchmark()
459 nConn, elapsed, nConn > 0 ? bytes_read / nConn : 0); in benchmark()
/openbsd/gnu/usr.bin/texinfo/info/
H A Dfilesys.c561 int bytes_read; in filesys_read_compressed() local
563 bytes_read = fread (chunk, 1, FILESYS_PIPE_BUFFER_SIZE, stream); in filesys_read_compressed()
565 if (bytes_read + offset >= size) in filesys_read_compressed()
569 memcpy (contents + offset, chunk, bytes_read); in filesys_read_compressed()
570 offset += bytes_read; in filesys_read_compressed()
571 if (bytes_read != FILESYS_PIPE_BUFFER_SIZE) in filesys_read_compressed()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp568 size_t bytes_read = 0; in DoReadMemory() local
587 while (bytes_read < size) { in DoReadMemory()
588 const addr_t curr_addr = addr + bytes_read; in DoReadMemory()
596 std::min(size - bytes_read, (size_t)bytes_left); in DoReadMemory()
599 (char *)buf + bytes_read); in DoReadMemory()
602 bytes_read += curr_bytes_read; in DoReadMemory()
605 if (bytes_read == 0) in DoReadMemory()
613 return bytes_read; in DoReadMemory()

12345