Home
last modified time | relevance | path

Searched refs:writebuf (Results 1 – 24 of 24) sorted by relevance

/dflybsd-src/libexec/mknetid/
H A Dmknetid.c103 char writebuf[LINSIZ]; in main() local
215 snprintf(writebuf, sizeof(writebuf), "%s.%s@%s", OPSYS, in main()
218 if (lookup(dtable, writebuf)) { in main()
224 mstore(dtable, writebuf, 0, 1); in main()
258 snprintf(writebuf, sizeof(writebuf), "%s.%s@%s", OPSYS, in main()
260 if (lookup(dtable, (char *)&writebuf)) { in main()
263 writebuf); in main()
266 mstore(dtable, (char *)&writebuf, 0, 1); in main()
287 writebuf[0] = *ptr; in main()
297 *ptr = writebuf[0]; in main()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dauxv.c42 const gdb_byte *writebuf, in procfs_xfer_auxv() argument
51 fd = open (pathname, writebuf != NULL ? O_WRONLY : O_RDONLY); in procfs_xfer_auxv()
62 n = write (fd, writebuf, len); in procfs_xfer_auxv()
73 const gdb_byte *writebuf, in ld_so_xfer_auxv() argument
131 if (writebuf != NULL) in ld_so_xfer_auxv()
133 if (target_write_memory (data_address, writebuf, len) == 0) in ld_so_xfer_auxv()
209 const gdb_byte *writebuf, in memory_xfer_auxv() argument
214 gdb_assert (readbuf || writebuf); in memory_xfer_auxv()
227 retval = ld_so_xfer_auxv (readbuf, writebuf, offset, len); in memory_xfer_auxv()
232 return procfs_xfer_auxv (readbuf, writebuf, offset, len); in memory_xfer_auxv()
H A Dbsd-kvm.c123 gdb_byte *readbuf, const gdb_byte *writebuf) in bsd_kvm_xfer_memory() argument
129 if (writebuf && nbytes > 0) in bsd_kvm_xfer_memory()
130 nbytes = kvm_write (core_kd, addr, writebuf, nbytes); in bsd_kvm_xfer_memory()
137 const gdb_byte *writebuf, in bsd_kvm_xfer_partial() argument
143 return bsd_kvm_xfer_memory (offset, len, readbuf, writebuf); in bsd_kvm_xfer_partial()
H A Dinf-ptrace.c469 const gdb_byte *writebuf, in inf_ptrace_xfer_partial() argument
490 piod.piod_op = writebuf ? PIOD_WRITE_I : PIOD_READ_D; in inf_ptrace_xfer_partial()
491 piod.piod_addr = writebuf ? (void *) writebuf : readbuf; in inf_ptrace_xfer_partial()
528 if (writebuf) in inf_ptrace_xfer_partial()
544 writebuf, partial_len); in inf_ptrace_xfer_partial()
590 if (writebuf) in inf_ptrace_xfer_partial()
H A Dbfd-target.c43 const gdb_byte *writebuf, in target_bfd_xfer_partial() argument
51 return section_table_xfer_memory_partial (readbuf, writebuf, in target_bfd_xfer_partial()
H A Dexec.c621 section_table_xfer_memory_partial (gdb_byte *readbuf, const gdb_byte *writebuf, in section_table_xfer_memory_partial() argument
645 if (writebuf) in section_table_xfer_memory_partial()
647 writebuf, memaddr - p->addr, in section_table_xfer_memory_partial()
664 if (writebuf) in section_table_xfer_memory_partial()
666 writebuf, memaddr - p->addr, in section_table_xfer_memory_partial()
689 const gdb_byte *writebuf, in exec_xfer_partial() argument
695 return section_table_xfer_memory_partial (readbuf, writebuf, in exec_xfer_partial()
H A Dtarget.c75 const gdb_byte *writebuf,
81 const gdb_byte *writebuf,
87 void *readbuf, const void *writebuf,
1424 void *readbuf, const void *writebuf, ULONGEST memaddr, in memory_xfer_partial_1() argument
1445 return section_table_xfer_memory_partial (readbuf, writebuf, in memory_xfer_partial_1()
1465 return section_table_xfer_memory_partial (readbuf, writebuf, in memory_xfer_partial_1()
1537 if (writebuf != NULL) in memory_xfer_partial_1()
1548 if (writebuf != NULL) in memory_xfer_partial_1()
1577 (void *) writebuf, in memory_xfer_partial_1()
1598 readbuf, writebuf, memaddr, reg_len); in memory_xfer_partial_1()
[all …]
H A Drecord-full.c236 const gdb_byte *writebuf,
819 const gdb_byte *writebuf,
1648 const gdb_byte *writebuf, ULONGEST offset, in record_full_xfer_partial() argument
1653 || object == TARGET_OBJECT_RAW_MEMORY) && writebuf) in record_full_xfer_partial()
1705 readbuf, writebuf, offset, len); in record_full_xfer_partial()
2180 const gdb_byte *writebuf, ULONGEST offset, in record_full_core_xfer_partial() argument
2185 if (record_full_gdb_operation_disable || !writebuf) in record_full_core_xfer_partial()
2218 if (writebuf) in record_full_core_xfer_partial()
2238 memcpy (entry->buf + sec_offset, writebuf, in record_full_core_xfer_partial()
2246 object, annex, readbuf, writebuf, in record_full_core_xfer_partial()
[all …]
H A Dcorelow.c688 const gdb_byte *writebuf, ULONGEST offset, in core_xfer_partial() argument
694 return section_table_xfer_memory_partial (readbuf, writebuf, in core_xfer_partial()
767 if (writebuf) in core_xfer_partial()
832 writebuf, offset, len); in core_xfer_partial()
H A Dauxv.h49 const gdb_byte *writebuf,
H A Dxml-support.h43 gdb_byte *readbuf, const gdb_byte *writebuf,
H A Dbsd-uthread.c340 const gdb_byte *writebuf, in bsd_uthread_xfer_partial() argument
345 writebuf, offset, len); in bsd_uthread_xfer_partial()
H A Damd64-tdep.c615 gdb_byte *readbuf, const gdb_byte *writebuf) in amd64_return_value() argument
626 gdb_assert (!(readbuf && writebuf)); in amd64_return_value()
666 if (writebuf) in amd64_return_value()
669 regcache_raw_write (regcache, AMD64_ST0_REGNUM, writebuf); in amd64_return_value()
670 regcache_raw_write (regcache, AMD64_ST1_REGNUM, writebuf + 16); in amd64_return_value()
714 if (writebuf) in amd64_return_value()
739 if (writebuf) in amd64_return_value()
741 writebuf + i * 8); in amd64_return_value()
H A Dxml-support.c961 gdb_byte *readbuf, const gdb_byte *writebuf, in xml_builtin_xfer_partial() argument
967 gdb_assert (readbuf != NULL && writebuf == NULL); in xml_builtin_xfer_partial()
H A Dbreakpoint.h1483 extern void breakpoint_xfer_memory (gdb_byte *readbuf, gdb_byte *writebuf,
H A Dgdbarch.h466 …ion, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
467 …ion, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
H A Dremote.c8544 const char *annex, const gdb_byte *writebuf, in remote_write_qxfer() argument
8565 (writebuf, len, (rs->buf + i), &max_size, max_size); in remote_write_qxfer()
8662 const gdb_byte *writebuf, ULONGEST offset, LONGEST len) in remote_xfer_partial() argument
8687 if (writebuf != NULL) in remote_xfer_partial()
8688 xfered = remote_write_bytes (offset, writebuf, len); in remote_xfer_partial()
8708 return remote_write_qxfer (ops, "spu", annex, writebuf, offset, len, in remote_xfer_partial()
8722 writebuf, offset, len, in remote_xfer_partial()
8739 if (writebuf != NULL) in remote_xfer_partial()
8746 xfered = remote_flash_write (ops, offset, len, writebuf); in remote_xfer_partial()
H A Dtarget.h595 gdb_byte *readbuf, const gdb_byte *writebuf,
H A Di386-tdep.c2675 gdb_byte *readbuf, const gdb_byte *writebuf) in i386_return_value() argument
2728 readbuf, writebuf); in i386_return_value()
2733 if (writebuf) in i386_return_value()
2734 i386_store_return_value (gdbarch, type, regcache, writebuf); in i386_return_value()
H A Dgdbarch.c2563 …tion, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) in gdbarch_return_value() argument
2569 return gdbarch->return_value (gdbarch, function, valtype, regcache, readbuf, writebuf); in gdbarch_return_value()
H A Dtracepoint.c4565 const gdb_byte *writebuf, ULONGEST offset, LONGEST len) in tfile_xfer_partial() argument
H A Dbreakpoint.c1440 breakpoint_xfer_memory (gdb_byte *readbuf, gdb_byte *writebuf, in breakpoint_xfer_memory() argument
1584 memcpy (writebuf + bp_addr - memaddr, bp + bptoffset, bp_size); in breakpoint_xfer_memory()
/dflybsd-src/gnu/usr.bin/gdb/kgdb/
H A Dtrgt.c263 const gdb_byte *writebuf, in kgdb_trgt_xfer_partial() argument
269 if (writebuf != NULL) in kgdb_trgt_xfer_partial()
270 return (kvm_write(kvm, offset, writebuf, len)); in kgdb_trgt_xfer_partial()
275 readbuf, writebuf, offset, len)); in kgdb_trgt_xfer_partial()
/dflybsd-src/usr.sbin/makefs/ffs/
H A Dmkfs.c96 static char writebuf[FFS_MAXBSIZE]; variable
571 memcpy(writebuf, &sblock, sbsize); in ffs_mkfs()
573 ffs_sb_swap(&sblock, (struct fs*)writebuf); in ffs_mkfs()
574 memcpy(iobuf, writebuf, SBLOCKSIZE); in ffs_mkfs()
621 memcpy(writebuf, &sblock, sbsize); in ffs_write_superblock()
623 ffs_sb_swap(fs, (struct fs*)writebuf); in ffs_write_superblock()
625 ffs_wtfs(fs->fs_sblockloc / sectorsize, sbsize, writebuf, fsopts); in ffs_write_superblock()
627 ffs_wtfs(8192 / sectorsize, sbsize, writebuf, fsopts); in ffs_write_superblock()
633 sbsize, writebuf, fsopts); in ffs_write_superblock()