| /dflybsd-src/contrib/libpcap/ |
| H A D | bpf_filter.c | 89 pcap_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, in pcap_filter_with_aux_data() argument 93 pcap_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, in pcap_filter_with_aux_data() 101 if (pc == 0) in pcap_filter_with_aux_data() 108 --pc; in pcap_filter_with_aux_data() 110 ++pc; in pcap_filter_with_aux_data() 111 switch (pc->code) { in pcap_filter_with_aux_data() 116 return (u_int)pc->k; in pcap_filter_with_aux_data() 122 k = pc->k; in pcap_filter_with_aux_data() 130 k = pc->k; in pcap_filter_with_aux_data() 145 switch (pc->k) { in pcap_filter_with_aux_data() [all …]
|
| /dflybsd-src/contrib/cvs-1.12/lib/ |
| H A D | getdate.c | 741 yyerror (pc, "syntax error: cannot back up");\ 765 # define YYLEX yylex (&yylval, pc) 1019 int yyparse ( parser_control *pc ); 1044 yyparse ( parser_control *pc ) 1047 yyparse (pc) 1048 parser_control *pc ; 1305 pc->seconds = yyvsp[0].timespec; 1306 pc->timespec_seen = true; 1312 { pc->times_seen++; } 1317 { pc->local_zones_seen++; } [all …]
|
| /dflybsd-src/sys/bus/u4b/ |
| H A D | usb_busdma.c | 79 usbd_get_page(struct usb_page_cache *pc, usb_frlength_t offset, in usbd_get_page() argument 85 if (pc->page_start) { in usbd_get_page() 89 if (pc->buffer) { in usbd_get_page() 93 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page() 95 offset += pc->page_offset_buf; in usbd_get_page() 99 page = pc->page_start; in usbd_get_page() 101 if (pc->ismultiseg) { in usbd_get_page() 113 if (!pc->buffer) { in usbd_get_page() 124 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page() 222 usb_uiomove(struct usb_page_cache *pc, struct uio *uio, in usb_uiomove() argument [all …]
|
| /dflybsd-src/sys/net/ |
| H A D | bpf_filter.c | 174 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) in bpf_filter() argument 182 if (pc == NULL) { in bpf_filter() 189 --pc; in bpf_filter() 191 ++pc; in bpf_filter() 192 switch (pc->code) { in bpf_filter() 201 return (u_int)pc->k; in bpf_filter() 207 k = pc->k; in bpf_filter() 231 k = pc->k; in bpf_filter() 248 k = pc->k; in bpf_filter() 275 k = X + pc->k; in bpf_filter() [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/tui/ |
| H A D | tui-disasm.c | 55 CORE_ADDR pc, int count) in tui_disassemble() argument 70 print_address (gdbarch, pc, gdb_dis_out); in tui_disassemble() 71 asm_lines->addr = pc; in tui_disassemble() 76 pc = pc + gdb_print_insn (gdbarch, pc, gdb_dis_out, NULL); in tui_disassemble() 84 return pc; in tui_disassemble() 91 tui_find_disassembly_address (struct gdbarch *gdbarch, CORE_ADDR pc, int from) in tui_find_disassembly_address() argument 100 return pc; in tui_find_disassembly_address() 106 new_low = pc; in tui_find_disassembly_address() 109 tui_disassemble (gdbarch, asm_lines, pc, max_lines); in tui_find_disassembly_address() 133 } while (last_addr > pc && msymbol); in tui_find_disassembly_address() [all …]
|
| /dflybsd-src/sys/ddb/ |
| H A D | db_run.c | 76 db_addr_t pc; in db_stop_at_pc() local 82 pc = PC_REGS(DDB_REGS); in db_stop_at_pc() 91 pc = PC_REGS(DDB_REGS); in db_stop_at_pc() local 98 bkpt = db_find_breakpoint_here(pc); in db_stop_at_pc() 124 db_print_loc_and_inst(pc, DDB_REGS); in db_stop_at_pc() 131 db_expr_t ins = db_get_value(pc, sizeof(int), FALSE); in db_stop_at_pc() 144 db_print_loc_and_inst(pc, DDB_REGS); in db_stop_at_pc() 154 db_expr_t ins = db_get_value(pc, sizeof(int), FALSE); in db_stop_at_pc() 171 db_addr_t pc = PC_REGS(DDB_REGS); in db_restart_at_pc() local 183 ins = db_get_value(pc, sizeof(int), FALSE); in db_restart_at_pc() [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | ax-gdb.c | 77 static struct value *const_expr (union exp_element **pc); 78 static struct value *maybe_const_expr (union exp_element **pc); 156 static void gen_repeat (struct expression *exp, union exp_element **pc, 158 static void gen_sizeof (struct expression *exp, union exp_element **pc, 162 enum exp_opcode op, union exp_element **pc, 215 const_expr (union exp_element **pc) in const_expr() argument 217 enum exp_opcode op = (*pc)->opcode; in const_expr() 224 struct type *type = (*pc)[1].type; in const_expr() 225 LONGEST k = (*pc)[2].longconst; in const_expr() 227 (*pc) += 4; in const_expr() [all …]
|
| H A D | blockframe.c | 59 CORE_ADDR pc; in get_frame_block() local 63 if (!get_frame_address_in_block_if_available (frame, &pc)) in get_frame_block() 67 *addr_in_block = pc; in get_frame_block() 69 bl = block_for_pc (pc); in get_frame_block() 88 get_pc_function_start (CORE_ADDR pc) in get_pc_function_start() argument 93 bl = block_for_pc (pc); in get_pc_function_start() 105 msymbol = lookup_minimal_symbol_by_pc (pc); in get_pc_function_start() 138 find_pc_sect_function (CORE_ADDR pc, struct obj_section *section) in find_pc_sect_function() argument 140 struct block *b = block_for_pc_sect (pc, section); in find_pc_sect_function() 152 find_pc_function (CORE_ADDR pc) in find_pc_function() argument [all …]
|
| H A D | expprint.c | 40 int pc = 0; in print_expression() local 42 print_subexp (exp, &pc, stream, PREC_NULL); in print_expression() 65 int pc; in print_subexp_standard() local 77 pc = (*pos)++; in print_subexp_standard() 78 opcode = exp->elts[pc].opcode; in print_subexp_standard() 85 type_print (exp->elts[pc + 1].type, "", stream, 0); in print_subexp_standard() 91 fputs_filtered (type_name_no_tag (exp->elts[pc + 1].type), stream); in print_subexp_standard() 93 nargs = longest_to_int (exp->elts[pc + 2].longconst); in print_subexp_standard() 95 fputs_filtered (&exp->elts[pc + 3].string, stream); in print_subexp_standard() 104 value_print (value_from_longest (exp->elts[pc + 1].type, in print_subexp_standard() [all …]
|
| H A D | i386-tdep.c | 408 i386_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pc, int *len) in i386_breakpoint_from_pc() argument 823 CORE_ADDR pc; member 849 cache->pc = 0; in i386_alloc_frame_cache() 869 i386_follow_jump (struct gdbarch *gdbarch, CORE_ADDR pc) in i386_follow_jump() argument 876 if (target_read_memory (pc, &op, 1)) in i386_follow_jump() 877 return pc; in i386_follow_jump() 882 op = read_memory_unsigned_integer (pc + 1, 1, byte_order); in i386_follow_jump() 891 delta = read_memory_integer (pc + 2, 2, byte_order); in i386_follow_jump() 899 delta = read_memory_integer (pc + 1, 4, byte_order); in i386_follow_jump() 907 delta = read_memory_integer (pc + data16 + 1, 1, byte_order); in i386_follow_jump() [all …]
|
| H A D | block.c | 110 find_block_in_blockvector (struct blockvector *bl, CORE_ADDR pc) in find_block_in_blockvector() argument 118 return addrmap_find (BLOCKVECTOR_MAP (bl), pc); in find_block_in_blockvector() 134 if (BLOCK_START (b) <= pc) in find_block_in_blockvector() 145 if (BLOCK_END (b) > pc) in find_block_in_blockvector() 159 blockvector_for_pc_sect (CORE_ADDR pc, struct obj_section *section, in blockvector_for_pc_sect() argument 168 symtab = find_pc_sect_symtab (pc, section); in blockvector_for_pc_sect() 176 b = find_block_in_blockvector (bl, pc); in blockvector_for_pc_sect() 188 blockvector_contains_pc (struct blockvector *bv, CORE_ADDR pc) in blockvector_contains_pc() argument 190 return find_block_in_blockvector (bv, pc) != NULL; in blockvector_contains_pc() 198 call_site_for_pc (struct gdbarch *gdbarch, CORE_ADDR pc) in call_site_for_pc() argument [all …]
|
| H A D | amd64-tdep.c | 1697 CORE_ADDR pc; member 1719 cache->pc = 0; in amd64_init_frame_cache() 1754 amd64_analyze_stack_align (CORE_ADDR pc, CORE_ADDR current_pc, in amd64_analyze_stack_align() argument 1783 if (target_read_memory (pc, buf, sizeof buf)) in amd64_analyze_stack_align() 1784 return pc; in amd64_analyze_stack_align() 1795 return pc; in amd64_analyze_stack_align() 1823 return pc; in amd64_analyze_stack_align() 1835 return pc; in amd64_analyze_stack_align() 1839 return pc; in amd64_analyze_stack_align() 1850 return pc; in amd64_analyze_stack_align() [all …]
|
| H A D | disasm.c | 103 CORE_ADDR pc; in dump_insns() local 111 for (pc = low; pc < high;) in dump_insns() 127 ui_out_text (uiout, pc_prefix (pc)); in dump_insns() 128 ui_out_field_core_addr (uiout, "address", gdbarch, pc); in dump_insns() 130 if (!build_address_symbolic (gdbarch, pc, 0, &name, &offset, &filename, in dump_insns() 153 CORE_ADDR old_pc = pc; in dump_insns() 164 pc += gdbarch_print_insn (gdbarch, pc, di); in dump_insns() 165 for (;old_pc < pc; old_pc++) in dump_insns() 180 pc += gdbarch_print_insn (gdbarch, pc, di); in dump_insns() 226 for (i = 0; i < nlines - 1 && le[i].pc < low; i++); in do_mixed_source_and_assembly() [all …]
|
| H A D | symtab.c | 877 sal->pc = 0; in init_sal() 951 find_pc_sect_symtab_via_partial (CORE_ADDR pc, struct obj_section *section) in find_pc_sect_symtab_via_partial() argument 959 msymbol = lookup_minimal_symbol_by_pc_section (pc, section); in find_pc_sect_symtab_via_partial() 974 pc, section, 0); in find_pc_sect_symtab_via_partial() 2061 find_pc_sect_symtab (CORE_ADDR pc, struct obj_section *section) in find_pc_sect_symtab() argument 2076 msymbol = lookup_minimal_symbol_by_pc_section (pc, section); in find_pc_sect_symtab() 2105 if (BLOCK_START (b) <= pc in find_pc_sect_symtab() 2106 && BLOCK_END (b) > pc in find_pc_sect_symtab() 2123 pc, section, in find_pc_sect_symtab() 2161 pc, section, in find_pc_sect_symtab() [all …]
|
| /dflybsd-src/sys/dev/acpica/ |
| H A D | acpi_powerres.c | 110 *pc); 244 struct acpi_powerconsumer *pc; in acpi_pwr_register_consumer() local 254 if ((pc = kmalloc(sizeof(*pc), M_ACPIPWR, M_NOWAIT)) == NULL) in acpi_pwr_register_consumer() 256 TAILQ_INSERT_HEAD(&acpi_powerconsumers, pc, ac_link); in acpi_pwr_register_consumer() 257 TAILQ_INIT(&pc->ac_references); in acpi_pwr_register_consumer() 258 pc->ac_consumer = consumer; in acpi_pwr_register_consumer() 261 pc->ac_state = ACPI_STATE_UNKNOWN; in acpi_pwr_register_consumer() 279 struct acpi_powerconsumer *pc; in acpi_pwr_deregister_consumer() local 285 if ((pc = acpi_pwr_find_consumer(consumer)) == NULL) in acpi_pwr_deregister_consumer() 289 if (TAILQ_FIRST(&pc->ac_references) != NULL) in acpi_pwr_deregister_consumer() [all …]
|
| /dflybsd-src/games/hack/ |
| H A D | hack.u_init.c | 164 char exper = 'y', pc; in u_init() local 171 if ((pc = pl_character[0]) != '\0') { in u_init() 172 if (islower((unsigned char)pc)) in u_init() 173 pc = toupper((unsigned char)pc); in u_init() 174 if ((i = role_index(pc)) >= 0) in u_init() 176 printf("\nUnknown role: %c\n", pc); in u_init() 177 pl_character[0] = pc = 0; in u_init() 203 while ((pc = readchar()) != '\0') { in u_init() 204 if (islower((unsigned char)pc)) in u_init() 205 pc = toupper((unsigned char)pc); in u_init() [all …]
|
| /dflybsd-src/etc/etc.x86_64/ |
| H A D | disktab | 58 :pc#720:oc#0:bc#4096:fc#512: 64 :pc#1440:oc#0:bc#4096:fc#512: 70 :pc#2400:oc#0:bc#4096:fc#512: 76 :pc#2880:oc#0:bc#4096:fc#512: 86 :pc#1600:oc#0:bc#4096:fc#512: 92 :pc#1640:oc#0:bc#4096:fc#512: 98 :pc#2952:oc#0:bc#4096:fc#512: 104 :pc#3444:oc#0:bc#4096:fc#512: 113 :pc#246528:oc#0:bc#4096:fc#512: 122 :pc#234144:oc#0: \ [all …]
|
| /dflybsd-src/sys/kern/ |
| H A D | subr_prof.c | 86 #define PC_TO_INDEX(pc, prof) \ argument 87 ((int)(((u_quad_t)((pc) - (prof)->pr_off) * \ 101 addupc_intr(struct proc *p, u_long pc, u_int ticks) in addupc_intr() argument 109 if (pc < prof->pr_off || in addupc_intr() 110 (i = PC_TO_INDEX(pc, prof)) >= prof->pr_size) in addupc_intr() 113 prof->pr_addr = pc; in addupc_intr() 123 addupc_task(struct proc *p, u_long pc, u_int ticks) in addupc_task() argument 135 if (pc < prof->pr_off || in addupc_task() 136 (i = PC_TO_INDEX(pc, prof)) >= prof->pr_size) in addupc_task()
|
| /dflybsd-src/sys/vfs/smbfs/ |
| H A D | smbfs_vfsops.c | 118 char *pc, *pe; in smbfs_mount() local 165 pc = mp->mnt_stat.f_mntfromname; in smbfs_mount() 166 pe = pc + sizeof(mp->mnt_stat.f_mntfromname); in smbfs_mount() 167 bzero(pc, MNAMELEN); in smbfs_mount() 168 *pc++ = '/'; in smbfs_mount() 169 *pc++ = '/'; in smbfs_mount() 170 pc=index(strncpy(pc, vcp->vc_username, pe - pc - 2), 0); in smbfs_mount() 171 if (pc < pe-1) { in smbfs_mount() 172 *(pc++) = '@'; in smbfs_mount() 173 pc = index(strncpy(pc, vcp->vc_srvname, pe - pc - 2), 0); in smbfs_mount() [all …]
|
| /dflybsd-src/contrib/binutils-2.34/gprof/ |
| H A D | mips.c | 44 bfd_vma pc, dest_pc; in mips_find_call() local 62 for (pc = p_lowpc; pc < p_highpc; pc += 4) in mips_find_call() 65 + pc - core_text_sect->vma)); in mips_find_call() 71 printf (_("[find_call] 0x%lx: jal"), (unsigned long) pc)); in mips_find_call() 73 dest_pc = (pc & ~(bfd_vma) 0xfffffff) | offset; in mips_find_call() 99 printf (_("[find_call] 0x%lx: jalr\n"), (unsigned long) pc)); in mips_find_call()
|
| H A D | alpha.c | 95 bfd_vma pc, dest_pc; in alpha_find_call() local 110 for (pc = (p_lowpc + 3) & ~(bfd_vma) 3; pc < p_highpc; pc += 4) in alpha_find_call() 113 + pc - core_text_sect->vma)); in alpha_find_call() 130 (unsigned long) pc, in alpha_find_call() 139 printf (_("[find_call] 0x%lx: bsr"), (unsigned long) pc)); in alpha_find_call() 146 dest_pc = pc + 4 + (((bfd_signed_vma) (insn & 0x1fffff) in alpha_find_call()
|
| /dflybsd-src/contrib/binutils-2.27/gprof/ |
| H A D | mips.c | 44 bfd_vma pc, dest_pc; in mips_find_call() local 62 for (pc = p_lowpc; pc < p_highpc; pc += 4) in mips_find_call() 65 + pc - core_text_sect->vma)); in mips_find_call() 71 printf (_("[find_call] 0x%lx: jal"), (unsigned long) pc)); in mips_find_call() 73 dest_pc = (pc & ~(bfd_vma) 0xfffffff) | offset; in mips_find_call() 99 printf (_("[find_call] 0x%lx: jalr\n"), (unsigned long) pc)); in mips_find_call()
|
| H A D | alpha.c | 95 bfd_vma pc, dest_pc; in alpha_find_call() local 110 for (pc = (p_lowpc + 3) & ~(bfd_vma) 3; pc < p_highpc; pc += 4) in alpha_find_call() 113 + pc - core_text_sect->vma)); in alpha_find_call() 130 (unsigned long) pc, in alpha_find_call() 139 printf (_("[find_call] 0x%lx: bsr"), (unsigned long) pc)); in alpha_find_call() 146 dest_pc = pc + 4 + (((bfd_signed_vma) (insn & 0x1fffff) in alpha_find_call()
|
| /dflybsd-src/contrib/wpa_supplicant/src/utils/ |
| H A D | trace.c | 142 bfd_vma pc; member 163 if (data->pc < vma) in find_addr_sect() 167 if (data->pc >= vma + size) in find_addr_sect() 171 data->pc - vma, in find_addr_sect() 178 static void wpa_trace_bfd_addr(void *pc) in wpa_trace_bfd_addr() argument 189 data.pc = (bfd_hostptr_t) ((u8 *) pc - start_offset); in wpa_trace_bfd_addr() 222 static const char * wpa_trace_bfd_addr2func(void *pc) in wpa_trace_bfd_addr2func() argument 230 data.pc = (bfd_hostptr_t) ((u8 *) pc - start_offset); in wpa_trace_bfd_addr2func() 270 void wpa_trace_dump_funcname(const char *title, void *pc) in wpa_trace_dump_funcname() argument 272 wpa_printf(MSG_INFO, "WPA_TRACE: %s: %p", title, pc); in wpa_trace_dump_funcname() [all …]
|
| /dflybsd-src/stand/boot/pc32/libi386/ |
| H A D | biospci.c | 188 static void biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_p… 203 struct pci_class *pc; in biospci_enumerate() local 226 for (pc = pci_classes; pc->pc_class >= 0; pc++) { in biospci_enumerate() 228 for (psc = pc->pc_subclass; psc->ps_subclass >= 0; psc++) { in biospci_enumerate() 239 v86.ecx = (pc->pc_class << 16) + (psc->ps_subclass << 8) + ppi->pi_code; in biospci_enumerate() 262 biospci_addinfo(devid, pc, psc, ppi); in biospci_enumerate() 270 biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi) in biospci_addinfo() argument 286 if (pc->pc_name != NULL) in biospci_addinfo() 287 strcat(desc, pc->pc_name); in biospci_addinfo()
|