Lines Matching refs:to
17 along with this program; if not, write to the Free Software
25 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_ugid32 in target endian. */
59 struct elf_external_linux_prpsinfo32_ugid32 *to)
61 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
62 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
63 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
64 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
65 bfd_put_32 (obfd, from->pr_flag, to->pr_flag);
66 bfd_put_32 (obfd, from->pr_uid, to->pr_uid);
67 bfd_put_32 (obfd, from->pr_gid, to->pr_gid);
68 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
69 bfd_put_32 (obfd, from->pr_ppid, to->pr_ppid);
70 bfd_put_32 (obfd, from->pr_pgrp, to->pr_pgrp);
71 bfd_put_32 (obfd, from->pr_sid, to->pr_sid);
72 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname));
73 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs));
77 ABI-defined, thus we choose to use char arrays here in order to
104 /* Helper function to copy an elf_internal_linux_prpsinfo in host
105 endian to an elf_external_linux_prpsinfo32_ugid16 in target endian. */
111 struct elf_external_linux_prpsinfo32_ugid16 *to)
113 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
114 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
115 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
116 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
117 bfd_put_32 (obfd, from->pr_flag, to->pr_flag);
118 bfd_put_16 (obfd, from->pr_uid, to->pr_uid);
119 bfd_put_16 (obfd, from->pr_gid, to->pr_gid);
120 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
121 bfd_put_32 (obfd, from->pr_ppid, to->pr_ppid);
122 bfd_put_32 (obfd, from->pr_pgrp, to->pr_pgrp);
123 bfd_put_32 (obfd, from->pr_sid, to->pr_sid);
124 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname));
125 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs));
129 ABI-defined, thus we choose to use char arrays here in order to
157 /* Helper function to copy an elf_internal_linux_prpsinfo in host
158 endian to an elf_external_linux_prpsinfo64_ugid32 in target endian. */
164 struct elf_external_linux_prpsinfo64_ugid32 *to)
166 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
167 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
168 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
169 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
170 bfd_put_64 (obfd, from->pr_flag, to->pr_flag);
171 bfd_put_32 (obfd, from->pr_uid, to->pr_uid);
172 bfd_put_32 (obfd, from->pr_gid, to->pr_gid);
173 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
174 bfd_put_32 (obfd, from->pr_ppid, to->pr_ppid);
175 bfd_put_32 (obfd, from->pr_pgrp, to->pr_pgrp);
176 bfd_put_32 (obfd, from->pr_sid, to->pr_sid);
177 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname));
178 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs));
182 ABI-defined, thus we choose to use char arrays here in order to
210 /* Helper function to copy an elf_internal_linux_prpsinfo in host
211 endian to an elf_external_linux_prpsinfo64_ugid16 in target endian. */
217 struct elf_external_linux_prpsinfo64_ugid16 *to)
219 bfd_put_8 (obfd, from->pr_state, &to->pr_state);
220 bfd_put_8 (obfd, from->pr_sname, &to->pr_sname);
221 bfd_put_8 (obfd, from->pr_zomb, &to->pr_zomb);
222 bfd_put_8 (obfd, from->pr_nice, &to->pr_nice);
223 bfd_put_64 (obfd, from->pr_flag, to->pr_flag);
224 bfd_put_16 (obfd, from->pr_uid, to->pr_uid);
225 bfd_put_16 (obfd, from->pr_gid, to->pr_gid);
226 bfd_put_32 (obfd, from->pr_pid, to->pr_pid);
227 bfd_put_32 (obfd, from->pr_ppid, to->pr_ppid);
228 bfd_put_32 (obfd, from->pr_pgrp, to->pr_pgrp);
229 bfd_put_32 (obfd, from->pr_sid, to->pr_sid);
230 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname));
231 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs));