/openbsd/games/trek/ |
H A D | events.c | 68 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 D | kill.c | 61 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 D | setup.c | 99 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 D | help.c | 82 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 D | warp.c | 104 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 D | rest.c | 62 percent = 100 * t / Now.time + 0.5; in rest() 73 t = Now.eventptr[E_LRTB]->date - Now.date; in rest()
|
H A D | schedule.c | 56 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 D | abandon.c | 95 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 D | move.c | 104 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 D | score.c | 53 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 D | srscan.c | 111 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 D | main.c | 49 struct Now Now; variable
|
H A D | dumpme.c | 78 reschedule(e, (e->date - Now.date) + x); in dumpme() 82 Ship.quadx, Ship.quady, Now.date); in dumpme()
|
H A D | trek.h | 295 extern struct Now struct 305 } Now; argument 314 char snapshot[sizeof Quad + sizeof Event + sizeof Now]; /* snapshot for time warp */
|
H A D | dock.c | 113 reschedule(e, (e->date - Now.date) * Param.dockfac); in dock() 145 reschedule(e, (e->date - Now.date) / Param.dockfac); in undock()
|
H A D | snova.c | 134 Now.klings -= dx; in snova() 149 if (Now.klings <= 0) in snova()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SampleProfileInference.cpp | 217 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 D | escname.out_ascii | 7 Now \*[std\esc] is `stdval'. 9 Now \*[esc] is `'.
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | rss_limit_checker.h | 40 u64 Now = getMonotonicTime(); in getRssLimitExceeded() local 42 if (UNLIKELY(Now >= NextCheck)) in getRssLimitExceeded()
|
/openbsd/gnu/llvm/llvm/tools/llvm-cvtres/ |
H A D | llvm-cvtres.cpp | 97 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 D | prep | 7 "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 D | 04mjd.t | 20 # 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 D | ChangeLog | 50 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 D | basic.txt | 12 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/gnu/usr.bin/perl/cpan/Pod-Simple/t/ |
H A D | render.t | 71 print "#\n#Now comparing 1 and 2...\n"; 73 print "#\n#Now comparing 2 and 3...\n"; 75 print "#\n#Now comparing 1 and 3...\n";
|