Home
last modified time | relevance | path

Searched refs:quantity (Results 1 – 25 of 150) sorted by relevance

123456

/netbsd-src/games/rogue/
H A Dthrow.c97 if ((weapon->in_use_flags & BEING_WIELDED) && (weapon->quantity <= 1)) { in throw()
146 t = weapon->quantity; in throw_at_monster()
147 weapon->quantity = 1; in throw_at_monster()
149 weapon->quantity = t; in throw_at_monster()
230 new_weapon->quantity = 1; in flop_weapon()
255 t = weapon->quantity; in flop_weapon()
256 weapon->quantity = 1; in flop_weapon()
259 weapon->quantity = t; in flop_weapon()
H A Dobject.c237 obj->quantity = get_rand((2 * cur_level), (16 * cur_level)); in plant_gold()
239 obj->quantity += obj->quantity / 2; in plant_gold()
305 retstring = obj->quantity > 1 ? "scrolls " : "scroll "; in name_of()
308 retstring = obj->quantity > 1 ? "potions " : "potion "; in name_of()
323 retstring=obj->quantity > 1 ? "darts " : "dart "; in name_of()
326 retstring=obj->quantity > 1 ? "arrows " : "arrow "; in name_of()
329 retstring=obj->quantity > 1 ? "daggers " : "dagger "; in name_of()
332 retstring=obj->quantity > 1?"shurikens ":"shuriken "; in name_of()
510 obj->quantity = get_rand(3, 15); in gr_weapon()
513 obj->quantity = 1; in gr_weapon()
[all …]
H A Dpack.c134 rogue.gold += obj->quantity; in pick_up()
197 if ((obj->quantity > 1) && (obj->what_is != WEAPON)) { in drop()
198 obj->quantity--; in drop()
201 new->quantity = 1; in drop()
237 op->quantity += obj->quantity; in check_duplicate()
479 count += obj->quantity; in pack_count()
H A Dinventory.c544 snprintf(desc, desclen, "%d pieces of gold", obj->quantity); in get_desc()
567 if (obj->quantity > 1) { in get_desc()
569 "%d rations of %s", obj->quantity, in get_desc()
579 desc_count(&db, obj->quantity); in get_desc()
592 desc_count(&db, obj->quantity); in get_desc()
604 desc_count(&db, obj->quantity); in get_desc()
619 desc_count(&db, obj->quantity); in get_desc()
646 desc_count(&db, obj->quantity); in get_desc()
H A Dspec_hit.c215 t = obj->quantity; in steal_item()
216 obj->quantity = 1; in steal_item()
221 obj->quantity = ((obj->what_is != WEAPON) ? t : 1); in steal_item()
258 obj->quantity = get_rand((cur_level * 15), (cur_level * 30)); in cough_up()
H A Duse.c221 ((rogue.weapon->quantity <= 1) ? "s" : ""), in read_scroll()
302 if (obj->quantity > 1) { in vanish()
303 obj->quantity--; in vanish()
H A Dscore.c571 val *= obj->quantity; in get_value()
587 val = id_scrolls[wc].value * obj->quantity; in get_value()
590 val = id_potions[wc].value * obj->quantity; in get_value()
H A Drogue.h206 #define hp_to_kill quantity
223 short quantity; /* hit points to kill */ member
H A Dinit.c189 obj->quantity = get_rand(25, 35); in player_init()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td223 // Truncate an immediate to a 8-bit signed quantity.
229 // Truncate an immediate to a 8-bit unsigned quantity.
235 // Truncate an immediate to a 8-bit unsigned quantity and mask off low bit.
241 // Truncate an immediate to a 12-bit unsigned quantity.
247 // Truncate an immediate to a 16-bit signed quantity.
253 // Negate and then truncate an immediate to a 16-bit signed quantity.
259 // Truncate an immediate to a 16-bit unsigned quantity.
265 // Truncate an immediate to a 32-bit signed quantity.
271 // Negate and then truncate an immediate to a 32-bit unsigned quantity.
277 // Truncate an immediate to a 32-bit unsigned quantity.
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpn/x86_64/fastsse/
H A Dcopyi-palignr.asm71 C There are three instructions for loading an aligned 128-bit quantity. We use
H A Dcom-palignr.asm70 C There are three instructions for loading an aligned 128-bit quantity. We use
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/
H A Dkey_correctness_proof.c56 void compute_random_numbers( bi_array_ptr result, int quantity, const bi_ptr element) { in compute_random_numbers() argument
59 for( i=0; i<quantity; i++) { in compute_random_numbers()
/netbsd-src/external/bsd/ntp/dist/
H A DNOTES.y2kfixes105 The entire protocol is binary, the year is a 16 bit quantity
/netbsd-src/external/public-domain/tz/dist/
H A Dleap-seconds.list80 # It is the quantity to add to UTC to get the time in TAI
/netbsd-src/external/lgpl3/gmp/dist/mpn/powerpc64/
H A DREADME49 operates on either on a 32-bit or 64-bit quantity according to the chip mode.
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Daclocal.m4404 dnl A signed 16-bit integer quantity
418 dnl An unsigned 16-bit integer quantity
432 dnl A signed 32-bit integer quantity
446 dnl An unsigned 32-bit integer quantity
473 dnl A signed 64-bit quantity
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsyslog.hin69 * priorities/facilities are encoded into a single 32-bit quantity, where the
/netbsd-src/external/gpl3/gdb/dist/cpu/
H A Dmt.opc90 and 1 if the value is out of bounds for a signed quantity. */
/netbsd-src/external/gpl3/binutils.old/dist/cpu/
H A Dmt.opc90 and 1 if the value is out of bounds for a signed quantity. */
/netbsd-src/external/gpl3/binutils/dist/cpu/
H A Dmt.opc90 and 1 if the value is out of bounds for a signed quantity. */
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DBIO_s_datagram.pod140 Returns a quantity in bytes which is a rough estimate of the number of bytes of
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/
H A Darm1136jfs.md222 ;; The same idea, then the 32-bit result is added to a 64-bit quantity.
/netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/
H A Darm1136jfs.md222 ;; The same idea, then the 32-bit result is added to a 64-bit quantity.
/netbsd-src/external/gpl3/binutils.old/dist/zlib/doc/
H A Drfc1950.txt520 unsigned quantity, as here, right shift inserts zero bit(s)

123456