Symbol: to
bin/cp/cp.c
180
if (strlcpy(to.p_path, target, sizeof to.p_path) >= sizeof(to.p_path))
bin/cp/cp.c
182
to.p_end = to.p_path + strlen(to.p_path);
bin/cp/cp.c
183
if (to.p_path == to.p_end) {
bin/cp/cp.c
184
*to.p_end++ = '.';
bin/cp/cp.c
185
*to.p_end = '\0';
bin/cp/cp.c
187
to.target_end = to.p_end;
bin/cp/cp.c
206
r = stat(to.p_path, &to_stat);
bin/cp/cp.c
208
err(1, "%s", to.p_path);
bin/cp/cp.c
332
target_mid = to.target_end;
bin/cp/cp.c
336
if (target_mid - to.p_path + nlen >= PATH_MAX) {
bin/cp/cp.c
338
to.p_path, p);
bin/cp/cp.c
343
to.p_end = target_mid + nlen;
bin/cp/cp.c
344
*to.p_end = '\0';
bin/cp/cp.c
348
if (stat(to.p_path, &to_stat) == -1) {
bin/cp/cp.c
380
(void)chmod(to.p_path,
bin/cp/cp.c
387
to.p_path, curr->fts_path);
bin/cp/cp.c
396
to.p_path, curr->fts_path);
bin/cp/cp.c
408
curr->fts_path, to.p_path);
bin/cp/cp.c
427
if (mkdir(to.p_path,
bin/cp/cp.c
429
err(1, "%s", to.p_path);
bin/cp/cp.c
432
curr->fts_path, to.p_path);
bin/cp/cp.c
434
errc(1, ENOTDIR, "%s", to.p_path);
bin/cp/cp.c
447
curr->fts_path, to.p_path);
bin/cp/cp.c
460
curr->fts_path, to.p_path);
bin/cp/cp.c
471
curr->fts_path, to.p_path);
bin/cp/cp.c
71
PATH_T to = { to.p_path, "" };
bin/cp/extern.h
41
extern PATH_T to;
bin/cp/utils.c
103
to_fd = open(to.p_path, O_WRONLY | O_TRUNC);
bin/cp/utils.c
105
to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
bin/cp/utils.c
109
warn("%s", to.p_path);
bin/cp/utils.c
131
warn("%s", to.p_path);
bin/cp/utils.c
153
warn("%s", to.p_path);
bin/cp/utils.c
183
warn("%s", to.p_path);
bin/cp/utils.c
187
warn("%s", to.p_path);
bin/cp/utils.c
193
warn("%s", to.p_path);
bin/cp/utils.c
212
if (exists && unlink(to.p_path)) {
bin/cp/utils.c
213
warn("unlink: %s", to.p_path);
bin/cp/utils.c
216
if (symlink(name, to.p_path)) {
bin/cp/utils.c
228
if (exists && unlink(to.p_path)) {
bin/cp/utils.c
229
warn("unlink: %s", to.p_path);
bin/cp/utils.c
232
if (mkfifo(to.p_path, from_stat->st_mode)) {
bin/cp/utils.c
233
warn("mkfifo: %s", to.p_path);
bin/cp/utils.c
244
if (exists && unlink(to.p_path)) {
bin/cp/utils.c
245
warn("unlink: %s", to.p_path);
bin/cp/utils.c
248
if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) {
bin/cp/utils.c
249
warn("mknod: %s", to.p_path);
bin/cp/utils.c
264
(void)fprintf(stderr, "overwrite %s? ", to.p_path);
bin/cp/utils.c
286
utimensat(AT_FDCWD, to.p_path, ts, AT_SYMLINK_NOFOLLOW)) {
bin/cp/utils.c
287
warn("update times: %s", to.p_path);
bin/cp/utils.c
297
lchown(to.p_path, fs->st_uid, fs->st_gid)) {
bin/cp/utils.c
299
warn("chown: %s", to.p_path);
bin/cp/utils.c
305
fchmodat(AT_FDCWD, to.p_path, fs->st_mode, AT_SYMLINK_NOFOLLOW)) {
bin/cp/utils.c
306
warn("chmod: %s", to.p_path);
bin/cp/utils.c
319
chflagsat(AT_FDCWD, to.p_path, fs->st_flags, AT_SYMLINK_NOFOLLOW))
bin/cp/utils.c
321
warn("chflags: %s", to.p_path);
bin/cp/utils.c
89
(void)unlink(to.p_path);
bin/ed/buf.c
274
translit_text(char *s, int len, int from, int to)
bin/ed/buf.c
281
ctab[i = from] = to;
bin/ed/main.c
1072
join_lines(int from, int to)
bin/ed/main.c
1081
ep = get_addressed_line_node(INC_MOD(to, addr_last));
bin/ed/main.c
1092
if (delete_lines(from, to) < 0)
bin/ed/main.c
1189
delete_lines(int from, int to)
bin/ed/main.c
1194
if (push_undo_stack(UDEL, from, to) == NULL) {
bin/ed/main.c
1198
n = get_addressed_line_node(INC_MOD(to, addr_last));
bin/ed/main.c
1204
addr_last -= to - from + 1;
bin/ed/main.c
1214
display_lines(int from, int to, int gflag)
bin/ed/main.c
1224
ep = get_addressed_line_node(INC_MOD(to, addr_last));
bin/ed/undo.c
43
push_undo_stack(int type, int from, int to)
bin/ed/undo.c
52
ustack[u_p].t = get_addressed_line_node(to);
bin/ksh/lex.c
1177
set_prompt(int to)
bin/ksh/lex.c
1182
cur_prompt = to;
bin/ksh/lex.c
1184
switch (to) {
bin/mv/cp.c
125
if (strlcpy(to.p_path, target, sizeof to.p_path) >= sizeof(to.p_path))
bin/mv/cp.c
127
to.p_end = to.p_path + strlen(to.p_path);
bin/mv/cp.c
128
if (to.p_path == to.p_end) {
bin/mv/cp.c
129
*to.p_end++ = '.';
bin/mv/cp.c
130
*to.p_end = '\0';
bin/mv/cp.c
132
to.target_end = to.p_end;
bin/mv/cp.c
151
r = stat(to.p_path, &to_stat);
bin/mv/cp.c
153
err(1, "%s", to.p_path);
bin/mv/cp.c
274
target_mid = to.target_end;
bin/mv/cp.c
278
if (target_mid - to.p_path + nlen >= PATH_MAX) {
bin/mv/cp.c
280
to.p_path, p);
bin/mv/cp.c
285
to.p_end = target_mid + nlen;
bin/mv/cp.c
286
*to.p_end = '\0';
bin/mv/cp.c
290
if (stat(to.p_path, &to_stat) == -1) {
bin/mv/cp.c
322
(void)chmod(to.p_path,
bin/mv/cp.c
329
to.p_path, curr->fts_path);
bin/mv/cp.c
338
to.p_path, curr->fts_path);
bin/mv/cp.c
359
if (mkdir(to.p_path,
bin/mv/cp.c
361
err(1, "%s", to.p_path);
bin/mv/cp.c
363
errc(1, ENOTDIR, "%s", to.p_path);
bin/mv/cp.c
426
(void)unlink(to.p_path);
bin/mv/cp.c
438
(void)fprintf(stderr, "overwrite %s? ", to.p_path);
bin/mv/cp.c
447
to_fd = open(to.p_path, O_WRONLY | O_TRUNC);
bin/mv/cp.c
449
to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
bin/mv/cp.c
453
warn("%s", to.p_path);
bin/mv/cp.c
475
warn("%s", to.p_path);
bin/mv/cp.c
497
warn("%s", to.p_path);
bin/mv/cp.c
520
warn("%s", to.p_path);
bin/mv/cp.c
537
if (exists && unlink(to.p_path)) {
bin/mv/cp.c
538
warn("unlink: %s", to.p_path);
bin/mv/cp.c
541
if (symlink(linkname, to.p_path)) {
bin/mv/cp.c
551
if (exists && unlink(to.p_path)) {
bin/mv/cp.c
552
warn("unlink: %s", to.p_path);
bin/mv/cp.c
555
if (mkfifo(to.p_path, from_stat->st_mode)) {
bin/mv/cp.c
556
warn("mkfifo: %s", to.p_path);
bin/mv/cp.c
565
if (exists && unlink(to.p_path)) {
bin/mv/cp.c
566
warn("unlink: %s", to.p_path);
bin/mv/cp.c
569
if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) {
bin/mv/cp.c
570
warn("mknod: %s", to.p_path);
bin/mv/cp.c
589
utimensat(AT_FDCWD, to.p_path, ts, AT_SYMLINK_NOFOLLOW)) {
bin/mv/cp.c
590
warn("update times: %s", to.p_path);
bin/mv/cp.c
600
lchown(to.p_path, fs->st_uid, fs->st_gid)) {
bin/mv/cp.c
602
warn("chown: %s", to.p_path);
bin/mv/cp.c
608
fchmodat(AT_FDCWD, to.p_path, fs->st_mode, AT_SYMLINK_NOFOLLOW)) {
bin/mv/cp.c
609
warn("chmod: %s", to.p_path);
bin/mv/cp.c
622
chflagsat(AT_FDCWD, to.p_path, fs->st_flags, AT_SYMLINK_NOFOLLOW))
bin/mv/cp.c
624
warn("chflags: %s", to.p_path);
bin/mv/cp.c
76
static PATH_T to = { to.p_path, "" };
bin/mv/mv.c
154
do_move(char *from, char *to)
bin/mv/mv.c
178
if (!fflg && !access(to, F_OK)) {
bin/mv/mv.c
183
(void)fprintf(stderr, "overwrite %s? ", to);
bin/mv/mv.c
184
} else if (stdin_ok && access(to, W_OK) && !stat(to, &sb)) {
bin/mv/mv.c
189
group_from_gid(sb.st_gid, 0), to);
bin/mv/mv.c
214
if (!rename(from, to)) {
bin/mv/mv.c
216
(void)fprintf(stdout, "%s -> %s\n", from, to);
bin/mv/mv.c
221
warn("rename %s to %s", from, to);
bin/mv/mv.c
246
if (!lstat(to, &sb)) {
bin/mv/mv.c
247
if ((S_ISDIR(sb.st_mode)) ? rmdir(to) : unlink(to)) {
bin/mv/mv.c
248
warn("can't remove %s", to);
bin/mv/mv.c
258
fastcopy(from, to, &fsb) : mvcopy(from, to));
bin/mv/mv.c
262
fastcopy(char *from, char *to, struct stat *sbp)
bin/mv/mv.c
283
if ((to_fd = open(to, O_CREAT | O_TRUNC | O_WRONLY, 0600)) == -1) {
bin/mv/mv.c
284
warn("%s", to);
bin/mv/mv.c
297
warn("%s", to);
bin/mv/mv.c
302
err: if (unlink(to))
bin/mv/mv.c
303
warn("%s: remove", to);
bin/mv/mv.c
314
to);
bin/mv/mv.c
317
warnc(serrno, "%s: set owner/group", to);
bin/mv/mv.c
320
warn("%s: set mode", to);
bin/mv/mv.c
332
warn("%s: set flags", to);
bin/mv/mv.c
337
warn("%s: set times", to);
bin/mv/mv.c
340
warn("%s", to);
bin/mv/mv.c
350
(void)fprintf(stdout, "%s -> %s\n", from, to);
bin/mv/mv.c
356
mvcopy(char *from, char *to)
bin/mv/mv.c
361
argv[1] = to;
bin/mv/mv.c
382
(void)fprintf(stdout, "%s -> %s\n", from, to);
bin/pax/file_subs.c
276
mk_link(char *to, struct stat *to_sb, char *from, int ign)
bin/pax/file_subs.c
293
paxwarn(1, "Unable to link file %s to itself", to);
bin/pax/file_subs.c
321
if (linkat(AT_FDCWD, to, AT_FDCWD, from, 0) == 0)
bin/pax/file_subs.c
327
syswarn(1, oerrno, "Could not link to %s from %s", to,
games/hunt/huntd/driver.c
164
to = &timeout;
games/hunt/huntd/driver.c
165
to->tv_sec = conf_simstep / 1000000;
games/hunt/huntd/driver.c
166
to->tv_usec = conf_simstep % 1000000;
games/hunt/huntd/driver.c
172
to = NULL;
games/hunt/huntd/driver.c
177
to);
games/hunt/huntd/driver.c
86
static struct timeval timeout = { 0, 0 }, *to;
games/monop/trade.c
206
move_em(TRADE *from, TRADE *to)
games/monop/trade.c
212
pl_to = &play[to->trader];
games/monop/trade.c
219
add_list(to->trader, &(pl_to->own_list), sqnum(op->sqr));
games/monop/trade.c
220
op->sqr->owner = to->trader;
games/monop/trade.c
223
set_ownlist(to->trader);
games/sail/assorted.c
233
Cleansnag(struct ship *from, struct ship *to, int all, int flag)
games/sail/assorted.c
236
Write(W_UNGRAP, from, to->file->index, all, 0, 0);
games/sail/assorted.c
237
Write(W_UNGRAP, to, from->file->index, all, 0, 0);
games/sail/assorted.c
240
Write(W_UNFOUL, from, to->file->index, all, 0, 0);
games/sail/assorted.c
241
Write(W_UNFOUL, to, from->file->index, all, 0, 0);
games/sail/assorted.c
243
if (!snagged2(from, to)) {
games/sail/assorted.c
248
unboard(from, to, 0); /* offense */
games/sail/assorted.c
249
if (!snagged(to)) {
games/sail/assorted.c
250
unboard(to, to, 1); /* defense */
games/sail/assorted.c
251
unboard(to, to, 0); /* defense */
games/sail/assorted.c
253
unboard(to, from, 0); /* offense */
games/sail/dr_1.c
130
fightitout(struct ship *from, struct ship *to, int key)
games/sail/dr_1.c
140
menfrom = mensent(from, to, crewfrom, &fromcap, &pcfrom, key);
games/sail/dr_1.c
141
mento = mensent(to, from, crewto, &tocap, &pcto, 0);
games/sail/dr_1.c
145
tocap = to;
games/sail/dr_1.c
180
unboard(to, from, 0);
games/sail/dr_1.c
182
subtract(to, totalto, crewto, tocap, pcto);
games/sail/dr_1.c
183
makemsg(from, "boarders from %s repelled", to->shipname);
games/sail/dr_1.c
187
Writestr(W_SIGNAL, to, message);
games/sail/dr_1.c
191
unboard(from, to, 0);
games/sail/dr_1.c
193
subtract(to, totalto, crewto, tocap, pcto);
games/sail/dr_1.c
207
Write(W_CAPTURED, from, to->file->index, 0, 0, 0);
games/sail/dr_1.c
208
topoints = 2 * from->specs->pts + to->file->points;
games/sail/dr_1.c
211
Write(W_POINTS, to, topoints, 0, 0, 0);
games/sail/dr_1.c
214
subtract(to, mento, crewto, tocap, pcto);
games/sail/dr_1.c
215
subtract(from, - mento, crewfrom, to, 0);
games/sail/dr_1.c
219
to->shipname);
games/sail/dr_1.c
224
Writestr(W_SIGNAL, to, message);
games/sail/dr_1.c
45
struct ship *to;
games/sail/dr_1.c
53
foreachship(to) {
games/sail/dr_1.c
54
if (nat != capship(to)->nationality &&
games/sail/dr_1.c
55
!is_toughmelee(sp, to, 0, 0))
games/sail/dr_1.c
57
for (i = fouled2(sp, to); --i >= 0;)
games/sail/dr_1.c
59
cleanfoul(sp, to, 0);
games/sail/dr_2.c
133
closeon(struct ship *from, struct ship *to, char command[], size_t commandl,
games/sail/dr_2.c
142
from, to, &high, 0);
games/sail/dr_2.c
148
score(char movement[], size_t movementl, struct ship *ship, struct ship *to,
games/sail/dr_2.c
164
ran = range(ship, to);
games/sail/dr_2.c
166
if (ran < 4 && gunsbear(ship, to))
games/sail/dr_2.c
168
if ((ran = portside(ship, to, 1) - fp->dir) == 4 || ran == -4)
games/sail/dr_3.c
205
push(struct ship *from, struct ship *to)
games/sail/dr_3.c
209
sb = to->specs->guns;
games/sail/dr_3.c
215
return from < to;
games/sail/dr_3.c
259
sendbp(struct ship *from, struct ship *to, int sections, int isdefense)
games/sail/dr_3.c
269
n, turn, to->file->index, sections);
games/sail/dr_3.c
273
makesignal(from, "boarding the $$", to);
games/sail/dr_3.c
278
is_toughmelee(struct ship *ship, struct ship *to, int isdefense, int count)
games/sail/dr_3.c
288
if (bp->turnsent && (to == bp->toship || isdefense)) {
games/sail/dr_3.c
299
OBP = is_toughmelee(to, ship, 0, count + 1);
games/sail/dr_3.c
300
dbp = is_toughmelee(ship, to, 1, count + 1);
games/sail/dr_3.c
301
DBP = is_toughmelee(to, ship, 1, count + 1);
games/sail/dr_4.c
38
ungrap(struct ship *from, struct ship *to)
games/sail/dr_4.c
43
if ((k = grappled2(from, to)) == 0)
games/sail/dr_4.c
45
friend = capship(from)->nationality == capship(to)->nationality;
games/sail/dr_4.c
48
cleangrapple(from, to, 0);
games/sail/dr_4.c
49
makesignal(from, "ungrappling $$", to);
games/sail/dr_4.c
55
grap(struct ship *from, struct ship *to)
games/sail/dr_4.c
57
if (capship(from)->nationality != capship(to)->nationality && die() > 2)
games/sail/dr_4.c
59
Write(W_GRAP, from, to->file->index, 0, 0, 0);
games/sail/dr_4.c
60
Write(W_GRAP, to, from->file->index, 0, 0, 0);
games/sail/dr_4.c
61
makesignal(from, "grappled with $$", to);
games/sail/dr_5.c
61
mensent(struct ship *from, struct ship *to, int crew[3], struct ship **captured,
games/sail/dr_5.c
76
if (bp->turnsent && bp->toship == to)
games/sail/misc.c
132
gunsbear(struct ship *from, struct ship *to)
games/sail/misc.c
137
Dr = from->file->row - to->file->row;
games/sail/misc.c
138
Dc = to->file->col - from->file->col;
games/sail/misc.c
146
Dr += dr[to->file->dir];
games/sail/misc.c
147
Dc += dc[to->file->dir];
games/sail/misc.c
50
range(struct ship *from, struct ship *to)
games/sail/misc.c
56
if (!to->file->dir)
games/sail/misc.c
60
stern2r = bow2r = to->file->row;
games/sail/misc.c
61
stern2c = bow2c = to->file->col;
games/sail/misc.c
64
stern2r += dr[to->file->dir];
games/sail/misc.c
65
stern2c += dc[to->file->dir];
games/sail/parties.c
36
meleeing(struct ship *from, struct ship *to)
games/sail/parties.c
42
if (p->turnsent && p->toship == to)
games/sail/parties.c
60
unboard(struct ship *ship, struct ship *to, int isdefense)
games/sail/parties.c
66
if (p->turnsent && (p->toship == to || isdefense || ship == to))
games/sail/pl_3.c
256
struct ship *to;
games/sail/pl_3.c
259
foreachship(to) {
games/sail/pl_3.c
260
if (fouled2(ms, to) == 0)
games/sail/pl_3.c
262
if (sgetch("Attempt to unfoul with the $$? ", to, 1) != 'y')
games/sail/pl_3.c
264
for (i = fouled2(ms, to); --i >= 0;) {
games/sail/pl_3.c
266
cleanfoul(ms, to, 0);
games/sail/pl_3.c
268
makesignal(ms, "Unfouling $$", to);
games/sail/pl_5.c
199
parties(int crew[3], struct ship *to, int isdefense, int buf)
games/sail/pl_5.c
208
ptr = isdefense ? to->file->DBP : to->file->OBP;
games/sail/pl_5.c
223
j, turn, to->file->index, men);
games/sail/pl_5.c
241
makesignal(ms, "boarding the $$", to);
lib/libc/db/btree/bt_delete.c
463
void *to;
lib/libc/db/btree/bt_delete.c
474
to = bl = GETBLEAF(h, idx);
lib/libc/db/btree/bt_delete.c
484
memmove(from + nbytes, from, (char *)to - from);
lib/libc/db/recno/rec_delete.c
149
void *to;
lib/libc/db/recno/rec_delete.c
161
to = rl = GETRLEAF(h, idx);
lib/libc/db/recno/rec_delete.c
171
memmove(from + nbytes, from, (char *)to - from);
lib/libc/regex/regcomp.c
931
int to) /* to this number of times (maybe INFINITY) */
lib/libc/regex/regcomp.c
943
assert(from <= to);
lib/libc/regex/regcomp.c
945
switch (REP(MAP(from), MAP(to))) {
lib/libc/regex/regcomp.c
954
repeat(p, start+1, 1, to);
lib/libc/regex/regcomp.c
974
repeat(p, copy, 1, to-1);
lib/libc/regex/regcomp.c
982
repeat(p, copy, from-1, to-1);
lib/libc/regex/regcomp.c
986
repeat(p, copy, from-1, to);
lib/libc/string/stpcpy.c
40
stpcpy(char *to, const char *from)
lib/libc/string/stpcpy.c
42
for (; (*to = *from) != '\0'; ++from, ++to);
lib/libc/string/stpcpy.c
43
return(to);
lib/libc/string/strcpy.c
40
strcpy(char *to, const char *from)
lib/libc/string/strcpy.c
42
char *save = to;
lib/libc/string/strcpy.c
44
for (; (*to = *from) != '\0'; ++from, ++to);
lib/libc/string/swab.c
20
swab(const void *__restrict from, void *__restrict to, ssize_t len)
lib/libc/string/swab.c
23
unsigned char *dst = to;
lib/libc/sys/w_sendto.c
23
const struct sockaddr *to, socklen_t tolen)
lib/libc/sys/w_sendto.c
28
ret = HIDDEN(sendto)(fd, msg, len, flags, to, tolen);
lib/libcrypto/asn1/a_time.c
112
ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, const ASN1_TIME *to)
lib/libcrypto/asn1/a_time.c
118
if (!ASN1_TIME_to_tm(to, &tm_to))
lib/libcrypto/asn1/a_time_posix.c
276
const struct tm *to)
lib/libcrypto/asn1/a_time_posix.c
280
if (!OPENSSL_tm_to_posix(to, &time_to) ||
lib/libcrypto/asn1/asn1.h
677
const ASN1_TIME *to);
lib/libcrypto/asn1/asn1_local.h
168
const struct tm *to);
lib/libcrypto/asn1/x_name.c
549
unsigned char *to, *from;
lib/libcrypto/asn1/x_name.c
564
to = out->data;
lib/libcrypto/asn1/x_name.c
565
from = to;
lib/libcrypto/asn1/x_name.c
581
to = from + len - 1;
lib/libcrypto/asn1/x_name.c
584
while ((len > 0) && !(*to & 0x80) && isspace(*to)) {
lib/libcrypto/asn1/x_name.c
585
to--;
lib/libcrypto/asn1/x_name.c
589
to = out->data;
lib/libcrypto/asn1/x_name.c
595
*to++ = *from++;
lib/libcrypto/asn1/x_name.c
601
*to++ = ' ';
lib/libcrypto/asn1/x_name.c
611
*to++ = tolower(*from);
lib/libcrypto/asn1/x_name.c
617
out->length = to - out->data;
lib/libcrypto/bio/bss_dgram.c
330
struct sockaddr *to = NULL;
lib/libcrypto/bio/bss_dgram.c
386
to = (struct sockaddr *)ptr;
lib/libcrypto/bio/bss_dgram.c
387
switch (to->sa_family) {
lib/libcrypto/bio/bss_dgram.c
389
memcpy(&data->peer, to, sizeof(data->peer.sa_in));
lib/libcrypto/bio/bss_dgram.c
392
memcpy(&data->peer, to, sizeof(data->peer.sa_in6));
lib/libcrypto/bio/bss_dgram.c
395
memcpy(&data->peer, to, sizeof(data->peer.sa));
lib/libcrypto/bio/bss_dgram.c
506
to = (struct sockaddr *)ptr;
lib/libcrypto/bio/bss_dgram.c
508
if (to != NULL) {
lib/libcrypto/bio/bss_dgram.c
510
switch (to->sa_family) {
lib/libcrypto/bio/bss_dgram.c
512
memcpy(&data->peer, to, sizeof(data->peer.sa_in));
lib/libcrypto/bio/bss_dgram.c
515
memcpy(&data->peer, to, sizeof(data->peer.sa_in6));
lib/libcrypto/bio/bss_dgram.c
518
memcpy(&data->peer, to, sizeof(data->peer.sa));
lib/libcrypto/bio/bss_dgram.c
543
to = (struct sockaddr *) ptr;
lib/libcrypto/bio/bss_dgram.c
544
switch (to->sa_family) {
lib/libcrypto/bio/bss_dgram.c
546
memcpy(&data->peer, to, sizeof(data->peer.sa_in));
lib/libcrypto/bio/bss_dgram.c
549
memcpy(&data->peer, to, sizeof(data->peer.sa_in6));
lib/libcrypto/bio/bss_dgram.c
552
memcpy(&data->peer, to, sizeof(data->peer.sa));
lib/libcrypto/bn/bn.h
297
int BN_bn2bin(const BIGNUM *a, unsigned char *to);
lib/libcrypto/bn/bn.h
298
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
lib/libcrypto/bn/bn.h
300
int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
lib/libcrypto/bn/bn.h
302
int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
lib/libcrypto/bn/bn.h
393
BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, const BN_MONT_CTX *from);
lib/libcrypto/bn/bn_convert.c
134
BN_bn2bin(const BIGNUM *bn, unsigned char *to)
lib/libcrypto/bn/bn_convert.c
136
return bn_bn2binpad_internal(bn, to, -1, 0);
lib/libcrypto/bn/bn_convert.c
141
BN_bn2binpad(const BIGNUM *bn, unsigned char *to, int to_len)
lib/libcrypto/bn/bn_convert.c
146
return bn_bn2binpad_internal(bn, to, to_len, 0);
lib/libcrypto/bn/bn_convert.c
222
BN_bn2lebinpad(const BIGNUM *bn, unsigned char *to, int to_len)
lib/libcrypto/bn/bn_convert.c
227
return bn_bn2binpad_internal(bn, to, to_len, 1);
lib/libcrypto/conf/conf_def.c
398
int q, r,rr = 0, to = 0, len = 0;
lib/libcrypto/conf/conf_def.c
420
buf->data[to++] = *(from++);
lib/libcrypto/conf/conf_def.c
435
buf->data[to++] = *(from++);
lib/libcrypto/conf/conf_def.c
452
buf->data[to++] = v;
lib/libcrypto/conf/conf_def.c
519
buf->data[to++] = *(p++);
lib/libcrypto/conf/conf_def.c
532
buf->data[to++] = *(from++);
lib/libcrypto/conf/conf_def.c
534
buf->data[to]='\0';
lib/libcrypto/conf/conf_def.c
78
static int str_copy(CONF *conf, char *section, char **to, char *from);
lib/libcrypto/crypto.h
301
int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
lib/libcrypto/dh/dh_ameth.c
419
dh_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
lib/libcrypto/dh/dh_ameth.c
425
BN_free(to->pkey.dh->p);
lib/libcrypto/dh/dh_ameth.c
426
to->pkey.dh->p = a;
lib/libcrypto/dh/dh_ameth.c
430
BN_free(to->pkey.dh->g);
lib/libcrypto/dh/dh_ameth.c
431
to->pkey.dh->g = a;
lib/libcrypto/dsa/dsa_ameth.c
366
dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
lib/libcrypto/dsa/dsa_ameth.c
372
BN_free(to->pkey.dsa->p);
lib/libcrypto/dsa/dsa_ameth.c
373
to->pkey.dsa->p = a;
lib/libcrypto/dsa/dsa_ameth.c
377
BN_free(to->pkey.dsa->q);
lib/libcrypto/dsa/dsa_ameth.c
378
to->pkey.dsa->q = a;
lib/libcrypto/dsa/dsa_ameth.c
382
BN_free(to->pkey.dsa->g);
lib/libcrypto/dsa/dsa_ameth.c
383
to->pkey.dsa->g = a;
lib/libcrypto/ec/ec_ameth.c
472
ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
lib/libcrypto/ec/ec_ameth.c
474
return EC_KEY_set_group(to->pkey.ec, EC_KEY_get0_group(from->pkey.ec));
lib/libcrypto/evp/evp.h
755
const char *to, void *x), void *arg);
lib/libcrypto/evp/evp.h
757
const char *from, const char *to, void *x), void *arg);
lib/libcrypto/evp/evp.h
760
const char *to, void *x), void *arg);
lib/libcrypto/evp/evp.h
762
const char *to, void *x), void *arg);
lib/libcrypto/evp/evp.h
815
int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
lib/libcrypto/evp/evp_local.h
122
int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from);
lib/libcrypto/evp/evp_local.h
187
int (*copy)(EVP_MD_CTX *to, const EVP_MD_CTX *from);
lib/libcrypto/evp/p_legacy.c
69
EVP_PKEY_decrypt_old(unsigned char *to, const unsigned char *from, int from_len,
lib/libcrypto/evp/p_legacy.c
77
return RSA_private_decrypt(from_len, from, to, pkey->pkey.rsa,
lib/libcrypto/evp/p_legacy.c
83
EVP_PKEY_encrypt_old(unsigned char *to, const unsigned char *from, int from_len,
lib/libcrypto/evp/p_legacy.c
91
return RSA_public_encrypt(from_len, from, to, pkey->pkey.rsa,
lib/libcrypto/evp/p_lib.c
318
EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
lib/libcrypto/evp/p_lib.c
320
if (to->type != from->type) {
lib/libcrypto/evp/p_lib.c
330
return from->ameth->param_copy(to, from);
lib/libcrypto/ossl_typ.h
168
typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from,
lib/libcrypto/pem/pem_lib.c
551
load_iv(char **fromp, unsigned char *to, int num)
lib/libcrypto/pem/pem_lib.c
558
to[i] = 0;
lib/libcrypto/pem/pem_lib.c
572
to[i / 2] |= v << (long)((!(i & 1)) * 4);
lib/libcrypto/pem/pem_lib.c
83
static int load_iv(char **fromp, unsigned char *to, int num);
lib/libcrypto/rsa/rsa.h
252
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
254
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
256
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
258
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
319
int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
321
int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
323
int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
325
int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
329
int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
332
int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
335
int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
338
int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
341
int RSA_padding_add_none(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
343
int RSA_padding_check_none(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa.h
414
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
lib/libcrypto/rsa/rsa.h
416
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
lib/libcrypto/rsa/rsa.h
420
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
lib/libcrypto/rsa/rsa.h
422
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
lib/libcrypto/rsa/rsa.h
435
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
437
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
439
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa.h
441
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa_eay.c
125
rsa_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
206
i = BN_bn2bin(ret, &(to[num - j]));
lib/libcrypto/rsa/rsa_eay.c
208
to[k] = 0;
lib/libcrypto/rsa/rsa_eay.c
305
rsa_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
418
i = BN_bn2bin(res, &(to[num - j]));
lib/libcrypto/rsa/rsa_eay.c
420
to[k] = 0;
lib/libcrypto/rsa/rsa_eay.c
433
rsa_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
530
r = RSA_padding_check_PKCS1_type_2(to, num, buf, j, num);
lib/libcrypto/rsa/rsa_eay.c
534
r = RSA_padding_check_PKCS1_OAEP(to, num, buf, j, num, NULL, 0);
lib/libcrypto/rsa/rsa_eay.c
538
r = RSA_padding_check_none(to, num, buf, j, num);
lib/libcrypto/rsa/rsa_eay.c
558
rsa_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
633
r = RSA_padding_check_PKCS1_type_1(to, num, buf, i, num);
lib/libcrypto/rsa/rsa_eay.c
636
r = RSA_padding_check_X931(to, num, buf, i, num);
lib/libcrypto/rsa/rsa_eay.c
639
r = RSA_padding_check_none(to, num, buf, i, num);
lib/libcrypto/rsa/rsa_eay.c
866
RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
869
return rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding);
lib/libcrypto/rsa/rsa_eay.c
874
RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
877
return rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding);
lib/libcrypto/rsa/rsa_eay.c
882
RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
885
return rsa->meth->rsa_priv_dec(flen, from, to, rsa, padding);
lib/libcrypto/rsa/rsa_eay.c
890
RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
lib/libcrypto/rsa/rsa_eay.c
893
return rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding);
lib/libcrypto/rsa/rsa_local.h
142
int RSA_padding_add_X931(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_local.h
144
int RSA_padding_check_X931(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_local.h
69
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa_local.h
71
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa_local.h
73
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa_local.h
75
unsigned char *to, RSA *rsa, int padding);
lib/libcrypto/rsa/rsa_meth.c
101
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
lib/libcrypto/rsa/rsa_meth.c
118
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
lib/libcrypto/rsa/rsa_meth.c
127
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
lib/libcrypto/rsa/rsa_meth.c
195
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
lib/libcrypto/rsa/rsa_meth.c
203
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
lib/libcrypto/rsa/rsa_meth.c
211
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
lib/libcrypto/rsa/rsa_meth.c
219
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
lib/libcrypto/rsa/rsa_meth.c
92
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
lib/libcrypto/rsa/rsa_none.c
68
RSA_padding_add_none(unsigned char *to, int tlen, const unsigned char *from,
lib/libcrypto/rsa/rsa_none.c
81
memcpy(to, from, flen);
lib/libcrypto/rsa/rsa_none.c
87
RSA_padding_check_none(unsigned char *to, int tlen, const unsigned char *from,
lib/libcrypto/rsa/rsa_none.c
95
memset(to, 0, tlen - flen);
lib/libcrypto/rsa/rsa_none.c
96
memcpy(to + tlen - flen, from, flen);
lib/libcrypto/rsa/rsa_oaep.c
125
to[0] = 0;
lib/libcrypto/rsa/rsa_oaep.c
126
seed = to + 1;
lib/libcrypto/rsa/rsa_oaep.c
127
db = to + mdlen + 1;
lib/libcrypto/rsa/rsa_oaep.c
163
RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_oaep.c
167
return RSA_padding_check_PKCS1_OAEP_mgf1(to, tlen, from, flen, num,
lib/libcrypto/rsa/rsa_oaep.c
173
RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_oaep.c
304
to[i] = constant_time_select_8(mask, db[msg_index++], to[i]);
lib/libcrypto/rsa/rsa_oaep.c
87
RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_oaep.c
90
return RSA_padding_add_PKCS1_OAEP_mgf1(to, tlen, from, flen, param,
lib/libcrypto/rsa/rsa_oaep.c
96
RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_pk1.c
126
RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_pk1.c
169
memcpy(to, p, j);
lib/libcrypto/rsa/rsa_pk1.c
176
RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_pk1.c
201
if (!CBB_init_fixed(&cbb, to, tlen))
lib/libcrypto/rsa/rsa_pk1.c
246
RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_pk1.c
279
memcpy(to, p, j);
lib/libcrypto/rsa/rsa_pk1.c
70
RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
lib/libcrypto/rsa/rsa_pk1.c
91
if (!CBB_init_fixed(&cbb, to, tlen))
lib/libcrypto/rsa/rsa_x931.c
106
RSA_padding_check_X931(unsigned char *to, int tlen, const unsigned char *from,
lib/libcrypto/rsa/rsa_x931.c
143
memcpy(to, p, j);
lib/libcrypto/rsa/rsa_x931.c
69
RSA_padding_add_X931(unsigned char *to, int tlen, const unsigned char *from,
lib/libcrypto/rsa/rsa_x931.c
86
p = (unsigned char *)to;
lib/libcrypto/x509/x509_vfy.h
420
int X509_VERIFY_PARAM_inherit(X509_VERIFY_PARAM *to,
lib/libcrypto/x509/x509_vfy.h
422
int X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to,
lib/libcrypto/x509/x509_vpm.c
329
X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to, const X509_VERIFY_PARAM *from)
lib/libcrypto/x509/x509_vpm.c
331
unsigned long save_flags = to->inh_flags;
lib/libcrypto/x509/x509_vpm.c
334
to->inh_flags |= X509_VP_FLAG_DEFAULT;
lib/libcrypto/x509/x509_vpm.c
335
ret = X509_VERIFY_PARAM_inherit(to, from);
lib/libcrypto/x509/x509_vpm.c
336
to->inh_flags = save_flags;
lib/libcurses/curses.priv.h
1956
short to;
lib/libcurses/tic.h
213
const char *to;
lib/libcurses/tinfo/alloc_entry.c
252
TERMTYPE2 *to = &(target->tterm);
lib/libcurses/tinfo/alloc_entry.c
261
if (source == 0 || from == 0 || target == 0 || to == 0)
lib/libcurses/tinfo/alloc_entry.c
267
_nc_align_termtype(to, from);
lib/libcurses/tinfo/alloc_entry.c
271
str_size = strlen(to->term_names) + 1;
lib/libcurses/tinfo/alloc_entry.c
276
for_each_string(i, to) {
lib/libcurses/tinfo/alloc_entry.c
277
if (VALID_STRING(to->Strings[i]))
lib/libcurses/tinfo/alloc_entry.c
278
str_size += strlen(to->Strings[i]) + 1;
lib/libcurses/tinfo/alloc_entry.c
290
_nc_STRCPY(str_copied, to->term_names, str_size);
lib/libcurses/tinfo/alloc_entry.c
291
to->term_names = str_copied;
lib/libcurses/tinfo/alloc_entry.c
304
for_each_string(i, to) {
lib/libcurses/tinfo/alloc_entry.c
305
if (VALID_STRING(to->Strings[i])) {
lib/libcurses/tinfo/alloc_entry.c
306
_nc_STRCPY(str_copied, to->Strings[i], str_size);
lib/libcurses/tinfo/alloc_entry.c
307
to->Strings[i] = str_copied;
lib/libcurses/tinfo/alloc_entry.c
313
free(to->str_table);
lib/libcurses/tinfo/alloc_entry.c
314
to->str_table = str_table;
lib/libcurses/tinfo/alloc_entry.c
325
for (i = 0; i < NUM_EXT_NAMES(to); ++i) {
lib/libcurses/tinfo/alloc_entry.c
326
if (VALID_STRING(to->ext_Names[i]))
lib/libcurses/tinfo/alloc_entry.c
327
str_size += strlen(to->ext_Names[i]) + 1;
lib/libcurses/tinfo/alloc_entry.c
348
for (i = 0; i < NUM_EXT_NAMES(to); ++i) {
lib/libcurses/tinfo/alloc_entry.c
349
if (VALID_STRING(to->ext_Names[i])) {
lib/libcurses/tinfo/alloc_entry.c
350
_nc_STRCPY(str_copied, to->ext_Names[i], str_size);
lib/libcurses/tinfo/alloc_entry.c
351
to->ext_Names[i] = str_copied;
lib/libcurses/tinfo/alloc_entry.c
357
free(to->ext_str_table);
lib/libcurses/tinfo/alloc_entry.c
358
to->ext_str_table = str_table;
lib/libcurses/tinfo/alloc_entry.c
363
if (to->Booleans[i] != (NCURSES_SBOOL) CANCELLED_BOOLEAN) {
lib/libcurses/tinfo/alloc_entry.c
367
to->Booleans[i] = FALSE;
lib/libcurses/tinfo/alloc_entry.c
369
to->Booleans[i] = (NCURSES_SBOOL) mergebool;
lib/libcurses/tinfo/alloc_entry.c
374
if (to->Numbers[i] != CANCELLED_NUMERIC) {
lib/libcurses/tinfo/alloc_entry.c
378
to->Numbers[i] = ABSENT_NUMERIC;
lib/libcurses/tinfo/alloc_entry.c
380
to->Numbers[i] = (NCURSES_INT2) mergenum;
lib/libcurses/tinfo/alloc_entry.c
390
if (to->Strings[i] != CANCELLED_STRING) {
lib/libcurses/tinfo/alloc_entry.c
394
to->Strings[i] = ABSENT_STRING;
lib/libcurses/tinfo/alloc_entry.c
396
to->Strings[i] = mergestring;
lib/libcurses/tinfo/alloc_ttype.c
104
to->num, (unsigned short) (to->num + (ext - to->ext)))); \
lib/libcurses/tinfo/alloc_ttype.c
105
to->num = (unsigned short) (to->num + (ext - to->ext))
lib/libcurses/tinfo/alloc_ttype.c
108
realign_data(TERMTYPE2 *to, char **ext_Names,
lib/libcurses/tinfo/alloc_ttype.c
114
int to_Booleans = to->ext_Booleans;
lib/libcurses/tinfo/alloc_ttype.c
115
int to_Numbers = to->ext_Numbers;
lib/libcurses/tinfo/alloc_ttype.c
116
int to_Strings = to->ext_Strings;
lib/libcurses/tinfo/alloc_ttype.c
123
to->ext_Booleans,
lib/libcurses/tinfo/alloc_ttype.c
124
to->ext_Numbers,
lib/libcurses/tinfo/alloc_ttype.c
125
to->ext_Strings));
lib/libcurses/tinfo/alloc_ttype.c
127
if (to->ext_Booleans != ext_Booleans) {
lib/libcurses/tinfo/alloc_ttype.c
132
TYPE_REALLOC(NCURSES_SBOOL, to->num_Booleans, to->Booleans);
lib/libcurses/tinfo/alloc_ttype.c
133
for (n = to->ext_Booleans - 1,
lib/libcurses/tinfo/alloc_ttype.c
135
base = to->num_Booleans - (m + 1); m >= 0; m--) {
lib/libcurses/tinfo/alloc_ttype.c
136
if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) {
lib/libcurses/tinfo/alloc_ttype.c
137
to->Booleans[base + m] = to->Booleans[base + n--];
lib/libcurses/tinfo/alloc_ttype.c
139
to->Booleans[base + m] = FALSE;
lib/libcurses/tinfo/alloc_ttype.c
142
to->ext_Booleans = UShort(ext_Booleans);
lib/libcurses/tinfo/alloc_ttype.c
145
if (to->ext_Numbers != ext_Numbers) {
lib/libcurses/tinfo/alloc_ttype.c
150
TYPE_REALLOC(NCURSES_INT2, to->num_Numbers, to->Numbers);
lib/libcurses/tinfo/alloc_ttype.c
151
for (n = to->ext_Numbers - 1,
lib/libcurses/tinfo/alloc_ttype.c
153
base = to->num_Numbers - (m + 1); m >= 0; m--) {
lib/libcurses/tinfo/alloc_ttype.c
154
if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) {
lib/libcurses/tinfo/alloc_ttype.c
155
to->Numbers[base + m] = to->Numbers[base + n--];
lib/libcurses/tinfo/alloc_ttype.c
157
to->Numbers[base + m] = ABSENT_NUMERIC;
lib/libcurses/tinfo/alloc_ttype.c
160
to->ext_Numbers = UShort(ext_Numbers);
lib/libcurses/tinfo/alloc_ttype.c
163
if (to->ext_Strings != ext_Strings) {
lib/libcurses/tinfo/alloc_ttype.c
168
TYPE_REALLOC(char *, to->num_Strings, to->Strings);
lib/libcurses/tinfo/alloc_ttype.c
169
for (n = to->ext_Strings - 1,
lib/libcurses/tinfo/alloc_ttype.c
171
base = to->num_Strings - (m + 1); m >= 0; m--) {
lib/libcurses/tinfo/alloc_ttype.c
172
if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) {
lib/libcurses/tinfo/alloc_ttype.c
173
to->Strings[base + m] = to->Strings[base + n--];
lib/libcurses/tinfo/alloc_ttype.c
175
to->Strings[base + m] = ABSENT_STRING;
lib/libcurses/tinfo/alloc_ttype.c
178
to->ext_Strings = UShort(ext_Strings);
lib/libcurses/tinfo/alloc_ttype.c
376
adjust_cancels(TERMTYPE2 *to, TERMTYPE2 *from)
lib/libcurses/tinfo/alloc_ttype.c
378
int first = to->ext_Booleans + to->ext_Numbers;
lib/libcurses/tinfo/alloc_ttype.c
379
int last = first + to->ext_Strings;
lib/libcurses/tinfo/alloc_ttype.c
383
NonNull(to->term_names),
lib/libcurses/tinfo/alloc_ttype.c
386
char *name = to->ext_Names[j];
lib/libcurses/tinfo/alloc_ttype.c
387
int j_str = to->num_Strings - first - to->ext_Strings;
lib/libcurses/tinfo/alloc_ttype.c
389
if (to->Strings[j + j_str] == CANCELLED_STRING) {
lib/libcurses/tinfo/alloc_ttype.c
390
if (_nc_find_ext_name(from, to->ext_Names[j], BOOLEAN) >= 0) {
lib/libcurses/tinfo/alloc_ttype.c
391
if (_nc_del_ext_name(to, name, STRING)
lib/libcurses/tinfo/alloc_ttype.c
392
|| _nc_del_ext_name(to, name, NUMBER)) {
lib/libcurses/tinfo/alloc_ttype.c
393
k = _nc_ins_ext_name(to, name, BOOLEAN);
lib/libcurses/tinfo/alloc_ttype.c
394
to->Booleans[k] = FALSE;
lib/libcurses/tinfo/alloc_ttype.c
398
} else if (_nc_find_ext_name(from, to->ext_Names[j], NUMBER) >= 0) {
lib/libcurses/tinfo/alloc_ttype.c
399
if (_nc_del_ext_name(to, name, STRING)
lib/libcurses/tinfo/alloc_ttype.c
400
|| _nc_del_ext_name(to, name, BOOLEAN)) {
lib/libcurses/tinfo/alloc_ttype.c
401
k = _nc_ins_ext_name(to, name, NUMBER);
lib/libcurses/tinfo/alloc_ttype.c
402
to->Numbers[k] = CANCELLED_NUMERIC;
lib/libcurses/tinfo/alloc_ttype.c
406
} else if (_nc_find_ext_name(from, to->ext_Names[j], STRING) >= 0) {
lib/libcurses/tinfo/alloc_ttype.c
407
if (_nc_del_ext_name(to, name, NUMBER)
lib/libcurses/tinfo/alloc_ttype.c
408
|| _nc_del_ext_name(to, name, BOOLEAN)) {
lib/libcurses/tinfo/alloc_ttype.c
409
k = _nc_ins_ext_name(to, name, STRING);
lib/libcurses/tinfo/alloc_ttype.c
410
to->Strings[k] = CANCELLED_STRING;
lib/libcurses/tinfo/alloc_ttype.c
425
_nc_align_termtype(TERMTYPE2 *to, TERMTYPE2 *from)
lib/libcurses/tinfo/alloc_ttype.c
431
na = to ? ((int) NUM_EXT_NAMES(to)) : 0;
lib/libcurses/tinfo/alloc_ttype.c
435
na, to ? NonNull(to->term_names) : "?",
lib/libcurses/tinfo/alloc_ttype.c
438
if (to != NULL && from != NULL && (na != 0 || nb != 0)) {
lib/libcurses/tinfo/alloc_ttype.c
443
&&(to->ext_Booleans == from->ext_Booleans)
lib/libcurses/tinfo/alloc_ttype.c
444
&& (to->ext_Numbers == from->ext_Numbers)
lib/libcurses/tinfo/alloc_ttype.c
445
&& (to->ext_Strings == from->ext_Strings)) {
lib/libcurses/tinfo/alloc_ttype.c
450
if (strcmp(to->ext_Names[n], from->ext_Names[n])) {
lib/libcurses/tinfo/alloc_ttype.c
468
if (to->ext_Strings && (from->ext_Booleans + from->ext_Numbers))
lib/libcurses/tinfo/alloc_ttype.c
469
adjust_cancels(to, from);
lib/libcurses/tinfo/alloc_ttype.c
471
if (from->ext_Strings && (to->ext_Booleans + to->ext_Numbers))
lib/libcurses/tinfo/alloc_ttype.c
472
adjust_cancels(from, to);
lib/libcurses/tinfo/alloc_ttype.c
475
to->ext_Names,
lib/libcurses/tinfo/alloc_ttype.c
476
to->ext_Booleans,
lib/libcurses/tinfo/alloc_ttype.c
480
to->ext_Names
lib/libcurses/tinfo/alloc_ttype.c
481
+ to->ext_Booleans,
lib/libcurses/tinfo/alloc_ttype.c
482
to->ext_Numbers,
lib/libcurses/tinfo/alloc_ttype.c
487
to->ext_Names
lib/libcurses/tinfo/alloc_ttype.c
488
+ to->ext_Booleans
lib/libcurses/tinfo/alloc_ttype.c
489
+ to->ext_Numbers,
lib/libcurses/tinfo/alloc_ttype.c
490
to->ext_Strings,
lib/libcurses/tinfo/alloc_ttype.c
500
realign_data(to, ext_Names, ext_Booleans, ext_Numbers, ext_Strings);
lib/libcurses/tinfo/alloc_ttype.c
501
FreeIfNeeded(to->ext_Names);
lib/libcurses/tinfo/alloc_ttype.c
502
to->ext_Names = ext_Names;
lib/libcurses/tinfo/alloc_ttype.c
504
NUM_EXT_NAMES(to), to->term_names));
lib/libcurses/tinfo/comp_parse.c
356
invalid_merge(TERMTYPE2 *to, TERMTYPE2 *from)
lib/libcurses/tinfo/comp_parse.c
359
if (valid_TERMTYPE2(to)
lib/libcurses/tinfo/comp_parse.c
361
char *to_name = _nc_first_name(to->term_names);
lib/libcurses/tinfo/comp_parse.c
368
int tt = extended_captype(to, find_capname(to, capname));
lib/libcurses/tinfo/make_keys.c
102
to[sizeof(to) - 1] = '\0';
lib/libcurses/tinfo/make_keys.c
105
scanned = sscanf(buffer, "%255s %255s", to, from);
lib/libcurses/tinfo/make_keys.c
115
to,
lib/libcurses/tinfo/make_keys.c
93
char to[256];
lib/libcurses/tinfo/parse_entry.c
419
if (ap->to == (char *) 0) {
lib/libcurses/tinfo/parse_entry.c
425
entry_ptr = _nc_find_entry(ap->to,
lib/libcurses/tinfo/parse_entry.c
429
ap->from, ap->source, ap->to);
lib/libcurses/tinfo/parse_entry.c
435
if (ap->to == (char *) 0) {
lib/libcurses/tinfo/parse_entry.c
441
entry_ptr = _nc_find_entry(ap->to,
lib/libcurses/tinfo/parse_entry.c
445
ap->from, ap->source, ap->to);
lib/libcurses/tinfo/parse_entry.c
724
#define DATA(from, to) { { from }, { to } }
lib/libcurses/tinfo/parse_entry.c
727
const char to[6];
lib/libcurses/tinfo/parse_entry.c
955
} else if (ap->to[0] == '\0') /* ignore it */
lib/libcurses/tinfo/parse_entry.c
961
to_ptr = _nc_find_entry(ap->to, _nc_get_hash_table(FALSE));
lib/libcurses/tinfo/parse_entry.c
979
ap->to, ap->from, t);
lib/libcurses/tty/hashmap.c
141
update_cost(SCREEN *sp, NCURSES_CH_T *from, NCURSES_CH_T *to)
lib/libcurses/tty/hashmap.c
147
for (i = TEXTWIDTH(sp); i > 0; i--, from++, to++)
lib/libcurses/tty/hashmap.c
148
if (!(CharEq(*from, *to)))
lib/libcurses/tty/hashmap.c
155
update_cost_from_blank(SCREEN *sp, NCURSES_CH_T *to)
lib/libcurses/tty/hashmap.c
165
for (i = TEXTWIDTH(sp); i > 0; i--, to++)
lib/libcurses/tty/hashmap.c
166
if (!(CharEq(blank, *to)))
lib/libcurses/tty/hashmap.c
177
cost_effective(SCREEN *sp, const int from, const int to, const int blank)
lib/libcurses/tty/hashmap.c
181
if (from == to)
lib/libcurses/tty/hashmap.c
192
return (((blank ? update_cost_from_blank(sp, NEWTEXT(sp, to))
lib/libcurses/tty/hashmap.c
193
: update_cost(sp, OLDTEXT(sp, to), NEWTEXT(sp, to)))
lib/libcurses/tty/hashmap.c
197
+ update_cost(sp, OLDTEXT(sp, from), NEWTEXT(sp, to))))
lib/libedit/readline.c
2237
rl_kill_text(int from, int to)
lib/libedit/readline.c
642
static char *from = NULL, *to = NULL;
lib/libedit/readline.c
780
if (*cmd == '&' && (from == NULL || to == NULL))
lib/libedit/readline.c
830
with = realloc(to, size);
lib/libedit/readline.c
832
free(to);
lib/libedit/readline.c
864
to = with;
lib/libedit/readline.c
867
aptr = _rl_compat_sub(tmp, from, to, g_on);
lib/libexpat/lib/xmltok.c
409
unsigned short *to = *toP;
lib/libexpat/lib/xmltok.c
411
while (from < fromLim && to < toLim) {
lib/libexpat/lib/xmltok.c
418
*to++ = (unsigned short)(((from[0] & 0x1f) << 6) | (from[1] & 0x3f));
lib/libexpat/lib/xmltok.c
426
*to++ = (unsigned short)(((from[0] & 0xf) << 12) | ((from[1] & 0x3f) << 6)
lib/libexpat/lib/xmltok.c
432
if (toLim - to < 2) {
lib/libexpat/lib/xmltok.c
443
to[0] = (unsigned short)((n >> 10) | 0xD800);
lib/libexpat/lib/xmltok.c
444
to[1] = (unsigned short)((n & 0x3FF) | 0xDC00);
lib/libexpat/lib/xmltok.c
445
to += 2;
lib/libexpat/lib/xmltok.c
449
*to++ = *from++;
lib/libexpat/lib/xmltok.c
457
*toP = to;
lib/libpcap/pcap-bpf.c
541
struct timeval to;
lib/libpcap/pcap-bpf.c
542
to.tv_sec = p->md.timeout / 1000;
lib/libpcap/pcap-bpf.c
543
to.tv_usec = (p->md.timeout * 1000) % 1000000;
lib/libpcap/pcap-bpf.c
544
if (ioctl(p->fd, BIOCSRTIMEOUT, (caddr_t)&to) == -1) {
lib/libssl/ssl.h
1085
int BIO_ssl_copy_session_id(BIO *to, BIO *from);
lib/libssl/ssl.h
1182
int SSL_copy_session_id(SSL *to, const SSL *from);
lib/libssl/ssl.h
1210
int SSL_set_session(SSL *to, SSL_SESSION *session);
lib/libtls/tls_signer.c
327
tls_rsa_priv_enc(int from_len, const unsigned char *from, unsigned char *to,
lib/libtls/tls_signer.c
366
memcpy(to, signature, signature_len);
lib/libutil/imsg-buffer.c
1046
ibufq_concat(struct ibufqueue *to, struct ibufqueue *from)
lib/libutil/imsg-buffer.c
1048
to->queued += from->queued;
lib/libutil/imsg-buffer.c
1049
TAILQ_CONCAT(&to->bufs, &from->bufs, entry);
lib/libutil/passwd.c
295
pw_write_entry(FILE *to, const struct passwd *pw)
lib/libutil/passwd.c
310
return fprintf(to, "%s:%s:%s:%s:%s:%lld:%lld:%s:%s:%s\n",
lib/libutil/passwd.c
320
FILE *from, *to;
lib/libutil/passwd.c
329
if (!(to = fdopen(tfd, "we")))
lib/libutil/passwd.c
338
if (fputs(buf, to))
lib/libutil/passwd.c
349
if (fputs(buf, to))
lib/libutil/passwd.c
363
if (pw_write_entry(to, pw) == -1)
lib/libutil/passwd.c
367
if (!done && pw_write_entry(to, pw) == -1)
lib/libutil/passwd.c
370
if (ferror(to) || fflush(to))
lib/libutil/passwd.c
374
(void)fclose(to);
libexec/ftpd/ftpd.c
2103
renamecmd(const char *from, const char *to)
libexec/ftpd/ftpd.c
2106
LOGCMD2("rename", from, to);
libexec/ftpd/ftpd.c
2107
if (rename(from, to) == -1)
libexec/snmpd/snmpd_metrics/util.c
120
if (getsockname(s, to, tolen) != 0)
libexec/snmpd/snmpd_metrics/util.c
129
in = (struct sockaddr_in *)to;
libexec/snmpd/snmpd_metrics/util.c
139
in6 = (struct sockaddr_in6 *)to;
libexec/snmpd/snmpd_metrics/util.c
35
sendtofrom(int s, void *buf, size_t len, int flags, struct sockaddr *to,
libexec/snmpd/snmpd_metrics/util.c
57
msg.msg_name = to;
libexec/snmpd/snmpd_metrics/util.c
63
switch (to->sa_family) {
libexec/snmpd/snmpd_metrics/util.c
88
socklen_t *fromlen, struct sockaddr *to, socklen_t *tolen)
libexec/spamd/grey.c
629
trapcheck(DB *db, char *to)
libexec/spamd/grey.c
637
trap = dequotetolower(to);
libexec/spamd/grey.c
758
greyupdate(char *dbname, char *helo, char *ip, char *from, char *to, int sync,
libexec/spamd/grey.c
777
if (asprintf(&key, "%s\n%s\n%s\n%s", ip, helo, from, to) == -1)
libexec/spamd/grey.c
779
r = trapcheck(db, to);
libexec/spamd/grey.c
844
spamtrap ? "greytrap " : "", ip, from, to, helo);
libexec/spamd/grey.c
883
sync_update(now, helo, ip, from, to);
libexec/spamd/grey.c
920
char cip[32], ip[32], helo[MAX_MAIL], from[MAX_MAIL], to[MAX_MAIL];
libexec/spamd/grey.c
994
strlcpy(to, buf+3, sizeof(to));
libexec/spamd/grey.c
998
helo, ip, from, to);
libexec/spamd/grey.c
999
greyupdate(PATH_SPAMD_DB, helo, ip, from, to, sync, cip);
libexec/spamd/sync.c
248
char *from, *to, *helo;
libexec/spamd/sync.c
309
to = from + ntohs(sg->sg_from_length);
libexec/spamd/sync.c
310
helo = to + ntohs(sg->sg_to_length);
libexec/spamd/sync.c
317
helo, inet_ntoa(ip), from, to);
libexec/spamd/sync.c
323
helo, inet_ntoa(ip), from, to);
libexec/spamd/sync.c
418
sync_update(time_t now, char *helo, char *ip, char *from, char *to)
libexec/spamd/sync.c
433
helo, ip, from, to);
libexec/spamd/sync.c
440
tolen = strlen(to) + 1;
libexec/spamd/sync.c
482
iov[i].iov_base = to;
libexec/spamlogd/spamlogd.c
164
struct timeval to;
libexec/spamlogd/spamlogd.c
165
to.tv_sec = to_ms / 1000;
libexec/spamlogd/spamlogd.c
166
to.tv_usec = (to_ms * 1000) % 1000000;
libexec/spamlogd/spamlogd.c
167
if (ioctl(p->fd, BIOCSRTIMEOUT, &to) == -1) {
regress/lib/libcrypto/evp/evp_test.c
536
const char *to, struct do_all_arg *arg)
regress/lib/libcrypto/evp/evp_test.c
543
if (ptr == NULL && to == NULL) {
regress/lib/libcrypto/evp/evp_test.c
548
if (ptr != NULL && to != NULL) {
regress/lib/libcrypto/evp/evp_test.c
551
descr, from, to);
regress/lib/libcrypto/evp/evp_test.c
565
evp_cipher_do_all_cb(const EVP_CIPHER *cipher, const char *from, const char *to,
regress/lib/libcrypto/evp/evp_test.c
568
evp_do_all_cb_common("cipher", cipher, from, to, arg);
regress/lib/libcrypto/evp/evp_test.c
572
evp_md_do_all_cb(const EVP_MD *md, const char *from, const char *to, void *arg)
regress/lib/libcrypto/evp/evp_test.c
574
evp_do_all_cb_common("digest", md, from, to, arg);
regress/lib/libcrypto/evp/evp_test.c
595
evp_cipher_aliases_cb(const EVP_CIPHER *cipher, const char *from, const char *to,
regress/lib/libcrypto/evp/evp_test.c
601
if (to == NULL)
regress/lib/libcrypto/evp/evp_test.c
605
to_cipher = EVP_get_cipherbyname(to);
regress/lib/libcrypto/evp/evp_test.c
611
"from: %p, to: %p\n", from, to, from_cipher, to_cipher);
regress/lib/libcrypto/evp/evp_test.c
616
evp_digest_aliases_cb(const EVP_MD *digest, const char *from, const char *to,
regress/lib/libcrypto/evp/evp_test.c
622
if (to == NULL)
regress/lib/libcrypto/evp/evp_test.c
626
to_digest = EVP_get_digestbyname(to);
regress/lib/libcrypto/evp/evp_test.c
632
"from: %p, to: %p\n", from, to, from_digest, to_digest);
regress/lib/libcrypto/exdata/exdata_test.c
48
ex_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d,
regress/lib/libpthread/setsockopt/1/setsockopt1.c
28
check_timeout(int s, int sec, const struct timespec *to)
regress/lib/libpthread/setsockopt/1/setsockopt1.c
45
ASSERT(timespeccmp(&e, to, >));
regress/lib/libpthread/setsockopt/1/setsockopt1.c
46
timespecsub(&e, to, &t1);
regress/lib/libpthread/setsockopt/1/setsockopt1.c
54
struct timeval to;
regress/lib/libpthread/setsockopt/1/setsockopt1.c
70
to.tv_sec = 2;
regress/lib/libpthread/setsockopt/1/setsockopt1.c
71
to.tv_usec = 0.5 * 1e6;
regress/lib/libpthread/setsockopt/1/setsockopt1.c
72
TIMEVAL_TO_TIMESPEC(&to, &ts);
regress/lib/libpthread/setsockopt/1/setsockopt1.c
73
CHECKe(setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to)));
regress/lib/libpthread/setsockopt/1/setsockopt1.c
78
to.tv_sec = 1;
regress/lib/libpthread/setsockopt/1/setsockopt1.c
79
to.tv_usec = 0.5 * 1e6;
regress/lib/libpthread/setsockopt/1/setsockopt1.c
80
TIMEVAL_TO_TIMESPEC(&to, &ts);
regress/lib/libpthread/setsockopt/1/setsockopt1.c
81
CHECKe(setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to)));
regress/lib/libpthread/setsockopt/2/setsockopt2.c
29
check_timeout(int s, int sec, struct timespec *to)
regress/lib/libpthread/setsockopt/2/setsockopt2.c
46
if (timespeccmp(&e, to, <))
regress/lib/libpthread/setsockopt/2/setsockopt2.c
47
timespecsub(to, &e, &t1);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
49
timespecsub(&e, to, &t1);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
57
struct timeval to;
regress/lib/libpthread/setsockopt/2/setsockopt2.c
73
to.tv_sec = 2;
regress/lib/libpthread/setsockopt/2/setsockopt2.c
74
to.tv_usec = 0.5 * 1e6;
regress/lib/libpthread/setsockopt/2/setsockopt2.c
75
TIMEVAL_TO_TIMESPEC(&to, &ts);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
76
CHECKe(setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to)));
regress/lib/libpthread/setsockopt/2/setsockopt2.c
79
to.tv_sec = 1;
regress/lib/libpthread/setsockopt/2/setsockopt2.c
80
to.tv_usec = 0.5 * 1e6;
regress/lib/libpthread/setsockopt/2/setsockopt2.c
81
TIMEVAL_TO_TIMESPEC(&to, &ts);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
82
CHECKe(setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to)));
regress/lib/libpthread/setsockopt/3/setsockopt3.c
20
struct timeval to;
regress/lib/libpthread/setsockopt/3/setsockopt3.c
26
to.tv_sec = 2;
regress/lib/libpthread/setsockopt/3/setsockopt3.c
27
to.tv_usec = 0.5 * 1e6;
regress/lib/libpthread/setsockopt/3/setsockopt3.c
28
CHECKe(setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to)));
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
28
check_timeout(int s, int sec, const struct timespec *to)
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
45
if (timespeccmp(&e, to, <))
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
46
timespecsub(to, &e, &t1);
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
48
timespecsub(&e, to, &t1);
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
56
struct timeval to;
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
68
to.tv_sec = 2;
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
69
to.tv_usec = 0.5 * 1e6;
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
70
TIMEVAL_TO_TIMESPEC(&to, &ts);
regress/sys/kern/cmsgsize/cmsgsize.c
106
struct sockaddr_in to;
regress/sys/kern/cmsgsize/cmsgsize.c
117
memset(&to, 0, sizeof(to));
regress/sys/kern/cmsgsize/cmsgsize.c
118
to.sin_family = AF_INET;
regress/sys/kern/cmsgsize/cmsgsize.c
119
to.sin_addr = *dst;
regress/sys/kern/cmsgsize/cmsgsize.c
120
to.sin_port = htons(CFG_PORT);
regress/sys/kern/cmsgsize/cmsgsize.c
124
msg.msg_name = &to;
regress/sys/kern/cmsgsize/cmsgsize.c
125
msg.msg_namelen = sizeof(to);
regress/sys/netinet/ipsec/nonxt-sendrecv.c
121
to.tv_sec = 3;
regress/sys/netinet/ipsec/nonxt-sendrecv.c
122
to.tv_usec = 0;
regress/sys/netinet/ipsec/nonxt-sendrecv.c
123
if (setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &to, sizeof(to)) == -1)
regress/sys/netinet/ipsec/nonxt-sendrecv.c
44
struct timeval to;
regress/sys/netinet6/rip6cksum/rip6cksum.c
146
struct timeval to;
regress/sys/netinet6/rip6cksum/rip6cksum.c
151
to.tv_sec = 10;
regress/sys/netinet6/rip6cksum/rip6cksum.c
152
to.tv_usec = 0;
regress/sys/netinet6/rip6cksum/rip6cksum.c
154
n = select(s + 1, &fds, NULL, NULL, &to);
regress/usr.bin/ssh/unittests/kex/test_kex.c
28
do_send_and_receive(struct ssh *from, struct ssh *to)
regress/usr.bin/ssh/unittests/kex/test_kex.c
48
(r = ssh_input_append(to, buf, len)) != 0)
regress/usr.sbin/rpki-client/test-http.c
43
const char *to;
regress/usr.sbin/rpki-client/test-http.c
46
to = strstr(proto, "://");
regress/usr.sbin/rpki-client/test-http.c
47
if (to == NULL)
regress/usr.sbin/rpki-client/test-http.c
49
to += strlen("://");
regress/usr.sbin/rpki-client/test-http.c
50
if ((to = strchr(to, '/')) == NULL)
regress/usr.sbin/rpki-client/test-http.c
54
if (strncasecmp(uri, proto, to - proto + 1) != 0)
sbin/dhcpleased/engine.c
1237
hbuf_src, to, hbuf_dst);
sbin/dhcpleased/engine.c
758
char to[sizeof("xx:xx:xx:xx:xx:xx")];
sbin/dhcpleased/engine.c
788
strlcpy(to, ether_ntoa(&ether_dst), sizeof(to));
sbin/dhcpleased/engine.c
800
log_debug("%s, from: %s, to: %s", __func__, from, to);
sbin/dhcpleased/frontend.c
1077
struct sockaddr_in to;
sbin/dhcpleased/frontend.c
1079
memset(&to, 0, sizeof(to));
sbin/dhcpleased/frontend.c
1080
to.sin_family = AF_INET;
sbin/dhcpleased/frontend.c
1081
to.sin_len = sizeof(to);
sbin/dhcpleased/frontend.c
1082
to.sin_addr = iface->dhcp_server;
sbin/dhcpleased/frontend.c
1083
to.sin_port = ntohs(SERVER_PORT);
sbin/dhcpleased/frontend.c
1085
if (sendto(iface->udpsock, packet, len, 0, (struct sockaddr *)&to,
sbin/dhcpleased/frontend.c
1086
sizeof(to)) == -1) {
sbin/disklabel/editor.c
1459
mpcopy(char **to, char **from)
sbin/disklabel/editor.c
1464
free(to[i]);
sbin/disklabel/editor.c
1465
to[i] = NULL;
sbin/disklabel/editor.c
1467
to[i] = strdup(from[i]);
sbin/disklabel/editor.c
1468
if (to[i] == NULL)
sbin/fdisk/cmd.c
86
char *from, *to;
sbin/fdisk/cmd.c
96
to = lbuf;
sbin/fdisk/cmd.c
97
from = strsep(&to, WHITESPACE);
sbin/fdisk/cmd.c
99
pt = parsepn(to);
sbin/ifconfig/brconfig.c
603
bridge_set_vidmap_range(struct ifbrvidmap *ifbrvm, uint16_t from, uint16_t to)
sbin/ifconfig/brconfig.c
607
for (vid = from; vid <= to; vid++)
sbin/iked/util.c
286
sendtofrom(int s, void *buf, size_t len, int flags, struct sockaddr *to,
sbin/iked/util.c
308
msg.msg_name = to;
sbin/iked/util.c
314
switch (to->sa_family) {
sbin/iked/util.c
339
socklen_t *fromlen, struct sockaddr *to, socklen_t *tolen)
sbin/iked/util.c
370
if (getsockname(s, to, tolen) != 0)
sbin/iked/util.c
379
in = (struct sockaddr_in *)to;
sbin/iked/util.c
389
in6 = (struct sockaddr_in6 *)to;
sbin/ipsecctl/ipsecctl.c
262
ipsecctl_merge_rules(struct ipsec_rule *to, struct ipsec_rule *from)
sbin/ipsecctl/ipsecctl.c
266
assert((to->type & RULE_FLOW) && (from->type & RULE_FLOW));
sbin/ipsecctl/ipsecctl.c
268
if ((to->satype != from->satype) ||
sbin/ipsecctl/ipsecctl.c
269
(to->direction != from->direction) ||
sbin/ipsecctl/ipsecctl.c
270
(to->sport != from->sport) ||
sbin/ipsecctl/ipsecctl.c
271
(to->dport != from->dport) ||
sbin/ipsecctl/ipsecctl.c
272
(to->proto != from->proto))
sbin/ipsecctl/ipsecctl.c
275
if (to->local != NULL || from->local != NULL) {
sbin/ipsecctl/ipsecctl.c
276
if ((to->local == NULL) || (from->local == NULL) ||
sbin/ipsecctl/ipsecctl.c
277
memcmp(to->local, from->local, sizeof(*to->local)))
sbin/ipsecctl/ipsecctl.c
281
if (to->peer != NULL || from->peer != NULL) {
sbin/ipsecctl/ipsecctl.c
282
if ((to->peer == NULL) || (from->peer == NULL) ||
sbin/ipsecctl/ipsecctl.c
283
memcmp(to->peer, from->peer, sizeof(*to->peer)))
sbin/ipsecctl/ipsecctl.c
287
if (ipsecctl_cmp_ident(to, from))
sbin/ipsecctl/ipsecctl.c
290
if (ipsecctl_rule_matchsrc(to, from->src)) {
sbin/ipsecctl/ipsecctl.c
296
if (ipsecctl_rule_matchdst(to, from->dst)) {
sbin/ipsecctl/ipsecctl.c
306
TAILQ_INSERT_TAIL(&to->collapsed_rules, from, bundle_entry);
sbin/pfctl/parse.y
3016
| from os to {
sbin/pfctl/parse.y
3054
to : /* empty */ {
sbin/pfctl/parse.y
569
%type <v.peer> ipportspec from to
sbin/pflogd/pflogd.c
254
struct timeval to;
sbin/pflogd/pflogd.c
255
to.tv_sec = to_ms / 1000;
sbin/pflogd/pflogd.c
256
to.tv_usec = (to_ms * 1000) % 1000000;
sbin/pflogd/pflogd.c
257
if (ioctl(p->fd, BIOCSWTIMEOUT, &to) == -1) {
sbin/restore/utilities.c
120
renameit(char *from, char *to)
sbin/restore/utilities.c
122
if (!Nflag && rename(from, to) == -1) {
sbin/restore/utilities.c
123
warn("cannot rename %s to %s", from, to);
sbin/restore/utilities.c
126
Vprintf(stdout, "rename %s to %s\n", from, to);
sbin/unwind/libunbound/iterator/iter_delegpt.c
401
find_NS(struct reply_info* rep, size_t from, size_t to)
sbin/unwind/libunbound/iterator/iter_delegpt.c
404
for(i=from; i<to; i++) {
sbin/unwind/libunbound/iterator/iterator.c
3117
find_NS(struct reply_info* rep, size_t from, size_t to)
sbin/unwind/libunbound/iterator/iterator.c
3120
for(i=from; i<to; i++) {
sbin/unwind/libunbound/iterator/iterator.c
366
prepend_is_duplicate(struct ub_packed_rrset_key** sets, size_t to,
sbin/unwind/libunbound/iterator/iterator.c
370
for(i=0; i<to; i++) {
sbin/unwind/libunbound/iterator/iterator.c
3972
struct dns_msg* to = foriq->response;
sbin/unwind/libunbound/iterator/iterator.c
3977
size_t n = from->rep->rrset_count+to->rep->rrset_count;
sbin/unwind/libunbound/iterator/iterator.c
3980
to->rep->flags = from->rep->flags;
sbin/unwind/libunbound/iterator/iterator.c
3983
to->rep->rrset_count > RR_COUNT_MAX) {
sbin/unwind/libunbound/iterator/iterator.c
3996
memcpy(dest, to->rep->rrsets, to->rep->an_numrrsets
sbin/unwind/libunbound/iterator/iterator.c
3998
dest += to->rep->an_numrrsets;
sbin/unwind/libunbound/iterator/iterator.c
4003
memcpy(dest, to->rep->rrsets+to->rep->an_numrrsets,
sbin/unwind/libunbound/iterator/iterator.c
4004
to->rep->ns_numrrsets * sizeof(dest[0]));
sbin/unwind/libunbound/iterator/iterator.c
4005
dest += to->rep->ns_numrrsets;
sbin/unwind/libunbound/iterator/iterator.c
4010
memcpy(dest, to->rep->rrsets+to->rep->an_numrrsets+
sbin/unwind/libunbound/iterator/iterator.c
4011
to->rep->ns_numrrsets,
sbin/unwind/libunbound/iterator/iterator.c
4012
to->rep->ar_numrrsets * sizeof(dest[0]));
sbin/unwind/libunbound/iterator/iterator.c
4013
dest += to->rep->ar_numrrsets;
sbin/unwind/libunbound/iterator/iterator.c
4018
to->rep->rrsets = d;
sbin/unwind/libunbound/iterator/iterator.c
4019
to->rep->an_numrrsets += from->rep->an_numrrsets;
sbin/unwind/libunbound/iterator/iterator.c
4020
to->rep->ns_numrrsets += from->rep->ns_numrrsets;
sbin/unwind/libunbound/iterator/iterator.c
4021
to->rep->ar_numrrsets += from->rep->ar_numrrsets;
sbin/unwind/libunbound/iterator/iterator.c
4022
to->rep->rrset_count = n;
sbin/unwind/libunbound/iterator/iterator.c
4024
if(from->rep->security < to->rep->security) /* lowest sec */
sbin/unwind/libunbound/iterator/iterator.c
4025
to->rep->security = from->rep->security;
sbin/unwind/libunbound/iterator/iterator.c
4027
to->rep->qdcount = from->rep->qdcount;
sbin/unwind/libunbound/iterator/iterator.c
4028
if(from->rep->ttl < to->rep->ttl) /* use smallest TTL */
sbin/unwind/libunbound/iterator/iterator.c
4029
to->rep->ttl = from->rep->ttl;
sbin/unwind/libunbound/iterator/iterator.c
4030
if(from->rep->prefetch_ttl < to->rep->prefetch_ttl)
sbin/unwind/libunbound/iterator/iterator.c
4031
to->rep->prefetch_ttl = from->rep->prefetch_ttl;
sbin/unwind/libunbound/iterator/iterator.c
4032
if(from->rep->serve_expired_ttl < to->rep->serve_expired_ttl)
sbin/unwind/libunbound/iterator/iterator.c
4033
to->rep->serve_expired_ttl = from->rep->serve_expired_ttl;
sbin/unwind/libunbound/iterator/iterator.c
4034
if(from->rep->serve_expired_norec_ttl < to->rep->serve_expired_norec_ttl)
sbin/unwind/libunbound/iterator/iterator.c
4035
to->rep->serve_expired_norec_ttl = from->rep->serve_expired_norec_ttl;
sbin/unwind/libunbound/services/cache/infra.c
589
int* edns_vs, uint8_t* edns_lame_known, int* to)
sbin/unwind/libunbound/services/cache/infra.c
628
*to = rtt_timeout(&data->rtt);
sbin/unwind/libunbound/services/cache/infra.c
636
*to = rtt_timeout(&data->rtt);
sbin/unwind/libunbound/services/cache/infra.c
637
if(*to >= PROBE_MAXRTO && (infra->infra_keep_probing ||
sbin/unwind/libunbound/services/cache/infra.c
638
rtt_notimeout(&data->rtt)*4 <= *to)) {
sbin/unwind/libunbound/services/cache/infra.c
652
data->probedelay = timenow + ((*to)+1999)/1000;
sbin/unwind/libunbound/services/cache/infra.h
283
time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to);
sbin/unwind/libunbound/services/outside_network.c
3597
char to[64];
sbin/unwind/libunbound/services/outside_network.c
3598
addr_to_str(to_addr, to_addrlen, to, sizeof(to));
sbin/unwind/libunbound/services/outside_network.c
3599
verbose(VERB_QUERY, "need ipv6 to send, but no ipv6 outgoing interfaces, for %s", to);
sbin/unwind/libunbound/services/outside_network.c
3606
char to[64];
sbin/unwind/libunbound/services/outside_network.c
3607
addr_to_str(to_addr, to_addrlen, to, sizeof(to));
sbin/unwind/libunbound/services/outside_network.c
3608
verbose(VERB_QUERY, "need ipv4 to send, but no ipv4 outgoing interfaces, for %s", to);
sbin/unwind/libunbound/util/data/dname.c
346
void dname_pkt_copy(sldns_buffer* pkt, uint8_t* to, uint8_t* dname)
sbin/unwind/libunbound/util/data/dname.c
357
*to = 0; /* end the result prematurely */
sbin/unwind/libunbound/util/data/dname.c
369
*to = 0; /* end the result prematurely */
sbin/unwind/libunbound/util/data/dname.c
375
*to = 0; /* end the result prematurely */
sbin/unwind/libunbound/util/data/dname.c
379
*to++ = lablen;
sbin/unwind/libunbound/util/data/dname.c
380
memmove(to, dname, lablen);
sbin/unwind/libunbound/util/data/dname.c
382
to += lablen;
sbin/unwind/libunbound/util/data/dname.c
386
*to = 0;
sbin/unwind/libunbound/util/data/dname.h
151
void dname_pkt_copy(struct sldns_buffer* pkt, uint8_t* to, uint8_t* dname);
sbin/unwind/libunbound/util/data/msgreply.c
245
rdata_copy(sldns_buffer* pkt, struct packed_rrset_data* data, uint8_t* to,
sbin/unwind/libunbound/util/data/msgreply.c
284
memmove(to, rr->ttl_data+sizeof(uint32_t), rr->size);
sbin/unwind/libunbound/util/data/msgreply.c
293
memmove(to, &pkt_len, sizeof(uint16_t));
sbin/unwind/libunbound/util/data/msgreply.c
294
to += 2;
sbin/unwind/libunbound/util/data/msgreply.c
310
dname_pkt_copy(pkt, to,
sbin/unwind/libunbound/util/data/msgreply.c
312
to += pkt_dname_len(pkt);
sbin/unwind/libunbound/util/data/msgreply.c
326
memmove(to, sldns_buffer_current(pkt), len);
sbin/unwind/libunbound/util/data/msgreply.c
327
to += len;
sbin/unwind/libunbound/util/data/msgreply.c
336
memmove(to, sldns_buffer_current(pkt), pkt_len);
sbin/unwind/libunbound/util/net_help.c
820
int i, to;
sbin/unwind/libunbound/util/net_help.c
826
to = 16;
sbin/unwind/libunbound/util/net_help.c
830
to = 4;
sbin/unwind/libunbound/util/net_help.c
833
for(i=0; i<to; i++) {
sys/arch/alpha/alpha/prom.c
108
unsigned char *to = (unsigned char *)0x20000000;
sys/arch/alpha/alpha/prom.c
111
*to = c;
sys/arch/alpha/alpha/prom.c
114
ret.bits = prom_putstr(alpha_console, to, 1);
sys/arch/alpha/alpha/prom.c
142
unsigned char *to = (unsigned char *)0x20000000;
sys/arch/alpha/alpha/prom.c
146
ret.bits = prom_getenv_disp(id, to, len);
sys/arch/alpha/alpha/prom.c
147
bcopy(to, buf, len);
sys/arch/amd64/isa/clock.c
269
struct timeout *to = (struct timeout *)v;
sys/arch/amd64/isa/clock.c
271
if (to != NULL)
sys/arch/amd64/isa/clock.c
272
timeout_del(to);
sys/arch/amd64/stand/rdboot/cmd.c
255
readline(char *buf, size_t n, int to)
sys/arch/amd64/stand/rdboot/cmd.c
267
if (to > 0) {
sys/arch/amd64/stand/rdboot/cmd.c
276
tv.tv_sec = to;
sys/arch/arm64/arm64/cpu.c
341
struct timeout *to = arg;
sys/arch/arm64/arm64/cpu.c
353
if (to)
sys/arch/arm64/arm64/cpu.c
354
timeout_add_msec(to, 1000);
sys/arch/hppa/hppa/machdep.c
1081
kcopy(const void *from, void *to, size_t size)
sys/arch/hppa/hppa/machdep.c
1083
return spcopy(HPPA_SID_KERNEL, from, HPPA_SID_KERNEL, to, size);
sys/arch/hppa/stand/mkboot/mkboot.c
108
if ((to = open(to_file, O_RDWR | O_TRUNC | O_CREAT, 0644)) < 0)
sys/arch/hppa/stand/mkboot/mkboot.c
141
lseek(to, pos, 0);
sys/arch/hppa/stand/mkboot/mkboot.c
143
n = btolifs(putfile(argv[optind], to));
sys/arch/hppa/stand/mkboot/mkboot.c
167
lseek(to, LIF_VOLSTART, 0);
sys/arch/hppa/stand/mkboot/mkboot.c
168
if (write(to, buf, sizeof(buf)) != sizeof(buf))
sys/arch/hppa/stand/mkboot/mkboot.c
170
lseek(to, 0, SEEK_END);
sys/arch/hppa/stand/mkboot/mkboot.c
172
if (close(to) < 0)
sys/arch/hppa/stand/mkboot/mkboot.c
179
putfile(char *from_file, int to)
sys/arch/hppa/stand/mkboot/mkboot.c
237
lseek(to, sizeof(load), SEEK_CUR);
sys/arch/hppa/stand/mkboot/mkboot.c
248
if (write(to, buf, n) != n)
sys/arch/hppa/stand/mkboot/mkboot.c
265
lseek(to, -total, SEEK_CUR);
sys/arch/hppa/stand/mkboot/mkboot.c
266
if (write(to, &load, sizeof(load)) != sizeof(load))
sys/arch/hppa/stand/mkboot/mkboot.c
268
lseek(to, total - sizeof(load), SEEK_CUR);
sys/arch/hppa/stand/mkboot/mkboot.c
274
if (write(to, buf, n) != n)
sys/arch/hppa/stand/mkboot/mkboot.c
295
if (write(to, &check_sum, sizeof(int)) != sizeof(int))
sys/arch/hppa/stand/mkboot/mkboot.c
300
if (write(to, buf, n) != n)
sys/arch/hppa/stand/mkboot/mkboot.c
84
int to;
sys/arch/i386/isa/clock.c
188
struct timeout *to = (struct timeout *)v;
sys/arch/i386/isa/clock.c
190
if (to != NULL)
sys/arch/i386/isa/clock.c
191
timeout_del(to);
sys/arch/macppc/macppc/machdep.c
873
kcopy(const void *from, void *to, size_t size)
sys/arch/macppc/macppc/machdep.c
882
bcopy(from, to, size);
sys/arch/octeon/stand/rdboot/cmd.c
251
readline(char *buf, size_t n, int to)
sys/arch/octeon/stand/rdboot/cmd.c
263
if (to > 0) {
sys/arch/octeon/stand/rdboot/cmd.c
272
tv.tv_sec = to;
sys/arch/powerpc64/stand/rdboot/cmd.c
249
readline(char *buf, size_t n, int to)
sys/arch/powerpc64/stand/rdboot/cmd.c
261
if (to > 0) {
sys/arch/powerpc64/stand/rdboot/cmd.c
270
tv.tv_sec = to;
sys/arch/sparc64/dev/iommu.c
502
struct timeval to = { 0, 500000 };
sys/arch/sparc64/dev/iommu.c
578
timeradd(&cur, &to, &flushtimeout);
sys/dev/acpi/tpm.c
572
int to;
sys/dev/acpi/tpm.c
585
to = TPM_ACCESS_TMO * 100; /* steps of 10 microseconds */
sys/dev/acpi/tpm.c
589
(TPM_ACCESS_VALID | TPM_ACCESS_ACTIVE_LOCALITY) && to--) {
sys/dev/acpi/tpm.c
607
int to;
sys/dev/acpi/tpm.c
616
to = TPM_ACCESS_TMO * 200;
sys/dev/acpi/tpm.c
620
while ((r & mask) != mask && to--) {
sys/dev/acpi/tpm.c
658
int burst, burst2, to;
sys/dev/acpi/tpm.c
660
to = TPM_BURST_TMO * 100; /* steps of 10 microseconds */
sys/dev/acpi/tpm.c
663
while (burst == 0 && to--) {
sys/dev/ic/lance.c
631
lance_copyfrombuf_contig(struct lance_softc *sc, void *to, int boff, int len)
sys/dev/ic/lance.c
638
memcpy(to, buf + boff, len);
sys/dev/ic/lance.c
694
void *to = tov;
sys/dev/ic/lance.c
701
*to++ = (*bptr >> 8) & 0xff;
sys/dev/ic/lance.c
708
*to++ = tmp & 0xff;
sys/dev/ic/lance.c
709
*to++ = (tmp >> 8) & 0xff;
sys/dev/ic/lance.c
714
*to = *bptr & 0xff;
sys/dev/ic/lance.c
768
void *to = tov;
sys/dev/ic/lance.c
776
memcpy(to, bptr + boff, xfer);
sys/dev/ic/lance.c
777
to += xfer;
sys/dev/ic/mfi.c
881
int to = 0;
sys/dev/ic/mfi.c
901
if (to++ > 5000) {
sys/dev/ic/oosiop.c
815
int i, s, to;
sys/dev/ic/oosiop.c
819
to = xs->timeout / 1000;
sys/dev/ic/oosiop.c
826
to--;
sys/dev/ic/oosiop.c
827
if (to <= 0) {
sys/dev/ic/osiop.c
448
int status, i, s, to;
sys/dev/ic/osiop.c
452
to = xs->timeout / 1000;
sys/dev/ic/osiop.c
475
to--;
sys/dev/ic/osiop.c
476
if (to <= 0) {
sys/dev/isa/if_ec.c
543
ec_readmem(struct ec_softc *esc, int from, u_int8_t *to, int len)
sys/dev/isa/if_ec.c
552
bus_space_read_region_2(memt, memh, from, (u_int16_t *)to,
sys/dev/isa/if_ec.c
555
bus_space_read_region_1(memt, memh, from, to, len);
sys/dev/isa/if_we.c
588
we_readmem(struct we_softc *wsc, int from, u_int8_t *to, int len)
sys/dev/isa/if_we.c
598
(u_int16_t *)to, len >> 1);
sys/dev/isa/if_we.c
601
to, len);
sys/dev/ofw/fdt.c
641
uint64_t from, to, size;
sys/dev/ofw/fdt.c
695
to = betoh32(range[ac]);
sys/dev/ofw/fdt.c
697
to = (to << 32) + betoh32(range[ac + 1]);
sys/dev/ofw/fdt.c
700
reg->addr += to;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2529
uint64_t cur_size, to;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2535
1, ring, false, &cur_size, &to);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2539
r = amdgpu_ttm_fill_mem(ring, src_data, to, cur_size, resv,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
314
uint64_t from, to, cur_size, tiling_flags;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
328
1, ring, tmz, &cur_size, &to);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
355
r = amdgpu_copy_buffer(ring, from, to, cur_size, resv,
sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.c
282
uint32_t from, uint32_t to,
sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.c
289
from, to, prefetch_loc, preferred_loc, trigger));
sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.c
294
uint32_t from, uint32_t to, uint32_t trigger,
sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.c
300
from, to, trigger, error_code));
sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.h
42
uint32_t from, uint32_t to,
sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.h
47
uint32_t from, uint32_t to, uint32_t trigger,
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
1495
struct kfd_topology_device *peer, int from, int to)
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
1554
props->node_to = to;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
29
static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from)
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
31
to->line_buf_depth = from->line_buf_depth;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
32
to->bits_per_component = from->bits_per_component;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
33
to->convert_rgb = from->convert_rgb;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
34
to->slice_width = from->slice_width;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
35
to->slice_height = from->slice_height;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
36
to->simple_422 = from->simple_422;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
37
to->native_422 = from->native_422;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
38
to->native_420 = from->native_420;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
39
to->pic_width = from->pic_width;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
40
to->pic_height = from->pic_height;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
41
to->rc_tgt_offset_high = from->rc_tgt_offset_high;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
42
to->rc_tgt_offset_low = from->rc_tgt_offset_low;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
43
to->bits_per_pixel = from->bits_per_pixel;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
44
to->rc_edge_factor = from->rc_edge_factor;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
45
to->rc_quant_incr_limit1 = from->rc_quant_incr_limit1;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
46
to->rc_quant_incr_limit0 = from->rc_quant_incr_limit0;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
47
to->initial_xmit_delay = from->initial_xmit_delay;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
48
to->initial_dec_delay = from->initial_dec_delay;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
49
to->block_pred_enable = from->block_pred_enable;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
50
to->first_line_bpg_offset = from->first_line_bpg_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
51
to->second_line_bpg_offset = from->second_line_bpg_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
52
to->initial_offset = from->initial_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
53
memcpy(&to->rc_buf_thresh, &from->rc_buf_thresh, sizeof(from->rc_buf_thresh));
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
54
memcpy(&to->rc_range_params, &from->rc_range_params, sizeof(from->rc_range_params));
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
55
to->rc_model_size = from->rc_model_size;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
56
to->flatness_min_qp = from->flatness_min_qp;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
57
to->flatness_max_qp = from->flatness_max_qp;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
58
to->initial_scale_value = from->initial_scale_value;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
59
to->scale_decrement_interval = from->scale_decrement_interval;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
60
to->scale_increment_interval = from->scale_increment_interval;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
61
to->nfl_bpg_offset = from->nfl_bpg_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
62
to->nsl_bpg_offset = from->nsl_bpg_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
63
to->slice_bpg_offset = from->slice_bpg_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
64
to->final_offset = from->final_offset;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
65
to->vbr_enable = from->vbr_enable;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
66
to->slice_chunk_size = from->slice_chunk_size;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
67
to->second_line_offset_adj = from->second_line_offset_adj;
sys/dev/pci/drm/amd/display/dc/dsc/rc_calc_dpi.c
68
to->dsc_version_minor = from->dsc_version_minor;
sys/dev/pci/drm/display/drm_dp_aux_dev.c
146
static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to)
sys/dev/pci/drm/display/drm_dp_aux_dev.c
155
iov_iter_truncate(to, AUX_MAX_OFFSET - pos);
sys/dev/pci/drm/display/drm_dp_aux_dev.c
157
while (iov_iter_count(to)) {
sys/dev/pci/drm/display/drm_dp_aux_dev.c
159
ssize_t todo = min(iov_iter_count(to), sizeof(buf));
sys/dev/pci/drm/display/drm_dp_aux_dev.c
171
if (copy_to_iter(buf, res, to) != res) {
sys/dev/pci/drm/drm_linux.c
2258
timeout_add(&dfa->to, 1);
sys/dev/pci/drm/drm_linux.c
2318
timeout_set(&dfa->to, irq_dma_fence_array_work, dfa);
sys/dev/pci/drm/drm_linux.c
2456
timeout_set(&chain->to, dma_fence_chain_timo, chain);
sys/dev/pci/drm/drm_linux.c
2457
timeout_add(&chain->to, 1);
sys/dev/pci/drm/drm_linux.c
247
while (timeout_pending(&dwork->to)) {
sys/dev/pci/drm/i915/gt/intel_gtt.h
656
#define set_pd_entry(pd, idx, to) \
sys/dev/pci/drm/i915/gt/intel_gtt.h
657
__set_pd_entry((pd), (idx), px_pt(to), gen8_pde_encode)
sys/dev/pci/drm/i915/gt/intel_ppgtt.c
101
struct i915_page_table * const to,
sys/dev/pci/drm/i915/gt/intel_ppgtt.c
108
pd->entry[idx] = to;
sys/dev/pci/drm/i915/gt/intel_ppgtt.c
109
write_dma_entry(px_base(pd), idx, encode(px_dma(to), I915_CACHE_LLC));
sys/dev/pci/drm/i915/gt/intel_sseu.c
115
return copy_to_user(to, eu_mask, len);
sys/dev/pci/drm/i915/gt/intel_sseu.c
128
int intel_sseu_copy_ssmask_to_user(void __user *to,
sys/dev/pci/drm/i915/gt/intel_sseu.c
147
return copy_to_user(to, ss_mask, len);
sys/dev/pci/drm/i915/gt/intel_sseu.c
94
int intel_sseu_copy_eumask_to_user(void __user *to,
sys/dev/pci/drm/i915/gt/intel_sseu.h
173
int intel_sseu_copy_eumask_to_user(void __user *to,
sys/dev/pci/drm/i915/gt/intel_sseu.h
175
int intel_sseu_copy_ssmask_to_user(void __user *to,
sys/dev/pci/drm/i915/gt/intel_timeline.c
340
struct i915_request *to,
sys/dev/pci/drm/i915/gt/intel_timeline.c
374
err = i915_active_add_request(&tl->active, to);
sys/dev/pci/drm/i915/gt/selftest_timeline.c
858
static void switch_tl_lock(struct i915_request *from, struct i915_request *to)
sys/dev/pci/drm/i915/gt/selftest_timeline.c
867
if (to) {
sys/dev/pci/drm/i915/gt/selftest_timeline.c
868
mutex_lock(&to->context->timeline->mutex);
sys/dev/pci/drm/i915/gt/selftest_timeline.c
869
to->cookie = lockdep_pin_lock(&to->context->timeline->mutex);
sys/dev/pci/drm/i915/i915_request.c
1227
__emit_semaphore_wait(struct i915_request *to,
sys/dev/pci/drm/i915/i915_request.c
1231
const int has_token = GRAPHICS_VER(to->engine->i915) >= 12;
sys/dev/pci/drm/i915/i915_request.c
1236
GEM_BUG_ON(GRAPHICS_VER(to->engine->i915) < 8);
sys/dev/pci/drm/i915/i915_request.c
1237
GEM_BUG_ON(i915_request_has_initial_breadcrumb(to));
sys/dev/pci/drm/i915/i915_request.c
1240
err = intel_timeline_read_hwsp(from, to, &hwsp_offset);
sys/dev/pci/drm/i915/i915_request.c
1248
cs = intel_ring_begin(to, len);
sys/dev/pci/drm/i915/i915_request.c
1273
intel_ring_advance(to, cs);
sys/dev/pci/drm/i915/i915_request.c
1278
can_use_semaphore_wait(struct i915_request *to, struct i915_request *from)
sys/dev/pci/drm/i915/i915_request.c
1280
return to->engine->gt->ggtt == from->engine->gt->ggtt;
sys/dev/pci/drm/i915/i915_request.c
1284
emit_semaphore_wait(struct i915_request *to,
sys/dev/pci/drm/i915/i915_request.c
1289
struct i915_sw_fence *wait = &to->submit;
sys/dev/pci/drm/i915/i915_request.c
1291
if (!can_use_semaphore_wait(to, from))
sys/dev/pci/drm/i915/i915_request.c
1294
if (!intel_context_use_semaphores(to->context))
sys/dev/pci/drm/i915/i915_request.c
1297
if (i915_request_has_initial_breadcrumb(to))
sys/dev/pci/drm/i915/i915_request.c
1310
if (already_busywaiting(to) & mask)
sys/dev/pci/drm/i915/i915_request.c
1313
if (i915_request_await_start(to, from) < 0)
sys/dev/pci/drm/i915/i915_request.c
1317
if (__await_execution(to, from, gfp))
sys/dev/pci/drm/i915/i915_request.c
1320
if (__emit_semaphore_wait(to, from, from->fence.seqno))
sys/dev/pci/drm/i915/i915_request.c
1323
to->sched.semaphores |= mask;
sys/dev/pci/drm/i915/i915_request.c
1324
wait = &to->semaphore;
sys/dev/pci/drm/i915/i915_request.c
1347
__i915_request_await_execution(struct i915_request *to,
sys/dev/pci/drm/i915/i915_request.c
1355
err = __await_execution(to, from, I915_FENCE_GFP);
sys/dev/pci/drm/i915/i915_request.c
1360
if (intel_timeline_sync_has_start(i915_request_timeline(to),
sys/dev/pci/drm/i915/i915_request.c
1374
err = i915_request_await_start(to, from);
sys/dev/pci/drm/i915/i915_request.c
1397
if (can_use_semaphore_wait(to, from) &&
sys/dev/pci/drm/i915/i915_request.c
1398
intel_engine_has_semaphores(to->engine) &&
sys/dev/pci/drm/i915/i915_request.c
1399
!i915_request_has_initial_breadcrumb(to)) {
sys/dev/pci/drm/i915/i915_request.c
1400
err = __emit_semaphore_wait(to, from, from->fence.seqno - 1);
sys/dev/pci/drm/i915/i915_request.c
1406
if (to->engine->sched_engine->schedule) {
sys/dev/pci/drm/i915/i915_request.c
1407
err = i915_sched_node_add_dependency(&to->sched,
sys/dev/pci/drm/i915/i915_request.c
1414
return intel_timeline_sync_set_start(i915_request_timeline(to),
sys/dev/pci/drm/i915/i915_request.c
1477
static bool is_same_parallel_context(struct i915_request *to,
sys/dev/pci/drm/i915/i915_request.c
1480
if (is_parallel_rq(to))
sys/dev/pci/drm/i915/i915_request.c
1481
return request_to_parent(to) == request_to_parent(from);
sys/dev/pci/drm/i915/i915_request.c
1533
await_request_submit(struct i915_request *to, struct i915_request *from)
sys/dev/pci/drm/i915/i915_request.c
1543
if (to->engine == READ_ONCE(from->engine))
sys/dev/pci/drm/i915/i915_request.c
1544
return i915_sw_fence_await_sw_fence_gfp(&to->submit,
sys/dev/pci/drm/i915/i915_request.c
1548
return __i915_request_await_execution(to, from);
sys/dev/pci/drm/i915/i915_request.c
1552
i915_request_await_request(struct i915_request *to, struct i915_request *from)
sys/dev/pci/drm/i915/i915_request.c
1556
GEM_BUG_ON(to == from);
sys/dev/pci/drm/i915/i915_request.c
1557
GEM_BUG_ON(to->timeline == from->timeline);
sys/dev/pci/drm/i915/i915_request.c
1560
i915_sw_fence_set_error_once(&to->submit, from->fence.error);
sys/dev/pci/drm/i915/i915_request.c
1564
if (to->engine->sched_engine->schedule) {
sys/dev/pci/drm/i915/i915_request.c
1565
ret = i915_sched_node_add_dependency(&to->sched,
sys/dev/pci/drm/i915/i915_request.c
1572
if (!intel_engine_uses_guc(to->engine) &&
sys/dev/pci/drm/i915/i915_request.c
1573
is_power_of_2(to->execution_mask | READ_ONCE(from->execution_mask)))
sys/dev/pci/drm/i915/i915_request.c
1574
ret = await_request_submit(to, from);
sys/dev/pci/drm/i915/i915_request.c
1576
ret = emit_semaphore_wait(to, from, I915_FENCE_GFP);
sys/dev/pci/drm/i915/i915_request.c
1686
i915_request_await_object(struct i915_request *to,
sys/dev/pci/drm/i915/i915_request.c
1696
ret = i915_request_await_dma_fence(to, fence);
sys/dev/pci/drm/i915/i915_request.h
422
int i915_request_await_object(struct i915_request *to,
sys/dev/pci/drm/include/linux/dma-fence-array.h
19
struct timeout to;
sys/dev/pci/drm/include/linux/dma-fence-chain.h
15
struct timeout to;
sys/dev/pci/drm/include/linux/timer.h
33
mod_timer(struct timeout *to, unsigned long j)
sys/dev/pci/drm/include/linux/timer.h
36
return timeout_add(to, 1);
sys/dev/pci/drm/include/linux/timer.h
37
return timeout_add(to, j - jiffies);
sys/dev/pci/drm/include/linux/uaccess.h
107
__copy_to_user_inatomic(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
114
error = copyout(from, to, len);
sys/dev/pci/drm/include/linux/uaccess.h
121
__copy_from_user_inatomic(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
128
error = copyin(from, to, len);
sys/dev/pci/drm/include/linux/uaccess.h
135
__copy_from_user_inatomic_nocache(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
137
return __copy_from_user_inatomic(to, from, len);
sys/dev/pci/drm/include/linux/uaccess.h
28
__copy_to_user(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
30
if (copyout(from, to, len))
sys/dev/pci/drm/include/linux/uaccess.h
36
copy_to_user(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
38
return __copy_to_user(to, from, len);
sys/dev/pci/drm/include/linux/uaccess.h
42
__copy_from_user(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
44
if (copyin(from, to, len))
sys/dev/pci/drm/include/linux/uaccess.h
50
copy_from_user(void *to, const void *from, unsigned long len)
sys/dev/pci/drm/include/linux/uaccess.h
52
return __copy_from_user(to, from, len);
sys/dev/pci/drm/include/linux/workqueue.h
120
struct timeout to;
sys/dev/pci/drm/include/linux/workqueue.h
144
timeout_set(&dwork->to, __delayed_work_tick, &dwork->work);
sys/dev/pci/drm/include/linux/workqueue.h
151
timeout_set(&dwork->to, __delayed_work_tick, &dwork->work);
sys/dev/pci/drm/include/linux/workqueue.h
155
.to = TIMEOUT_INITIALIZER(__delayed_work_tick, &(dw)), \
sys/dev/pci/drm/include/linux/workqueue.h
172
return timeout_add(&dwork->to, jiffies);
sys/dev/pci/drm/include/linux/workqueue.h
180
return timeout_add(&dwork->to, jiffies);
sys/dev/pci/drm/include/linux/workqueue.h
188
return (timeout_add(&dwork->to, jiffies) == 0);
sys/dev/pci/drm/include/linux/workqueue.h
196
if (timeout_del(&dwork->to))
sys/dev/pci/drm/include/linux/workqueue.h
206
if (timeout_del(&dwork->to))
sys/dev/pci/drm/include/linux/workqueue.h
214
if (timeout_pending(&dwork->to))
sys/dev/pci/drm/include/uapi/linux/kfd_ioctl.h
637
#define KFD_EVENT_FMT_MIGRATE_START(ns, pid, start, size, from, to, prefetch_loc,\
sys/dev/pci/drm/include/uapi/linux/kfd_ioctl.h
640
(from), (to), (prefetch_loc), (preferred_loc), (migrate_trigger)
sys/dev/pci/drm/include/uapi/linux/kfd_ioctl.h
642
#define KFD_EVENT_FMT_MIGRATE_END(ns, pid, start, size, from, to, migrate_trigger, error_code) \
sys/dev/pci/drm/include/uapi/linux/kfd_ioctl.h
644
(from), (to), (migrate_trigger), (error_code)
sys/dev/pci/drm/scheduler/sched_main.c
470
sched_timeout = sched->work_tdr.to.to_time;
sys/dev/pci/eap.c
270
int icss, to;
sys/dev/pci/eap.c
272
to = EAP_WRITE_TIMEOUT;
sys/dev/pci/eap.c
276
if (!to--) {
sys/dev/pci/eap.c
293
int to;
sys/dev/pci/eap.c
296
for (to = 0; to < EAP_WRITE_TIMEOUT; to++) {
sys/dev/pci/eap.c
301
if (to == EAP_WRITE_TIMEOUT)
sys/dev/pci/eap.c
309
for (to = 0; to < EAP_READ_TIMEOUT; to++) {
sys/dev/pci/eap.c
315
if (to == EAP_READ_TIMEOUT)
sys/dev/pci/eap.c
319
for (to = 0; to < EAP_READ_TIMEOUT; to++) {
sys/dev/pci/eap.c
325
if (to == EAP_READ_TIMEOUT)
sys/dev/pci/eap.c
341
int to;
sys/dev/pci/eap.c
346
for (to = 0; to < EAP_WRITE_TIMEOUT; to++) {
sys/dev/pci/eap.c
351
if (to == EAP_WRITE_TIMEOUT)
sys/dev/pci/eap.c
355
for (to = 0; to < EAP_WRITE_TIMEOUT; to++) {
sys/dev/pci/eap.c
361
if (to == EAP_WRITE_TIMEOUT)
sys/dev/pci/eap.c
387
int to;
sys/dev/pci/eap.c
390
for (to = 0; to < EAP_READ_TIMEOUT; to++) {
sys/dev/pci/mfii.c
1686
int to = 0, rv = 0;
sys/dev/pci/mfii.c
1710
if (to++ > 5000) { /* XXX 5 seconds busywait sucks */
sys/dev/pci/yds.c
1604
int to;
sys/dev/pci/yds.c
1636
for (to = 0; to < AC97_TIMEOUT; to++) {
sys/dev/pci/yds.c
1641
if (to == AC97_TIMEOUT) {
sys/dev/pci/yds.c
1657
for (to = 0; to < AC97_TIMEOUT; to++) {
sys/dev/pci/yds.c
1662
if (to < AC97_TIMEOUT) {
sys/dev/pci/yds.c
1668
for (to = 0; to < AC97_TIMEOUT; to++) {
sys/dev/pci/yds.c
1687
for (to = 0; to < AC97_TIMEOUT; to++) {
sys/dev/pci/yds.c
500
int to;
sys/dev/pci/yds.c
507
for (to = 0; to < YDS_WORK_TIMEOUT; to++) {
sys/dev/pci/yds.c
803
int to;
sys/dev/pci/yds.c
805
for (to = 0; to < AC97_TIMEOUT; to++) {
sys/dev/tc/if_le_ioasic.c
247
caddr_t to = tov;
sys/dev/tc/if_le_ioasic.c
254
*to++ = (*bptr >> 8) & 0xff;
sys/dev/tc/if_le_ioasic.c
261
*to++ = tmp & 0xff;
sys/dev/tc/if_le_ioasic.c
262
*to++ = (tmp >> 8) & 0xff;
sys/dev/tc/if_le_ioasic.c
267
*to = *bptr & 0xff;
sys/dev/tc/if_le_ioasic.c
363
caddr_t to = tov;
sys/dev/tc/if_le_ioasic.c
373
bcopy(bptr+boff, to, xfer);
sys/dev/tc/if_le_ioasic.c
374
to += xfer;
sys/dev/tc/if_le_ioasic.c
379
switch ((u_long)to & (sizeof(u_int32_t) -1)) {
sys/dev/tc/if_le_ioasic.c
393
*(u_int16_t *) (to+0) = (u_short) t0;
sys/dev/tc/if_le_ioasic.c
394
*(u_int32_t *) (to+2) = (t0 >> 16) | (t1 << 16);
sys/dev/tc/if_le_ioasic.c
395
*(u_int32_t *) (to+6) = (t1 >> 16) | (t2 << 16);
sys/dev/tc/if_le_ioasic.c
396
*(u_int32_t *) (to+10) = (t2 >> 16) | (t3 << 16);
sys/dev/tc/if_le_ioasic.c
397
*(u_int16_t *) (to+14) = (t3 >> 16);
sys/dev/tc/if_le_ioasic.c
399
to += 16;
sys/dev/tc/if_le_ioasic.c
407
u_int32_t *dst = (u_int32_t*)to;
sys/dev/tc/if_le_ioasic.c
412
to += 16;
sys/dev/tc/if_le_ioasic.c
421
bcopy(bptr, to, 16);
sys/dev/tc/if_le_ioasic.c
422
to += 16;
sys/dev/tc/if_le_ioasic.c
429
bcopy(bptr, to, len);
sys/dev/usb/ucomvar.h
54
void (*ucom_write)(void *sc, int portno, u_char *to, u_char *from,
sys/dev/usb/ucycom.c
318
ucycom_write(void *addr, int portno, u_char *to, u_char *data, u_int32_t *cnt)
sys/dev/usb/ucycom.c
334
memset(to, 0, len);
sys/dev/usb/ucycom.c
337
to[0] = *cnt | sc->sc_mcr;
sys/dev/usb/ucycom.c
338
memcpy(&to[1], data, *cnt);
sys/dev/usb/ucycom.c
340
*cnt, sc->sc_mcr, to[0]));
sys/dev/usb/ucycom.c
344
to[0] = sc->sc_mcr;
sys/dev/usb/ucycom.c
345
to[1] = *cnt;
sys/dev/usb/ucycom.c
346
memcpy(&to[2], data, *cnt);
sys/dev/usb/ucycom.c
348
to[0], to[1]));
sys/dev/usb/ucycom.c
359
DPRINTF((" %02x", to[i]));
sys/dev/usb/uftdi.c
94
void uftdi_write(void *sc, int portno, u_char *to, u_char *from,
sys/dev/usb/uftdi.c
953
uftdi_write(void *vsc, int portno, u_char *to, u_char *from, u_int32_t *count)
sys/dev/usb/uftdi.c
962
*to = FTDI_OUT_TAG(*count, portno);
sys/dev/usb/uftdi.c
964
memcpy(to + sc->sc_hdrlen, from, *count);
sys/dev/usb/uslhcom.c
476
uslhcom_write(void *arg, int portno, u_char *to, u_char *data, u_int32_t *cnt)
sys/dev/usb/uslhcom.c
478
bcopy(data, &to[USLHCOM_TX_HEADER_SIZE], *cnt);
sys/dev/usb/uslhcom.c
479
to[0] = *cnt; /* add Report ID (= transmit length) */
sys/dev/usb/utpms.c
486
reorder_sample(struct utpms_softc *sc, unsigned char *to, unsigned char *from)
sys/dev/usb/utpms.c
493
bzero(to, UTPMS_SENSORS);
sys/dev/usb/utpms.c
495
to[i] = from[j];
sys/dev/usb/utpms.c
496
to[i + 1] = from[j + 1];
sys/dev/usb/utpms.c
499
to[UTPMS_X_SENSORS + i] = from[j];
sys/dev/usb/utpms.c
500
to[UTPMS_X_SENSORS + i + 1] = from[j + 1];
sys/dev/usb/utpms.c
505
to[i] = from[5 * i + 2];
sys/dev/usb/utpms.c
506
to[i + 8] = from[5 * i + 4];
sys/dev/usb/utpms.c
507
to[i + 16] = from[5 * i + 42];
sys/dev/usb/utpms.c
515
to[i + 24] = from[5 * i + 44];
sys/dev/usb/utpms.c
518
to[i + 26] = from[5 * i + 1];
sys/dev/usb/utpms.c
519
to[i + 34] = from[5 * i + 3];
sys/dev/wscons/wstpad.c
1506
timeout_set(&tp->tap.to, wstpad_tap_timeout, input);
sys/dev/wscons/wstpad.c
1720
timeout_del(&tp->tap.to);
sys/dev/wscons/wstpad.c
1736
timeout_del(&tp->tap.to);
sys/dev/wscons/wstpad.c
222
struct timeout to;
sys/dev/wscons/wstpad.c
828
err = !timeout_add_msec(&tp->tap.to,
sys/dev/wscons/wstpad.c
839
err = !timeout_add_msec(&tp->tap.to,
sys/dev/wscons/wstpad.c
856
timeout_del(&tp->tap.to);
sys/dev/wscons/wstpad.c
864
timeout_del(&tp->tap.to);
sys/dev/wscons/wstpad.c
877
err = !timeout_add_msec(&tp->tap.to,
sys/dev/wscons/wstpad.c
918
timeout_add_msec(&tp->tap.to, tp->tap.clicktime);
sys/isofs/cd9660/iso.h
48
#define ISODCL(from, to) (to - from + 1)
sys/kern/kern_descrip.c
323
syscallarg(int) to;
sys/kern/kern_descrip.c
326
return (dodup3(p, SCARG(uap, from), SCARG(uap, to), 0, retval));
sys/kern/kern_descrip.c
334
syscallarg(int) to;
sys/kern/kern_descrip.c
338
if (SCARG(uap, from) == SCARG(uap, to))
sys/kern/kern_descrip.c
342
return (dodup3(p, SCARG(uap, from), SCARG(uap, to),
sys/kern/kern_pledge.c
1045
pledge_sendit(struct proc *p, const void *to)
sys/kern/kern_pledge.c
1052
if (to == NULL)
sys/kern/kern_sched.c
784
cpuset_copy(struct cpuset *to, struct cpuset *from)
sys/kern/kern_sched.c
786
memcpy(to, from, sizeof(*to));
sys/kern/kern_sched.c
802
cpuset_intersection(struct cpuset *to, struct cpuset *a, struct cpuset *b)
sys/kern/kern_sched.c
807
to->cs_set[i] = a->cs_set[i] & b->cs_set[i];
sys/kern/kern_sched.c
811
cpuset_complement(struct cpuset *to, struct cpuset *a, struct cpuset *b)
sys/kern/kern_sched.c
816
to->cs_set[i] = b->cs_set[i] & ~a->cs_set[i];
sys/kern/kern_timeout.c
1006
if (to->to_kclock == KCLOCK_UPTIME) {
sys/kern/kern_timeout.c
1007
kc = &timeout_kclock[to->to_kclock];
sys/kern/kern_timeout.c
1008
timespecsub(&to->to_abstime, &kc->kc_lastscan, &remaining);
sys/kern/kern_timeout.c
1010
db_timespec(&remaining), db_kclock(to->to_kclock), where,
sys/kern/kern_timeout.c
1011
width, (ulong)to->to_arg, name);
sys/kern/kern_timeout.c
1012
} else if (to->to_kclock == KCLOCK_NONE) {
sys/kern/kern_timeout.c
1014
to->to_time - ticks, "ticks", where,
sys/kern/kern_timeout.c
1015
width, (ulong)to->to_arg, name);
sys/kern/kern_timeout.c
1022
__func__, to, to->to_kclock);
sys/kern/kern_timeout.c
294
timeout_set_flags(struct timeout *to, void (*fn)(void *), void *arg, int kclock,
sys/kern/kern_timeout.c
300
to->to_func = fn;
sys/kern/kern_timeout.c
301
to->to_arg = arg;
sys/kern/kern_timeout.c
302
to->to_kclock = kclock;
sys/kern/kern_timeout.c
303
to->to_flags = flags | TIMEOUT_INITIALIZED;
sys/kern/kern_timeout.c
306
if (ISSET(to->to_flags, TIMEOUT_MPSAFE))
sys/kern/kern_timeout.c
307
KASSERT(ISSET(to->to_flags, TIMEOUT_PROC));
sys/kern/kern_timeout.c
360
timeout_add_ticks(struct timeout *to, uint64_t to_ticks)
sys/kern/kern_timeout.c
378
return timeout_add(to, (int)to_ticks);
sys/kern/kern_timeout.c
382
timeout_add_sec(struct timeout *to, int secs)
sys/kern/kern_timeout.c
390
return timeout_add_ticks(to, to_ticks);
sys/kern/kern_timeout.c
403
timeout_add_msec(struct timeout *to, uint64_t msecs)
sys/kern/kern_timeout.c
406
return timeout_add(to, INT_MAX);
sys/kern/kern_timeout.c
408
return timeout_add_usec(to, msecs * 1000);
sys/kern/kern_timeout.c
412
timeout_add_usec(struct timeout *to, uint64_t usecs)
sys/kern/kern_timeout.c
417
return timeout_add(to, INT_MAX);
sys/kern/kern_timeout.c
421
return timeout_add_ticks(to, to_ticks);
sys/kern/kern_timeout.c
425
timeout_add_nsec(struct timeout *to, uint64_t nsecs)
sys/kern/kern_timeout.c
430
return timeout_add(to, INT_MAX);
sys/kern/kern_timeout.c
434
return timeout_add_ticks(to, to_ticks);
sys/kern/kern_timeout.c
438
timeout_abs_ts(struct timeout *to, const struct timespec *abstime)
sys/kern/kern_timeout.c
445
KASSERT(ISSET(to->to_flags, TIMEOUT_INITIALIZED));
sys/kern/kern_timeout.c
446
KASSERT(to->to_kclock == KCLOCK_UPTIME);
sys/kern/kern_timeout.c
448
old_abstime = to->to_abstime;
sys/kern/kern_timeout.c
449
to->to_abstime = *abstime;
sys/kern/kern_timeout.c
450
CLR(to->to_flags, TIMEOUT_TRIGGERED);
sys/kern/kern_timeout.c
452
if (ISSET(to->to_flags, TIMEOUT_ONQUEUE)) {
sys/kern/kern_timeout.c
454
CIRCQ_REMOVE(&to->to_list);
sys/kern/kern_timeout.c
455
CIRCQ_INSERT_TAIL(&timeout_new, &to->to_list);
sys/kern/kern_timeout.c
460
SET(to->to_flags, TIMEOUT_ONQUEUE);
sys/kern/kern_timeout.c
461
CIRCQ_INSERT_TAIL(&timeout_new, &to->to_list);
sys/kern/kern_timeout.c
465
to->to_process = curproc->p_p;
sys/kern/kern_timeout.c
475
timeout_del(struct timeout *to)
sys/kern/kern_timeout.c
480
if (ISSET(to->to_flags, TIMEOUT_ONQUEUE)) {
sys/kern/kern_timeout.c
481
CIRCQ_REMOVE(&to->to_list);
sys/kern/kern_timeout.c
482
CLR(to->to_flags, TIMEOUT_ONQUEUE);
sys/kern/kern_timeout.c
486
CLR(to->to_flags, TIMEOUT_TRIGGERED);
sys/kern/kern_timeout.c
494
timeout_del_barrier(struct timeout *to)
sys/kern/kern_timeout.c
498
timeout_sync_order(ISSET(to->to_flags, TIMEOUT_PROC));
sys/kern/kern_timeout.c
500
removed = timeout_del(to);
sys/kern/kern_timeout.c
501
timeout_barrier(to);
sys/kern/kern_timeout.c
507
timeout_barrier(struct timeout *to)
sys/kern/kern_timeout.c
514
flags = to->to_flags & (TIMEOUT_PROC | TIMEOUT_MPSAFE);
sys/kern/kern_timeout.c
533
if (tctx->tctx_running != to) {
sys/kern/kern_timeout.c
553
timeout_bucket(const struct timeout *to)
sys/kern/kern_timeout.c
559
KASSERT(to->to_kclock == KCLOCK_UPTIME);
sys/kern/kern_timeout.c
560
kc = &timeout_kclock[to->to_kclock];
sys/kern/kern_timeout.c
562
KASSERT(timespeccmp(&kc->kc_lastscan, &to->to_abstime, <));
sys/kern/kern_timeout.c
563
timespecsub(&to->to_abstime, &kc->kc_lastscan, &diff);
sys/kern/kern_timeout.c
568
timespecadd(&to->to_abstime, &kc->kc_offset, &shifted_abstime);
sys/kern/kern_timeout.c
672
timeout_run(struct timeout_ctx *tctx, struct timeout *to)
sys/kern/kern_timeout.c
680
CLR(to->to_flags, TIMEOUT_ONQUEUE);
sys/kern/kern_timeout.c
681
SET(to->to_flags, TIMEOUT_TRIGGERED);
sys/kern/kern_timeout.c
683
fn = to->to_func;
sys/kern/kern_timeout.c
684
arg = to->to_arg;
sys/kern/kern_timeout.c
685
needsproc = ISSET(to->to_flags, TIMEOUT_PROC);
sys/kern/kern_timeout.c
687
struct process *kcov_process = to->to_process;
sys/kern/kern_timeout.c
690
tctx->tctx_running = to;
sys/kern/kern_timeout.c
706
softclock_process_kclock_timeout(struct timeout *to, int new)
sys/kern/kern_timeout.c
708
struct kclock *kc = &timeout_kclock[to->to_kclock];
sys/kern/kern_timeout.c
710
if (timespeccmp(&to->to_abstime, &kc->kc_lastscan, >)) {
sys/kern/kern_timeout.c
714
CIRCQ_INSERT_TAIL(&timeout_wheel_kc[timeout_bucket(to)],
sys/kern/kern_timeout.c
715
&to->to_list);
sys/kern/kern_timeout.c
718
if (!new && timespeccmp(&to->to_abstime, &kc->kc_late, <=))
sys/kern/kern_timeout.c
720
if (ISSET(to->to_flags, TIMEOUT_PROC)) {
sys/kern/kern_timeout.c
722
if (ISSET(to->to_flags, TIMEOUT_MPSAFE))
sys/kern/kern_timeout.c
723
CIRCQ_INSERT_TAIL(&timeout_proc_mp, &to->to_list);
sys/kern/kern_timeout.c
726
CIRCQ_INSERT_TAIL(&timeout_proc, &to->to_list);
sys/kern/kern_timeout.c
729
timeout_run(&timeout_ctx_si, to);
sys/kern/kern_timeout.c
734
softclock_process_tick_timeout(struct timeout *to, int new)
sys/kern/kern_timeout.c
736
int delta = to->to_time - ticks;
sys/kern/kern_timeout.c
742
CIRCQ_INSERT_TAIL(&BUCKET(delta, to->to_time), &to->to_list);
sys/kern/kern_timeout.c
747
if (ISSET(to->to_flags, TIMEOUT_PROC)) {
sys/kern/kern_timeout.c
749
if (ISSET(to->to_flags, TIMEOUT_MPSAFE))
sys/kern/kern_timeout.c
750
CIRCQ_INSERT_TAIL(&timeout_proc_mp, &to->to_list);
sys/kern/kern_timeout.c
753
CIRCQ_INSERT_TAIL(&timeout_proc, &to->to_list);
sys/kern/kern_timeout.c
756
timeout_run(&timeout_ctx_si, to);
sys/kern/kern_timeout.c
769
struct timeout *first_new, *to;
sys/kern/kern_timeout.c
783
to = timeout_from_circq(CIRCQ_FIRST(&timeout_todo));
sys/kern/kern_timeout.c
784
CIRCQ_REMOVE(&to->to_list);
sys/kern/kern_timeout.c
785
if (to == first_new)
sys/kern/kern_timeout.c
787
if (to->to_kclock == KCLOCK_NONE)
sys/kern/kern_timeout.c
788
softclock_process_tick_timeout(to, new);
sys/kern/kern_timeout.c
789
else if (to->to_kclock == KCLOCK_UPTIME)
sys/kern/kern_timeout.c
790
softclock_process_kclock_timeout(to, new);
sys/kern/kern_timeout.c
793
__func__, to->to_kclock);
sys/kern/kern_timeout.c
826
struct timeout *to;
sys/kern/kern_timeout.c
839
to = timeout_from_circq(CIRCQ_FIRST(todo));
sys/kern/kern_timeout.c
840
CIRCQ_REMOVE(&to->to_list);
sys/kern/kern_timeout.c
841
timeout_run(tctx, to);
sys/kern/kern_timeout.c
885
struct timeout *to;
sys/kern/kern_timeout.c
898
to = timeout_from_circq(p);
sys/kern/kern_timeout.c
902
if (to->to_time - ticks < adj)
sys/kern/kern_timeout.c
903
to->to_time = new_ticks;
sys/kern/kern_timeout.c
904
CIRCQ_REMOVE(&to->to_list);
sys/kern/kern_timeout.c
905
CIRCQ_INSERT_TAIL(&timeout_todo, &to->to_list);
sys/kern/kern_timeout.c
972
db_show_timeout(struct timeout *to, struct circq *bucket)
sys/kern/kern_timeout.c
982
db_find_sym_and_offset((vaddr_t)to->to_func, &name, &offset);
sys/kern/kern_timeout.c
995
if (to->to_kclock == KCLOCK_UPTIME)
sys/kern/kern_timeout.c
997
else if (to->to_kclock == KCLOCK_NONE)
sys/kern/kern_unveil.c
211
struct unveil *to = child->ps_uvpaths + i;
sys/kern/kern_unveil.c
214
to->uv_vp = from->uv_vp;
sys/kern/kern_unveil.c
215
if (to->uv_vp != NULL) {
sys/kern/kern_unveil.c
216
vref(to->uv_vp);
sys/kern/kern_unveil.c
217
to->uv_vp->v_uvcount++;
sys/kern/kern_unveil.c
219
rw_init(&to->uv_lock, "unveil");
sys/kern/kern_unveil.c
220
RBT_INIT(unvname_rbt, &to->uv_names);
sys/kern/kern_unveil.c
228
to->uv_flags = from->uv_flags;
sys/kern/kern_unveil.c
229
to->uv_cover = from->uv_cover;
sys/kern/sched_bsd.c
120
static struct timeout to = TIMEOUT_INITIALIZER(update_loadavg, NULL);
sys/kern/sched_bsd.c
137
timeout_add_sec(&to, 5);
sys/kern/sched_bsd.c
231
static struct timeout to = TIMEOUT_INITIALIZER(schedcpu, NULL);
sys/kern/sched_bsd.c
284
timeout_add_sec(&to, 1);
sys/kern/subr_witness.c
2475
key.to = child->w_index;
sys/kern/subr_witness.c
2477
WITNESS_INDEX_ASSERT(key.to);
sys/kern/subr_witness.c
2523
key.to = child->w_index;
sys/kern/subr_witness.c
2525
WITNESS_INDEX_ASSERT(key.to);
sys/kern/subr_witness.c
268
uint16_t to;
sys/kern/subr_witness.c
323
return (a->from == b->from && a->to == b->to);
sys/kern/tty_subr.c
444
catq(struct clist *from, struct clist *to)
sys/kern/tty_subr.c
459
if (to->c_cc == 0 && from->c_cn == to->c_cn) {
sys/kern/tty_subr.c
463
*from = *to;
sys/kern/tty_subr.c
464
*to = tmp;
sys/kern/tty_subr.c
471
putc(c, to);
sys/kern/uipc_domain.c
289
struct timeout *to = (struct timeout *)arg;
sys/kern/uipc_domain.c
299
timeout_add_msec(to, 500);
sys/kern/uipc_domain.c
305
struct timeout *to = (struct timeout *)arg;
sys/kern/uipc_domain.c
315
timeout_add_msec(to, 200);
sys/kern/uipc_mbuf.c
1372
m_dup_pkthdr(struct mbuf *to, struct mbuf *from, int wait)
sys/kern/uipc_mbuf.c
1378
to->m_flags = (to->m_flags & (M_EXT | M_EXTWR));
sys/kern/uipc_mbuf.c
1379
to->m_flags |= (from->m_flags & M_COPYFLAGS);
sys/kern/uipc_mbuf.c
1380
to->m_pkthdr = from->m_pkthdr;
sys/kern/uipc_mbuf.c
1383
to->m_pkthdr.pf.statekey = NULL;
sys/kern/uipc_mbuf.c
1384
pf_mbuf_link_state_key(to, from->m_pkthdr.pf.statekey);
sys/kern/uipc_mbuf.c
1385
to->m_pkthdr.pf.inp = NULL;
sys/kern/uipc_mbuf.c
1386
pf_mbuf_link_inpcb(to, from->m_pkthdr.pf.inp);
sys/kern/uipc_mbuf.c
1389
SLIST_INIT(&to->m_pkthdr.ph_tags);
sys/kern/uipc_mbuf.c
1391
if ((error = m_tag_copy_chain(to, from, wait)) != 0)
sys/kern/uipc_mbuf.c
1394
if ((to->m_flags & M_EXT) == 0)
sys/kern/uipc_mbuf.c
1395
to->m_data = to->m_pktdat;
sys/kern/uipc_mbuf2.c
355
m_tag_copy_chain(struct mbuf *to, struct mbuf *from, int wait)
sys/kern/uipc_mbuf2.c
359
m_tag_delete_chain(to);
sys/kern/uipc_mbuf2.c
363
m_tag_delete_chain(to);
sys/kern/uipc_mbuf2.c
367
SLIST_INSERT_HEAD(&to->m_pkthdr.ph_tags, t, m_tag_link);
sys/kern/uipc_mbuf2.c
371
to->m_pkthdr.ph_tagsset |= t->m_tag_id;
sys/kern/uipc_syscalls.c
549
syscallarg(const struct sockaddr *) to;
sys/kern/uipc_syscalls.c
555
msg.msg_name = (caddr_t)SCARG(uap, to);
sys/kern/uipc_syscalls.c
706
struct mbuf *to, *control;
sys/kern/uipc_syscalls.c
715
to = NULL;
sys/kern/uipc_syscalls.c
744
error = sockargs(&to, mp->msg_name, mp->msg_namelen,
sys/kern/uipc_syscalls.c
749
error = dns_portcheck(p, so, mtod(to, caddr_t),
sys/kern/uipc_syscalls.c
756
ktrsockaddr(p, mtod(to, caddr_t), mp->msg_namelen);
sys/kern/uipc_syscalls.c
785
error = sosend(so, to, &auio, NULL, control, flags);
sys/kern/uipc_syscalls.c
809
m_freem(to);
sys/kern/vfs_syscalls.c
2986
syscallarg(const char *) to;
sys/kern/vfs_syscalls.c
2990
SCARG(uap, to)));
sys/kern/vfs_syscalls.c
3000
syscallarg(const char *) to;
sys/kern/vfs_syscalls.c
3004
SCARG(uap, tofd), SCARG(uap, to)));
sys/kern/vfs_syscalls.c
3009
const char *to)
sys/kern/vfs_syscalls.c
3031
NDINITAT(&tond, RENAME, flags, UIO_USERSPACE, tofd, to, p);
sys/net/pf.c
746
pf_update_state_timeout(struct pf_state *st, int to)
sys/net/pf.c
750
st->timeout = to;
sys/net/pf.c
9097
timeout_set(&pdy->to, pf_pktenqueue_delayed, pdy);
sys/net/pf.c
9098
timeout_add_msec(&pdy->to, m->m_pkthdr.pf.delay);
sys/net/pf_ioctl.c
4011
pf_pool_copyin(struct pf_pool *from, struct pf_pool *to)
sys/net/pf_ioctl.c
4013
memmove(to, from, sizeof(*to));
sys/net/pf_ioctl.c
4014
to->kif = NULL;
sys/net/pf_ioctl.c
4015
to->addr.p.tbl = NULL;
sys/net/pf_ioctl.c
4049
pf_rule_copyin(struct pf_rule *from, struct pf_rule *to)
sys/net/pf_ioctl.c
4058
to->src = from->src;
sys/net/pf_ioctl.c
4059
to->src.addr.p.tbl = NULL;
sys/net/pf_ioctl.c
4060
to->dst = from->dst;
sys/net/pf_ioctl.c
4061
to->dst.addr.p.tbl = NULL;
sys/net/pf_ioctl.c
4063
if (pf_validate_range(to->src.port_op, to->src.port, PF_ORDER_NET))
sys/net/pf_ioctl.c
4065
if (pf_validate_range(to->dst.port_op, to->dst.port, PF_ORDER_NET))
sys/net/pf_ioctl.c
4070
strlcpy(to->label, from->label, sizeof(to->label));
sys/net/pf_ioctl.c
4071
strlcpy(to->ifname, from->ifname, sizeof(to->ifname));
sys/net/pf_ioctl.c
4072
strlcpy(to->rcv_ifname, from->rcv_ifname, sizeof(to->rcv_ifname));
sys/net/pf_ioctl.c
4073
strlcpy(to->qname, from->qname, sizeof(to->qname));
sys/net/pf_ioctl.c
4074
strlcpy(to->pqname, from->pqname, sizeof(to->pqname));
sys/net/pf_ioctl.c
4075
strlcpy(to->tagname, from->tagname, sizeof(to->tagname));
sys/net/pf_ioctl.c
4076
strlcpy(to->match_tagname, from->match_tagname,
sys/net/pf_ioctl.c
4077
sizeof(to->match_tagname));
sys/net/pf_ioctl.c
4078
strlcpy(to->overload_tblname, from->overload_tblname,
sys/net/pf_ioctl.c
4079
sizeof(to->overload_tblname));
sys/net/pf_ioctl.c
4081
pf_pool_copyin(&from->nat, &to->nat);
sys/net/pf_ioctl.c
4082
pf_pool_copyin(&from->rdr, &to->rdr);
sys/net/pf_ioctl.c
4083
pf_pool_copyin(&from->route, &to->route);
sys/net/pf_ioctl.c
4085
if (pf_validate_range(to->rdr.port_op, to->rdr.proxy_port,
sys/net/pf_ioctl.c
4089
to->kif = (to->ifname[0]) ?
sys/net/pf_ioctl.c
4090
pfi_kif_alloc(to->ifname, M_WAITOK) : NULL;
sys/net/pf_ioctl.c
4091
to->rcv_kif = (to->rcv_ifname[0]) ?
sys/net/pf_ioctl.c
4092
pfi_kif_alloc(to->rcv_ifname, M_WAITOK) : NULL;
sys/net/pf_ioctl.c
4093
to->rdr.kif = (to->rdr.ifname[0]) ?
sys/net/pf_ioctl.c
4094
pfi_kif_alloc(to->rdr.ifname, M_WAITOK) : NULL;
sys/net/pf_ioctl.c
4095
to->nat.kif = (to->nat.ifname[0]) ?
sys/net/pf_ioctl.c
4096
pfi_kif_alloc(to->nat.ifname, M_WAITOK) : NULL;
sys/net/pf_ioctl.c
4097
to->route.kif = (to->route.ifname[0]) ?
sys/net/pf_ioctl.c
4098
pfi_kif_alloc(to->route.ifname, M_WAITOK) : NULL;
sys/net/pf_ioctl.c
4100
to->os_fingerprint = from->os_fingerprint;
sys/net/pf_ioctl.c
4102
to->rtableid = from->rtableid;
sys/net/pf_ioctl.c
4103
if (to->rtableid >= 0 && !rtable_exists(to->rtableid))
sys/net/pf_ioctl.c
4105
to->onrdomain = from->onrdomain;
sys/net/pf_ioctl.c
4106
if (to->onrdomain != -1 && (to->onrdomain < 0 ||
sys/net/pf_ioctl.c
4107
to->onrdomain > RT_TABLEID_MAX))
sys/net/pf_ioctl.c
4111
to->timeout[i] = from->timeout[i];
sys/net/pf_ioctl.c
4112
to->states_tot = from->states_tot;
sys/net/pf_ioctl.c
4113
to->max_states = from->max_states;
sys/net/pf_ioctl.c
4114
to->max_src_nodes = from->max_src_nodes;
sys/net/pf_ioctl.c
4115
to->max_src_states = from->max_src_states;
sys/net/pf_ioctl.c
4116
to->max_src_conn = from->max_src_conn;
sys/net/pf_ioctl.c
4117
to->max_src_conn_rate.limit = from->max_src_conn_rate.limit;
sys/net/pf_ioctl.c
4118
to->max_src_conn_rate.seconds = from->max_src_conn_rate.seconds;
sys/net/pf_ioctl.c
4119
pf_init_threshold(&to->pktrate, from->pktrate.limit,
sys/net/pf_ioctl.c
4122
if (to->qname[0] != 0) {
sys/net/pf_ioctl.c
4123
if ((to->qid = pf_qname2qid(to->qname, 0)) == 0)
sys/net/pf_ioctl.c
4125
if (to->pqname[0] != 0) {
sys/net/pf_ioctl.c
4126
if ((to->pqid = pf_qname2qid(to->pqname, 0)) == 0)
sys/net/pf_ioctl.c
4129
to->pqid = to->qid;
sys/net/pf_ioctl.c
4131
to->rt_listid = from->rt_listid;
sys/net/pf_ioctl.c
4132
to->prob = from->prob;
sys/net/pf_ioctl.c
4133
to->return_icmp = from->return_icmp;
sys/net/pf_ioctl.c
4134
to->return_icmp6 = from->return_icmp6;
sys/net/pf_ioctl.c
4135
to->max_mss = from->max_mss;
sys/net/pf_ioctl.c
4136
if (to->tagname[0])
sys/net/pf_ioctl.c
4137
if ((to->tag = pf_tagname2tag(to->tagname, 1)) == 0)
sys/net/pf_ioctl.c
4139
if (to->match_tagname[0])
sys/net/pf_ioctl.c
4140
if ((to->match_tag = pf_tagname2tag(to->match_tagname, 1)) == 0)
sys/net/pf_ioctl.c
4142
to->scrub_flags = from->scrub_flags;
sys/net/pf_ioctl.c
4143
to->delay = from->delay;
sys/net/pf_ioctl.c
4144
to->uid = from->uid;
sys/net/pf_ioctl.c
4145
to->gid = from->gid;
sys/net/pf_ioctl.c
4146
to->rule_flag = from->rule_flag;
sys/net/pf_ioctl.c
4147
to->action = from->action;
sys/net/pf_ioctl.c
4148
to->direction = from->direction;
sys/net/pf_ioctl.c
4149
to->log = from->log;
sys/net/pf_ioctl.c
4150
to->logif = from->logif;
sys/net/pf_ioctl.c
4152
if (!to->log)
sys/net/pf_ioctl.c
4153
to->logif = 0;
sys/net/pf_ioctl.c
4155
to->quick = from->quick;
sys/net/pf_ioctl.c
4156
to->ifnot = from->ifnot;
sys/net/pf_ioctl.c
4157
to->rcvifnot = from->rcvifnot;
sys/net/pf_ioctl.c
4158
to->match_tag_not = from->match_tag_not;
sys/net/pf_ioctl.c
4159
to->keep_state = from->keep_state;
sys/net/pf_ioctl.c
4160
to->af = from->af;
sys/net/pf_ioctl.c
4161
to->naf = from->naf;
sys/net/pf_ioctl.c
4162
to->proto = from->proto;
sys/net/pf_ioctl.c
4163
to->type = from->type;
sys/net/pf_ioctl.c
4164
to->code = from->code;
sys/net/pf_ioctl.c
4165
to->flags = from->flags;
sys/net/pf_ioctl.c
4166
to->flagset = from->flagset;
sys/net/pf_ioctl.c
4167
to->min_ttl = from->min_ttl;
sys/net/pf_ioctl.c
4168
to->allow_opts = from->allow_opts;
sys/net/pf_ioctl.c
4169
to->rt = from->rt;
sys/net/pf_ioctl.c
4170
to->return_ttl = from->return_ttl;
sys/net/pf_ioctl.c
4171
to->tos = from->tos;
sys/net/pf_ioctl.c
4172
to->set_tos = from->set_tos;
sys/net/pf_ioctl.c
4173
to->anchor_relative = from->anchor_relative; /* XXX */
sys/net/pf_ioctl.c
4174
to->anchor_wildcard = from->anchor_wildcard; /* XXX */
sys/net/pf_ioctl.c
4175
to->flush = from->flush;
sys/net/pf_ioctl.c
4176
to->divert.addr = from->divert.addr;
sys/net/pf_ioctl.c
4177
to->divert.port = from->divert.port;
sys/net/pf_ioctl.c
4178
to->divert.type = from->divert.type;
sys/net/pf_ioctl.c
4179
to->prio = from->prio;
sys/net/pf_ioctl.c
4180
to->set_prio[0] = from->set_prio[0];
sys/net/pf_ioctl.c
4181
to->set_prio[1] = from->set_prio[1];
sys/net/pf_ioctl.c
4182
to->statelim = from->statelim;
sys/net/pf_ioctl.c
4183
to->sourcelim = from->sourcelim;
sys/net/pf_ioctl.c
4185
if (pf_chk_limiter_action(to->statelim.limiter_action) ||
sys/net/pf_ioctl.c
4186
pf_chk_limiter_action(to->sourcelim.limiter_action))
sys/net/pf_table.c
64
#define COPYIN(from, to, size, flags) \
sys/net/pf_table.c
66
copyin((from), (to), (size)) : \
sys/net/pf_table.c
67
(bcopy((from), (to), (size)), 0))
sys/net/pf_table.c
69
#define COPYOUT(from, to, size, flags) \
sys/net/pf_table.c
71
copyout((from), (to), (size)) : \
sys/net/pf_table.c
72
(bcopy((from), (to), (size)), 0))
sys/net/pfvar.h
1351
struct timeout to;
sys/net/radix.c
891
rn_swap_nodes(struct radix_node *from, struct radix_node *to)
sys/net/radix.c
893
*to = *from;
sys/net/radix.c
895
from->rn_p->rn_l = to;
sys/net/radix.c
897
from->rn_p->rn_r = to;
sys/net/radix.c
899
to->rn_l->rn_p = to;
sys/net/radix.c
900
to->rn_r->rn_p = to;
sys/netinet/if_ether.c
161
struct timeout *to = arg;
sys/netinet/if_ether.c
167
timeout_add_sec(to, arpt_prune);
sys/nfs/nfs_subs.c
1497
txdr_nfsv2time(const struct timespec *from, struct nfsv2_time *to)
sys/nfs/nfs_subs.c
1500
to->nfsv2_sec = nfs_xdrneg1;
sys/nfs/nfs_subs.c
1501
to->nfsv2_usec = nfs_xdrneg1;
sys/nfs/nfs_subs.c
1507
to->nfsv2_sec = htonl(-2);
sys/nfs/nfs_subs.c
1508
to->nfsv2_usec = htonl(999999);
sys/nfs/nfs_subs.c
1510
to->nfsv2_sec = htonl(from->tv_sec);
sys/nfs/nfs_subs.c
1511
to->nfsv2_usec = htonl(from->tv_nsec / 1000);
sys/stand/boot/cmd.c
246
readline(char *buf, size_t n, int to)
sys/stand/boot/cmd.c
254
if (to > 0) {
sys/stand/boot/cmd.c
255
time_t tt = getsecs() + to;
sys/stand/boot/cmd.c
258
printf ("readline: timeout(%d) at %u\n", to, tt);
sys/sys/mbuf.h
324
#define M_MOVE_HDR(to, from) do { \
sys/sys/mbuf.h
325
(to)->m_pkthdr = (from)->m_pkthdr; \
sys/sys/mbuf.h
335
#define M_MOVE_PKTHDR(to, from) do { \
sys/sys/mbuf.h
336
(to)->m_flags = ((to)->m_flags & (M_EXT | M_EXTWR)); \
sys/sys/mbuf.h
337
(to)->m_flags |= (from)->m_flags & M_COPYFLAGS; \
sys/sys/mbuf.h
338
M_MOVE_HDR((to), (from)); \
sys/sys/mbuf.h
339
if (((to)->m_flags & M_EXT) == 0) \
sys/sys/mbuf.h
340
(to)->m_data = (to)->m_pktdat; \
sys/sys/pledge.h
126
int pledge_sendit(struct proc *p, const void *to);
sys/sys/syscallargs.h
1147
syscallarg(const char *) to;
sys/sys/syscallargs.h
442
syscallarg(int) to;
sys/sys/syscallargs.h
511
syscallarg(int) to;
sys/sys/syscallargs.h
661
syscallarg(const char *) to;
sys/sys/syscallargs.h
679
syscallarg(const struct sockaddr *) to;
sys/sys/timeout.h
83
#define timeout_pending(to) ((to)->to_flags & TIMEOUT_ONQUEUE)
sys/sys/timeout.h
84
#define timeout_initialized(to) ((to)->to_flags & TIMEOUT_INITIALIZED)
sys/sys/timeout.h
85
#define timeout_triggered(to) ((to)->to_flags & TIMEOUT_TRIGGERED)
sys/sys/tty.h
256
void catq(struct clist *from, struct clist *to);
usr.bin/cvs/diff3.c
469
(*dd)[i].old.to = b;
usr.bin/cvs/diff3.c
471
(*dd)[i].new.to = d;
usr.bin/cvs/diff3.c
475
(*dd)[i].old.from = (*dd)[i-1].old.to;
usr.bin/cvs/diff3.c
476
(*dd)[i].new.from = (*dd)[i-1].new.to;
usr.bin/cvs/diff3.c
554
d1->old.from, d1->old.to,
usr.bin/cvs/diff3.c
555
d1->new.from, d1->new.to,
usr.bin/cvs/diff3.c
556
d2->old.from, d2->old.to,
usr.bin/cvs/diff3.c
557
d2->new.from, d2->new.to);
usr.bin/cvs/diff3.c
561
if (!t2 || (t1 && d1->new.to < d2->new.from)) {
usr.bin/cvs/diff3.c
574
if (!t1 || (t2 && d2->new.to < d1->new.from)) {
usr.bin/cvs/diff3.c
589
if (d1 + 1 < d13 + m1 && d1->new.to >= d1[1].new.from) {
usr.bin/cvs/diff3.c
597
if (d2 + 1 < d23 + m2 && d2->new.to >= d2[1].new.from) {
usr.bin/cvs/diff3.c
604
if (d1->new.from == d2->new.from && d1->new.to == d2->new.to) {
usr.bin/cvs/diff3.c
617
d3 = d1->old.to > d1->old.from ? d1 : d2;
usr.bin/cvs/diff3.c
637
if (d1->new.to > d2->new.to) {
usr.bin/cvs/diff3.c
638
d2->old.to += d1->new.to - d2->new.to;
usr.bin/cvs/diff3.c
639
d2->new.to = d1->new.to;
usr.bin/cvs/diff3.c
640
} else if (d2->new.to > d1->new.to) {
usr.bin/cvs/diff3.c
641
d1->old.to += d2->new.to - d1->new.to;
usr.bin/cvs/diff3.c
642
d1->new.to = d2->new.to;
usr.bin/cvs/diff3.c
664
last[i] = rold->to;
usr.bin/cvs/diff3.c
670
(void)skip(i, rold->to, " ");
usr.bin/cvs/diff3.c
679
if (rold->to <= rold->from)
usr.bin/cvs/diff3.c
683
if (rold->to > rold->from+1)
usr.bin/cvs/diff3.c
684
diff_output(",%d", rold->to - 1);
usr.bin/cvs/diff3.c
702
trange.to = rnew->to - delta;
usr.bin/cvs/diff3.c
737
if (r1->to-r1->from != r2->to-r2->from)
usr.bin/cvs/diff3.c
742
for (nline=0; nline < r1->to - r1->from; nline++) {
usr.bin/cvs/diff3.c
783
de[j].old.to = diff->old.to;
usr.bin/cvs/diff3.c
784
de[j].new.from = de[j-1].new.to + skip(2, diff->new.from, NULL);
usr.bin/cvs/diff3.c
785
de[j].new.to = de[j].new.from + skip(2, diff->new.to, NULL);
usr.bin/cvs/diff3.c
800
diff_output("%da\n=======\n", de[n].old.to -1);
usr.bin/cvs/diff3.c
802
for (k = de[n].new.to-de[n].new.from; k > 0; k-= j) {
usr.bin/cvs/diff3.c
97
int to;
usr.bin/cvs/file.c
1068
cvs_file_copy(const char *from, const char *to)
usr.bin/cvs/file.c
1076
cvs_log(LP_TRACE, "cvs_file_copy(%s,%s)", from, to);
usr.bin/cvs/file.c
1096
if ((dst = open(to, O_CREAT|O_TRUNC|O_WRONLY,
usr.bin/cvs/file.c
1099
to, strerror(errno));
usr.bin/cvs/file.c
1104
(void)unlink(to);
usr.bin/cvs/file.c
1112
(void)unlink(to);
usr.bin/cvs/file.c
1124
(void)unlink(to);
usr.bin/cvs/util.c
317
cvs_rename(const char *from, const char *to)
usr.bin/cvs/util.c
320
cvs_log(LP_TRACE, "cvs_rename(%s,%s)", from, to);
usr.bin/cvs/util.c
325
if (rename(from, to) == -1)
usr.bin/cvs/util.c
326
fatal("cvs_rename: `%s'->`%s': %s", from, to, strerror(errno));
usr.bin/diff3/diff3prog.c
233
(*dd)[i].old.to = b;
usr.bin/diff3/diff3prog.c
235
(*dd)[i].new.to = d;
usr.bin/diff3/diff3prog.c
238
(*dd)[i].old.from = (*dd)[i-1].old.to;
usr.bin/diff3/diff3prog.c
239
(*dd)[i].new.from = (*dd)[i-1].new.to;
usr.bin/diff3/diff3prog.c
312
d1->old.from,d1->old.to,
usr.bin/diff3/diff3prog.c
313
d1->new.from,d1->new.to,
usr.bin/diff3/diff3prog.c
314
d2->old.from,d2->old.to,
usr.bin/diff3/diff3prog.c
315
d2->new.from,d2->new.to);
usr.bin/diff3/diff3prog.c
318
if (!t2 || (t1 && d1->new.to < d2->new.from)) {
usr.bin/diff3/diff3prog.c
330
if (!t1 || (t2 && d2->new.to < d1->new.from)) {
usr.bin/diff3/diff3prog.c
344
if (d1 + 1 < d13 + m1 && d1->new.to >= d1[1].new.from) {
usr.bin/diff3/diff3prog.c
352
if (d2 + 1 < d23 + m2 && d2->new.to >= d2[1].new.from) {
usr.bin/diff3/diff3prog.c
359
if (d1->new.from == d2->new.from && d1->new.to == d2->new.to) {
usr.bin/diff3/diff3prog.c
369
d3 = d1->old.to > d1->old.from ? d1 : d2;
usr.bin/diff3/diff3prog.c
388
if (d1->new.to > d2->new.to) {
usr.bin/diff3/diff3prog.c
389
d2->old.to += d1->new.to - d2->new.to;
usr.bin/diff3/diff3prog.c
390
d2->new.to = d1->new.to;
usr.bin/diff3/diff3prog.c
391
} else if (d2->new.to > d1->new.to) {
usr.bin/diff3/diff3prog.c
392
d1->old.to += d2->new.to - d1->new.to;
usr.bin/diff3/diff3prog.c
393
d1->new.to = d2->new.to;
usr.bin/diff3/diff3prog.c
415
last[i] = rold->to;
usr.bin/diff3/diff3prog.c
421
(void)skip(i, rold->to, " ");
usr.bin/diff3/diff3prog.c
430
if (rold->to <= rold->from)
usr.bin/diff3/diff3prog.c
434
if (rold->to > rold->from+1)
usr.bin/diff3/diff3prog.c
435
printf(",%d", rold->to - 1);
usr.bin/diff3/diff3prog.c
453
trange.to = rnew->to - delta;
usr.bin/diff3/diff3prog.c
488
if (r1->to-r1->from != r2->to-r2->from)
usr.bin/diff3/diff3prog.c
493
for (nline=0; nline < r1->to - r1->from; nline++) {
usr.bin/diff3/diff3prog.c
540
de[j].old.to = diff->old.to;
usr.bin/diff3/diff3prog.c
541
de[j].new.from = de[j-1].new.to + skip(2, diff->new.from, NULL);
usr.bin/diff3/diff3prog.c
542
de[j].new.to = de[j].new.from + skip(2, diff->new.to, NULL);
usr.bin/diff3/diff3prog.c
557
printf("%da\n=======\n", de[n].old.to -1);
usr.bin/diff3/diff3prog.c
559
for (k = de[n].new.to-de[n].new.from; k > 0; k-= j) {
usr.bin/diff3/diff3prog.c
92
int to;
usr.bin/dig/lib/dns/masterdump.c
105
if (to < from + 1)
usr.bin/dig/lib/dns/masterdump.c
106
to = from + 1;
usr.bin/dig/lib/dns/masterdump.c
108
ntabs = to / tabwidth - from / tabwidth;
usr.bin/dig/lib/dns/masterdump.c
128
from = (to / tabwidth) * tabwidth;
usr.bin/dig/lib/dns/masterdump.c
131
nspaces = to - from;
usr.bin/dig/lib/dns/masterdump.c
150
*current = to;
usr.bin/dig/lib/dns/masterdump.c
95
indent(unsigned int *current, unsigned int to, int tabwidth,
usr.bin/fstat/fstat.c
846
struct kinfo_file *from, *to;
usr.bin/fstat/fstat.c
849
to = NULL;
usr.bin/fstat/fstat.c
851
to = splice_find('>', kf->so_splice);
usr.bin/fstat/fstat.c
853
if (to != NULL && from == to) {
usr.bin/fstat/fstat.c
855
print_sock_details(to);
usr.bin/fstat/fstat.c
858
if (to != NULL)
usr.bin/fstat/fstat.c
859
print_sock_details(to);
usr.bin/infocmp/infocmp.c
664
#define DATA(from, to) { { from }, { to } }
usr.bin/infocmp/infocmp.c
669
const char to[12];
usr.bin/infocmp/infocmp.c
799
_nc_STRCAT(dst, ap->to, MAX_TERMINFO_LENGTH);
usr.bin/infocmp/infocmp.c
887
expansion = ap->to;
usr.bin/infocmp/infocmp.c
955
_nc_STRCAT(buf2, ecma_highlights[0].to, sizeof(buf2));
usr.bin/less/decode.c
240
char *to;
usr.bin/less/decode.c
250
for (to = fm; *fm != '\0'; ) {
usr.bin/less/decode.c
252
*to++ = *fm++;
usr.bin/less/decode.c
270
*to++ = *repl++;
usr.bin/less/decode.c
272
*to++ = '\0';
usr.bin/less/decode.c
277
while (to <= fm)
usr.bin/less/decode.c
278
*to++ = A_SKIP;
usr.bin/less/filename.c
239
char *fr, *to;
usr.bin/less/filename.c
288
to = e;
usr.bin/less/filename.c
294
*to++ = *fr;
usr.bin/less/filename.c
298
*to++ = *fr;
usr.bin/less/filename.c
300
(void) strlcpy(to, get_filename(ifile),
usr.bin/less/filename.c
301
e + n + 1 - to);
usr.bin/less/filename.c
302
to += strlen(to);
usr.bin/less/filename.c
307
*to++ = *fr;
usr.bin/less/filename.c
311
*to = '\0';
usr.bin/less/line.c
213
int to; /* Index in linebuf to move this character to. */
usr.bin/less/line.c
225
to = from = lmargin;
usr.bin/less/line.c
234
linebuf[to] = c;
usr.bin/less/line.c
235
attr[to++] = attr[from++];
usr.bin/less/line.c
237
linebuf[to] = linebuf[from];
usr.bin/less/line.c
238
attr[to++] = attr[from];
usr.bin/less/line.c
274
attr[to] = attr[from];
usr.bin/less/line.c
275
linebuf[to++] = ' ';
usr.bin/less/line.c
282
prev_attr = (to > 0) ? attr[to-1] : AT_NORMAL;
usr.bin/less/line.c
304
linebuf[to] = linebuf[from];
usr.bin/less/line.c
305
attr[to++] = attr[from++];
usr.bin/less/line.c
307
curr = to;
usr.bin/m4/eval.c
905
map(char *dest, const char *src, const char *from, const char *to)
usr.bin/m4/eval.c
940
to = handledash(tobis, tobis + 256, to);
usr.bin/m4/eval.c
951
mapvec[(unsigned char)(*from)] = (unsigned char)(*to);
usr.bin/m4/eval.c
955
if (*to)
usr.bin/m4/eval.c
956
to++;
usr.bin/mail/cmd1.c
191
char *to, *from;
usr.bin/mail/cmd1.c
217
to = skin(hfield("to", mp));
usr.bin/mail/cmd1.c
225
name = value("show-rcpt") != NULL && to ? to : from;
usr.bin/mail/cmd1.c
228
name = value("showto") != NULL && to ? to : from;
usr.bin/mail/cmd1.c
230
if (name == to)
usr.bin/mail/list.c
663
char *cp, **to;
usr.bin/mail/list.c
672
for (to = to_fields; *to; to++) {
usr.bin/mail/list.c
673
cp = hfield(*to, mp);
usr.bin/mail/main.c
103
struct name *to, *cc, *bcc, *smopts;
usr.bin/mail/main.c
133
to = NULL;
usr.bin/mail/main.c
239
to = cat(to, nalloc(argv[i], GTO));
usr.bin/mail/main.c
244
if (to == NULL && (subject != NULL || cc != NULL || bcc != NULL ||
usr.bin/mail/main.c
260
rcvmode = !to;
usr.bin/mail/main.c
272
mail(to, cc, bcc, smopts, fromaddr, subject);
usr.bin/mail/send.c
281
mail(struct name *to, struct name *cc, struct name *bcc, struct name *smopts,
usr.bin/mail/send.c
286
head.h_to = to;
usr.bin/mail/send.c
327
struct name *to;
usr.bin/mail/send.c
350
to = usermap(cat(hp->h_bcc, cat(hp->h_to, hp->h_cc)));
usr.bin/mail/send.c
351
if (to == NULL) {
usr.bin/mail/send.c
359
to = outof(to, mtf, hp);
usr.bin/mail/send.c
362
to = elide(to);
usr.bin/mail/send.c
363
if (count(to) == 0)
usr.bin/mail/send.c
365
fixhead(hp, to);
usr.bin/mandoc/man_macro.c
102
if (to == NULL && ! (n->flags & NODE_VALID)) {
usr.bin/mandoc/man_macro.c
150
man->next = (man->last == to) ?
usr.bin/mandoc/man_macro.c
92
man_unscope(struct roff_man *man, const struct roff_node *to)
usr.bin/mandoc/man_macro.c
96
to = to->parent;
usr.bin/mandoc/man_macro.c
98
while (n != to) {
usr.bin/mandoc/mdoc_macro.c
266
rew_last(struct roff_man *mdoc, const struct roff_node *to)
usr.bin/mandoc/mdoc_macro.c
269
if (to->flags & NODE_VALID)
usr.bin/mandoc/mdoc_macro.c
272
while (mdoc->last != to) {
usr.bin/mg/fileio.c
214
int from, to, serrno;
usr.bin/mg/fileio.c
248
to = mkstemp(tname);
usr.bin/mg/fileio.c
249
if (to == -1) {
usr.bin/mg/fileio.c
258
if (write(to, buf, (size_t)nread) != nread) {
usr.bin/mg/fileio.c
264
(void) fchmod(to, (sb.st_mode & 0777));
usr.bin/mg/fileio.c
269
futimens(to, new_times);
usr.bin/mg/fileio.c
272
close(to);
usr.bin/newsyslog/newsyslog.c
1342
movefile(char *from, char *to, uid_t owner_uid, gid_t group_gid, mode_t perm)
usr.bin/newsyslog/newsyslog.c
1348
if (rename(from, to) == 0) {
usr.bin/newsyslog/newsyslog.c
1349
if (chmod(to, perm))
usr.bin/newsyslog/newsyslog.c
1350
warn("can't chmod %s", to);
usr.bin/newsyslog/newsyslog.c
1351
if (chown(to, owner_uid, group_gid))
usr.bin/newsyslog/newsyslog.c
1352
warn("can't chown %s", to);
usr.bin/newsyslog/newsyslog.c
1360
if ((dst = fopen(to, "w")) == NULL)
usr.bin/newsyslog/newsyslog.c
1361
err(1, "can't fopen %s for writing", to);
usr.bin/newsyslog/newsyslog.c
1363
err(1, "can't fchmod %s", to);
usr.bin/newsyslog/newsyslog.c
1365
err(1, "can't fchown %s", to);
usr.bin/newsyslog/newsyslog.c
1369
err(1, "error writing to %s", to);
usr.bin/newsyslog/newsyslog.c
1377
err(1, "can't fclose %s", to);
usr.bin/openssl/cms.c
147
char *to;
usr.bin/openssl/cms.c
1737
if (cfg.to != NULL)
usr.bin/openssl/cms.c
1738
BIO_printf(out, "To: %s\n", cfg.to);
usr.bin/openssl/cms.c
989
.opt.arg = &cfg.to,
usr.bin/openssl/dgst.c
292
list_md_fn(const EVP_MD * m, const char *from, const char *to, void *arg)
usr.bin/openssl/openssl.c
651
list_cipher_fn(const EVP_CIPHER * c, const char *from, const char *to,
usr.bin/openssl/openssl.c
659
if (!to)
usr.bin/openssl/openssl.c
660
to = "<undefined>";
usr.bin/openssl/openssl.c
661
BIO_printf(arg, "%s => %s\n", from, to);
usr.bin/openssl/openssl.c
672
list_md_fn(const EVP_MD * m, const char *from, const char *to, void *arg)
usr.bin/openssl/openssl.c
679
if (!to)
usr.bin/openssl/openssl.c
680
to = "<undefined>";
usr.bin/openssl/openssl.c
681
BIO_printf(arg, "%s => %s\n", from, to);
usr.bin/openssl/smime.c
1026
if (cfg.to != NULL)
usr.bin/openssl/smime.c
1027
BIO_printf(out, "To: %s\n", cfg.to);
usr.bin/openssl/smime.c
107
char *to;
usr.bin/openssl/smime.c
590
.opt.arg = &cfg.to,
usr.bin/patch/util.c
152
copy_file(const char *from, const char *to)
usr.bin/patch/util.c
157
tofd = open(to, O_CREAT|O_TRUNC|O_WRONLY, 0666);
usr.bin/patch/util.c
165
pfatal("write to %s failed", to);
usr.bin/patch/util.c
49
move_file(const char *from, const char *to)
usr.bin/patch/util.c
56
if (strEQ(to, "-")) {
usr.bin/patch/util.c
70
if (backup_file(to) < 0) {
usr.bin/patch/util.c
71
say("Can't backup %s, output is in %s: %s\n", to, from,
usr.bin/patch/util.c
77
say("Moving %s to %s.\n", from, to);
usr.bin/patch/util.c
79
if (rename(from, to) == -1) {
usr.bin/patch/util.c
80
if (errno != EXDEV || copy_file(from, to) < 0) {
usr.bin/patch/util.c
82
to, from, strerror(errno));
usr.bin/rcs/diff3.c
564
(*dd)[i].old.to = b;
usr.bin/rcs/diff3.c
566
(*dd)[i].new.to = d;
usr.bin/rcs/diff3.c
570
(*dd)[i].old.from = (*dd)[i-1].old.to;
usr.bin/rcs/diff3.c
571
(*dd)[i].new.from = (*dd)[i-1].new.to;
usr.bin/rcs/diff3.c
649
d1->old.from, d1->old.to,
usr.bin/rcs/diff3.c
650
d1->new.from, d1->new.to,
usr.bin/rcs/diff3.c
651
d2->old.from, d2->old.to,
usr.bin/rcs/diff3.c
652
d2->new.from, d2->new.to);
usr.bin/rcs/diff3.c
656
if (!t2 || (t1 && d1->new.to < d2->new.from)) {
usr.bin/rcs/diff3.c
669
if (!t1 || (t2 && d2->new.to < d1->new.from)) {
usr.bin/rcs/diff3.c
684
if (d1 + 1 < d13 + m1 && d1->new.to >= d1[1].new.from) {
usr.bin/rcs/diff3.c
692
if (d2 + 1 < d23 + m2 && d2->new.to >= d2[1].new.from) {
usr.bin/rcs/diff3.c
699
if (d1->new.from == d2->new.from && d1->new.to == d2->new.to) {
usr.bin/rcs/diff3.c
712
d3 = d1->old.to > d1->old.from ? d1 : d2;
usr.bin/rcs/diff3.c
732
if (d1->new.to > d2->new.to) {
usr.bin/rcs/diff3.c
733
d2->old.to += d1->new.to - d2->new.to;
usr.bin/rcs/diff3.c
734
d2->new.to = d1->new.to;
usr.bin/rcs/diff3.c
735
} else if (d2->new.to > d1->new.to) {
usr.bin/rcs/diff3.c
736
d1->old.to += d2->new.to - d1->new.to;
usr.bin/rcs/diff3.c
737
d1->new.to = d2->new.to;
usr.bin/rcs/diff3.c
759
last[i] = rold->to;
usr.bin/rcs/diff3.c
765
(void)skip(i, rold->to, " ");
usr.bin/rcs/diff3.c
774
if (rold->to <= rold->from)
usr.bin/rcs/diff3.c
778
if (rold->to > rold->from+1)
usr.bin/rcs/diff3.c
779
diff_output(",%d", rold->to - 1);
usr.bin/rcs/diff3.c
797
trange.to = rnew->to - delta;
usr.bin/rcs/diff3.c
832
if (r1->to-r1->from != r2->to-r2->from)
usr.bin/rcs/diff3.c
837
for (nline=0; nline < r1->to - r1->from; nline++) {
usr.bin/rcs/diff3.c
878
de[j].old.to = diff->old.to;
usr.bin/rcs/diff3.c
879
de[j].new.from = de[j-1].new.to + skip(2, diff->new.from, NULL);
usr.bin/rcs/diff3.c
880
de[j].new.to = de[j].new.from + skip(2, diff->new.to, NULL);
usr.bin/rcs/diff3.c
895
diff_output("%da\n=======\n", de[n].old.to -1);
usr.bin/rcs/diff3.c
897
for (k = de[n].new.to-de[n].new.from; k > 0; k-= j) {
usr.bin/rcs/diff3.c
96
int to;
usr.bin/rcs/rcs.c
360
rcs_movefile(char *from, char *to, mode_t perm, u_int to_flags)
usr.bin/rcs/rcs.c
366
if (rename(from, to) == 0) {
usr.bin/rcs/rcs.c
367
if (chmod(to, perm) == -1) {
usr.bin/rcs/rcs.c
368
warn("%s", to);
usr.bin/rcs/rcs.c
377
if ((chmod(to, S_IWUSR) == -1) && !(to_flags & RCS_CREATE)) {
usr.bin/rcs/rcs.c
378
warnx("chmod(%s, 0%o) failed", to, S_IWUSR);
usr.bin/rcs/rcs.c
387
if ((dst = fopen(to, "w")) == NULL) {
usr.bin/rcs/rcs.c
388
warn("%s", to);
usr.bin/rcs/rcs.c
393
warn("%s", to);
usr.bin/rcs/rcs.c
394
(void)unlink(to);
usr.bin/rcs/rcs.c
404
(void)unlink(to);
usr.bin/rcs/rcs.c
409
warnx("failed to write `%s'", to);
usr.bin/rcs/rcs.c
410
(void)unlink(to);
usr.bin/rdist/docmd.c
101
if (IS_ON(options, DO_VERIFY) || to == NULL)
usr.bin/rdist/docmd.c
110
(rhost) ? rhost : "", getnlstr(to));
usr.bin/rdist/docmd.c
151
if (!any('@', to->n_name) && rhost != NULL)
usr.bin/rdist/docmd.c
152
(void) fprintf(pf, " %s@%s", to->n_name, rhost);
usr.bin/rdist/docmd.c
154
(void) fprintf(pf, " %s", to->n_name);
usr.bin/rdist/docmd.c
155
to = to->n_next;
usr.bin/rdist/docmd.c
156
while (to != NULL) {
usr.bin/rdist/docmd.c
157
if (!any('@', to->n_name) && rhost != NULL)
usr.bin/rdist/docmd.c
158
(void) fprintf(pf, ", %s@%s", to->n_name, rhost);
usr.bin/rdist/docmd.c
160
(void) fprintf(pf, ", %s", to->n_name);
usr.bin/rdist/docmd.c
161
to = to->n_next;
usr.bin/rdist/docmd.c
92
notify(char *rhost, struct namelist *to, time_t lmod)
usr.bin/rpcinfo/rpcinfo.c
207
struct timeval to;
usr.bin/rpcinfo/rpcinfo.c
239
to.tv_sec = 5;
usr.bin/rpcinfo/rpcinfo.c
240
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
242
to, &sock)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
248
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
249
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
251
xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
262
to.tv_sec = 5;
usr.bin/rpcinfo/rpcinfo.c
263
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
265
to, &sock)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
271
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
272
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
274
(char *)NULL, xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
299
to.tv_sec = 5;
usr.bin/rpcinfo/rpcinfo.c
300
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
302
to, &sock)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
308
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
309
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
311
(char *)NULL, xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
319
to.tv_sec = 5;
usr.bin/rpcinfo/rpcinfo.c
320
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
322
to, &sock)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
328
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
329
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
331
xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
343
struct timeval to;
usr.bin/rpcinfo/rpcinfo.c
374
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
375
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
377
xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
395
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
396
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
398
(char *)NULL, xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
432
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
433
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
435
xdr_void, (char *)NULL, to);
usr.bin/rpcinfo/rpcinfo.c
452
to.tv_usec = 0;
usr.bin/rpcinfo/rpcinfo.c
453
to.tv_sec = 10;
usr.bin/rpcinfo/rpcinfo.c
455
xdr_void, (char *)NULL, to);
usr.bin/sndiod/file.c
151
struct timo *to;
usr.bin/sndiod/file.c
171
to = timo_queue;
usr.bin/sndiod/file.c
172
timo_queue = to->next;
usr.bin/sndiod/file.c
173
to->set = 0;
usr.bin/sndiod/file.c
174
to->cb(to->arg);
usr.bin/snmp/snmp.c
283
int to, nfds, ret;
usr.bin/snmp/snmp.c
304
to = (agent->timeout - (now.tv_sec - start.tv_sec)) * 1000;
usr.bin/snmp/snmp.c
305
to -= (now.tv_nsec - start.tv_nsec) / 1000000;
usr.bin/snmp/snmp.c
307
to = INFTIM;
usr.bin/snmp/snmp.c
308
nfds = poll(&pfd, 1, to);
usr.bin/ssh/authfd.c
499
(r = encode_dest_constraint_hop(b, &dc->to)) != 0 ||
usr.bin/ssh/authfd.h
40
struct dest_constraint_hop to;
usr.bin/ssh/digest-libc.c
170
ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to)
usr.bin/ssh/digest-libc.c
174
if (digest == NULL || from->alg != to->alg)
usr.bin/ssh/digest-libc.c
176
memcpy(to->mdctx, from->mdctx, digest->ctx_len);
usr.bin/ssh/digest-openssl.c
116
ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to)
usr.bin/ssh/digest-openssl.c
118
if (from->alg != to->alg)
usr.bin/ssh/digest-openssl.c
121
if (!EVP_MD_CTX_copy_ex(to->mdctx, from->mdctx))
usr.bin/ssh/digest.h
49
struct ssh_digest_ctx *to);
usr.bin/ssh/dispatch.c
67
ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn)
usr.bin/ssh/dispatch.c
71
for (i = from; i <= to; i++) {
usr.bin/ssh/misc.c
280
struct sockaddr_storage to;
usr.bin/ssh/misc.c
281
socklen_t tolen = sizeof(to);
usr.bin/ssh/misc.c
283
memset(&to, 0, sizeof(to));
usr.bin/ssh/misc.c
284
if (getsockname(fd, (struct sockaddr *)&to, &tolen) == -1)
usr.bin/ssh/misc.c
286
return to.ss_family;
usr.bin/ssh/packet.c
427
struct sockaddr_storage from, to;
usr.bin/ssh/packet.c
444
tolen = sizeof(to);
usr.bin/ssh/packet.c
445
memset(&to, 0, sizeof(to));
usr.bin/ssh/packet.c
446
if (getpeername(state->connection_out, (struct sockaddr *)&to,
usr.bin/ssh/packet.c
449
if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0)
usr.bin/ssh/scp.c
1937
throughlocal_sftp(struct sftp_conn *from, struct sftp_conn *to,
usr.bin/ssh/scp.c
1949
(target = prepare_remote_path(to, targ)) == NULL)
usr.bin/ssh/scp.c
1953
targetisdir = sftp_remote_is_dir(to, target);
usr.bin/ssh/scp.c
2000
if (sftp_crossload_dir(from, to, g.gl_pathv[i], abs_dst,
usr.bin/ssh/scp.c
2004
if (sftp_crossload(from, to, g.gl_pathv[i], abs_dst,
usr.bin/ssh/sftp-client.c
2363
handle_dest_replies(struct sftp_conn *to, const char *to_path, int synchronous,
usr.bin/ssh/sftp-client.c
2380
pfd.fd = to->fd_in;
usr.bin/ssh/sftp-client.c
2390
get_msg(to, msg);
usr.bin/ssh/sftp-client.c
2430
sftp_crossload(struct sftp_conn *from, struct sftp_conn *to,
usr.bin/ssh/sftp-client.c
2468
if (buflen > to->upload_buflen)
usr.bin/ssh/sftp-client.c
2469
buflen = to->upload_buflen;
usr.bin/ssh/sftp-client.c
2482
if (send_open(to, to_path, "dest",
usr.bin/ssh/sftp-client.c
2530
handle_dest_replies(to, to_path, 0,
usr.bin/ssh/sftp-client.c
2569
(r = sshbuf_put_u32(msg, to->msg_id++)) != 0 ||
usr.bin/ssh/sftp-client.c
2575
send_msg(to, msg);
usr.bin/ssh/sftp-client.c
2627
handle_dest_replies(to, to_path, 1, &num_upload_req, &write_error);
usr.bin/ssh/sftp-client.c
2635
sftp_close(to, to_handle, to_handle_len);
usr.bin/ssh/sftp-client.c
2637
if (send_open(to, to_path, "dest",
usr.bin/ssh/sftp-client.c
2649
sftp_close(to, to_handle, to_handle_len);
usr.bin/ssh/sftp-client.c
2655
sftp_close(to, to_handle, to_handle_len);
usr.bin/ssh/sftp-client.c
2665
sftp_fsetstat(to, to_handle, to_handle_len, a);
usr.bin/ssh/sftp-client.c
2666
sftp_close(to, to_handle, to_handle_len);
usr.bin/ssh/sftp-client.c
2677
crossload_dir_internal(struct sftp_conn *from, struct sftp_conn *to,
usr.bin/ssh/sftp-client.c
2728
if (sftp_mkdir(to, to_path, &curdir, 0) == 0)
usr.bin/ssh/sftp-client.c
2731
if (sftp_stat(to, to_path, 0, &newdir) != 0)
usr.bin/ssh/sftp-client.c
2772
if (crossload_dir_internal(from, to,
usr.bin/ssh/sftp-client.c
2778
if (sftp_crossload(from, to, new_from_path,
usr.bin/ssh/sftp-client.c
2793
sftp_setstat(to, to_path, &curdir);
usr.bin/ssh/sftp-client.c
2801
sftp_crossload_dir(struct sftp_conn *from, struct sftp_conn *to,
usr.bin/ssh/sftp-client.c
2814
ret = crossload_dir_internal(from, to, from_path_canon, to_path, 0,
usr.bin/ssh/sftp-client.h
167
int sftp_crossload(struct sftp_conn *from, struct sftp_conn *to,
usr.bin/ssh/sftp-client.h
175
int sftp_crossload_dir(struct sftp_conn *from, struct sftp_conn *to,
usr.bin/ssh/ssh-add.c
682
free_dest_constraint_hop(&dcs[i]->to);
usr.bin/ssh/ssh-add.c
768
parse_dest_constraint_hop(os, &dc->to, hostkey_files);
usr.bin/ssh/ssh-add.c
773
parse_dest_constraint_hop(cp, &dc->to, hostkey_files);
usr.bin/ssh/ssh-add.c
783
dc->to.user ? dc->to.user : "", dc->to.user ? "@" : "",
usr.bin/ssh/ssh-add.c
784
dc->to.hostname ? dc->to.hostname : "(ANY)", dc->to.nkeys);
usr.bin/ssh/ssh-agent.c
1148
(r = parse_dest_constraint_hop(tobuf, &dc->to)) != 0)
usr.bin/ssh/ssh-agent.c
1157
dc->to.user ? dc->to.user : "", dc->to.user ? "@" : "",
usr.bin/ssh/ssh-agent.c
1158
dc->to.hostname ? dc->to.hostname : "(ANY)", dc->to.nkeys);
usr.bin/ssh/ssh-agent.c
1166
if (dc->to.hostname == NULL || dc->to.nkeys == 0) {
usr.bin/ssh/ssh-agent.c
242
free_dest_constraint_hop(&dcs[i].to);
usr.bin/ssh/ssh-agent.c
283
dup_dest_constraint_hop(&dcs[i].to, &ret[i].to);
usr.bin/ssh/ssh-agent.c
328
dump_dest_constraint_hop(&dcs[i].to);
usr.bin/ssh/ssh-agent.c
422
d->to.user ? d->to.user : "", d->to.user ? "@" : "",
usr.bin/ssh/ssh-agent.c
423
d->to.hostname ? d->to.hostname : "(ANY)", d->to.nkeys);
usr.bin/ssh/ssh-agent.c
434
if (tokey != NULL && match_key_hop("to", tokey, &d->to) != 0)
usr.bin/ssh/ssh-agent.c
438
if (d->to.user != NULL && user != NULL &&
usr.bin/ssh/ssh-agent.c
439
!match_pattern(user, d->to.user))
usr.bin/ssh/ssh-agent.c
444
*hostnamep = d->to.hostname;
usr.bin/ssh/ssh-agent.c
446
d->to.hostname == NULL ? "*" : d->to.hostname);
usr.bin/ssh/ssh-ecdsa-sk.c
102
if ((r = sshkey_ecdsa_funcs.copy_public(from, to)) != 0)
usr.bin/ssh/ssh-ecdsa-sk.c
104
if ((r = sshkey_copy_public_sk(from, to)) != 0)
usr.bin/ssh/ssh-ecdsa-sk.c
98
ssh_ecdsa_sk_copy_public(const struct sshkey *from, struct sshkey *to)
usr.bin/ssh/ssh-ecdsa.c
186
ssh_ecdsa_copy_public(const struct sshkey *from, struct sshkey *to)
usr.bin/ssh/ssh-ecdsa.c
196
to->ecdsa_nid = from->ecdsa_nid;
usr.bin/ssh/ssh-ecdsa.c
204
EVP_PKEY_free(to->pkey);
usr.bin/ssh/ssh-ecdsa.c
205
if ((to->pkey = EVP_PKEY_new()) == NULL) {
usr.bin/ssh/ssh-ecdsa.c
209
if (EVP_PKEY_set1_EC_KEY(to->pkey, ec_to) != 1) {
usr.bin/ssh/ssh-ed25519-sk.c
83
ssh_ed25519_sk_copy_public(const struct sshkey *from, struct sshkey *to)
usr.bin/ssh/ssh-ed25519-sk.c
87
if ((r = sshkey_ed25519_funcs.copy_public(from, to)) != 0)
usr.bin/ssh/ssh-ed25519-sk.c
89
if ((r = sshkey_copy_public_sk(from, to)) != 0)
usr.bin/ssh/ssh-ed25519.c
89
ssh_ed25519_copy_public(const struct sshkey *from, struct sshkey *to)
usr.bin/ssh/ssh-ed25519.c
93
if ((to->ed25519_pk = malloc(ED25519_PK_SZ)) == NULL)
usr.bin/ssh/ssh-ed25519.c
95
memcpy(to->ed25519_pk, from->ed25519_pk, ED25519_PK_SZ);
usr.bin/ssh/ssh-keygen.c
1890
char *from, *to;
usr.bin/ssh/ssh-keygen.c
1913
to = strchr(from, ':');
usr.bin/ssh/ssh-keygen.c
1914
if (to == NULL || from == to || *(to + 1) == '\0')
usr.bin/ssh/ssh-keygen.c
1916
*to++ = '\0';
usr.bin/ssh/ssh-keygen.c
1927
if (*to == '-' || *to == '+')
usr.bin/ssh/ssh-keygen.c
1928
cert_valid_to = parse_relative_time(to, now);
usr.bin/ssh/ssh-keygen.c
1929
else if (strcmp(to, "forever") == 0)
usr.bin/ssh/ssh-keygen.c
1931
else if (strncmp(to, "0x", 2) == 0)
usr.bin/ssh/ssh-keygen.c
1932
parse_hex_u64(to, &cert_valid_to);
usr.bin/ssh/ssh-keygen.c
1933
else if (parse_absolute_time(to, &cert_valid_to) != 0)
usr.bin/ssh/ssh-keygen.c
1934
fatal("Invalid to time \"%s\"", to);
usr.bin/ssh/ssh-rsa.c
150
ssh_rsa_copy_public(const struct sshkey *from, struct sshkey *to)
usr.bin/ssh/ssh-rsa.c
174
if (EVP_PKEY_set1_RSA(to->pkey, rsa_to) != 1) {
usr.bin/ssh/sshconnect2.c
165
#define ALG_APPEND(to, from) \
usr.bin/ssh/sshconnect2.c
167
if (*to != '\0') \
usr.bin/ssh/sshconnect2.c
168
strlcat(to, ",", maxlen); \
usr.bin/ssh/sshconnect2.c
169
strlcat(to, from, maxlen); \
usr.bin/ssh/sshconnect2.c
2023
int r, to[2], from[2], status;
usr.bin/ssh/sshconnect2.c
2039
if (pipe(to) == -1) {
usr.bin/ssh/sshconnect2.c
2056
close(to[1]);
usr.bin/ssh/sshconnect2.c
2057
if (dup2(to[0], STDIN_FILENO) == -1)
usr.bin/ssh/sshconnect2.c
2060
close(to[0]);
usr.bin/ssh/sshconnect2.c
2076
close(to[0]);
usr.bin/ssh/sshconnect2.c
2085
if (ssh_msg_send(to[1], version, b) == -1)
usr.bin/ssh/sshconnect2.c
2090
close(to[1]);
usr.bin/ssh/sshkey.c
1481
struct sshkey_cert *to;
usr.bin/ssh/sshkey.c
1487
if ((to = cert_new()) == NULL)
usr.bin/ssh/sshkey.c
1490
if ((r = sshbuf_putb(to->certblob, from->certblob)) != 0 ||
usr.bin/ssh/sshkey.c
1491
(r = sshbuf_putb(to->critical, from->critical)) != 0 ||
usr.bin/ssh/sshkey.c
1492
(r = sshbuf_putb(to->extensions, from->extensions)) != 0)
usr.bin/ssh/sshkey.c
1495
to->serial = from->serial;
usr.bin/ssh/sshkey.c
1496
to->type = from->type;
usr.bin/ssh/sshkey.c
1498
to->key_id = NULL;
usr.bin/ssh/sshkey.c
1499
else if ((to->key_id = strdup(from->key_id)) == NULL) {
usr.bin/ssh/sshkey.c
1503
to->valid_after = from->valid_after;
usr.bin/ssh/sshkey.c
1504
to->valid_before = from->valid_before;
usr.bin/ssh/sshkey.c
1506
to->signature_key = NULL;
usr.bin/ssh/sshkey.c
1508
&to->signature_key)) != 0)
usr.bin/ssh/sshkey.c
1511
(to->signature_type = strdup(from->signature_type)) == NULL) {
usr.bin/ssh/sshkey.c
1520
if ((to->principals = calloc(from->nprincipals,
usr.bin/ssh/sshkey.c
1521
sizeof(*to->principals))) == NULL) {
usr.bin/ssh/sshkey.c
1526
to->principals[i] = strdup(from->principals[i]);
usr.bin/ssh/sshkey.c
1527
if (to->principals[i] == NULL) {
usr.bin/ssh/sshkey.c
1528
to->nprincipals = i;
usr.bin/ssh/sshkey.c
1534
to->nprincipals = from->nprincipals;
usr.bin/ssh/sshkey.c
1538
to_key->cert = to;
usr.bin/ssh/sshkey.c
1539
to = NULL;
usr.bin/ssh/sshkey.c
1542
cert_free(to);
usr.bin/ssh/sshkey.c
1547
sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to)
usr.bin/ssh/sshkey.c
1550
if ((to->sk_application = strdup(from->sk_application)) == NULL)
usr.bin/ssh/sshkey.c
2454
char from[32], to[32], ret[128];
usr.bin/ssh/sshkey.c
2456
*from = *to = '\0';
usr.bin/ssh/sshkey.c
2464
format_absolute_time(cert->valid_before, to, sizeof(to));
usr.bin/ssh/sshkey.c
2467
snprintf(ret, sizeof(ret), "before %s", to);
usr.bin/ssh/sshkey.c
2471
snprintf(ret, sizeof(ret), "from %s to %s", from, to);
usr.bin/ssh/sshkey.h
308
int sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to);
usr.bin/systat/vmstat.c
659
copyinfo(struct Info *from, struct Info *to)
usr.bin/systat/vmstat.c
663
intrcnt = to->intrcnt;
usr.bin/systat/vmstat.c
664
*to = *from;
usr.bin/systat/vmstat.c
665
memcpy(to->intrcnt = intrcnt, from->intrcnt, nintr * sizeof(*intrcnt));
usr.bin/tmux/arguments.c
338
args_copy_copy_value(struct args_value *to, struct args_value *from, int argc,
usr.bin/tmux/arguments.c
344
to->type = from->type;
usr.bin/tmux/arguments.c
355
to->string = expanded;
usr.bin/tmux/arguments.c
358
to->cmdlist = cmd_list_copy(from->cmdlist, argc, argv);
usr.bin/tmux/arguments.c
85
args_copy_value(struct args_value *to, struct args_value *from)
usr.bin/tmux/arguments.c
87
to->type = from->type;
usr.bin/tmux/arguments.c
92
to->cmdlist = from->cmdlist;
usr.bin/tmux/arguments.c
93
to->cmdlist->references++;
usr.bin/tmux/arguments.c
96
to->string = xstrdup(from->string);
usr.bin/tmux/format.c
284
format_copy_state(struct format_expand_state *to,
usr.bin/tmux/format.c
287
to->ft = from->ft;
usr.bin/tmux/format.c
288
to->loop = from->loop;
usr.bin/tmux/format.c
289
to->time = from->time;
usr.bin/tmux/format.c
290
memcpy(&to->tm, &from->tm, sizeof to->tm);
usr.bin/tmux/format.c
291
to->flags = from->flags|flags;
usr.bin/tmux/grid.c
1245
struct grid_line *to;
usr.bin/tmux/grid.c
1247
to = grid_reflow_add(gd, 1);
usr.bin/tmux/grid.c
1248
memcpy(to, from, sizeof *to);
usr.bin/tmux/grid.c
1250
return (to);
usr.bin/tmux/grid.c
1260
u_int lines, left, i, to, line, want = 0;
usr.bin/tmux/grid.c
1268
to = target->sy;
usr.bin/tmux/grid.c
1271
to = target->sy - 1;
usr.bin/tmux/grid.c
1272
gl = &target->linedata[to];
usr.bin/tmux/grid.c
1308
grid_set_cell(target, at, to, &gc);
usr.bin/tmux/grid.c
1319
grid_set_cell(target, at, to, &gc);
usr.bin/tmux/grid.c
1355
if (gd->hscrolled > to + lines)
usr.bin/tmux/grid.c
1357
else if (gd->hscrolled > to)
usr.bin/tmux/grid.c
1358
gd->hscrolled = to;
usr.bin/tmux/options.c
105
return (map->to);
usr.bin/tmux/utf8.c
540
utf8_copy(struct utf8_data *to, const struct utf8_data *from)
usr.bin/tmux/utf8.c
544
memcpy(to, from, sizeof *to);
usr.bin/tmux/utf8.c
546
for (i = to->size; i < sizeof to->data; i++)
usr.bin/tmux/utf8.c
547
to->data[i] = '\0';
usr.bin/tmux/window-copy.c
1450
window_copy_cmd_scroll_to(struct window_copy_cmd_state *cs, u_int to)
usr.bin/tmux/window-copy.c
1457
scroll_up = data->cy - to;
usr.bin/top/display.c
708
#define COPYLEFT(to, from) \
usr.bin/top/display.c
710
len = strlcpy((to), (from), left); \
usr.bin/top/utils.c
130
char **argv, **argarray, *args, *from, *to;
usr.bin/top/utils.c
164
to = args;
usr.bin/top/utils.c
169
*argv++ = to;
usr.bin/top/utils.c
170
*to++ = '\0';
usr.bin/top/utils.c
174
*argv++ = to;
usr.bin/top/utils.c
178
*to++ = '\0';
usr.bin/top/utils.c
179
*argv++ = to;
usr.bin/top/utils.c
182
*to++ = ch;
usr.bin/top/utils.c
186
*to++ = '\0';
usr.bin/vi/cl/cl_term.c
157
cl_fmap(SCR *sp, seq_t stype, CHAR_T *from, size_t flen, CHAR_T *to,
usr.bin/vi/cl/cl_term.c
166
return (cl_pfmap(sp, stype, from, flen, to, tlen));
usr.bin/vi/cl/cl_term.c
174
cl_pfmap(SCR *sp, seq_t stype, CHAR_T *from, size_t flen, CHAR_T *to,
usr.bin/vi/cl/cl_term.c
194
p, strlen(p), to, tlen, stype, SEQ_NOOVERWRITE | SEQ_SCREEN));
usr.bin/vi/common/exf.c
738
MARK from, to;
usr.bin/vi/common/exf.c
856
if (db_last(sp, &to.lno)) {
usr.bin/vi/common/exf.c
860
to.cno = 0;
usr.bin/vi/common/exf.c
861
tm = &to;
usr.bin/vi/ex/ex_join.c
160
for (from = cmdp->addr1.lno, to = cmdp->addr2.lno; to > from; --to)
usr.bin/vi/ex/ex_join.c
161
if (db_delete(sp, to))
usr.bin/vi/ex/ex_join.c
35
recno_t from, to;
usr.bin/vi/ex/ex_join.c
43
to = cmdp->addr2.lno;
usr.bin/vi/ex/ex_join.c
69
from = cmdp->addr1.lno, to = cmdp->addr2.lno; from <= to; ++from) {
usr.bin/vi/ex/ex_print.c
90
recno_t from, to;
usr.bin/vi/ex/ex_print.c
96
for (from = fp->lno, to = tp->lno; from <= to; ++from) {
usr.bin/vi/ex/ex_shift.c
105
for (from = cmdp->addr1.lno, to = cmdp->addr2.lno; from <= to; ++from) {
usr.bin/vi/ex/ex_shift.c
193
sp->lno = to;
usr.bin/vi/ex/ex_shift.c
195
(void)nonblank(sp, to, &sp->cno);
usr.bin/vi/ex/ex_shift.c
69
recno_t from, to;
usr.bin/vi/ex/ex_subst.c
340
MARK from, to;
usr.bin/vi/ex/ex_subst.c
592
from.lno = to.lno = lno;
usr.bin/vi/ex/ex_subst.c
594
to.cno = match[0].rm_eo;
usr.bin/vi/ex/ex_subst.c
600
from.cno = to.cno = 0;
usr.bin/vi/ex/ex_subst.c
610
if (to.cno >= llen)
usr.bin/vi/ex/ex_subst.c
611
to.cno = llen - 1;
usr.bin/vi/ex/ex_subst.c
638
if (ex_print(sp, cmdp, &from, &to, flags) ||
usr.bin/vi/ex/ex_subst.c
639
ex_scprint(sp, &from, &to))
usr.bin/vi/ex/ex_subst.c
809
from.lno = to.lno = lno;
usr.bin/vi/ex/ex_subst.c
810
from.cno = to.cno = 0;
usr.bin/vi/ex/ex_subst.c
812
(void)ex_print(sp, cmdp, &from, &to, E_C_LIST);
usr.bin/vi/ex/ex_subst.c
814
(void)ex_print(sp, cmdp, &from, &to, E_C_HASH);
usr.bin/vi/ex/ex_subst.c
816
(void)ex_print(sp, cmdp, &from, &to, E_C_PRINT);
usr.bin/yacc/output.c
583
short *from, *to;
usr.bin/yacc/output.c
591
to = tos[i];
usr.bin/yacc/output.c
634
table[loc] = to[k];
usr.sbin/amd/amd/nfs_subr.c
345
if (!fh_to_mp(&argp->from.dir) || !fh_to_mp(&argp->to.dir))
usr.sbin/amd/amd/nfs_subr.c
351
else if (strncmp(argp->to.name, ".nfs", 4) == 0)
usr.sbin/amd/amd/nfs_subr.c
366
if (!fh_to_mp(&argp->from) || !fh_to_mp(&argp->to.dir))
usr.sbin/amd/rpcx/nfs_prot.h
331
diropargs to;
usr.sbin/amd/rpcx/nfs_prot.h
345
diropargs to;
usr.sbin/amd/rpcx/nfs_prot.h
359
nfspath to;
usr.sbin/amd/rpcx/nfs_prot_xdr.c
277
if (!xdr_diropargs(xdrs, &objp->to))
usr.sbin/amd/rpcx/nfs_prot_xdr.c
289
if (!xdr_diropargs(xdrs, &objp->to))
usr.sbin/amd/rpcx/nfs_prot_xdr.c
301
if (!xdr_nfspath(xdrs, &objp->to))
usr.sbin/bgpd/chash.c
476
ch_sub_merge(const struct ch_type *type, struct ch_group *to,
usr.sbin/bgpd/chash.c
487
if (ch_sub_merge_one(type, to, tometa, g) == -1)
usr.sbin/bgpd/chash.c
489
if (ch_sub_merge_one(type, to, tometa, b) == -1)
usr.sbin/bgpd/chash.c
674
struct ch_group *buddy, *to = NULL;
usr.sbin/bgpd/chash.c
685
if (ch_sub_alloc(type, t, &to, &tometa) == -1)
usr.sbin/bgpd/chash.c
689
if (ch_sub_merge(type, to, table, buddy, tometa, meta, buddymeta) ==
usr.sbin/bgpd/chash.c
698
ch_table_fill(t, idx, to, tometa);
usr.sbin/bgpd/chash.c
705
ch_sub_free(type, t, to, tometa);
usr.sbin/bgpd/config.c
77
copy_config(struct bgpd_config *to, const struct bgpd_config *from)
usr.sbin/bgpd/config.c
79
to->flags = from->flags;
usr.sbin/bgpd/config.c
80
to->log = from->log;
usr.sbin/bgpd/config.c
81
to->default_tableid = from->default_tableid;
usr.sbin/bgpd/config.c
82
to->bgpid = from->bgpid;
usr.sbin/bgpd/config.c
83
to->clusterid = from->clusterid;
usr.sbin/bgpd/config.c
84
to->as = from->as;
usr.sbin/bgpd/config.c
85
to->short_as = from->short_as;
usr.sbin/bgpd/config.c
86
to->holdtime = from->holdtime;
usr.sbin/bgpd/config.c
87
to->min_holdtime = from->min_holdtime;
usr.sbin/bgpd/config.c
88
to->staletime = from->staletime;
usr.sbin/bgpd/config.c
89
to->connectretry = from->connectretry;
usr.sbin/bgpd/config.c
90
to->fib_priority = from->fib_priority;
usr.sbin/bgpd/config.c
91
to->filtered_in_locrib = from->filtered_in_locrib;
usr.sbin/bgpd/parse.y
1267
to : TO {
usr.sbin/bgpd/parse.y
1334
| to
usr.sbin/bgpd/parse.y
6078
merge_auth_conf(struct auth_config *to, struct auth_config *from)
usr.sbin/bgpd/parse.y
6080
if (to->method != 0) {
usr.sbin/bgpd/parse.y
6082
if (to->method == from->method &&
usr.sbin/bgpd/parse.y
6083
(to->method == AUTH_IPSEC_MANUAL_ESP ||
usr.sbin/bgpd/parse.y
6084
to->method == AUTH_IPSEC_MANUAL_AH)) {
usr.sbin/bgpd/parse.y
6085
if (to->spi_in == 0 && from->spi_in != 0) {
usr.sbin/bgpd/parse.y
6086
to->spi_in = from->spi_in;
usr.sbin/bgpd/parse.y
6087
to->auth_alg_in = from->auth_alg_in;
usr.sbin/bgpd/parse.y
6088
to->enc_alg_in = from->enc_alg_in;
usr.sbin/bgpd/parse.y
6089
memcpy(to->enc_key_in, from->enc_key_in,
usr.sbin/bgpd/parse.y
6090
sizeof(to->enc_key_in));
usr.sbin/bgpd/parse.y
6091
to->enc_keylen_in = from->enc_keylen_in;
usr.sbin/bgpd/parse.y
6092
to->auth_keylen_in = from->auth_keylen_in;
usr.sbin/bgpd/parse.y
6094
} else if (to->spi_out == 0 && from->spi_out != 0) {
usr.sbin/bgpd/parse.y
6095
to->spi_out = from->spi_out;
usr.sbin/bgpd/parse.y
6096
to->auth_alg_out = from->auth_alg_out;
usr.sbin/bgpd/parse.y
6097
to->enc_alg_out = from->enc_alg_out;
usr.sbin/bgpd/parse.y
6098
memcpy(to->enc_key_out, from->enc_key_out,
usr.sbin/bgpd/parse.y
6099
sizeof(to->enc_key_out));
usr.sbin/bgpd/parse.y
6100
to->enc_keylen_out = from->enc_keylen_out;
usr.sbin/bgpd/parse.y
6101
to->auth_keylen_out = from->auth_keylen_out;
usr.sbin/bgpd/parse.y
6108
*to = *from;
usr.sbin/bgpd/pfkey.c
54
#define pfkey_flow(fd, satype, cmd, dir, from, to, sport, dport) \
usr.sbin/bgpd/pfkey.c
55
pfkey_send(fd, satype, cmd, dir, from, to, \
usr.sbin/bgpd/rde_community.c
744
communities_copy(struct rde_community *to, struct rde_community *from)
usr.sbin/bgpd/rde_community.c
746
memset(to, 0, sizeof(*to));
usr.sbin/bgpd/rde_community.c
749
to->size = from->nentries;
usr.sbin/bgpd/rde_community.c
750
to->nentries = from->nentries;
usr.sbin/bgpd/rde_community.c
751
to->flags = from->flags;
usr.sbin/bgpd/rde_community.c
752
to->hash = from->hash;
usr.sbin/bgpd/rde_community.c
754
if (to->nentries == 0)
usr.sbin/bgpd/rde_community.c
757
if ((to->communities = reallocarray(NULL, to->size,
usr.sbin/bgpd/rde_community.c
761
memcpy(to->communities, from->communities,
usr.sbin/bgpd/rde_community.c
762
to->nentries * sizeof(struct community));
usr.sbin/dhcpd/bootp.c
333
memset(&to, 0, sizeof(to));
usr.sbin/dhcpd/bootp.c
334
to.sin_family = AF_INET;
usr.sbin/dhcpd/bootp.c
336
to.sin_len = sizeof(to);
usr.sbin/dhcpd/bootp.c
341
to.sin_addr = raw.giaddr;
usr.sbin/dhcpd/bootp.c
342
to.sin_port = server_port;
usr.sbin/dhcpd/bootp.c
345
outgoing.packet_length, from, &to, packet->haddr);
usr.sbin/dhcpd/bootp.c
355
to.sin_addr = raw.yiaddr;
usr.sbin/dhcpd/bootp.c
356
to.sin_port = client_port;
usr.sbin/dhcpd/bootp.c
359
to.sin_addr.s_addr = INADDR_BROADCAST;
usr.sbin/dhcpd/bootp.c
360
to.sin_port = client_port; /* XXX */
usr.sbin/dhcpd/bootp.c
365
outgoing.packet_length, from, &to, packet->haddr);
usr.sbin/dhcpd/bootp.c
68
struct sockaddr_in to;
usr.sbin/dhcpd/bpf.c
238
size_t len, struct in_addr from, struct sockaddr_in *to,
usr.sbin/dhcpd/bpf.c
249
to->sin_addr.s_addr, to->sin_port, (unsigned char *)raw, len);
usr.sbin/dhcpd/dhcp.c
1284
struct sockaddr_in to;
usr.sbin/dhcpd/dhcp.c
1396
memset(&to, 0, sizeof to);
usr.sbin/dhcpd/dhcp.c
1397
to.sin_family = AF_INET;
usr.sbin/dhcpd/dhcp.c
1399
to.sin_len = sizeof to;
usr.sbin/dhcpd/dhcp.c
1409
to.sin_addr = raw.giaddr;
usr.sbin/dhcpd/dhcp.c
1410
to.sin_port = server_port;
usr.sbin/dhcpd/dhcp.c
1415
packet_length, from, &to, &state->haddr);
usr.sbin/dhcpd/dhcp.c
1438
to.sin_addr = raw.ciaddr;
usr.sbin/dhcpd/dhcp.c
1439
to.sin_port = client_port;
usr.sbin/dhcpd/dhcp.c
1446
to.sin_addr = raw.yiaddr;
usr.sbin/dhcpd/dhcp.c
1447
to.sin_port = client_port;
usr.sbin/dhcpd/dhcp.c
1451
to.sin_addr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcpd/dhcp.c
1452
to.sin_port = client_port;
usr.sbin/dhcpd/dhcp.c
1459
from, &to, &state->haddr);
usr.sbin/dhcpd/dhcp.c
577
struct sockaddr_in to;
usr.sbin/dhcpd/dhcp.c
670
memset(&to, 0, sizeof to);
usr.sbin/dhcpd/dhcp.c
671
to.sin_family = AF_INET;
usr.sbin/dhcpd/dhcp.c
672
to.sin_len = sizeof to;
usr.sbin/dhcpd/dhcp.c
685
to.sin_addr = raw.giaddr;
usr.sbin/dhcpd/dhcp.c
686
to.sin_port = server_port;
usr.sbin/dhcpd/dhcp.c
689
outgoing.packet_length, from, &to, packet->haddr);
usr.sbin/dhcpd/dhcp.c
694
to.sin_addr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcpd/dhcp.c
695
to.sin_port = client_port;
usr.sbin/dhcpd/dhcp.c
700
outgoing.packet_length, from, &to, NULL);
usr.sbin/dhcpd/icmp.c
105
memset(&to, 0, sizeof(to));
usr.sbin/dhcpd/icmp.c
106
to.sin_len = sizeof to;
usr.sbin/dhcpd/icmp.c
107
to.sin_family = AF_INET;
usr.sbin/dhcpd/icmp.c
108
memcpy(&to.sin_addr, addr->iabuf, sizeof to.sin_addr); /* XXX */
usr.sbin/dhcpd/icmp.c
119
(struct sockaddr *)&to, sizeof(to));
usr.sbin/dhcpd/icmp.c
121
log_warn("icmp_echorequest %s", inet_ntoa(to.sin_addr));
usr.sbin/dhcpd/icmp.c
98
struct sockaddr_in to;
usr.sbin/dhcpd/packet.c
101
if (to != NULL && to->hlen == 6) /* XXX */
usr.sbin/dhcpd/packet.c
102
memcpy(eh.ether_dhost, to->haddr, sizeof(eh.ether_dhost));
usr.sbin/dhcpd/packet.c
117
int *bufix, u_int32_t from, u_int32_t to, unsigned int port,
usr.sbin/dhcpd/packet.c
133
ip.ip_dst.s_addr = to;
usr.sbin/dhcpd/packet.c
97
int *bufix, struct hardware *to)
usr.sbin/dhcpd/udpsock.c
177
size_t len, struct in_addr from, struct sockaddr_in *to,
usr.sbin/dhcpd/udpsock.c
180
return (sendto(interface->wfdesc, raw, len, 0, (struct sockaddr *)to,
usr.sbin/dhcrelay/dhcpd.h
135
struct sockaddr_storage to;
usr.sbin/dhcrelay/dhcrelay.c
202
memcpy(&ss2sin(&sp->to)->sin_addr, iap, sizeof(*iap));
usr.sbin/dhcrelay/dhcrelay.c
241
ss2sin(&sp->to)->sin_port = htons(SERVER_PORT);
usr.sbin/dhcrelay/dhcrelay.c
242
ss2sin(&sp->to)->sin_family = AF_INET;
usr.sbin/dhcrelay/dhcrelay.c
243
ss2sin(&sp->to)->sin_len = sizeof(struct sockaddr_in);
usr.sbin/dhcrelay/dhcrelay.c
257
if (connect(sp->fd, (struct sockaddr *)&sp->to,
usr.sbin/dhcrelay/dhcrelay.c
258
sp->to.ss_len) == -1)
usr.sbin/dhcrelay/dhcrelay.c
317
struct sockaddr_in to;
usr.sbin/dhcrelay/dhcrelay.c
331
bzero(&to, sizeof(to));
usr.sbin/dhcrelay/dhcrelay.c
333
to.sin_addr = packet->yiaddr;
usr.sbin/dhcrelay/dhcrelay.c
334
to.sin_port = htons(CLIENT_PORT);
usr.sbin/dhcrelay/dhcrelay.c
336
to.sin_addr.s_addr = htonl(INADDR_BROADCAST);
usr.sbin/dhcrelay/dhcrelay.c
337
to.sin_port = htons(CLIENT_PORT);
usr.sbin/dhcrelay/dhcrelay.c
339
to.sin_family = AF_INET;
usr.sbin/dhcrelay/dhcrelay.c
340
to.sin_len = sizeof to;
usr.sbin/dhcrelay/dhcrelay.c
341
*ss2sin(&pc->pc_dst) = to;
usr.sbin/dhcrelay/dhcrelay.c
381
packet->chaddr), inet_ntoa(to.sin_addr));
usr.sbin/dhcrelay/dhcrelay.c
420
inet_ntoa(ss2sin(&sp->to)->sin_addr));
usr.sbin/dhcrelay/dhcrelay.c
486
inet_ntoa(ss2sin(&sp->to)->sin_addr));
usr.sbin/dhcrelay/dhcrelay.c
503
memcpy(&ss2sin(&pc.pc_src)->sin_addr, &ss2sin(&sp->to)->sin_addr,
usr.sbin/dhcrelay6/dhcpd.h
131
struct sockaddr_storage to;
usr.sbin/dhcrelay6/dhcrelay6.c
155
if (s6fromaddr(ss2sin6(&sp->to), buf,
usr.sbin/dhcrelay6/dhcrelay6.c
163
if (!IN6_IS_ADDR_LINKLOCAL(&ss2sin6(&sp->to)->sin6_addr))
usr.sbin/dhcrelay6/dhcrelay6.c
890
sp->to.ss_family == 0)
usr.sbin/dhcrelay6/dhcrelay6.c
898
sp->to.ss_family == AF_INET6)
usr.sbin/dhcrelay6/dhcrelay6.c
899
pc->pc_dst = sp->to;
usr.sbin/mailwrapper/mailwrapper.c
136
if ((to = strsep(&cp, WS)) == NULL)
usr.sbin/mailwrapper/mailwrapper.c
154
execv(to, al.argv);
usr.sbin/mailwrapper/mailwrapper.c
155
err(1, "cannot exec %s", to);
usr.sbin/mailwrapper/mailwrapper.c
82
char *line, *cp, *from, *to, *ap;
usr.sbin/makefs/cd9660.c
1791
cd9660_copy_stat_info(cd9660node *from, cd9660node *to, int file)
usr.sbin/makefs/cd9660.c
1793
to->node->inode->st.st_dev = 0;
usr.sbin/makefs/cd9660.c
1794
to->node->inode->st.st_ino = 0;
usr.sbin/makefs/cd9660.c
1795
to->node->inode->st.st_size = 0;
usr.sbin/makefs/cd9660.c
1796
to->node->inode->st.st_blksize = from->node->inode->st.st_blksize;
usr.sbin/makefs/cd9660.c
1797
to->node->inode->st.st_atime = from->node->inode->st.st_atime;
usr.sbin/makefs/cd9660.c
1798
to->node->inode->st.st_mtime = from->node->inode->st.st_mtime;
usr.sbin/makefs/cd9660.c
1799
to->node->inode->st.st_ctime = from->node->inode->st.st_ctime;
usr.sbin/makefs/cd9660.c
1800
to->node->inode->st.st_uid = from->node->inode->st.st_uid;
usr.sbin/makefs/cd9660.c
1801
to->node->inode->st.st_gid = from->node->inode->st.st_gid;
usr.sbin/makefs/cd9660.c
1802
to->node->inode->st.st_mode = from->node->inode->st.st_mode;
usr.sbin/makefs/cd9660.c
1804
to->node->inode->st.st_mode = to->node->inode->st.st_mode & ~(S_IFMT);
usr.sbin/makefs/cd9660.c
1806
to->node->inode->st.st_mode |= S_IFREG;
usr.sbin/makefs/cd9660.c
1808
to->node->inode->st.st_mode |= S_IFDIR;
usr.sbin/makefs/cd9660/iso.h
49
#define ISODCL(from, to) (to - from + 1)
usr.sbin/npppd/common/recvfromto.c
130
sin4 = (struct sockaddr_in *)to;
usr.sbin/npppd/common/recvfromto.c
147
sin6 = (struct sockaddr_in6 *)to;
usr.sbin/npppd/common/recvfromto.c
165
sin4 = (struct sockaddr_in *)to;
usr.sbin/npppd/common/recvfromto.c
183
u_int *fromlen, struct sockaddr *to, u_int *tolen)
usr.sbin/npppd/common/recvfromto.c
186
to, tolen, NULL, NULL);
usr.sbin/npppd/common/recvfromto.c
191
struct sockaddr *to, u_int tolen, void *ipsec)
usr.sbin/npppd/common/recvfromto.c
207
msg.msg_name = to;
usr.sbin/npppd/common/recvfromto.c
221
return sendto(s, buf, buflen, flags, to, tolen);
usr.sbin/npppd/common/recvfromto.c
45
struct sockaddr *from, u_int *fromlen, struct sockaddr *to, u_int *tolen,
usr.sbin/npppd/common/recvfromto.c
95
sin6 = (struct sockaddr_in6 *)to;
usr.sbin/npppd/npppd/privsep.c
1047
arg->to.ss_family == AF_UNIX)
usr.sbin/npppd/npppd/privsep.c
298
const struct sockaddr *to, socklen_t tolen)
usr.sbin/npppd/npppd/privsep.c
303
if (tolen > sizeof(a.to)) {
usr.sbin/npppd/npppd/privsep.c
314
memcpy(&a.to, to, tolen);
usr.sbin/npppd/npppd/privsep.c
768
(struct sockaddr *)&a->to,
usr.sbin/npppd/npppd/privsep.c
80
struct sockaddr_storage to;
usr.sbin/nsd/radtree.c
1031
static void cpy_d2r(uint8_t* to, const uint8_t* from, int len)
usr.sbin/nsd/radtree.c
1035
to[i] = char_d2r(from[i]);
usr.sbin/nsd/radtree.c
1039
static void cpy_r2d(uint8_t* to, uint8_t* from, uint8_t len)
usr.sbin/nsd/radtree.c
1043
to[i] = char_r2d(from[i]);
usr.sbin/nsd/udb.c
1917
int udb_valid_offset(udb_base* udb, udb_void to, size_t destsize)
usr.sbin/nsd/udb.c
1921
return ( (to+destsize) <= udb->base_size &&
usr.sbin/nsd/udb.c
1922
to >= (udb->glob_data->hsize-2*sizeof(udb_rel_ptr)) &&
usr.sbin/nsd/udb.c
1923
(to+destsize) <= udb->alloc->disk->nextgrow);
usr.sbin/nsd/udb.c
1926
int udb_valid_dataptr(udb_base* udb, udb_void to)
usr.sbin/nsd/udb.c
1933
if(!udb_valid_offset(udb, to, sizeof(uint64_t)))
usr.sbin/nsd/udb.c
1936
ch = chunk_from_dataptr(to);
usr.sbin/nsd/udb.c
1967
int udb_valid_rptr(udb_base* udb, udb_void rptr, udb_void to)
usr.sbin/nsd/udb.c
1973
if(!udb_valid_dataptr(udb, to))
usr.sbin/nsd/udb.c
1975
p = UDB_CHUNK(chunk_from_dataptr(to))->ptrlist;
usr.sbin/nsd/udb.c
2005
void udb_rel_ptr_link(void* base, udb_rel_ptr* ptr, udb_void to)
usr.sbin/nsd/udb.c
2007
udb_chunk_d* chunk = UDB_CHUNK(chunk_from_dataptr(to));
usr.sbin/nsd/udb.c
2013
ptr->data = to;
usr.sbin/nsd/udb.c
2016
void udb_rel_ptr_set(void* base, udb_rel_ptr* ptr, udb_void to)
usr.sbin/nsd/udb.c
2018
assert(to == 0 || to > 64);
usr.sbin/nsd/udb.c
2020
if(to)
usr.sbin/nsd/udb.c
2021
udb_rel_ptr_link(base, ptr, to);
usr.sbin/nsd/udb.c
2022
else ptr->data = to;
usr.sbin/nsd/udb.c
2025
void udb_rel_ptr_edit(void* base, udb_void list, udb_void to)
usr.sbin/nsd/udb.c
2029
UDB_REL_PTR(p)->data = to;
usr.sbin/nsd/udb.c
389
int udb_ptr_is_on_bucket(udb_base* udb, udb_ptr* ptr, udb_void to)
usr.sbin/nsd/udb.c
391
uint32_t i = chunk_hash_ptr(to) & udb->ram_mask;
usr.sbin/nsd/udb.h
583
int udb_valid_offset(udb_base* udb, udb_void to, size_t destsize);
usr.sbin/nsd/udb.h
591
int udb_valid_dataptr(udb_base* udb, udb_void to);
usr.sbin/nsd/udb.h
600
int udb_valid_rptr(udb_base* udb, udb_void rptr, udb_void to);
usr.sbin/nsd/udb.h
622
void udb_rel_ptr_link(void* base, udb_rel_ptr* ptr, udb_void to);
usr.sbin/nsd/udb.h
630
void udb_rel_ptr_set(void* base, udb_rel_ptr* ptr, udb_void to);
usr.sbin/nsd/udb.h
638
void udb_rel_ptr_edit(void* base, udb_void list, udb_void to);
usr.sbin/nsd/xfrd-notify.c
316
struct sockaddr_storage to;
usr.sbin/nsd/xfrd-notify.c
318
struct sockaddr_in to;
usr.sbin/nsd/xfrd-notify.c
322
zone->pkts[index].dest, &to);
usr.sbin/nsd/xfrd-notify.c
336
(struct sockaddr*)&to, to_len) == -1) {
usr.sbin/nsd/xfrd-tcp.c
1705
struct sockaddr_storage to;
usr.sbin/nsd/xfrd-tcp.c
1707
struct sockaddr_in to;
usr.sbin/nsd/xfrd-tcp.c
1710
set->tcp_waiting_first->master, &to);
usr.sbin/nsd/xfrd-tcp.c
1711
if(to_len == tp->key.ip_len && memcmp(&to, &tp->key.ip, to_len) == 0) {
usr.sbin/nsd/xfrd-tcp.c
531
xfrd_acl_sockaddr_to(acl_options_type* acl, struct sockaddr_storage *to)
usr.sbin/nsd/xfrd-tcp.c
533
xfrd_acl_sockaddr_to(acl_options_type* acl, struct sockaddr_in *to)
usr.sbin/nsd/xfrd-tcp.c
543
return xfrd_acl_sockaddr(acl, port, to);
usr.sbin/nsd/xfrd-tcp.c
545
return xfrd_acl_sockaddr(acl, port, to, "to");
usr.sbin/nsd/xfrd-tcp.h
235
struct sockaddr_storage *to);
usr.sbin/nsd/xfrd-tcp.h
237
struct sockaddr_in *to);
usr.sbin/nsd/xfrd.c
1776
struct sockaddr_storage to;
usr.sbin/nsd/xfrd.c
1778
struct sockaddr_in to;
usr.sbin/nsd/xfrd.c
1783
socklen_t to_len = xfrd_acl_sockaddr_to(acl, &to);
usr.sbin/nsd/xfrd.c
1816
(struct sockaddr*)&to, to_len) == -1)
usr.sbin/ospfd/auth.c
232
md_list_copy(struct auth_md_head *to, struct auth_md_head *from)
usr.sbin/ospfd/auth.c
236
TAILQ_INIT(to);
usr.sbin/ospfd/auth.c
244
TAILQ_INSERT_TAIL(to, md, entry);
usr.sbin/ospfd/auth.c
272
md_list_send(struct auth_md_head *head, struct imsgev *to)
usr.sbin/ospfd/auth.c
277
if (imsg_compose_event(to, IMSG_RECONF_AUTHMD, 0, 0, -1, m,
usr.sbin/pppd/chat/chat.c
121
#define memmove(to, from, n) bcopy(from, to, n)
usr.sbin/pwd_mkdb/pwd_mkdb.c
384
cp(char *from, char *to, mode_t mode)
usr.sbin/pwd_mkdb/pwd_mkdb.c
391
if ((to_fd = open(to, O_WRONLY|O_CREAT|O_EXCL, mode)) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
392
fatal("%s", to);
usr.sbin/pwd_mkdb/pwd_mkdb.c
396
fatal("%s to %s", from, to);
usr.sbin/pwd_mkdb/pwd_mkdb.c
399
fatal("%s to %s", from, to);
usr.sbin/pwd_mkdb/pwd_mkdb.c
405
mv(char *from, char *to)
usr.sbin/pwd_mkdb/pwd_mkdb.c
407
if (rename(from, to))
usr.sbin/pwd_mkdb/pwd_mkdb.c
408
fatal("%s to %s", from, to);
usr.sbin/pwd_mkdb/pwd_mkdb.c
492
write_old_entry(FILE *to, const struct passwd *pw)
usr.sbin/pwd_mkdb/pwd_mkdb.c
496
if (to == NULL)
usr.sbin/pwd_mkdb/pwd_mkdb.c
510
return (fprintf(to, "%s:*:%s:%s:%s:%s:%s\n", pw->pw_name, uidstr,
usr.sbin/rad/engine.c
569
memcpy(&send_ra.to, &rs->from, sizeof(send_ra.to));
usr.sbin/rad/engine.c
639
memcpy(&send_ra.to, &all_nodes, sizeof(send_ra.to));
usr.sbin/rad/engine.c
668
memcpy(&send_ra.to, &all_nodes, sizeof(send_ra.to));
usr.sbin/rad/frontend.c
1422
ra_output(struct ra_iface *ra_iface, struct sockaddr_in6 *to)
usr.sbin/rad/frontend.c
1437
sndmhdr.msg_name = to;
usr.sbin/rad/frontend.c
577
ra_output(ra_iface, &send_ra.to);
usr.sbin/rad/rad.h
146
struct sockaddr_in6 to;
usr.sbin/relayd/ca.c
225
u_char *from = NULL, *to = NULL;
usr.sbin/relayd/ca.c
260
if ((to = calloc(1, cko.cko_tlen)) == NULL)
usr.sbin/relayd/ca.c
266
from, to, rsa, cko.cko_padding);
usr.sbin/relayd/ca.c
270
from, to, rsa, cko.cko_padding);
usr.sbin/relayd/ca.c
283
iov[c].iov_base = to;
usr.sbin/relayd/ca.c
291
free(to);
usr.sbin/relayd/ca.c
309
rsae_send_imsg(int flen, const u_char *from, u_char *to, RSA *rsa,
usr.sbin/relayd/ca.c
417
memcpy(to, toptr, ret);
usr.sbin/relayd/ca.c
430
rsae_priv_enc(int flen, const u_char *from, u_char *to, RSA *rsa, int padding)
usr.sbin/relayd/ca.c
433
return rsae_send_imsg(flen, from, to, rsa, padding, IMSG_CA_PRIVENC);
usr.sbin/relayd/ca.c
437
rsae_priv_dec(int flen, const u_char *from, u_char *to, RSA *rsa, int padding)
usr.sbin/relayd/ca.c
440
return rsae_send_imsg(flen, from, to, rsa, padding, IMSG_CA_PRIVDEC);
usr.sbin/relayd/check_icmp.c
164
struct sockaddr *to;
usr.sbin/relayd/check_icmp.c
207
to = (struct sockaddr *)&host->conf.ss;
usr.sbin/relayd/check_icmp.c
266
r = sendto(s, packet, sizeof(packet), 0, to, slen);
usr.sbin/ripd/auth.c
298
md_list_copy(struct auth_md_head *to, struct auth_md_head *from)
usr.sbin/ripd/auth.c
302
TAILQ_INIT(to);
usr.sbin/ripd/auth.c
311
TAILQ_INSERT_TAIL(to, md, entry);
usr.sbin/rpki-client/encoding.c
155
unsigned char *to = NULL;
usr.sbin/rpki-client/encoding.c
167
if ((to = malloc(tolen)) == NULL)
usr.sbin/rpki-client/encoding.c
172
if (EVP_DecodeUpdate(ctx, to, &evplen, in, inlen) == -1)
usr.sbin/rpki-client/encoding.c
175
if (EVP_DecodeFinal(ctx, to + evplen, &evplen) == -1)
usr.sbin/rpki-client/encoding.c
178
*out = to;
usr.sbin/rpki-client/encoding.c
184
free(to);
usr.sbin/rpki-client/encoding.c
210
unsigned char *to;
usr.sbin/rpki-client/encoding.c
217
if ((to = malloc(tolen)) == NULL)
usr.sbin/rpki-client/encoding.c
220
EVP_EncodeBlock(to, in, inlen);
usr.sbin/rpki-client/encoding.c
221
*out = to;
usr.sbin/rpki-client/validate.c
276
const char *to;
usr.sbin/rpki-client/validate.c
279
to = strstr(proto, "://");
usr.sbin/rpki-client/validate.c
280
if (to == NULL)
usr.sbin/rpki-client/validate.c
282
to += strlen("://");
usr.sbin/rpki-client/validate.c
283
if ((to = strchr(to, '/')) == NULL)
usr.sbin/rpki-client/validate.c
287
if (strncasecmp(uri, proto, to - proto + 1) != 0)
usr.sbin/smtpd/bounce.c
165
msg->to = xstrdup(buf);
usr.sbin/smtpd/bounce.c
430
bounce_send(s, "RCPT TO: <%s>", s->msg->to);
usr.sbin/smtpd/bounce.c
455
s->msg->to,
usr.sbin/smtpd/bounce.c
61
char *to;
usr.sbin/smtpd/bounce.c
640
f, msg->msgid, msg->to, n, n > 1 ? "s":"", status);
usr.sbin/smtpd/bounce.c
646
free(msg->to);
usr.sbin/smtpd/ca.c
180
unsigned char *to = NULL;
usr.sbin/smtpd/ca.c
230
if ((to = calloc(1, tlen)) == NULL)
usr.sbin/smtpd/ca.c
235
ret = RSA_private_encrypt(flen, from, to, rsa,
usr.sbin/smtpd/ca.c
239
ret = RSA_private_decrypt(flen, from, to, rsa,
usr.sbin/smtpd/ca.c
248
m_add_data(p, to, (size_t)ret);
usr.sbin/smtpd/ca.c
251
free(to);
usr.sbin/smtpd/ca.c
268
if ((to = calloc(1, buf_len)) == NULL)
usr.sbin/smtpd/ca.c
270
ret = ECDSA_sign(0, from, flen, to, &buf_len, ecdsa);
usr.sbin/smtpd/ca.c
275
m_add_data(p, to, (size_t)buf_len);
usr.sbin/smtpd/ca.c
277
free(to);
usr.sbin/smtpd/ca.c
294
rsae_send_imsg(int flen, const unsigned char *from, unsigned char *to,
usr.sbin/smtpd/ca.c
360
memcpy(to, toptr, tlen);
usr.sbin/smtpd/ca.c
372
rsae_priv_enc(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,
usr.sbin/smtpd/ca.c
377
return (rsae_send_imsg(flen, from, to, rsa, padding,
usr.sbin/smtpd/ca.c
379
return (RSA_meth_get_priv_enc(rsa_default)(flen, from, to, rsa, padding));
usr.sbin/smtpd/ca.c
383
rsae_priv_dec(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,
usr.sbin/smtpd/ca.c
388
return (rsae_send_imsg(flen, from, to, rsa, padding,
usr.sbin/smtpd/ca.c
391
return (RSA_meth_get_priv_dec(rsa_default)(flen, from, to, rsa, padding));
usr.sbin/smtpd/mta.c
2004
time_t to;
usr.sbin/smtpd/mta.c
2024
if (runq_pending(runq_relay, r, &to))
usr.sbin/smtpd/mta.c
2025
(void)snprintf(dur, sizeof(dur), "%s", duration_to_text(to - t));
usr.sbin/smtpd/mta.c
2043
if (runq_pending(runq_connector, c, &to))
usr.sbin/smtpd/mta.c
2044
(void)snprintf(dur, sizeof(dur), "%s", duration_to_text(to - t));
usr.sbin/smtpd/smtp.h
59
const char *to;
usr.sbin/smtpd/smtp_client.c
407
rcpt->to,
usr.sbin/smtpd/smtp_client.c
413
smtp_client_sendcmd(proto, "RCPT TO:<%s>", rcpt->to);
usr.sbin/smtpd/smtpc.c
216
mail.rcpt[i].to = argv[i];
usr.sbin/smtpd/smtpc.c
504
log_info("%s: %s: %s", status->rcpt->to, status->cmd, status->status);
usr.sbin/smtpd/smtpd.c
1884
log_imsg(int to, int from, struct imsg *imsg)
usr.sbin/smtpd/smtpd.c
1887
if (to == PROC_CONTROL && imsg->hdr.type == IMSG_STAT_SET)
usr.sbin/smtpd/smtpd.c
1891
proc_name(to),
usr.sbin/smtpd/util.c
283
mvpurge(char *from, char *to)
usr.sbin/smtpd/util.c
290
if ((n = strlen(to)) == 0)
usr.sbin/smtpd/util.c
293
sep = (to[n - 1] == '/') ? "" : "/";
usr.sbin/smtpd/util.c
297
(void)snprintf(buf, sizeof buf, "%s%s%u", to, sep, arc4random());
usr.sbin/snmpd/util.c
117
if (getsockname(s, to, tolen) != 0)
usr.sbin/snmpd/util.c
126
in = (struct sockaddr_in *)to;
usr.sbin/snmpd/util.c
136
in6 = (struct sockaddr_in6 *)to;
usr.sbin/snmpd/util.c
32
sendtofrom(int s, void *buf, size_t len, int flags, struct sockaddr *to,
usr.sbin/snmpd/util.c
54
msg.msg_name = to;
usr.sbin/snmpd/util.c
60
switch (to->sa_family) {
usr.sbin/snmpd/util.c
85
socklen_t *fromlen, struct sockaddr *to, socklen_t *tolen)
usr.sbin/spamdb/spamdb.c
222
char *helo, *from, *to;
usr.sbin/spamdb/spamdb.c
235
to = strchr(from, '\n');
usr.sbin/spamdb/spamdb.c
236
if (to == NULL) {
usr.sbin/spamdb/spamdb.c
247
*to = '\0';
usr.sbin/spamdb/spamdb.c
248
to++;
usr.sbin/spamdb/spamdb.c
250
a, helo, from, to, (long long)gd.first,
usr.sbin/syslogd/syslogd.c
1089
struct timeval to = { 1, 0 };
usr.sbin/syslogd/syslogd.c
1115
event_add(ev, &to);
usr.sbin/syslogd/syslogd.c
1607
struct timeval to;
usr.sbin/syslogd/syslogd.c
1615
to.tv_sec = f->f_un.f_forw.f_retrywait;
usr.sbin/syslogd/syslogd.c
1616
to.tv_usec = 0;
usr.sbin/syslogd/syslogd.c
1617
evtimer_add(&f->f_un.f_forw.f_ev, &to);
usr.sbin/syslogd/syslogd.c
2342
struct timeval to;
usr.sbin/syslogd/syslogd.c
2346
to.tv_sec = TIMERINTVL;
usr.sbin/syslogd/syslogd.c
2347
to.tv_usec = 0;
usr.sbin/syslogd/syslogd.c
2348
evtimer_add(ev, &to);
usr.sbin/syslogd/syslogd.c
2724
struct timeval to;
usr.sbin/syslogd/syslogd.c
2897
to.tv_sec = 0;
usr.sbin/syslogd/syslogd.c
2898
to.tv_usec = 1;
usr.sbin/syslogd/syslogd.c
2899
evtimer_add(&f->f_un.f_forw.f_ev, &to);
usr.sbin/syslogd/syslogd.c
2926
to.tv_sec = 0;
usr.sbin/syslogd/syslogd.c
2927
to.tv_usec = 1;
usr.sbin/syslogd/syslogd.c
2928
evtimer_add(&f->f_un.f_forw.f_ev, &to);
usr.sbin/syslogd/syslogd.c
369
struct timeval to;
usr.sbin/syslogd/syslogd.c
885
to.tv_sec = TIMERINTVL;
usr.sbin/syslogd/syslogd.c
886
to.tv_usec = 0;
usr.sbin/syslogd/syslogd.c
887
evtimer_add(ev_mark, &to);
usr.sbin/syslogd/ttymsg.c
141
struct timeval to;
usr.sbin/syslogd/ttymsg.c
174
to.tv_sec = TTYMSGTIME;
usr.sbin/syslogd/ttymsg.c
175
to.tv_usec = 0;
usr.sbin/syslogd/ttymsg.c
176
event_add(&td->td_event, &to);
usr.sbin/syslogd/ttymsg.c
196
struct timeval to;
usr.sbin/syslogd/ttymsg.c
211
to.tv_sec = TTYMSGTIME;
usr.sbin/syslogd/ttymsg.c
212
to.tv_usec = 0;
usr.sbin/syslogd/ttymsg.c
213
event_add(&td->td_event, &to);
usr.sbin/tcpdump/print-dvmrp.c
205
#define GET_ADDR(to) (memcpy((char *)to, (char *)bp, 4), bp += 4)
usr.sbin/tcpdump/privsep_pcap.c
292
struct timeval to;
usr.sbin/tcpdump/privsep_pcap.c
293
to.tv_sec = to_ms / 1000;
usr.sbin/tcpdump/privsep_pcap.c
294
to.tv_usec = (to_ms * 1000) % 1000000;
usr.sbin/tcpdump/privsep_pcap.c
295
if (ioctl(p->fd, BIOCSRTIMEOUT, &to) == -1) {
usr.sbin/tftpd/tftpd.c
831
int i, first = 1, ecode, to;
usr.sbin/tftpd/tftpd.c
887
to = strtonum(options[OPT_TIMEOUT].o_request,
usr.sbin/tftpd/tftpd.c
893
options[OPT_TIMEOUT].o_reply = client->tv.tv_sec = to;
usr.sbin/traceroute/traceroute.c
1008
send_probe(conf, seq, ttl, to);
usr.sbin/traceroute/traceroute.c
292
struct sockaddr *from, *to;
usr.sbin/traceroute/traceroute.c
622
to = (struct sockaddr *)&to4;
usr.sbin/traceroute/traceroute.c
626
to = (struct sockaddr *)&to6;
usr.sbin/traceroute/traceroute.c
634
memcpy(to, res->ai_addr, res->ai_addrlen);
usr.sbin/traceroute/traceroute.c
657
switch (to->sa_family) {
usr.sbin/traceroute/traceroute.c
848
errx(1, "unsupported AF: %d", to->sa_family);
usr.sbin/traceroute/traceroute.c
871
if (getnameinfo(to, to->sa_len, hbuf,
usr.sbin/traceroute/traceroute.c
930
pkg_ok = packet_ok(conf, to->sa_family, &rcvmhdr, cc, &recv_seq);
usr.sbin/traceroute/traceroute.c
946
switch (to->sa_family) {
usr.sbin/traceroute/traceroute.c
959
errx(1, "unsupported AF: %d", to->sa_family);
usr.sbin/traceroute/traceroute.c
974
if (to->sa_family == AF_INET && conf->tflag)
usr.sbin/traceroute/traceroute.c
977
icmp_code(to->sa_family, pkg_ok - 1,
usr.sbin/traceroute/traceroute.h
128
char to[NI_MAXHOST];
usr.sbin/traceroute/worker.c
1130
tr_results[i].to);
usr.sbin/traceroute/worker.c
371
struct sockaddr *to)
usr.sbin/traceroute/worker.c
383
((struct sockaddr_in6*)to)->sin6_port = htons(conf->port + seq);
usr.sbin/traceroute/worker.c
406
send_probe(struct tr_conf *conf, int seq, u_int8_t ttl, struct sockaddr *to)
usr.sbin/traceroute/worker.c
410
switch (to->sa_family) {
usr.sbin/traceroute/worker.c
415
build_probe6(conf, seq, ttl, to);
usr.sbin/traceroute/worker.c
418
errx(1, "unsupported AF: %d", to->sa_family);
usr.sbin/traceroute/worker.c
425
i = sendto(sndsock, outpacket, datalen, 0, to, to->sa_len);
usr.sbin/traceroute/worker.c
676
print(struct tr_conf *conf, struct sockaddr *from, int cc, const char *to,
usr.sbin/traceroute/worker.c
700
strlcpy(tr_res->to, to, sizeof(tr_res->to));
usr.sbin/unbound/daemon/cachedump.c
855
int lame, dlame, rlame, rto, edns_vs, to, delay,
usr.sbin/unbound/daemon/cachedump.c
909
&edns_lame_known, &to)) {
usr.sbin/unbound/dnstap/dtstream.c
1974
char* to = dtio->socket_path;
usr.sbin/unbound/dnstap/dtstream.c
1981
to, sock_strerror(errno));
usr.sbin/unbound/dnstap/dtstream.c
741
char* to = dtio->socket_path;
usr.sbin/unbound/dnstap/dtstream.c
742
if(!to) to = dtio->ip_str;
usr.sbin/unbound/dnstap/dtstream.c
743
if(!to) to = "";
usr.sbin/unbound/dnstap/dtstream.c
745
to, sock_strerror(error));
usr.sbin/unbound/dnstap/dtstream.c
965
char* to = dtio->socket_path;
usr.sbin/unbound/dnstap/dtstream.c
966
if(!to) to = dtio->ip_str;
usr.sbin/unbound/dnstap/dtstream.c
967
if(!to) to = "";
usr.sbin/unbound/dnstap/dtstream.c
985
log_err("dnstap io: output closed, recv %s: %s", to,
usr.sbin/unbound/iterator/iter_delegpt.c
401
find_NS(struct reply_info* rep, size_t from, size_t to)
usr.sbin/unbound/iterator/iter_delegpt.c
404
for(i=from; i<to; i++) {
usr.sbin/unbound/iterator/iterator.c
3117
find_NS(struct reply_info* rep, size_t from, size_t to)
usr.sbin/unbound/iterator/iterator.c
3120
for(i=from; i<to; i++) {
usr.sbin/unbound/iterator/iterator.c
366
prepend_is_duplicate(struct ub_packed_rrset_key** sets, size_t to,
usr.sbin/unbound/iterator/iterator.c
370
for(i=0; i<to; i++) {
usr.sbin/unbound/iterator/iterator.c
3972
struct dns_msg* to = foriq->response;
usr.sbin/unbound/iterator/iterator.c
3977
size_t n = from->rep->rrset_count+to->rep->rrset_count;
usr.sbin/unbound/iterator/iterator.c
3980
to->rep->flags = from->rep->flags;
usr.sbin/unbound/iterator/iterator.c
3983
to->rep->rrset_count > RR_COUNT_MAX) {
usr.sbin/unbound/iterator/iterator.c
3996
memcpy(dest, to->rep->rrsets, to->rep->an_numrrsets
usr.sbin/unbound/iterator/iterator.c
3998
dest += to->rep->an_numrrsets;
usr.sbin/unbound/iterator/iterator.c
4003
memcpy(dest, to->rep->rrsets+to->rep->an_numrrsets,
usr.sbin/unbound/iterator/iterator.c
4004
to->rep->ns_numrrsets * sizeof(dest[0]));
usr.sbin/unbound/iterator/iterator.c
4005
dest += to->rep->ns_numrrsets;
usr.sbin/unbound/iterator/iterator.c
4010
memcpy(dest, to->rep->rrsets+to->rep->an_numrrsets+
usr.sbin/unbound/iterator/iterator.c
4011
to->rep->ns_numrrsets,
usr.sbin/unbound/iterator/iterator.c
4012
to->rep->ar_numrrsets * sizeof(dest[0]));
usr.sbin/unbound/iterator/iterator.c
4013
dest += to->rep->ar_numrrsets;
usr.sbin/unbound/iterator/iterator.c
4018
to->rep->rrsets = d;
usr.sbin/unbound/iterator/iterator.c
4019
to->rep->an_numrrsets += from->rep->an_numrrsets;
usr.sbin/unbound/iterator/iterator.c
4020
to->rep->ns_numrrsets += from->rep->ns_numrrsets;
usr.sbin/unbound/iterator/iterator.c
4021
to->rep->ar_numrrsets += from->rep->ar_numrrsets;
usr.sbin/unbound/iterator/iterator.c
4022
to->rep->rrset_count = n;
usr.sbin/unbound/iterator/iterator.c
4024
if(from->rep->security < to->rep->security) /* lowest sec */
usr.sbin/unbound/iterator/iterator.c
4025
to->rep->security = from->rep->security;
usr.sbin/unbound/iterator/iterator.c
4027
to->rep->qdcount = from->rep->qdcount;
usr.sbin/unbound/iterator/iterator.c
4028
if(from->rep->ttl < to->rep->ttl) /* use smallest TTL */
usr.sbin/unbound/iterator/iterator.c
4029
to->rep->ttl = from->rep->ttl;
usr.sbin/unbound/iterator/iterator.c
4030
if(from->rep->prefetch_ttl < to->rep->prefetch_ttl)
usr.sbin/unbound/iterator/iterator.c
4031
to->rep->prefetch_ttl = from->rep->prefetch_ttl;
usr.sbin/unbound/iterator/iterator.c
4032
if(from->rep->serve_expired_ttl < to->rep->serve_expired_ttl)
usr.sbin/unbound/iterator/iterator.c
4033
to->rep->serve_expired_ttl = from->rep->serve_expired_ttl;
usr.sbin/unbound/iterator/iterator.c
4034
if(from->rep->serve_expired_norec_ttl < to->rep->serve_expired_norec_ttl)
usr.sbin/unbound/iterator/iterator.c
4035
to->rep->serve_expired_norec_ttl = from->rep->serve_expired_norec_ttl;
usr.sbin/unbound/services/cache/infra.c
589
int* edns_vs, uint8_t* edns_lame_known, int* to)
usr.sbin/unbound/services/cache/infra.c
628
*to = rtt_timeout(&data->rtt);
usr.sbin/unbound/services/cache/infra.c
636
*to = rtt_timeout(&data->rtt);
usr.sbin/unbound/services/cache/infra.c
637
if(*to >= PROBE_MAXRTO && (infra->infra_keep_probing ||
usr.sbin/unbound/services/cache/infra.c
638
rtt_notimeout(&data->rtt)*4 <= *to)) {
usr.sbin/unbound/services/cache/infra.c
652
data->probedelay = timenow + ((*to)+1999)/1000;
usr.sbin/unbound/services/cache/infra.h
283
time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to);
usr.sbin/unbound/services/outside_network.c
3597
char to[64];
usr.sbin/unbound/services/outside_network.c
3598
addr_to_str(to_addr, to_addrlen, to, sizeof(to));
usr.sbin/unbound/services/outside_network.c
3599
verbose(VERB_QUERY, "need ipv6 to send, but no ipv6 outgoing interfaces, for %s", to);
usr.sbin/unbound/services/outside_network.c
3606
char to[64];
usr.sbin/unbound/services/outside_network.c
3607
addr_to_str(to_addr, to_addrlen, to, sizeof(to));
usr.sbin/unbound/services/outside_network.c
3608
verbose(VERB_QUERY, "need ipv4 to send, but no ipv4 outgoing interfaces, for %s", to);
usr.sbin/unbound/testcode/checklocks.c
126
struct timespec to;
usr.sbin/unbound/testcode/checklocks.c
137
to.tv_sec = time(NULL) + CHECK_LOCK_TIMEOUT;
usr.sbin/unbound/testcode/checklocks.c
138
to.tv_nsec = 0;
usr.sbin/unbound/testcode/checklocks.c
139
err = pthread_mutex_timedlock(&lock->lock, &to);
usr.sbin/unbound/testcode/checklocks.c
487
struct timespec to;
usr.sbin/unbound/testcode/checklocks.c
489
to.tv_sec = time(NULL) + CHECK_LOCK_TIMEOUT;
usr.sbin/unbound/testcode/checklocks.c
490
to.tv_nsec = 0;
usr.sbin/unbound/testcode/checklocks.c
491
if((err=timedfunc(arg, &to))) {
usr.sbin/unbound/testcode/checklocks.c
524
static int timed_rd(void* arg, struct timespec* to)
usr.sbin/unbound/testcode/checklocks.c
525
{ return pthread_rwlock_timedrdlock((pthread_rwlock_t*)arg, to); }
usr.sbin/unbound/testcode/checklocks.c
547
static int timed_wr(void* arg, struct timespec* to)
usr.sbin/unbound/testcode/checklocks.c
548
{ return pthread_rwlock_timedwrlock((pthread_rwlock_t*)arg, to); }
usr.sbin/unbound/testcode/checklocks.c
569
static int timed_mutex(void* arg, struct timespec* to)
usr.sbin/unbound/testcode/checklocks.c
570
{ return pthread_mutex_timedlock((pthread_mutex_t*)arg, to); }
usr.sbin/unbound/testcode/checklocks.c
576
static int timed_spinlock(void* arg, struct timespec* to)
usr.sbin/unbound/testcode/checklocks.c
582
if(time(NULL) >= to->tv_sec)
usr.sbin/unbound/testcode/unitinfra.c
109
LDNS_RR_TYPE_A, &lame, &dnsseclame, &reclame, &to, *now) );
usr.sbin/unbound/testcode/unitinfra.c
111
&& to == keep_probing ?still_useful_timeout() :USEFUL_SERVER_TOP_TIMEOUT);
usr.sbin/unbound/testcode/unitinfra.c
125
int vs, to;
usr.sbin/unbound/testcode/unitinfra.c
138
&vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
139
unit_assert( vs == 0 && to == init && edns_lame == 0 );
usr.sbin/unbound/testcode/unitinfra.c
144
now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
145
unit_assert( vs == 0 && to == init*2 && edns_lame == 0 );
usr.sbin/unbound/testcode/unitinfra.c
150
now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
151
unit_assert( vs == -1 && to == init*2 && edns_lame == 1);
usr.sbin/unbound/testcode/unitinfra.c
156
now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
157
unit_assert( vs == 0 && to == init && edns_lame == 0 );
usr.sbin/unbound/testcode/unitinfra.c
180
now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
181
unit_assert( vs == 0 && to == init && edns_lame == 0 );
usr.sbin/unbound/testcode/unitinfra.c
185
now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
186
unit_assert( vs == 0 && to == init && edns_lame == 1 );
usr.sbin/unbound/testcode/unitinfra.c
190
now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
191
unit_assert( vs == 0 && to == init && edns_lame == 1 );
usr.sbin/unbound/testcode/unitinfra.c
72
int vs, to, lame, dnsseclame, reclame, probedelay;
usr.sbin/unbound/testcode/unitinfra.c
84
*now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
87
while(to < USEFUL_SERVER_TOP_TIMEOUT) {
usr.sbin/unbound/testcode/unitinfra.c
89
LDNS_RR_TYPE_A, -1, to, *now) );
usr.sbin/unbound/testcode/unitinfra.c
91
*now, &vs, &edns_lame, &to) );
usr.sbin/unbound/testcode/unitinfra.c
92
unit_assert( vs == 0 && to <= USEFUL_SERVER_TOP_TIMEOUT && edns_lame == 0 );
usr.sbin/unbound/testcode/unitinfra.c
94
unit_assert( vs == 0 && to == USEFUL_SERVER_TOP_TIMEOUT && edns_lame == 0 );
usr.sbin/unbound/testcode/unitneg.c
204
char* from, *to;
usr.sbin/unbound/testcode/unitneg.c
219
get_random_data(&from, &to, zname);
usr.sbin/unbound/testcode/unitneg.c
236
rr_data = (uint8_t*)to;
usr.sbin/unbound/util/data/dname.c
346
void dname_pkt_copy(sldns_buffer* pkt, uint8_t* to, uint8_t* dname)
usr.sbin/unbound/util/data/dname.c
357
*to = 0; /* end the result prematurely */
usr.sbin/unbound/util/data/dname.c
369
*to = 0; /* end the result prematurely */
usr.sbin/unbound/util/data/dname.c
375
*to = 0; /* end the result prematurely */
usr.sbin/unbound/util/data/dname.c
379
*to++ = lablen;
usr.sbin/unbound/util/data/dname.c
380
memmove(to, dname, lablen);
usr.sbin/unbound/util/data/dname.c
382
to += lablen;
usr.sbin/unbound/util/data/dname.c
386
*to = 0;
usr.sbin/unbound/util/data/dname.h
151
void dname_pkt_copy(struct sldns_buffer* pkt, uint8_t* to, uint8_t* dname);
usr.sbin/unbound/util/data/msgreply.c
245
rdata_copy(sldns_buffer* pkt, struct packed_rrset_data* data, uint8_t* to,
usr.sbin/unbound/util/data/msgreply.c
284
memmove(to, rr->ttl_data+sizeof(uint32_t), rr->size);
usr.sbin/unbound/util/data/msgreply.c
293
memmove(to, &pkt_len, sizeof(uint16_t));
usr.sbin/unbound/util/data/msgreply.c
294
to += 2;
usr.sbin/unbound/util/data/msgreply.c
310
dname_pkt_copy(pkt, to,
usr.sbin/unbound/util/data/msgreply.c
312
to += pkt_dname_len(pkt);
usr.sbin/unbound/util/data/msgreply.c
326
memmove(to, sldns_buffer_current(pkt), len);
usr.sbin/unbound/util/data/msgreply.c
327
to += len;
usr.sbin/unbound/util/data/msgreply.c
336
memmove(to, sldns_buffer_current(pkt), pkt_len);
usr.sbin/unbound/util/net_help.c
820
int i, to;
usr.sbin/unbound/util/net_help.c
826
to = 16;
usr.sbin/unbound/util/net_help.c
830
to = 4;
usr.sbin/unbound/util/net_help.c
833
for(i=0; i<to; i++) {
usr.sbin/user/user.c
1318
FILE *to;
usr.sbin/user/user.c
1341
if ((to = fdopen(fd, "w")) == NULL) {
usr.sbin/user/user.c
1384
if (fwrite(buf, strlen(buf), 1, to) != 1) {
usr.sbin/user/user.c
1388
fclose(to);
usr.sbin/user/user.c
1393
(void) fchmod(fileno(to), st.st_mode & 0777);
usr.sbin/user/user.c
1395
if (fclose(to) == EOF) {
usr.sbin/user/user.c
402
FILE *to;
usr.sbin/user/user.c
428
if ((to = fdopen(fd, "w")) == NULL) {
usr.sbin/user/user.c
438
ret = fprintf(to, "%s:*:%u:%s\n", group, gid, name);
usr.sbin/user/user.c
442
fprintf(to, "%*.*s", (int)len, (int)len, buf) != len) {
usr.sbin/user/user.c
445
fclose(to);
usr.sbin/user/user.c
452
ret = fprintf(to, "%s:*:%u:%s\n", group, gid, name);
usr.sbin/user/user.c
454
if (fclose(to) == EOF || ret == -1) {
usr.sbin/user/user.c
476
FILE *to;
usr.sbin/user/user.c
500
if ((to = fdopen(fd, "w")) == NULL) {
usr.sbin/user/user.c
537
fclose(to);
usr.sbin/user/user.c
544
if (fwrite(buf, cc, 1, to) != 1) {
usr.sbin/user/user.c
547
fclose(to);
usr.sbin/user/user.c
553
if (fclose(to) == EOF) {
usr.sbin/user/user.c
580
FILE *to;
usr.sbin/user/user.c
625
if ((to = fdopen(fd, "w")) == NULL) {
usr.sbin/user/user.c
671
if (fwrite(buf, cc, 1, to) != 1) {
usr.sbin/user/user.c
674
fclose(to);
usr.sbin/user/user.c
680
if (fclose(to) == EOF) {
usr.sbin/user/user.c
762
uid_t to;
usr.sbin/user/user.c
773
if (up->u_rv && sscanf(cp, "%u..%u", &from, &to) == 2) {
usr.sbin/user/user.c
775
if (up->u_rv[i].r_from == from && up->u_rv[i].r_to == to) {
usr.sbin/user/user.c
781
up->u_rv[up->u_rc].r_to = to;
usr.sbin/vipw/vipw.c
105
copyfile(int from, int to, struct stat *sb)
usr.sbin/vipw/vipw.c
115
if ((nw = write(to, buf + off, nr)) == -1)
usr.sbin/vipw/vipw.c
122
(void)futimens(to, ts);
usr.sbin/vmd/x86_vm.c
757
char *to;
usr.sbin/vmd/x86_vm.c
775
to = (char *)vmr->vmr_va + off;
usr.sbin/vmd/x86_vm.c
777
memset(to, 0, n);
usr.sbin/vmd/x86_vm.c
779
memcpy(to, from, n);
usr.sbin/vmd/x86_vm.c
808
char *from, *to = buf;
usr.sbin/vmd/x86_vm.c
827
memcpy(to, from, n);
usr.sbin/vmd/x86_vm.c
829
to += n;
usr.sbin/zdump/zdump.c
214
int from, to;
usr.sbin/zdump/zdump.c
224
to = 0;
usr.sbin/zdump/zdump.c
225
strlcpy(fakeenv[to++], "TZ=", longest + 4);
usr.sbin/zdump/zdump.c
228
fakeenv[to++] = environ[from];
usr.sbin/zdump/zdump.c
229
fakeenv[to] = NULL;