Home
last modified time | relevance | path

Searched refs:specs (Results 1 – 25 of 223) sorted by relevance

123456789

/netbsd/src/games/sail/
Dglobals.c45 static struct shipspecs specs[]; variable
58 { "Ranger", specs+0, N_A, 7, 20, 4, 0 },
59 { "Drake", specs+1, N_B, 7, 31, 5, 0 }
64 { "Bonhomme Rich", specs+2, N_A, 13, 40, 2, 0 },
65 { "Serapis", specs+3, N_B, 2, 42, 2, 0 }
70 { "America", specs+4, N_B, 7, 37, 4, 0 },
71 { "Befford", specs+5, N_B, 5, 35, 4, 0 },
72 { "Adamant", specs+6, N_B, 3, 33, 4, 0 },
73 { "London", specs+7, N_B, 1, 31, 4, 0 },
74 { "Royal Oak", specs+8, N_B, -1, 29, 4, 0 },
[all …]
Dgame.c50 turns = ship->specs->ta; in maxturns()
65 Move = ship->specs->bs; in maxmove()
66 if (!ship->specs->rig1) in maxmove()
68 if (!ship->specs->rig2) in maxmove()
70 if (!ship->specs->rig3) in maxmove()
72 if (!ship->specs->rig4) in maxmove()
76 Move = ship->specs->fs; in maxmove()
79 Move -= 1 + WET[windspeed][ship->specs->class-1].B; in maxmove()
82 Move -= 1 + WET[windspeed][ship->specs->class-1].C; in maxmove()
85 Move = (flank ? 2 : 1) - WET[windspeed][ship->specs->class-1].D; in maxmove()
[all …]
Ddr_1.c88 crew[0] = sp->specs->crew1 != 0; in boardcomp()
89 crew[1] = sp->specs->crew2 != 0; in boardcomp()
90 crew[2] = sp->specs->crew3 != 0; in boardcomp()
99 switch (sp->specs->class - sq->specs->class) { in boardcomp()
158 menfrom = from->specs->crew1 in fightitout()
159 + from->specs->crew2 in fightitout()
160 + from->specs->crew3; in fightitout()
167 fromstrength = menfrom * fromcap->specs->qual; in fightitout()
168 strengthto = mento * tocap->specs->qual; in fightitout()
185 fromstrength = menfrom * fromcap->specs->qual; in fightitout()
[all …]
Dassorted.c61 hull = on->specs->hull; in table()
62 crew[0] = on->specs->crew1; in table()
63 crew[1] = on->specs->crew2; in table()
64 crew[2] = on->specs->crew3; in table()
65 rigg[0] = on->specs->rig1; in table()
66 rigg[1] = on->specs->rig2; in table()
67 rigg[2] = on->specs->rig3; in table()
68 rigg[3] = on->specs->rig4; in table()
115 guns = on->specs->gunR; in table()
116 car = on->specs->carR; in table()
[all …]
Ddr_3.c72 && sp->specs->crew3) { in moveall()
218 sb = to->specs->guns; in push()
219 bs = from->specs->guns; in push()
256 ((sp->specs->class >= 3 && !snagged(sp)) in step()
298 qual = ship->specs->qual; in is_toughmelee()
303 ? ship->specs->crew1 * qual : 0; in is_toughmelee()
305 ? ship->specs->crew2 * qual : 0; in is_toughmelee()
307 ? ship->specs->crew3 * qual : 0; in is_toughmelee()
341 rig = sp->specs->rig1; in checksails()
342 if (windspeed == 6 || (windspeed == 5 && sp->specs->class > 4)) in checksails()
[all …]
Ddr_2.c48 #define couldwin(f,t) (f->specs->crew2 > t->specs->crew2 * 1.5)
123 sp->specs->guns/13, 6); in checkup()
141 if (sp->specs->crew1 + sp->specs->crew2 + sp->specs->crew3 > in prizecheck()
146 - 2 * sp->specs->pts); in prizecheck()
238 if ((ship->specs->class >= 3 && !snagged(ship)) in move_ship()
Ddr_5.c79 crew[0] = from->specs->crew1; in mensent()
80 crew[1] = from->specs->crew2; in mensent()
81 crew[2] = from->specs->crew3; in mensent()
Dsync.c730 ship->specs->class = a; in recv_class()
736 struct shipspecs *s = ship->specs; in recv_crew()
781 struct shipspecs *s = ship->specs; in recv_gunl()
790 struct shipspecs *s = ship->specs; in recv_gunr()
799 ship->specs->hull = a; in recv_hull()
849 ship->specs->qual = a; in recv_qual()
871 struct shipspecs *s = ship->specs; in recv_rigg()
924 ship->specs->ta = a; in recv_ta()
967 ship->specs->rig1 = a; in recv_rig1()
973 ship->specs->rig2 = a; in recv_rig2()
[all …]
Dlo_main.c113 (float) log.l_netpoints / ship->specs->pts); in lo_curses()
154 (float) log.l_netpoints / ship->specs->pts); in lo_main()
Dpl_7.c917 sp->specs->pts, in displayshiplist()
1106 mc = ms->specs; in startgame()
1197 ship->specs->guns, in drawpicker()
1198 shortclassname[ship->specs->class], in drawpicker()
1199 qualname[ship->specs->qual], in drawpicker()
1200 ship->specs->pts); in drawpicker()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/avr/
Dt-avr89 gen-avr-mmcu-specs$(build_exeext): $(srcdir)/config/avr/gen-avr-mmcu-specs.cc \
97 s-device-specs: gen-avr-mmcu-specs$(build_exeext)
98 rm -rf device-specs
99 mkdir device-specs && cd device-specs && $(RUN_GEN) ../$<
100 $(STAMP) s-device-specs
102 GCC_PASSES+=s-device-specs
104 install-driver: install-device-specs
106 install-device-specs: s-device-specs installdirs
107 -rm -rf $(DESTDIR)$(libsubdir)/device-specs
108 mkdir $(DESTDIR)$(libsubdir)/device-specs
[all …]
Davr.opt132 Do not use the device-specific specs file device-specs/specs-<MCU>.
/netbsd/src/external/gpl3/binutils/dist/gas/config/
Dtc-ia64.c8193 struct rsrc specs[MAX_SPECS], in specify_resource()
8245 specs[count] = tmpl; in specify_resource()
8246 specs[count++].index = regno; in specify_resource()
8254 specs[count] = tmpl; in specify_resource()
8255 specs[count++].index = i; in specify_resource()
8271 specs[count++] = tmpl; in specify_resource()
8283 specs[count] = tmpl; in specify_resource()
8290 specs[count].index = (md.mem_offset.offset >> 3) & 0x3F; in specify_resource()
8291 specs[count].mem_offset.hint = 1; in specify_resource()
8292 specs[count].mem_offset.offset = md.mem_offset.offset; in specify_resource()
[all …]
/netbsd/src/sys/dev/pci/
Dif_vioif.c2314 struct vioif_ctrl_cmdspec *specs, int nspecs) in vioif_ctrl_load_cmdspec() argument
2322 specs[i].dmamap, specs[i].buf, specs[i].bufsize, in vioif_ctrl_load_cmdspec()
2336 bus_dmamap_unload(virtio_dmat(vsc), specs[i].dmamap); in vioif_ctrl_load_cmdspec()
2344 struct vioif_ctrl_cmdspec *specs, int nspecs) in vioif_ctrl_unload_cmdspec() argument
2350 bus_dmamap_unload(virtio_dmat(vsc), specs[i].dmamap); in vioif_ctrl_unload_cmdspec()
2356 struct vioif_ctrl_cmdspec *specs, int nspecs) in vioif_ctrl_send_command() argument
2369 bus_dmamap_sync(virtio_dmat(vsc), specs[i].dmamap, in vioif_ctrl_send_command()
2370 0, specs[i].bufsize, BUS_DMASYNC_PREWRITE); in vioif_ctrl_send_command()
2387 virtio_enqueue(vsc, vq, slot, specs[i].dmamap, true); in vioif_ctrl_send_command()
2402 bus_dmamap_sync(virtio_dmat(vsc), specs[i].dmamap, 0, in vioif_ctrl_send_command()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dcvexpr.exp502 set specs { {dwarf {debug}} }
504 lappend specs [list ctf $ctf_opts]
508 foreach testspec $specs {
Dwhatis.exp597 set specs { {dwarf {debug}} }
599 lappend specs [list ctf $ctf_opts]
603 foreach testspec $specs {
/netbsd/src/external/bsd/openldap/dist/libraries/libldap/
Durl.c1368 char **specs, *p; in ldap_url_parsehosts() local
1375 specs = ldap_str2charray(hosts, ", "); in ldap_url_parsehosts()
1376 if (specs == NULL) in ldap_url_parsehosts()
1380 for (i = 0; specs[i] != NULL; i++) /* EMPTY */; in ldap_url_parsehosts()
1386 ldap_charray_free(specs); in ldap_url_parsehosts()
1392 ludp->lud_host = specs[i]; in ldap_url_parsehosts()
1393 specs[i] = NULL; in ldap_url_parsehosts()
1402 specs[i] = ludp->lud_host; in ldap_url_parsehosts()
1407 ldap_charray_free(specs); in ldap_url_parsehosts()
1414 ldap_charray_free(specs); in ldap_url_parsehosts()
[all …]
/netbsd/src/external/mit/xorg/lib/libxcb/files/
Dres.c643 const xcb_res_client_id_spec_t *specs) in xcb_res_query_client_ids() argument
663 xcb_parts[4].iov_base = (char *) specs; in xcb_res_query_client_ids()
675 const xcb_res_client_id_spec_t *specs) in xcb_res_query_client_ids_unchecked() argument
695 xcb_parts[4].iov_base = (char *) specs; in xcb_res_query_client_ids_unchecked()
763 const xcb_res_resource_id_spec_t *specs) in xcb_res_query_resource_bytes() argument
784 xcb_parts[4].iov_base = (char *) specs; in xcb_res_query_resource_bytes()
797 const xcb_res_resource_id_spec_t *specs) in xcb_res_query_resource_bytes_unchecked() argument
818 xcb_parts[4].iov_base = (char *) specs; in xcb_res_query_resource_bytes_unchecked()
Dres.h753 const xcb_res_client_id_spec_t *specs);
769 const xcb_res_client_id_spec_t *specs);
811 const xcb_res_resource_id_spec_t *specs);
828 const xcb_res_resource_id_spec_t *specs);
/netbsd/src/external/bsd/openldap/dist/tests/progs/
Dldif-filter.c223 const char *backend = getenv( "BACKEND" ), *specs = "", *tmp; in main() local
237 specs = optarg; in main()
253 flags = get_flags( backend, specs ); in main()
/netbsd/src/sys/arch/ia64/ia64/
Dconsinit.c152 if (ent->specs.type == DIG64_PCDP_SPEC_PCI) { in pcdp_cninit()
153 struct dig64_pci_spec *spec = ent->specs.pci; in pcdp_cninit()
/netbsd/src/sys/arch/ia64/stand/ia64/efi/
Dmain.c577 printf(" Interconn = %u", pcdp->specs.type); in command_hcdp()
579 switch (pcdp->specs.type) { in command_hcdp()
583 &pcdp->specs.acpi; in command_hcdp()
598 struct dig64_pci_spec *pci = &pcdp->specs.pci; in command_hcdp()
/netbsd/src/crypto/external/bsd/openssl/dist/doc/
Dbuild.info.in39 # The build.info format requires file specs to be in Unix format.
40 # Especially, since VMS file specs use [ and ], the build.info parser
/netbsd/src/external/gpl3/gcc/dist/gcc/doc/
Dfragments.texi250 @code{DRIVER_SELF_SPECS} to bring options from the @file{specs} file
253 is installed, so you can instead tweak the @file{specs} file that will
255 original, built-in @file{specs}. The trick is to set @code{SPECS} to
256 some other filename (say @file{specs.install}), that will then be
257 created out of the built-in specs, and introduce a @file{Makefile}
258 rule to generate the @file{specs} file that's going to be used at
259 build time out of your @file{specs.install}.
/netbsd/src/external/gpl3/gcc/dist/gcc/config/sh/
Dsuperh.opt2 ;; actually processed by supplementary specs files.

123456789