| /dragonfly/games/hack/ |
| HD | hack.lev.c | 76 static void savegoldchn(int, struct gold *); 178 savegoldchn(int fd, struct gold *gold) in savegoldchn() argument 180 struct gold *gold2; in savegoldchn() 181 while (gold) { in savegoldchn() 182 gold2 = gold->ngold; in savegoldchn() 183 bwrite(fd, gold, sizeof(struct gold)); in savegoldchn() 184 free(gold); in savegoldchn() 185 gold = gold2; in savegoldchn() 187 bwrite(fd, nul, sizeof(struct gold)); in savegoldchn() 206 struct gold *gold; in getlev() local [all …]
|
| HD | hack.mkobj.c | 203 struct gold *gold; in mkgold() local 206 if ((gold = g_at(x, y)) != NULL) in mkgold() 207 gold->amount += amount; in mkgold() 209 gold = newgold(); in mkgold() 210 gold->ngold = fgold; in mkgold() 211 gold->gx = x; in mkgold() 212 gold->gy = y; in mkgold() 213 gold->amount = amount; in mkgold() 214 fgold = gold; in mkgold()
|
| HD | def.gold.h | 66 struct gold { struct 67 struct gold *ngold; argument 72 #define newgold() ((struct gold *) alloc(sizeof(struct gold))) argument 73 extern struct gold *fgold;
|
| HD | hack.invent.c | 220 freegold(struct gold *gold) in freegold() argument 222 struct gold *gtmp; in freegold() 224 if (gold == fgold) in freegold() 225 fgold = gold->ngold; in freegold() 228 while (gtmp->ngold != gold) { in freegold() 233 gtmp->ngold = gold->ngold; in freegold() 235 free(gold); in freegold() 345 struct gold * 348 struct gold *gold = fgold; in g_at() local 349 while (gold) { in g_at() [all …]
|
| HD | hack.steal.c | 83 struct gold *gold = g_at(u.ux, u.uy); in stealgold() local 85 if (gold && (!u.ugold || gold->amount > u.ugold || !rn2(5))) { in stealgold() 86 mtmp->mgold += gold->amount; in stealgold() 87 freegold(gold); in stealgold()
|
| HD | hack.mon.c | 428 struct gold *gold; in m_move() local 429 for (gold = fgold; gold; gold = gold->ngold) in m_move() 430 if ((dd = DIST(omx, omy, gold->gx, gold->gy)) < mind) { in m_move() 432 gx = gold->gx; in m_move() 433 gy = gold->gy; in m_move() 544 struct gold *gold; in mpickgold() local 545 while ((gold = g_at(mtmp->mx, mtmp->my)) != NULL) { in mpickgold() 546 mtmp->mgold += gold->amount; in mpickgold() 547 freegold(gold); in mpickgold()
|
| HD | hack.c | 412 struct gold *gold; in pickup() local 418 while ((gold = g_at(u.ux, u.uy)) != NULL) { in pickup() 419 pline("%ld gold piece%s.", gold->amount, plur(gold->amount)); in pickup() 420 u.ugold += gold->amount; in pickup() 422 freegold(gold); in pickup()
|
| /dragonfly/contrib/binutils-2.34/gold/ |
| HD | dirsearch.cc | 73 gold::gold_error(_("%s: can not read directory: %s"), in read_files() 83 gold::gold_warning("%s: closedir failed: %s", this->dirname_, in read_files() 121 gold::Lock lock_; 137 gold::Hold_lock hl(this->lock_); in add() 147 gold::Hold_lock hl(this->lock_); in add() 170 class Dir_cache_task : public gold::Task 173 Dir_cache_task(const char* dir, gold::Task_token& token) in Dir_cache_task() 177 gold::Task_token* 181 locks(gold::Task_locker*); 184 run(gold::Workqueue*); [all …]
|
| HD | options.cc | 43 namespace gold namespace 158 printf(_("Usage: %s [options] file...\nOptions:\n"), gold::program_name); in help() 166 printf(_("%s: supported targets:"), gold::program_name); in help() 168 gold::supported_target_names(&supported_names); in help() 175 printf(_("%s: supported emulations:"), gold::program_name); in help() 177 gold::supported_emulation_names(&supported_names); in help() 314 gold::print_version(print_short); in parse_version() 323 gold::print_version(true); in parse_V() 328 gold::supported_target_names(&supported_names); in parse_V() 336 gold::supported_emulation_names(&supported_names); in parse_V() [all …]
|
| HD | defstd.cc | 35 using namespace gold; 275 namespace gold namespace
|
| /dragonfly/contrib/binutils-2.27/gold/ |
| HD | dirsearch.cc | 73 gold::gold_error(_("%s: can not read directory: %s"), in read_files() 83 gold::gold_warning("%s: closedir failed: %s", this->dirname_, in read_files() 121 gold::Lock lock_; 137 gold::Hold_lock hl(this->lock_); in add() 147 gold::Hold_lock hl(this->lock_); in add() 170 class Dir_cache_task : public gold::Task 173 Dir_cache_task(const char* dir, gold::Task_token& token) in Dir_cache_task() 177 gold::Task_token* 181 locks(gold::Task_locker*); 184 run(gold::Workqueue*); [all …]
|
| HD | options.cc | 43 namespace gold namespace 156 printf(_("Usage: %s [options] file...\nOptions:\n"), gold::program_name); in help() 164 printf(_("%s: supported targets:"), gold::program_name); in help() 166 gold::supported_target_names(&supported_names); in help() 173 printf(_("%s: supported emulations:"), gold::program_name); in help() 175 gold::supported_emulation_names(&supported_names); in help() 312 gold::print_version(print_short); in parse_version() 321 gold::print_version(true); in parse_V() 326 gold::supported_target_names(&supported_names); in parse_V() 334 gold::supported_emulation_names(&supported_names); in parse_V() [all …]
|
| HD | README | 1 gold is an ELF linker. It is intended to have complete support for 5 gold is part of the GNU binutils. See ../binutils/README for more 8 gold was originally developed at Google, and was contributed to the 14 documentation for features which gold supports. gold supports most of 17 gold--are: 27 source code of gold itself. 29 gold is written in C++. It is a GNU program, and therefore follows 55 The gold source code uses templates heavily. Building it requires a 61 to fail. If you are building gold from an official binutils release,
|
| HD | dwp.h | 37 namespace gold 96 (gold::do_gold_unreachable(__FILE__, __LINE__, \
|
| HD | defstd.cc | 35 using namespace gold; 275 namespace gold namespace
|
| /dragonfly/games/rogue/ |
| HD | score.c | 70 rogue.gold = ((rogue.gold * 9) / 10); in killed_by() 101 sprintf(buf+strlen(buf), "%ld gold", rogue.gold); in killed_by() 237 if (rogue.gold < s) { in put_scores() 264 if (rogue.gold >= s) { in put_scores() 340 sprintf(buf, "%2d %6ld %s: ", rank+1, rogue.gold, login_name); in insert_score() 410 rogue.gold += val; in sell_pack() 421 if (rogue.gold > MAX_GOLD) { in sell_pack() 422 rogue.gold = MAX_GOLD; in sell_pack()
|
| HD | message.c | 240 if (rogue.gold > MAX_GOLD) { in print_stats() 241 rogue.gold = MAX_GOLD; in print_stats() 243 sprintf(buf, "%ld", rogue.gold); in print_stats()
|
| HD | spec_hit.c | 152 if ((rogue.gold <= 0) || rand_percent(10)) { in steal_gold() 158 if (amount > rogue.gold) { in steal_gold() 159 amount = rogue.gold; in steal_gold() 161 rogue.gold -= amount; in steal_gold()
|
| /dragonfly/gnu/usr.bin/binutils227/block2/libgold/ |
| HD | Makefile | 4 LIB= gold 26 gold.cc \ 27 gold-threads.cc \
|
| /dragonfly/gnu/usr.bin/binutils234/block2/libgold/ |
| HD | Makefile | 4 LIB= gold 26 gold.cc \ 27 gold-threads.cc \
|
| /dragonfly/gnu/usr.bin/binutils234/block3/ |
| HD | Makefile.gld | 16 .PATH: ${SRCDIR}/gold 25 CFLAGS+= -I. -I${.CURDIR} -I${SRCDIR}/gold
|
| /dragonfly/gnu/usr.bin/binutils227/block3/ |
| HD | Makefile.gld | 16 .PATH: ${SRCDIR}/gold 25 CFLAGS+= -I. -I${.CURDIR} -I${SRCDIR}/gold
|
| /dragonfly/contrib/binutils-2.34/ |
| HD | README.DELETED | 789 gold/ChangeLog 790 gold/ChangeLog-0815 791 gold/ChangeLog-2016 792 gold/ChangeLog-2017 793 gold/ChangeLog-2018 794 gold/ChangeLog-2019 795 gold/Makefile.am 796 gold/Makefile.in 797 gold/NEWS 798 gold/README [all …]
|
| HD | README.DRAGONFLY | 19 gold/x86_64.cc (linker path) 26 --enable-gold=default --enable-plugins \
|
| /dragonfly/contrib/binutils-2.27/ |
| HD | README.DRAGONFLY | 19 gold/x86_64.cc (linker path) 27 --enable-gold=default --enable-bfd --enable-plugins \
|