Searched refs:bytes_read (Results 1 - 25 of 108) sorted by relevance

12345

/openbsd-current/gnu/llvm/lldb/source/Host/common/
H A DPipeBase.cpp21 Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) { argument
23 bytes_read);
H A DNativeProcessProtocol.cpp376 size_t bytes_read = 0; local
378 ReadMemory(addr, curr_break_op.data(), curr_break_op.size(), bytes_read);
379 if (error.Fail() || bytes_read < curr_break_op.size()) {
382 addr, curr_break_op.size(), bytes_read);
433 size_t bytes_read = 0; local
435 saved_opcode_bytes.size(), bytes_read);
440 if (bytes_read != saved_opcode_bytes.size()) {
445 saved_opcode_bytes.size(), bytes_read);
647 size_t &bytes_read) {
648 Status error = ReadMemory(addr, buf, size, bytes_read);
645 ReadMemoryWithoutTrap(lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read) argument
678 size_t bytes_read = 0; local
[all...]
H A DFileCache.cpp109 size_t bytes_read = dst_len;
110 error = file_up->Read(dst, bytes_read);
113 return bytes_read;
/openbsd-current/gnu/llvm/lldb/tools/lldb-vscode/
H A DIOStream.cpp98 int bytes_read = 0; local
100 bytes_read = ::recv(descriptor.m_socket, ptr, length, 0);
102 bytes_read = ::read(descriptor.m_fd, ptr, length);
104 if (bytes_read == 0) {
109 if (bytes_read < 0) {
127 assert(bytes_read >= 0 && (size_t)bytes_read <= length);
128 ptr += bytes_read;
129 length -= bytes_read;
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Ddwarf2.c430 unsigned int abbrev_number, bytes_read, abbrev_name; local
466 abbrev_number = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
467 abbrev_ptr += bytes_read;
478 read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
479 abbrev_ptr += bytes_read;
484 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
485 abbrev_ptr += bytes_read;
486 abbrev_form = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
487 abbrev_ptr += bytes_read;
504 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
542 unsigned int bytes_read; local
907 unsigned int i, bytes_read, offset_size; local
1333 unsigned int abbrev_number, bytes_read, i; local
1441 unsigned int abbrev_number, bytes_read, i; local
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/POSIX/
H A DNativeProcessELF.cpp70 size_t bytes_read; local
72 sizeof(phdr_entry), bytes_read);
95 size_t bytes_read; local
97 &dynamic_entry, sizeof(dynamic_entry), bytes_read);
120 size_t bytes_read; local
122 ReadMemory(link_map_addr, &link_map, sizeof(link_map), bytes_read);
128 link_map.l_name, &name_buffer[0], sizeof(name_buffer), bytes_read);
151 size_t bytes_read; local
153 ReadMemory(info_address, &address, GetAddressByteSize(), bytes_read);
162 GetAddressByteSize(), bytes_read);
[all...]
/openbsd-current/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-current/gnu/usr.bin/binutils-2.17/opcodes/
H A Dv850-dis.c55 int bytes_read; local
62 bytes_read = short_op ? 2 : 4;
305 status = info->read_memory_func (memaddr + bytes_read,
309 bytes_read += 2;
320 info->memory_error_func (status, memaddr + bytes_read,
325 status = info->read_memory_func (memaddr + bytes_read,
329 bytes_read += 4;
334 info->memory_error_func (status, memaddr + bytes_read,
363 return bytes_read;
/openbsd-current/gnu/llvm/lldb/source/API/
H A DSBFile.cpp57 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { argument
58 LLDB_INSTRUMENT_VA(this, buf, num_bytes, bytes_read);
63 *bytes_read = 0;
67 *bytes_read = num_bytes;
H A DSBCommunication.cpp108 size_t bytes_read = 0; local
113 bytes_read = m_opaque->Read(dst, dst_len, timeout, status, nullptr);
117 return bytes_read;
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/
H A Ddwarf.c227 unsigned int bytes_read; local
232 len = read_leb128 (data, & bytes_read, 0);
233 data += bytes_read;
238 return bytes_read;
241 len += bytes_read;
254 adr = byte_get (data, len - bytes_read - 1);
266 printf (_("%lu\t"), read_leb128 (data, & bytes_read, 0));
267 data += bytes_read;
268 printf (_("%lu\t"), read_leb128 (data, & bytes_read, 0));
269 data += bytes_read;
413 unsigned int bytes_read; local
588 unsigned int bytes_read; local
935 unsigned int bytes_read; local
1661 unsigned int bytes_read; local
1896 unsigned int bytes_read; local
1924 unsigned int bytes_read; local
2134 unsigned int bytes_read; local
[all...]
/openbsd-current/gnu/llvm/lldb/include/lldb/Host/
H A DPipeBase.h62 size_t &bytes_read) = 0;
63 Status Read(void *buf, size_t size, size_t &bytes_read);
/openbsd-current/lib/libutil/
H A Duucplock.c214 ssize_t bytes_read; local
218 bytes_read = read(fd, buf, sizeof (buf) - 1);
219 if (bytes_read > 0) {
220 buf[bytes_read] = '\0';
224 *err = bytes_read ? errno : EINVAL;
/openbsd-current/gnu/llvm/lldb/source/Host/windows/
H A DConnectionGenericFileWindows.cpp169 DWORD bytes_read = 0; local
210 if (!::GetOverlappedResult(m_file, &m_overlapped, &bytes_read, FALSE)) {
218 return_info.Set(bytes_read, eConnectionStatusEndOfFile, 0);
220 return_info.Set(bytes_read, eConnectionStatusError, result_error);
221 } else if (bytes_read == 0)
222 return_info.Set(bytes_read, eConnectionStatusEndOfFile, 0);
224 return_info.Set(bytes_read, eConnectionStatusSuccess, 0);
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Ddwarf2.c427 unsigned int abbrev_number, bytes_read, abbrev_name; local
463 abbrev_number = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
464 abbrev_ptr += bytes_read;
475 read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
476 abbrev_ptr += bytes_read;
481 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
482 abbrev_ptr += bytes_read;
483 abbrev_form = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
484 abbrev_ptr += bytes_read;
518 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read);
556 unsigned int bytes_read; local
950 unsigned int i, bytes_read, offset_size; local
1546 unsigned int abbrev_number, bytes_read, i; local
1656 unsigned int abbrev_number, bytes_read, i; local
1885 unsigned int abbrev_number, bytes_read, i; local
[all...]
/openbsd-current/gnu/llvm/lldb/include/lldb/API/
H A DSBFile.h33 SBError Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read);
/openbsd-current/gnu/llvm/lldb/source/Host/posix/
H A DPipePosix.cpp248 size_t &bytes_read) {
249 bytes_read = 0;
264 ::read(fd, static_cast<char *>(buf) + bytes_read, size - bytes_read);
266 bytes_read += result;
267 if (bytes_read == size || result == 0)
246 ReadWithTimeout(void *buf, size_t size, const std::chrono::microseconds &timeout, size_t &bytes_read) argument
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Ddwarf2read.c795 int *bytes_read);
798 struct comp_unit_head *, int *bytes_read);
801 int *bytes_read);
1244 int bytes_read;
1248 &bytes_read);
1249 pubnames_ptr += bytes_read;
1272 int bytes_read; local
1275 &bytes_read);
1276 info_ptr += bytes_read;
1280 &bytes_read);
1426 unsigned int bytes_read; local
1563 unsigned int bytes_read; local
1631 int bytes_read; local
2142 peek_die_abbrev(char *info_ptr, int *bytes_read, struct dwarf2_cu *cu) argument
2171 unsigned int bytes_read; local
2193 unsigned int bytes_read; local
4956 unsigned int abbrev_number, bytes_read, abbrev_name; local
5125 unsigned int bytes_read; local
5321 unsigned int bytes_read, i; local
5528 unsigned int abbrev_number, bytes_read, i, offset; local
5614 unsigned int bytes_read; local
5783 read_address(bfd *abfd, char *buf, struct dwarf2_cu *cu, int *bytes_read) argument
5875 read_initial_length(bfd *abfd, char *buf, struct comp_unit_head *cu_header, int *bytes_read) argument
5919 read_offset(bfd *abfd, char *buf, const struct comp_unit_head *cu_header, int *bytes_read) argument
6264 int bytes_read; local
6429 unsigned int bytes_read; local
8553 unsigned int bytes_read, unsnd; local
9059 int bytes_read; local
9087 int bytes_read; local
9138 int bytes_read; local
[all...]
H A Ddwarf2expr.c199 dwarf2_read_address (unsigned char *buf, unsigned char *buf_end, int *bytes_read) argument
206 *bytes_read = TARGET_ADDR_BIT / TARGET_CHAR_BIT;
267 int bytes_read;
307 result = dwarf2_read_address (op_ptr, op_end, &bytes_read);
308 op_ptr += bytes_read;
538 int bytes_read;
545 &bytes_read);
552 int bytes_read;
558 &bytes_read);
266 int bytes_read; local
537 int bytes_read; local
551 int bytes_read; local
H A Ddwarf2-frame.c276 int bytes_read;
307 fs->pc = dwarf2_read_address (insn_ptr, insn_end, &bytes_read);
308 insn_ptr += bytes_read;
1258 unsigned int bytes_read;
1265 length = read_initial_length (unit->abfd, buf, &bytes_read);
1266 buf += bytes_read;
1277 dwarf64_p = (bytes_read == 12);
1343 read_unsigned_leb128 (unit->abfd, buf, &bytes_read);
1344 buf += bytes_read;
1347 read_signed_leb128 (unit->abfd, buf, &bytes_read);
273 int bytes_read; local
1249 unsigned int bytes_read; local
[all...]
H A Ddwarf2expr.h137 int *bytes_read);
/openbsd-current/usr.bin/openssl/
H A Ds_time.c99 static long bytes_read = 0; variable
385 bytes_read += i;
433 bytes_read = 0;
457 nConn, totalTime, ((double) nConn / totalTime), bytes_read);
459 nConn, elapsed, nConn > 0 ? bytes_read / nConn : 0);
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp41 size_t bytes_read; local
42 emulator_baton->m_process.ReadMemory(addr, dst, length, bytes_read);
43 return bytes_read;
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_linux_test.cpp264 uptr bytes_read; local
265 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) {
266 if (!bytes_read) {
269 ptr += bytes_read;
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.h64 uptr *bytes_read = nullptr, error_t *error_p = nullptr);

Completed in 206 milliseconds

12345