Lines Matching defs:to

17    along with this program; if not, write to the Free Software
29 ABI-defined, thus we choose to use char arrays here in order to
52 /* Helper function to copy an elf_internal_linux_prpsinfo in host
53 endian to an elf_external_linux_prpsinfo32 in target endian. */
58 struct elf_external_linux_prpsinfo32 *to)
60 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
61 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
62 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
63 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
64 bfd_put_32 (obfd, from->pr_flag, to->pr_flag);
65 bfd_put_16 (obfd, from->pr_uid, to->pr_uid);
66 bfd_put_16 (obfd, from->pr_gid, to->pr_gid);
67 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
68 bfd_put_32 (obfd, from->pr_ppid, to->pr_ppid);
69 bfd_put_32 (obfd, from->pr_pgrp, to->pr_pgrp);
70 bfd_put_32 (obfd, from->pr_sid, to->pr_sid);
71 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname));
72 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs));
76 ABI-defined, thus we choose to use char arrays here in order to
100 /* Helper function to copy an elf_internal_linux_prpsinfo in host
101 endian to an elf_external_linux_prpsinfo64 in target endian. */
106 struct elf_external_linux_prpsinfo64 *to)
108 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
109 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
110 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
111 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
112 bfd_put_64 (obfd, from->pr_flag, to->pr_flag);
113 bfd_put_32 (obfd, from->pr_uid, to->pr_uid);
114 bfd_put_32 (obfd, from->pr_gid, to->pr_gid);
115 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
116 bfd_put_32 (obfd, from->pr_ppid, to->pr_ppid);
117 bfd_put_32 (obfd, from->pr_pgrp, to->pr_pgrp);
118 bfd_put_32 (obfd, from->pr_sid, to->pr_sid);
119 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname));
120 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs));