/src/usr.bin/make/unit-tests/ |
varfind.mk | 5 all: VarFind-aliases.to 7 .SUFFIXES: .from .to 12 VarFind-aliases.to: explicit-dependency 17 .from.to:
|
suff.mk | 23 step1: .PHONY edge-case.to everything 27 .SUFFIXES: .from .to 29 .from.to: 34 edge-case.to: ${.PREFIX}${.ARCHIVE}.additional
|
use-inference.mk | 8 .SUFFIXES: .from .to 10 all: use-inference.to 15 .from.to: verbose 26 # The main target is "all", which depends on "use-inference.to". 27 # The inference connects the .from to the .to file, otherwise make 28 # would not know that the .from file would need to be built. 32 # After this, make stops since it doesn't know how to make the .to file. 33 # This is strange since make definitely knows about the .from.to suffi [all...] |
opt-query.mk | 11 # main Delegates to the actual tests. 15 # variants Ensures that the up-to-date status is correctly 24 _!= touch -f opt-query-file.up-to-date 37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony 50 # expect: opt-query-file.up-to-date in compat mode: query status 0 53 # expect: opt-query-file.up-to-date in jobs mode: query status 0 57 @rm -f opt-query-file.up-to-date 74 # The exit status 1 is because the "commands" target has to be made, that is, 75 # it is not up-to-date. 80 opt-query-file.up-to-date: ${MAKEFILE [all...] |
/src/games/warp/ |
play.c | 37 OBJECT *to; local in function:play 45 sleep(1); /* allow buffers to empty */ 156 to = occupant[(curobj->posy+curobj->vely+YSIZE00)%YSIZE] 158 if (to && !to->vely && !to->velx) {
|
/src/sys/compat/common/ |
if_spppsubr50.c | 10 * Heavily revamped to conform to RFC 1661. 25 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 29 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 111 struct spppidletimeout50 *to = (struct spppidletimeout50 *)data; local in function:sppp_compat50_params 114 to->idle_seconds = (uint32_t)sp->pp_idle_timeout; 120 struct spppidletimeout50 *to = (struct spppidletimeout50 *)data; local in function:sppp_compat50_params 123 sp->pp_idle_timeout = (time_t)to->idle_seconds;
|
/src/sys/stand/ |
copy.c | 16 * may be used to endorse or promote products derived from this software 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 49 * Copy from from to to. Intended for use in system installation. 54 register int from, to, record, rcc, wcc, bsize = BSIZE; local in function:main 58 to = getfile("To", 1); 81 if ((wcc = write(to, buf, rcc)) < 0) {
|
/src/tests/lib/libpthread/ |
t_rwlock.c | 18 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 43 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 47 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 71 struct timespec to; variable in typeref:struct:timespec 100 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, 102 to.tv_sec++; 103 error = pthread_rwlock_timedwrlock(&lk, &to); 109 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, 111 to.tv_sec++ [all...] |
t_condwait.c | 18 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 53 struct timespec ts, to, te; local in function:run 69 to = ts; 72 printf("started: %lld.%09ld sec\n", (long long)to.tv_sec, 73 to.tv_nsec); 84 timespecsub(&te, &to, &to); 86 (long long)to.tv_sec, to.tv_nsec) [all...] |
/src/lib/libc/db/recno/ |
rec_delete.c | 7 * This code is derived from software contributed to Berkeley by 19 * may be used to endorse or promote products derived from this software 23 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 59 * dbp: pointer to access method 60 * key: key to delete 114 * nrec: record to delete 146 * index: index on current page to delete 158 void *to; local in function:__rec_dleaf 164 * them to be added being deleted. Pages made empty by deletion ar [all...] |
/src/sys/arch/pmax/ibus/ |
if_le_ibus.c | 7 * Permission to use, copy, modify, and distribute this 133 uint8_t *to = tov; local in function:le_dec_copyfrombuf_gap2 140 *to++ = (*bptr >> 8) & 0xff; 147 *to++ = tmp & 0xff; 148 *to++ = (tmp >> 8) & 0xff; 153 *to = *bptr & 0xff;
|
/src/tests/kernel/kqueue/write/ |
t_fifo.c | 7 * This code is derived from software contributed to The NetBSD Foundation 21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 75 const struct timespec to = { 0, 0 }; local in function:ATF_TC_BODY 98 /* We expect the FIFO to be writable. */ 99 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, &to) == 1); 105 * defined as insufficient buffer space to hold the 113 /* We expect the FIFO to no longer be writable. */ 114 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, &to) == 0); 124 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, &to) == 0) [all...] |
/src/tests/kernel/kqueue/read/ |
t_fifo.c | 7 * This code is derived from software contributed to The NetBSD Foundation 21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 75 const struct timespec to = { 0, 0 }; local in function:ATF_TC_BODY 98 /* We expect the FIFO to not be readable. */ 99 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, &to) == 0); 104 /* We expect the FIFO to be readable. */ 105 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, &to) == 1); 113 /* We expect the FIFO to not be readable. */ 114 ATF_REQUIRE(kevent(kq, NULL, 0, event, 1, &to) == 0); [all...] |
/src/sys/arch/i386/stand/lib/test/ |
stand_user.c | 17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 81 struct timeval to; local in function:delay 82 to.tv_sec = 0; 83 to.tv_usec = t; 84 select(0, 0, 0, 0, &to); 96 * some functions to get access to the hardware
|
/src/sys/rump/librump/rumpkern/ |
rumpcopy.c | 16 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 89 uint8_t *to; local in function:copyinstr 107 to = (uint8_t *)kaddr + (len-1); 108 while (to >= (uint8_t *)kaddr) { 109 if (*to == 0) 111 to--;
|
/src/usr.sbin/mailwrapper/ |
mailwrapper.c | 19 * 4. The name of the author may not be used to endorse or promote products 23 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 27 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 59 * is often difficult for people to know that the error 87 char *line, *cp, *from, *to, *ap; local in function:main 121 if ((to = strsep(&cp, WS)) == NULL) 141 execve(to, __UNCONST(al.argv), envp); 142 err(1, "mailwrapper: execing %s", to);
|
/src/usr.sbin/timed/timed/ |
correct.c | 16 * may be used to endorse or promote products derived from this software 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 49 * sends to the slaves the corrections for their clocks after fixing our 58 struct tsp to; local in function:correct 77 to.tsp_time.tv_sec = tmptv.tv_sec; 78 to.tsp_time.tv_usec = tmptv.tv_usec; 79 to.tsp_type = TSP_SETTIME; 81 tmptv.tv_sec = to.tsp_time.tv_sec ; 82 tmptv.tv_usec = to.tsp_time.tv_usec [all...] |
/src/games/sail/ |
pl_3.c | 16 * may be used to endorse or promote products derived from this software 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 213 Msg("Unable to fire %s broadside", r ? "right" : "left"); 228 switch (sgetch("Attempt to grapple or ungrapple $$: ", 260 struct ship *to; local in function:unfoulplayer 263 foreachship(to) { 264 if (fouled2(ms, to) == 0) 266 if (sgetch("Attempt to unfoul with the $$? ", to, 1) != 'y' [all...] |
/src/lib/libc/rpc/ |
clnt_generic.c | 17 * contributors may be used to endorse or promote products derived 22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 74 * vers_out is set to the highest server supported value 88 struct timeval to; local in function:__weak_alias 94 /* XXX: nettype appears to support being NULL */ 100 to.tv_sec = 10; 101 to.tv_usec = 0; 103 NULL, (xdrproc_t) xdr_void, NULL, to); 123 NULL, (xdrproc_t) xdr_void, NULL, to); [all...] |
/src/regress/sys/kern/select/ |
select.c | 17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 84 struct timeval to; local in function:f 114 memset(&to, 0, sizeof(to)); 115 to.tv_sec = random() % 10; 116 to.tv_usec = random() % 1000000; 118 printf("[%p] select start to=%lu\n", (void *)pthread_self(), 119 (unsigned long)to.tv_sec); 121 ret = select(maxfd + 1, &set, NULL, NULL, &to); [all...] |
/src/tests/fs/tmpfs/ |
h_tools.c | 18 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 31 * to the limitations of bsd.prog.mk to build a single program in a 152 struct timespec to; local in function:kqueue_main 154 to.tv_sec = 0; 155 to.tv_nsec = 100000; 157 (void)kevent(kq, changes, argc, &event, 1, &to); 167 nev = kevent(kq, changes, argc, &event, 1, &to);
|
/src/sys/netatalk/ |
ddp_input.c | 7 * Permission to use, copy, modify, and distribute this software and 12 * of Michigan not be used in advertising or publicity pertaining to 133 struct sockaddr_at from, to; local in function:ddp_input 159 to.sat_addr.s_net = ATADDR_ANYNET; 160 to.sat_addr.s_node = elh->el_dnode; 161 to.sat_port = ddps.dsh_dport; 170 to.sat_addr.s_node || 171 to.sat_addr.s_node == ATADDR_BCAST)) 197 to.sat_addr.s_net = ddpe.deh_dnet; 198 to.sat_addr.s_node = ddpe.deh_dnode [all...] |
/src/sys/arch/powerpc/ibm4xx/dev/ |
mal.c | 16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 70 int i, to; local in function:mal_attach 85 to = 0; 87 if (to > 5000) { 92 to++; 244 * Give the transmit and receive rings to the MAL.
|
/src/sys/arch/vax/vax/ |
subr.S | 17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 53 * jump back to the correct address. 105 pushl $to # Address to jump to 106 rei # change to kernel stack 107 to: movw $0xfff,_C_LABEL(panic) # Save all regs in panic label 142 # Copy the RPB to its new position 194 .word 0x9f16 # jsb to absolute addres [all...] |
/src/sys/arch/hp300/stand/mkboot/ |
mkboot.c | 16 * may be used to endorse or promote products derived from this software 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 115 int to, ch; local in function:main 152 if ((to = open(argv[0], O_WRONLY | O_TRUNC | O_CREAT, 0644)) == -1) 173 lseek(to, HP300_LIF_FILESTART, SEEK_SET); 174 count = putfile(name1, to); 188 lseek(to, HP300_LIF_FILESTART + hp300_lifstob(nsec), SEEK_SET); 189 count = putfile(name2, to); 204 lseek(to, HP300_LIF_FILESTART + hp300_lifstob(lifd[0].dir_lengt [all...] |