/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex.c | 197 EXCMD *ecp; local 220 loop: ecp = SLIST_FIRST(gp->ecq); 223 if (ecp->if_name != NULL) { 224 gp->if_lno = ecp->if_lno; 225 gp->if_name = ecp->if_name; 232 if (F_ISSET(ecp, E_MOVETOEND)) { 236 F_CLR(ecp, E_MOVETOEND); 240 if (F_ISSET(ecp, E_NEWLINE)) { 242 ++ecp->if_lno; 243 F_CLR(ecp, E_NEWLIN 1622 ex_range(SCR *sp, EXCMD *ecp, int *errp) argument 1821 ex_line(SCR *sp, EXCMD *ecp, MARK *mp, int *isaddrp, int *errp) argument 2071 EXCMD *ecp; local 2166 EXCMD *ecp; local [all...] |
H A D | ex_at.c | 42 EXCMD *ecp; local 85 CALLOC_RET(sp, ecp, EXCMD *, 1, sizeof(EXCMD)); 86 TAILQ_INIT(ecp->rq); 91 FL_SET(ecp->agv_flags, AGV_AT_NORANGE); 94 FL_SET(ecp->agv_flags, AGV_AT); 96 TAILQ_INSERT_HEAD(ecp->rq, rp, q); 109 MALLOC_RET(sp, ecp->cp, CHAR_T *, len * 2 * sizeof(CHAR_T)); 110 ecp->o_cp = ecp->cp; 111 ecp [all...] |
H A D | ex_global.c | 68 EXCMD *ecp; local 160 CALLOC_RET(sp, ecp, EXCMD *, 1, sizeof(EXCMD)); 161 TAILQ_INIT(ecp->rq); 175 MALLOC_RET(sp, ecp->cp, CHAR_T *, (len * 2) * sizeof(CHAR_T)); 176 ecp->o_cp = ecp->cp; 177 ecp->o_clen = len; 178 MEMCPY(ecp->cp + len, p, len); 179 ecp->range_lno = OOBLNO; 180 FL_SET(ecp 256 EXCMD *ecp; local [all...] |
H A D | ex_init.c | 290 EXCMD *ecp; local 294 CALLOC_RET(sp, ecp, EXCMD *, 1, sizeof(EXCMD)); 295 SLIST_INSERT_HEAD(gp->ecq, ecp, q); 297 ecp = &gp->excmd; 299 F_INIT(ecp, 303 ecp->cp = str; 305 if ((ecp->cp = v_wstrdup(sp, str, len)) == NULL) 307 ecp->clen = len; 310 ecp->if_name = NULL; 312 if ((ecp [all...] |
/freebsd-11-stable/contrib/elftoolchain/elfcopy/ |
H A D | archive.c | 51 static void ac_read_objs(struct elfcopy *ecp, int ifd); 52 static void ac_write_cleanup(struct elfcopy *ecp); 54 static void ac_write_objs(struct elfcopy *ecp, int ofd); 57 static void add_to_ar_sym_table(struct elfcopy *ecp, const char *name); 58 static void extract_arsym(struct elfcopy *ecp); 59 static void process_ar_obj(struct elfcopy *ecp, struct ar_obj *obj); 60 static void sync_ar(struct elfcopy *ecp); 64 process_ar_obj(struct elfcopy *ecp, struct ar_obj *obj) argument 72 if ((ecp->eout = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) 75 elf_flagelf(ecp 115 add_to_ar_str_table(struct elfcopy *ecp, const char *name) argument 145 add_to_ar_sym_table(struct elfcopy *ecp, const char *name) argument 187 sync_ar(struct elfcopy *ecp) argument 232 extract_arsym(struct elfcopy *ecp) argument 361 ac_create_ar(struct elfcopy *ecp, int ifd, int ofd) argument 371 ac_read_objs(struct elfcopy *ecp, int ifd) argument 438 ac_write_objs(struct elfcopy *ecp, int ofd) argument 496 ac_write_cleanup(struct elfcopy *ecp) argument [all...] |
H A D | main.c | 220 static void create_file(struct elfcopy *ecp, const char *src, 222 static void elfcopy_main(struct elfcopy *ecp, int argc, char **argv); 224 static void mcs_main(struct elfcopy *ecp, int argc, char **argv); 226 static void parse_sec_address_op(struct elfcopy *ecp, int optnum, 229 static void parse_symlist_file(struct elfcopy *ecp, const char *fn, 232 static void set_input_target(struct elfcopy *ecp, const char *target_name); 233 static void set_osabi(struct elfcopy *ecp, const char *abi); 234 static void set_output_target(struct elfcopy *ecp, const char *target_name); 235 static void strip_main(struct elfcopy *ecp, int argc, char **argv); 280 create_elf(struct elfcopy *ecp) argument 470 free_elf(struct elfcopy *ecp) argument 628 create_file(struct elfcopy *ecp, const char *src, const char *dst) argument 826 elfcopy_main(struct elfcopy *ecp, int argc, char **argv) argument 1052 mcs_main(struct elfcopy *ecp, int argc, char **argv) argument 1140 strip_main(struct elfcopy *ecp, int argc, char **argv) argument 1248 parse_sec_address_op(struct elfcopy *ecp, int optnum, const char *optname, char *s) argument 1300 parse_symlist_file(struct elfcopy *ecp, const char *fn, unsigned int op) argument 1389 set_input_target(struct elfcopy *ecp, const char *target_name) argument 1399 set_output_target(struct elfcopy *ecp, const char *target_name) argument 1419 set_osabi(struct elfcopy *ecp, const char *abi) argument 1592 struct elfcopy *ecp; local [all...] |
H A D | binary.c | 139 create_elf_from_binary(struct elfcopy *ecp, int ifd, const char *ifn) argument 151 if (!TAILQ_EMPTY(&ecp->v_sec)) 152 TAILQ_FOREACH_SAFE(sec, &ecp->v_sec, sec_list, sec_temp) { 153 TAILQ_REMOVE(&ecp->v_sec, sec, sec_list); 172 if (gelf_newehdr(ecp->eout, ecp->oec) == NULL) 175 if (gelf_getehdr(ecp->eout, &oeh) == NULL) 180 oeh.e_ident[EI_CLASS] = ecp->oec; 181 oeh.e_ident[EI_DATA] = ecp->oed; 187 oeh.e_machine = ecp [all...] |
H A D | symbols.c | 80 static int is_needed_symbol(struct elfcopy *ecp, int i, GElf_Sym *s); 81 static int is_remove_symbol(struct elfcopy *ecp, size_t sc, int i, 86 static int generate_symbols(struct elfcopy *ecp); 87 static void mark_reloc_symbols(struct elfcopy *ecp, size_t sc); 88 static void mark_section_group_symbols(struct elfcopy *ecp, size_t sc); 164 is_needed_symbol(struct elfcopy *ecp, int i, GElf_Sym *s) argument 168 if (BIT_ISSET(ecp->v_rel, i)) 172 if (BIT_ISSET(ecp->v_grp, i)) 179 if (ecp->flags & RELOCATABLE) { 188 is_remove_symbol(struct elfcopy *ecp, size_ argument 264 mark_reloc_symbols(struct elfcopy *ecp, size_t sc) argument 343 mark_section_group_symbols(struct elfcopy *ecp, size_t sc) argument 386 generate_symbols(struct elfcopy *ecp) argument 671 create_symtab(struct elfcopy *ecp) argument 748 free_symtab(struct elfcopy *ecp) argument 806 create_external_symtab(struct elfcopy *ecp) argument 873 add_to_symtab(struct elfcopy *ecp, const char *name, uint64_t st_value, uint64_t st_size, uint16_t st_shndx, unsigned char st_info, unsigned char st_other, int ndx_known) argument 981 finalize_external_symtab(struct elfcopy *ecp) argument 1009 create_symtab_data(struct elfcopy *ecp) argument 1140 add_to_symop_list(struct elfcopy *ecp, const char *name, const char *newname, unsigned int op) argument 1161 lookup_symop_list(struct elfcopy *ecp, const char *name, unsigned int op) argument [all...] |
H A D | sections.c | 40 static void add_gnu_debuglink(struct elfcopy *ecp); 42 static void check_section_rename(struct elfcopy *ecp, struct section *s); 43 static void filter_reloc(struct elfcopy *ecp, struct section *s); 44 static int get_section_flags(struct elfcopy *ecp, const char *name); 45 static void insert_sections(struct elfcopy *ecp); 46 static int is_append_section(struct elfcopy *ecp, const char *name); 47 static int is_compress_section(struct elfcopy *ecp, const char *name); 50 static int is_modify_section(struct elfcopy *ecp, const char *name); 51 static int is_print_section(struct elfcopy *ecp, const char *name); 52 static void modify_section(struct elfcopy *ecp, struc 62 is_remove_section(struct elfcopy *ecp, const char *name) argument 110 is_remove_reloc_sec(struct elfcopy *ecp, uint32_t sh_info) argument 146 is_append_section(struct elfcopy *ecp, const char *name) argument 158 is_compress_section(struct elfcopy *ecp, const char *name) argument 170 check_section_rename(struct elfcopy *ecp, struct section *s) argument 204 get_section_flags(struct elfcopy *ecp, const char *name) argument 252 is_print_section(struct elfcopy *ecp, const char *name) argument 264 is_modify_section(struct elfcopy *ecp, const char *name) argument 275 lookup_sec_act(struct elfcopy *ecp, const char *name, int add) argument 300 free_sec_act(struct elfcopy *ecp) argument 311 insert_to_sec_list(struct elfcopy *ecp, struct section *sec, int tail) argument 336 create_scn(struct elfcopy *ecp) argument 526 insert_shtab(struct elfcopy *ecp, int tail) argument 569 copy_content(struct elfcopy *ecp) argument 625 update_section_group(struct elfcopy *ecp, struct section *s) argument 689 filter_reloc(struct elfcopy *ecp, struct section *s) argument 819 update_reloc(struct elfcopy *ecp, struct section *s) argument 860 pad_section(struct elfcopy *ecp, struct section *s) argument 931 resync_sections(struct elfcopy *ecp) argument 1027 modify_section(struct elfcopy *ecp, struct section *s) argument 1169 copy_shdr(struct elfcopy *ecp, struct section *s, const char *name, int copy, int sec_flags) argument 1290 create_external_section(struct elfcopy *ecp, const char *name, char *newname, void *buf, uint64_t size, uint64_t off, uint64_t stype, Elf_Type dtype, uint64_t flags, uint64_t align, uint64_t vma, int loadable) argument 1354 insert_sections(struct elfcopy *ecp) argument 1392 add_to_shstrtab(struct elfcopy *ecp, const char *name) argument 1400 update_shdr(struct elfcopy *ecp, int update_link) argument 1455 init_shstrtab(struct elfcopy *ecp) argument 1496 set_shstrtab(struct elfcopy *ecp) argument 1560 add_section(struct elfcopy *ecp, const char *arg) argument 1601 free_sec_add(struct elfcopy *ecp) argument 1614 add_gnu_debuglink(struct elfcopy *ecp) argument [all...] |
H A D | segments.c | 54 add_to_inseg_list(struct elfcopy *ecp, struct section *s) argument 59 if (ecp->ophnum == 0) 74 STAILQ_FOREACH(seg, &ecp->v_seg, seg_list) { 103 adjust_addr(struct elfcopy *ecp) argument 114 TAILQ_FOREACH(s, &ecp->v_sec, sec_list) { 121 if (ecp->change_addr != 0) 122 s->vma += ecp->change_addr; 125 if (ecp->change_addr != 0 && s->seg != NULL && 127 s->lma += ecp->change_addr; 133 TAILQ_FOREACH(s, &ecp 469 setup_phdr(struct elfcopy *ecp) argument 506 copy_phdr(struct elfcopy *ecp) argument [all...] |
H A D | ascii.c | 54 static struct section *new_data_section(struct elfcopy *ecp, int sec_index, 78 create_srec(struct elfcopy *ecp, int ifd, int ofd, const char *ofn) argument 95 if (!strncmp(ecp->otgt, "symbolsrec", strlen("symbolsrec"))) { 111 if (ecp->flags & SREC_FORCE_S3) 145 if (ecp->flags & SREC_FORCE_LEN) { 147 if (ecp->srec_len < 1) 149 else if (ecp->srec_len + addr_sz + 1 > 255) 152 rlen = ecp->srec_len; 194 srec_write_Se(ofd, eh.e_entry, ecp->flags & SREC_FORCE_S3); 198 create_elf_from_srec(struct elfcopy *ecp, in argument 469 create_elf_from_ihex(struct elfcopy *ecp, int ifd) argument 637 new_data_section(struct elfcopy *ecp, int sec_index, uint64_t off, uint64_t addr) argument [all...] |
H A D | pe.c | 41 create_pe(struct elfcopy *ecp, int ifd, int ofd) argument 60 if (ecp->otf == ETF_EFI || ecp->oem == EM_X86_64) 82 switch (ecp->oem) { 101 if (ecp->otf == ETF_EFI)
|
/freebsd-11-stable/sys/fs/ext2fs/ |
H A D | ext2_extents.c | 130 struct ext4_extent_cache *ecp; local 133 ecp = &ip->i_ext_cache; 136 if (ecp->ec_type == EXT4_EXT_CACHE_NO) 139 if (lbn >= ecp->ec_blk && lbn < ecp->ec_blk + ecp->ec_len) { 140 ep->e_blk = ecp->ec_blk; 141 ep->e_start_lo = ecp->ec_start & 0xffffffff; 142 ep->e_start_hi = ecp->ec_start >> 32 & 0xffff; 143 ep->e_len = ecp 155 struct ext4_extent_cache *ecp; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | lynx-nat.c | 268 int ecpoff = offsetof (st_t, ecp); 269 CORE_ADDR ecp; local 277 ecp = (CORE_ADDR) ptrace (PTRACE_PEEKTHREAD, pid, (PTRACE_ARG3_TYPE) ecpoff, 282 return ecp - stblock; 294 unsigned long ecp; local 304 ecp = registers_addr (PIDGET (inferior_ptid)); 322 (PTRACE_ARG3_TYPE) (ecp + regmap[regno] + i), 0); 342 unsigned long ecp; local 352 ecp = registers_addr (PIDGET (inferior_ptid)); 373 (PTRACE_ARG3_TYPE) (ecp [all...] |
/freebsd-11-stable/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf_getput_crypto.c | 70 EC_POINT *ecp; local 359 ecp = EC_POINT_new(EC_KEY_get0_group(eck)); 360 ASSERT_PTR_NE(ecp, NULL); 364 EC_KEY_get0_group(eck), ecp, bn_x, bn_y, NULL), 1); 365 ASSERT_INT_EQ(EC_KEY_set_public_key(eck, ecp), 1); 368 EC_POINT_free(ecp);
|
/freebsd-11-stable/crypto/heimdal/kdc/ |
H A D | pkinit.c | 430 ECParameters ecp; local 444 memset(&ecp, 0, sizeof(ecp)); 447 dh_key_info->algorithm.parameters->length, &ecp, &len); 451 if (ecp.element != choice_ECParameters_namedCurve) { 456 if (der_heim_oid_cmp(&ecp.u.namedCurve, &asn1_oid_id_ec_group_secp256r1) == 0) 481 free_ECParameters(&ecp);
|
/freebsd-11-stable/contrib/bmake/ |
H A D | job.c | 1775 char *ecp; local 1778 ecp = Str_FindSubstring(cp, commandShell->noPrint); 1779 while (ecp != NULL) { 1780 if (cp != ecp) { 1781 *ecp = '\0'; 1795 cp = ecp + commandShell->noPLen; 1806 ecp = Str_FindSubstring(cp, commandShell->noPrint);
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | pkinit.c | 538 ECParameters ecp; local 544 ecp.element = choice_ECParameters_namedCurve; 546 &ecp.u.namedCurve); 552 free_ECParameters(&ecp); 555 ASN1_MALLOC_ENCODE(ECParameters, p, xlen, &ecp, &size, ret); 556 free_ECParameters(&ecp);
|