Home
last modified time | relevance | path

Searched refs:Now (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/openbsd/games/trek/
H A Devents.c68 Now.time = Now.resource / Now.klings; in events()
76 idate = Now.date; in events()
109 Now.resource -= Now.klings * rtime; in events()
111 Now.time = Now.resource / Now.klings; in events()
114 Now.date = xdate; in events()
117 if (Now.time <= 0.0) in events()
180 if (Now.bases <= 0) in events()
212 if (i >= Now.bases) in events()
366 Now.klings++; in events()
381 Now.time = Now.resource / Now.klings; in events()
[all …]
H A Dkill.c61 Now.klings -= 1; in killk()
80 if (Now.klings <= 0) in killk()
84 Now.time = Now.resource / Now.klings; in killk()
113 Now.bases -= 1; in killb()
114 for (b = Now.base; ; b++) in killb()
117 *b = Now.base[Now.bases]; in killb()
H A Dsetup.c99 Param.bases = Now.bases = ranf(6 - Game.skill) + 2; in setup()
101 Param.bases = Now.bases = 1; in setup()
102 Param.time = Now.time = 6.0 * Game.length + 2.0; in setup()
107 Param.klings = Now.klings = i * j * 5; in setup()
109 Param.klings = Now.klings = 127; in setup()
115 Param.resource = Now.resource = Param.klings * Param.time; in setup()
126 Param.date = Now.date = (ranf(20) + 20) * 100; in setup()
253 Now.base[i].x = ix; in setup()
254 Now.base[i].y = iy; in setup()
287 printf(" at %d,%d", Now.base[0].x, Now.base[0].y); in setup()
[all …]
H A Dhelp.c82 if (Now.bases <= 0) in help()
96 for (i = 0; i < Now.bases; i++) in help()
99 dx = Now.base[i].x - Ship.quadx; in help()
100 dy = Now.base[i].y - Ship.quady; in help()
113 Ship.quadx = Now.base[l].x; in help()
114 Ship.quady = Now.base[l].y; in help()
H A Dwarp.c104 percent = 100 * time / Now.time + 0.5; in warp()
153 Now.date += time; in warp()
155 Now.date); in warp()
166 time = Now.date; in warp()
172 memcpy(p, &Now, sizeof Now); in warp()
174 Now.date); in warp()
H A Drest.c62 percent = 100 * t / Now.time + 0.5; in rest()
73 t = Now.eventptr[E_LRTB]->date - Now.date; in rest()
H A Dschedule.c56 date = Now.date + offset; in schedule()
73 Now.eventptr[type & E_EVENT] = e; in schedule()
95 date = Now.date + offset; in reschedule()
124 Now.eventptr[e->evcode & E_EVENT] = 0; in unschedule()
H A Dabandon.c95 if (Now.bases == 0 || Game.captives < 20 * Game.skill) in abandon()
134 i = ranf(Now.bases); in abandon()
135 Ship.quadx = Now.base[i].x; in abandon()
136 Ship.quady = Now.base[i].y; in abandon()
H A Dmove.c104 evtime = Now.eventptr[E_LRTB]->date - Now.date; in move()
108 Now.eventptr[E_LRTB], Now.eventptr[E_LRTB]->evcode, in move()
109 Now.eventptr[E_LRTB]->date, evtime); in move()
H A Dscore.c53 r = Now.date - Param.date; in score()
60 r = Now.klings; in score()
64 printf("Penalty for %d klingons remaining\t%6d\n", Now.klings, t); in score()
H A Dsrscan.c111 printf("stardate %.2f", Now.date); in srscan()
140 printf("Klingons left %d", Now.klings); in srscan()
143 printf("time left %.2f", Now.time); in srscan()
H A Dmain.c49 struct Now Now; variable
H A Ddumpme.c78 reschedule(e, (e->date - Now.date) + x); in dumpme()
82 Ship.quadx, Ship.quady, Now.date); in dumpme()
H A Dtrek.h295 extern struct Now struct
305 } Now; argument
314 char snapshot[sizeof Quad + sizeof Event + sizeof Now]; /* snapshot for time warp */
H A Ddock.c113 reschedule(e, (e->date - Now.date) * Param.dockfac); in dock()
145 reschedule(e, (e->date - Now.date) / Param.dockfac); in undock()
H A Dsnova.c134 Now.klings -= dx; in snova()
149 if (Now.klings <= 0) in snova()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSampleProfileInference.cpp217 uint64_t Now = Target; in computeAugmentingPathCapacity() local
218 while (Now != Source) { in computeAugmentingPathCapacity()
226 Now = Pred; in computeAugmentingPathCapacity()
295 uint64_t Now = Target; in augmentFlowAlongPath() local
296 while (Now != Source) { in augmentFlowAlongPath()
304 Now = Pred; in augmentFlowAlongPath()
732 uint64_t Now = Target; in findShortestPath() local
733 while (Now != Source) { in findShortestPath()
734 assert(Now == Parent[Now]->Target && "incorrect parent jump"); in findShortestPath()
735 Result.push_back(Parent[Now]); in findShortestPath()
[all …]
/openbsd/regress/usr.bin/mandoc/roff/ds/
H A Descname.out_ascii7 Now \*[std\esc] is `stdval'.
9 Now \*[esc] is `'.
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Drss_limit_checker.h40 u64 Now = getMonotonicTime(); in getRssLimitExceeded() local
42 if (UNLIKELY(Now >= NextCheck)) in getRssLimitExceeded()
/openbsd/gnu/llvm/llvm/tools/llvm-cvtres/
H A Dllvm-cvtres.cpp97 std::time_t Now = time(nullptr); in getTime() local
98 if (Now < 0 || !isUInt<32>(Now)) in getTime()
100 return static_cast<uint32_t>(Now); in getTime()
/openbsd/distrib/notes/octeon/
H A Dprep7 "cu -l cuaU0 -s 115200" (assuming cuaU0 is your serial port device). Now apply
48 Now load the ramdisk kernel using either of the following commands depending
74 Now set the IP address of your TFTP server:
92 Now the kernel can be booted from the default memory location, with no
/openbsd/gnu/usr.bin/perl/cpan/Time-Piece/t/
H A D04mjd.t20 # Now loop over each MJD
27 # Now localtime should give the same answer for MJD
/openbsd/gnu/usr.bin/perl/dist/I18N-LangTags/
H A DChangeLog50 downcased. Now they're /always/ downcased, and are /always/ fed
55 the damned thing. Now it's sane, and checks both scalar and
139 * Now bundling I18N::LangTags::List, a reference for lang tags,
159 * Now bundling fulltext of RFC 3066 in the dist.
161 * Now bundling generate_language_table.plx and language_codes.txt
/openbsd/gnu/usr.bin/perl/cpan/podlators/t/data/
H A Dbasic.txt12 Now try again with intermixed text.
37 Now try it using the new "|" stuff ...
109 Now some additional weirdness of our own. Make sure that multiple tags
131 Now try the same thing nested, and make sure that the indentation is
147 Now also check the transformation of * into real bullets for man pages.
168 Now for the grand finale of "$self->method()->{FIELDNAME} = {FOO=>BAR}".
179 Now, if I use << or >> as my delimiters, then I have to use whitespace.
/openbsd/usr.bin/vi/docs/tutorial/
H A Dvi.beginner78 Now locate the return key on your keyboard: it is usually marked 'RETURN',
82 Now type {^F}.
125 screen. (Now {^F}.)
191 Now do {ma}, marking your position at the top of the screen. Now hit {^M} (or
193 * <- here, over/under the asterisk. Now
218 Now type {^M} until the cursor is on the last line of this screen. Now do one
224 Now type {'cz^M} to reset the screen and type {^F} for the next section.
377 Now type {/Here 3$/^M}. You might expect the cursor to end up
528 Now carefully type the following string and observe the effects:
587 Now {xxx} will delete the three characters, as will {3x}.
[all …]

12345678910>>...25