Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/netbsd/src/games/rogue/
Dpack.c66 add_to_pack(object *obj, object *pack, int condense) in add_to_pack() argument
71 if ((op = check_duplicate(obj, pack)) != NULL) { in add_to_pack()
78 if (pack->next_object == 0) { in add_to_pack()
79 pack->next_object = obj; in add_to_pack()
81 op = pack->next_object; in add_to_pack()
93 take_from_pack(object *obj, object *pack) in take_from_pack() argument
95 while (pack->next_object != obj) { in take_from_pack()
96 pack = pack->next_object; in take_from_pack()
98 pack->next_object = pack->next_object->next_object; in take_from_pack()
146 obj = add_to_pack(obj, &rogue.pack, 1); in pick_up()
[all …]
Dsave.c140 write_pack(&rogue.pack, fp); in save_into_file()
215 read_pack(&rogue.pack, fp, 1); in restore()
216 for (object *obj = &rogue.pack; obj != NULL; in restore()
263 write_pack(const object *pack, FILE *fp) in write_pack() argument
267 while ((pack = pack->next_object) != NULL) { in write_pack()
268 r_write(fp, pack, sizeof(object)); in write_pack()
275 read_pack(object *pack, FILE *fp, boolean is_rogue) in read_pack() argument
282 pack->next_object = NULL; in read_pack()
297 pack->next_object = new_obj; in read_pack()
298 pack = new_obj; in read_pack()
Dinit.c153 rogue.pack.next_object = NULL; in player_init()
157 (void)add_to_pack(obj, &rogue.pack, 1); in player_init()
165 (void)add_to_pack(obj, &rogue.pack, 1); in player_init()
174 (void)add_to_pack(obj, &rogue.pack, 1); in player_init()
184 (void)add_to_pack(obj, &rogue.pack, 1); in player_init()
194 (void)add_to_pack(obj, &rogue.pack, 1); in player_init()
Duse.c187 vanish(obj, 1, &rogue.pack); in quaff()
292 vanish(obj, (obj->which_kind != SLEEP), &rogue.pack); in read_scroll()
300 vanish(object *obj, short rm, object *pack) in vanish() argument
312 take_from_pack(obj, pack); in vanish()
431 vanish(obj, 1, &rogue.pack); in eat()
619 obj = rogue.pack.next_object; in uncurse_all()
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dlong_long.c32 pack (unsigned char b[MAX_BYTES], int size, int nr) in pack() function
86 pack (b, 1, 2); in main()
87 pack (h, 2, 2); in main()
88 pack (w, 4, 2); in main()
89 pack (g, 8, 2); in main()
90 pack (c, sizeof (char), 2); in main()
91 pack (s, sizeof (short), 2); in main()
92 pack (i, sizeof (int), 2); in main()
93 pack (l, sizeof (long), 2); in main()
94 pack (ll, sizeof (long long), 2); in main()
/netbsd/src/sys/netinet/
Dip_encap.c198 struct ip_pack4 pack; in encap4_lookup() local
209 memset(&pack, 0, sizeof(pack)); in encap4_lookup()
210 pack.p.sp_len = sizeof(pack); in encap4_lookup()
211 pack.mine.sin_family = pack.yours.sin_family = AF_INET; in encap4_lookup()
212 pack.mine.sin_len = pack.yours.sin_len = sizeof(struct sockaddr_in); in encap4_lookup()
214 pack.mine.sin_addr = ip->ip_dst; in encap4_lookup()
215 pack.yours.sin_addr = ip->ip_src; in encap4_lookup()
217 pack.mine.sin_addr = ip->ip_src; in encap4_lookup()
218 pack.yours.sin_addr = ip->ip_dst; in encap4_lookup()
226 encap_key_init(&key, sintosa(&pack.mine), sintosa(&pack.yours)); in encap4_lookup()
[all …]
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dntptrap109 &ntp'send(S,31,0,"",pack("Sna4x8",&AF_INET,$ntp_port,$Host{$_})); #';
138 (gethostbyaddr(pack("C4",$1,$2,$3,$4),&AF_INET))[$[,$[+4];
142 $addr = pack("C4",$1,$2,$3,$4);
157 push(@Requests,pack("a4SC",$addr,0,6)); # schedule a set trap request for $name
201 pack("Sna4x8",&AF_INET,$ntp_port,$addr));
269 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op))) unless $op == 7;
270 delete $RETRY{pack("a4SC",$from,$associd,$op)} unless $op == 7;
280 &clear_timeout("retry-".unpack("H*",pack("a4SC",$from,$associd,$op)));
318 $addr = pack("H*",$addr);
320 push(@Requests,pack("a4SC",$addr,0,6));
[all …]
/netbsd/src/sys/arch/prep/pnpbus/
Dpnpbus.c185 struct _L1_Pack *pack = v; in pnp_newiomem() local
187 if (pack->Count0 >= 0x9) { in pnp_newiomem()
189 mem->minbase = (pack->Data[2] << 16) | (pack->Data[1] << 8); in pnp_newiomem()
190 mem->maxbase = (pack->Data[4] << 16) | (pack->Data[3] << 8); in pnp_newiomem()
191 mem->align = (pack->Data[6] << 8) | pack->Data[5]; in pnp_newiomem()
192 mem->len = (pack->Data[8] << 16) | (pack->Data[7] << 8); in pnp_newiomem()
193 mem->flags = pack->Data[0]; in pnp_newiomem()
206 struct _L4_Pack *pack = v; in pnp_newaddr() local
207 struct _L4_PPCPack *p = &pack->L4_Data.L4_PPCPack; in pnp_newaddr()
292 struct _L4_Pack *pack = v; in pnpbus_scan() local
[all …]
/netbsd/src/external/gpl3/gdb/dist/cpu/
Dfrv.cpu1921 (dnf f-pack "packing bit" () 31 1)
3042 (name h-pack)
3117 (dnop pack "packing bit" () h-pack f-pack)
3456 (.str name "$pack $GRi,$GRj,$GRk")
3457 (+ pack GRk op GRi (ICCi_1-null) ope GRj)
3474 ("not$pack $GRj,$GRk")
3475 (+ pack GRk OP_01 (rs-null) (ICCi_1-null) OPE2_06 GRj)
3485 "sdiv$pack $GRi,$GRj,$GRk"
3486 (+ pack GRk OP_00 GRi (ICCi_1-null) OPE2_0E GRj)
3499 "nsdiv$pack $GRi,$GRj,$GRk"
[all …]
/netbsd/src/external/gpl3/binutils/dist/cpu/
Dfrv.cpu1921 (dnf f-pack "packing bit" () 31 1)
3042 (name h-pack)
3117 (dnop pack "packing bit" () h-pack f-pack)
3456 (.str name "$pack $GRi,$GRj,$GRk")
3457 (+ pack GRk op GRi (ICCi_1-null) ope GRj)
3474 ("not$pack $GRj,$GRk")
3475 (+ pack GRk OP_01 (rs-null) (ICCi_1-null) OPE2_06 GRj)
3485 "sdiv$pack $GRi,$GRj,$GRk"
3486 (+ pack GRk OP_00 GRi (ICCi_1-null) OPE2_0E GRj)
3499 "nsdiv$pack $GRi,$GRj,$GRk"
[all …]
/netbsd/src/external/bsd/file/dist/magic/magdir/
Drevision16 # Type: Git pack
20 # reference: https://github.com/git/git/blob/master/Documentation/technical/pack-format.txt
23 # the first byte of which is never 0, while the first byte of the Git pack
33 >>9 default x Git pack
35 !:ext pack
40 # Type: Git pack index
42 0 string \377tOc Git pack index
/netbsd/src/external/bsd/wpa/dist/src/common/
Deapol_common.h15 #pragma pack(push, 1)
32 #pragma pack(pop)
61 #pragma pack(push, 1)
89 #pragma pack(pop)
/netbsd/src/sys/compat/linux/arch/amd64/
Dlinux_exec_machdep.c125 ELFNAME2(linux,copyargs)(struct lwp *l, struct exec_package *pack, in ELFNAME2()
138 if ((error = copyargs(l, pack, arginfo, stackp, argp)) != 0) in ELFNAME2()
147 ap = (struct elf_args *)pack->ep_emul_arg; in ELFNAME2()
148 vap = pack->ep_vap; in ELFNAME2()
149 eh = (Elf_Ehdr *)pack->ep_hdr; in ELFNAME2()
157 error = exec_read(l, pack->ep_vp, eh->e_phoff, ph, phsize, 0); in ELFNAME2()
239 exec_free_emul_arg(pack); in ELFNAME2()
/netbsd/src/sys/arch/prep/prep/
Dresidual.c248 struct _L4_Pack *pack = v; in pnp_pci_busno() local
249 struct _L4_PPCPack *p = &pack->L4_Data.L4_PPCPack; in pnp_pci_busno()
273 struct _L4_Pack *pack = v; in pnp_pci_configbase() local
274 struct _L4_PPCPack *p = &pack->L4_Data.L4_PPCPack; in pnp_pci_configbase()
1114 struct _L4_Pack *pack = v; in pnp_large_pkt() local
1115 struct _L4_PPCPack *p = &pack->L4_Data.L4_PPCPack; in pnp_large_pkt()
1124 struct _L1_Pack *pack = v; in pnp_large_pkt() local
1127 if (pack->Data[0] & L1_Shadow) in pnp_large_pkt()
1129 if (pack->Data[0] & L1_32bit_mem) in pnp_large_pkt()
1131 if (pack->Data[0] & L1_8_16bit_mem) in pnp_large_pkt()
[all …]
Dplatform.c151 struct _L4_Pack *pack = v; in count_pnp_pci_devices() local
152 struct _L4_PPCPack *p = &pack->L4_Data.L4_PPCPack; in count_pnp_pci_devices()
228 struct _L4_Pack *pack = v; in create_intr_map() local
229 struct _L4_PPCPack *p = &pack->L4_Data.L4_PPCPack; in create_intr_map()
/netbsd/src/sys/arch/arm/arm/
Darm_machdep.c168 setregs(struct lwp *l, struct exec_package *pack, vaddr_t stack) in setregs() argument
176 tf->tf_usr_lr = pack->ep_entry; in setregs()
178 tf->tf_pc = pack->ep_entry; in setregs()
189 if (pack->ep_entry & 1) in setregs()
195 if (pack->ep_esch->es_makecmds == exec_aout_makecmds) in setregs()
/netbsd/src/sys/compat/linux/arch/powerpc/
Dlinux_exec_powerpc.c65 ELFNAME2(linux,copyargs)(struct lwp *l, struct exec_package *pack, in ELFNAME2()
83 if ((error = copyargs(l, pack, arginfo, stackp, argp)) != 0) in ELFNAME2()
104 if ((ap = (struct elf_args *)pack->ep_emul_arg)) { in ELFNAME2()
165 exec_free_emul_arg(pack); in ELFNAME2()
/netbsd/src/sys/compat/linux32/common/
Dlinux32_exec_elf32.c112 linux32_elf32_copyargs(struct lwp *l, struct exec_package *pack, in linux32_elf32_copyargs() argument
121 if ((error = netbsd32_copyargs(l, pack, arginfo, stackp, argp)) != 0) in linux32_elf32_copyargs()
138 if ((ap = (struct elf_args *)pack->ep_emul_arg)) { in linux32_elf32_copyargs()
164 exec_free_emul_arg(pack); in linux32_elf32_copyargs()
172 vap = pack->ep_vap; in linux32_elf32_copyargs()
/netbsd/src/sbin/mknod/
Dmknod.c85 pack_t *pack; local
100 pack = pack_native;
124 pack = pack_find(optarg);
125 if (pack == NULL)
249 dev = callPack(pack, argc, numbers);
/netbsd/src/sys/compat/netbsd32/
Dnetbsd32_exec_elf32.c134 netbsd32_elf32_copyargs(struct lwp *l, struct exec_package *pack, in netbsd32_elf32_copyargs() argument
139 if ((error = netbsd32_copyargs(l, pack, arginfo, stackp, argp)) != 0) in netbsd32_elf32_copyargs()
142 return elf32_populate_auxv(l, pack, stackp); in netbsd32_elf32_copyargs()
/netbsd/src/sys/arch/hpc/stand/include/machine/
Ddisklabel.h16 #pragma pack(push, _sys_bootblock_h, 1)
22 #pragma pack(pop, _sys_bootblock_h)
/netbsd/src/external/bsd/elftosb/dist/common/
DGHSSecInfo.h49 #pragma pack(1)
61 #pragma pack()
/netbsd/src/sys/arch/usermode/target/i386/
Dcpu_i386.c175 setregs(struct lwp *l, struct exec_package *pack, vaddr_t stack) in setregs() argument
183 l, pack, (void *) stack); in setregs()
200 thunk_makecontext(ucp, (void *) pack->ep_entry, in setregs()
216 (void *) pack->ep_entry); in setregs()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/frv/
Dt-frv29 MULTILIB_OPTIONS = mcpu=fr400/mcpu=fr550 mno-pack mlibrary-pic/mfdpic
34 MULTILIB_EXCEPTIONS = mcpu=frv/mno-pack* mcpu=simple/mno-pack*
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
DChangeLog-2007121 bindings for the template parameter pack, don't try to keep the
124 list contains a pack expansion that is not at the end, then we
250 set to error_mark_node the outermost POINTER_TYPE to the pack if
292 elements are pack expansions, don't compute the array size yet.
351 pack with ERROR_MARK_NODE. Manage our own pointer sets.
355 which may be modified (if it is a parameter pack). Instructs
360 (process_partial_specialization): Replace pack expansions before
509 (convert_template_argument): Look at the pattern of a pack
512 template parameter pack, substitute into the type of that pack.
513 (tsubst_pack_expansion): When our substitution of a parameter pack
[all …]

12345678910>>...13