/netbsd-src/games/sail/ |
H A D | globals.c | 45 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 …]
|
H A D | game.c | 50 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 …]
|
H A D | dr_1.c | 88 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 …]
|
H A D | assorted.c | 61 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 …]
|
H A D | dr_3.c | 72 && 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 …]
|
H A D | dr_2.c | 48 #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()
|
H A D | dr_5.c | 79 crew[0] = from->specs->crew1; in mensent() 80 crew[1] = from->specs->crew2; in mensent() 81 crew[2] = from->specs->crew3; in mensent()
|
H A D | sync.c | 730 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 …]
|
H A D | lo_main.c | 113 (float) log.l_netpoints / ship->specs->pts); in lo_curses() 154 (float) log.l_netpoints / ship->specs->pts); in lo_main()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/ |
H A D | c-decl.c | 4800 quals_from_declspecs (const struct c_declspecs *specs) in quals_from_declspecs() argument 4802 int quals = ((specs->const_p ? TYPE_QUAL_CONST : 0) in quals_from_declspecs() 4803 | (specs->volatile_p ? TYPE_QUAL_VOLATILE : 0) in quals_from_declspecs() 4804 | (specs->restrict_p ? TYPE_QUAL_RESTRICT : 0) in quals_from_declspecs() 4805 | (specs->atomic_p ? TYPE_QUAL_ATOMIC : 0) in quals_from_declspecs() 4806 | (ENCODE_QUAL_ADDR_SPACE (specs->address_space))); in quals_from_declspecs() 4807 gcc_assert (!specs->type in quals_from_declspecs() 4808 && !specs->decl_attr in quals_from_declspecs() 4809 && specs->typespec_word == cts_none in quals_from_declspecs() 4810 && specs->storage_class == csc_none in quals_from_declspecs() [all …]
|
H A D | c-parser.c | 1867 struct c_declspecs *specs; in c_parser_declaration_or_fndef() local 1881 specs = build_null_declspecs (); in c_parser_declaration_or_fndef() 1886 declspecs_add_attrs (here, specs, attrs); in c_parser_declaration_or_fndef() 1887 specs->non_std_attrs_seen_p = false; in c_parser_declaration_or_fndef() 1960 c_parser_declspecs (parser, specs, true, true, start_attr_ok, in c_parser_declaration_or_fndef() 1967 if (nested && !specs->declspecs_seen_p) in c_parser_declaration_or_fndef() 1974 finish_declspecs (specs); in c_parser_declaration_or_fndef() 1975 bool auto_type_p = specs->typespec_word == cts_auto_type; in c_parser_declaration_or_fndef() 1980 else if (specs->typespec_kind == ctsk_none in c_parser_declaration_or_fndef() 1981 && attribute_fallthrough_p (specs->attrs)) in c_parser_declaration_or_fndef() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/c/ |
H A D | c-decl.cc | 4891 quals_from_declspecs (const struct c_declspecs *specs) in quals_from_declspecs() argument 4893 int quals = ((specs->const_p ? TYPE_QUAL_CONST : 0) in quals_from_declspecs() 4894 | (specs->volatile_p ? TYPE_QUAL_VOLATILE : 0) in quals_from_declspecs() 4895 | (specs->restrict_p ? TYPE_QUAL_RESTRICT : 0) in quals_from_declspecs() 4896 | (specs->atomic_p ? TYPE_QUAL_ATOMIC : 0) in quals_from_declspecs() 4897 | (ENCODE_QUAL_ADDR_SPACE (specs->address_space))); in quals_from_declspecs() 4898 gcc_assert (!specs->type in quals_from_declspecs() 4899 && !specs->decl_attr in quals_from_declspecs() 4900 && specs->typespec_word == cts_none in quals_from_declspecs() 4901 && specs->storage_class == csc_none in quals_from_declspecs() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/avr/ |
H A D | t-avr | 89 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 …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/avr/ |
H A D | t-avr | 89 gen-avr-mmcu-specs$(build_exeext): $(srcdir)/config/avr/gen-avr-mmcu-specs.c \ 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 …]
|
/netbsd-src/external/gpl3/binutils/dist/gas/config/ |
H A D | tc-ia64.c | 8193 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/external/gpl3/binutils.old/dist/gas/config/ |
H A D | tc-ia64.c | 8200 struct rsrc specs[MAX_SPECS], in specify_resource() 8252 specs[count] = tmpl; in specify_resource() 8253 specs[count++].index = regno; in specify_resource() 8261 specs[count] = tmpl; in specify_resource() 8262 specs[count++].index = i; in specify_resource() 8278 specs[count++] = tmpl; in specify_resource() 8290 specs[count] = tmpl; in specify_resource() 8297 specs[count].index = (md.mem_offset.offset >> 3) & 0x3F; in specify_resource() 8298 specs[count].mem_offset.hint = 1; in specify_resource() 8299 specs[count].mem_offset.offset = md.mem_offset.offset; in specify_resource() [all …]
|
/netbsd-src/sys/dev/pci/ |
H A D | if_vioif.c | 2314 struct vioif_ctrl_cmdspec *specs, int nspecs) in vioif_ctrl_load_cmdspec() 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() 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() 2369 bus_dmamap_sync(virtio_dmat(vsc), specs[i].dmamap, in vioif_ctrl_send_command() 2370 0, specs[ in vioif_ctrl_send_command() 2313 vioif_ctrl_load_cmdspec(struct vioif_softc * sc,struct vioif_ctrl_cmdspec * specs,int nspecs) vioif_ctrl_load_cmdspec() argument 2343 vioif_ctrl_unload_cmdspec(struct vioif_softc * sc,struct vioif_ctrl_cmdspec * specs,int nspecs) vioif_ctrl_unload_cmdspec() argument 2355 vioif_ctrl_send_command(struct vioif_softc * sc,uint8_t class,uint8_t cmd,struct vioif_ctrl_cmdspec * specs,int nspecs) vioif_ctrl_send_command() argument 2447 struct vioif_ctrl_cmdspec specs[1]; vioif_ctrl_rx() local 2483 struct vioif_ctrl_cmdspec specs[1]; vioif_ctrl_mq_vq_pairs_set() local 2513 struct vioif_ctrl_cmdspec specs[1]; vioif_set_mac_addr() local 2561 struct vioif_ctrl_cmdspec specs[2]; vioif_set_rx_filter() local [all...] |
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/epiphany/ |
H A D | t-epiphany | 33 SPECS = specs.install 35 specs: specs.install 38 < specs.install > $@ ; \
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/epiphany/ |
H A D | t-epiphany | 33 SPECS = specs.install 35 specs: specs.install 38 < specs.install > $@ ; \
|
/netbsd-src/external/apache2/llvm/dist/clang/docs/ |
H A D | SYCLSupport.rst | 23 `memory model <https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#_sycl_devi… 24 section 4.7.7 - `address space classes <https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/… 25 and section 5.9 covers `address space deduction <https://www.khronos.org/registry/SYCL/specs/sycl-2… 33 `OpenCL C v3.0 6.7.8 <https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_C.html#… 59 `common address space deduction rules <https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/s…
|
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
H A D | url.c | 1368 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/ |
H A D | res.c | 643 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()
|
H A D | res.h | 753 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/gpl3/gcc/dist/libcody/cmake/ |
H A D | libcody-config-ix.cmake | 17 check_cxx_compiler_flag(-fno-enforce-eh-specs LIBCODY_HAS_NOENFORCE) 27 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-enforce-eh-specs")
|
/netbsd-src/external/bsd/openldap/dist/tests/progs/ |
H A D | ldif-filter.c | 223 const char *backend = getenv( "BACKEND" ), *specs = "", *tmp; in main() local 237 specs = optarg; in main() 253 flags = get_flags( backend, specs ); in main()
|