/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elf32-avr.c | 1058 bfd_byte *contents; in elf32_avr_relax_delete_bytes() local 1071 contents = elf_section_data (sec)->this_hdr.contents; in elf32_avr_relax_delete_bytes() 1084 memmove (contents + addr, contents + addr + count, in elf32_avr_relax_delete_bytes() 1301 contents = elf_section_data (sec)->this_hdr.contents; in elf32_avr_relax_section() 1432 elf_section_data (sec)->this_hdr.contents = contents; in elf32_avr_relax_section() 1812 if (contents != NULL in elf32_avr_relax_section() 1813 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_avr_relax_section() 1820 elf_section_data (sec)->this_hdr.contents = contents; in elf32_avr_relax_section() 1834 if (contents != NULL in elf32_avr_relax_section() 1835 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_avr_relax_section() [all …]
|
H A D | elf-m10200.c | 536 contents = elf_section_data (sec)->this_hdr.contents; 634 elf_section_data (sec)->this_hdr.contents = contents; 687 elf_section_data (sec)->this_hdr.contents = contents; 779 elf_section_data (sec)->this_hdr.contents = contents; 898 elf_section_data (sec)->this_hdr.contents = contents; 937 elf_section_data (sec)->this_hdr.contents = contents; 1020 elf_section_data (sec)->this_hdr.contents = contents; 1079 elf_section_data (sec)->this_hdr.contents = contents; 1130 elf_section_data (sec)->this_hdr.contents = contents; 1177 contents = elf_section_data (sec)->this_hdr.contents; [all …]
|
H A D | elf32-h8300.c | 720 contents = elf_section_data (sec)->this_hdr.contents; in elf32_h8_relax_section() 813 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 949 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1016 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1104 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1192 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1236 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_h8_relax_section() 1243 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1258 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_h8_relax_section() 1285 contents = elf_section_data (sec)->this_hdr.contents; in elf32_h8_relax_delete_bytes() [all …]
|
H A D | elf-m10300.c | 1707 contents = elf_section_data (section)->this_hdr.contents; 2252 contents = elf_section_data (sec)->this_hdr.contents; 2398 elf_section_data (sec)->this_hdr.contents = contents; 2508 elf_section_data (sec)->this_hdr.contents = contents; 2657 elf_section_data (sec)->this_hdr.contents = contents; 2766 elf_section_data (sec)->this_hdr.contents = contents; 2871 elf_section_data (sec)->this_hdr.contents = contents; 3236 elf_section_data (sec)->this_hdr.contents = contents; 3290 elf_section_data (sec)->this_hdr.contents = contents; 3437 contents = elf_section_data (sec)->this_hdr.contents; [all …]
|
H A D | elf32-m68hc11.c | 557 code = bfd_get_8 (abfd, contents + offset); in m68hc11_relax_group() 663 bfd_byte *contents = NULL; in m68hc11_elf_relax_section() local 722 if (contents == NULL) in m68hc11_elf_relax_section() 726 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_section() 951 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 982 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 1027 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 1065 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 1102 bfd_byte *contents; in m68hc11_elf_relax_delete_bytes() local 1115 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_delete_bytes() [all …]
|
H A D | elf32-msp430.c | 871 bfd_byte *contents; in msp430_elf_relax_delete_bytes() local 885 contents = elf_section_data (sec)->this_hdr.contents; in msp430_elf_relax_delete_bytes() 897 memmove (contents + addr, contents + addr + count, in msp430_elf_relax_delete_bytes() 990 contents = elf_section_data (sec)->this_hdr.contents; in msp430_elf_relax_section() 1125 elf_section_data (sec)->this_hdr.contents = contents; in msp430_elf_relax_section() 1170 if (contents != NULL in msp430_elf_relax_section() 1171 && elf_section_data (sec)->this_hdr.contents != contents) in msp430_elf_relax_section() 1174 free (contents); in msp430_elf_relax_section() 1178 elf_section_data (sec)->this_hdr.contents = contents; in msp430_elf_relax_section() 1192 && elf_section_data (sec)->this_hdr.contents != contents) in msp430_elf_relax_section() [all …]
|
H A D | coff-tic80.c | 505 bfd_byte *contents; 636 contents[addr + 4] |= (contents[addr] >> 1) & 0x20; 638 contents + 2, addr, 640 contents[addr] &=~ 0x40; 641 contents[addr] |= (contents[addr + 4] << 1) & 0x40; 655 contents[addr + 1] |= (contents[addr + 3] << 3) & 0x80; 657 contents, addr, 660 contents[addr + 3] |= (contents[addr + 1] >> 3) & 0x10; 668 contents[addr] &=~ 0x3; 670 contents[addr] |= 0x3; [all …]
|
H A D | elf32-ip2k.c | 577 contents = elf_section_data (sec)->this_hdr.contents; in adjust_all_relocations() 787 bfd_byte *contents = elf_section_data (sec)->this_hdr.contents; in ip2k_elf_relax_delete_bytes() local 791 memmove (contents + addr, contents + addr + count, in ip2k_elf_relax_delete_bytes() 809 elf_section_data (sec)->this_hdr.contents = misc->contents; in ip2k_delete_page_insn() 1127 contents = elf_section_data (sec)->this_hdr.contents; in ip2k_elf_relax_section() 1151 misc.contents = contents; in ip2k_elf_relax_section() 1212 && elf_section_data (sec)->this_hdr.contents != contents) in ip2k_elf_relax_section() 1215 free (contents); in ip2k_elf_relax_section() 1219 elf_section_data (sec)->this_hdr.contents = contents; in ip2k_elf_relax_section() 1234 && elf_section_data (sec)->this_hdr.contents != contents) in ip2k_elf_relax_section() [all …]
|
H A D | elf32-crx.c | 594 contents = elf_section_data (sec)->this_hdr.contents; in elf32_crx_relax_delete_bytes() 606 memmove (contents + addr, contents + addr + count, in elf32_crx_relax_delete_bytes() 1000 contents = elf_section_data (sec)->this_hdr.contents; in elf32_crx_relax_section() 1099 elf_section_data (sec)->this_hdr.contents = contents; in elf32_crx_relax_section() 1144 elf_section_data (sec)->this_hdr.contents = contents; in elf32_crx_relax_section() 1193 elf_section_data (sec)->this_hdr.contents = contents; in elf32_crx_relax_section() 1234 elf_section_data (sec)->this_hdr.contents = contents; in elf32_crx_relax_section() 1269 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_crx_relax_section() 1272 free (contents); in elf32_crx_relax_section() 1276 elf_section_data (sec)->this_hdr.contents = contents; in elf32_crx_relax_section() [all …]
|
H A D | elf32-sh.c | 1807 contents = elf_section_data (symbol_section)->this_hdr.contents; in sh_elf_reloc_loop() 2161 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_section() 2304 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section() 2401 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_section() 2416 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section() 2434 && elf_section_data (sec)->this_hdr.contents != contents) in sh_elf_relax_section() 2437 free (contents); in sh_elf_relax_section() 2441 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section() 2456 && elf_section_data (sec)->this_hdr.contents != contents) in sh_elf_relax_section() 2490 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_delete_bytes() [all …]
|
/openbsd/lib/libssl/ |
H A D | bs_ber.c | 58 CBS contents; in cbs_find_indefinite() local 68 CBS_data(&contents)[header_len - 1] == 0x80) { in cbs_find_indefinite() 73 if (!CBS_skip(&contents, header_len) || in cbs_find_indefinite() 74 !cbs_find_indefinite(&contents, indefinite_found, in cbs_find_indefinite() 104 is_eoc(size_t header_len, CBS *contents) in is_eoc() argument 128 CBS contents; in cbs_convert_indefinite() local 139 if (CBS_len(&contents) == header_len) { in cbs_convert_indefinite() 140 if (is_eoc(header_len, &contents)) in cbs_convert_indefinite() 144 CBS_data(&contents)[header_len - 1] == 0x80) { in cbs_convert_indefinite() 221 if (!CBS_skip(&contents, header_len)) in cbs_convert_indefinite() [all …]
|
/openbsd/lib/libcrypto/bytestring/ |
H A D | bs_ber.c | 58 CBS contents; in cbs_find_indefinite() local 68 CBS_data(&contents)[header_len - 1] == 0x80) { in cbs_find_indefinite() 73 if (!CBS_skip(&contents, header_len) || in cbs_find_indefinite() 74 !cbs_find_indefinite(&contents, indefinite_found, in cbs_find_indefinite() 104 is_eoc(size_t header_len, CBS *contents) in is_eoc() argument 128 CBS contents; in cbs_convert_indefinite() local 139 if (CBS_len(&contents) == header_len) { in cbs_convert_indefinite() 140 if (is_eoc(header_len, &contents)) in cbs_convert_indefinite() 144 CBS_data(&contents)[header_len - 1] == 0x80) { in cbs_convert_indefinite() 221 if (!CBS_skip(&contents, header_len)) in cbs_convert_indefinite() [all …]
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | elf-m10200.c | 540 contents = elf_section_data (sec)->this_hdr.contents; 643 elf_section_data (sec)->this_hdr.contents = contents; 696 elf_section_data (sec)->this_hdr.contents = contents; 788 elf_section_data (sec)->this_hdr.contents = contents; 907 elf_section_data (sec)->this_hdr.contents = contents; 946 elf_section_data (sec)->this_hdr.contents = contents; 1029 elf_section_data (sec)->this_hdr.contents = contents; 1088 elf_section_data (sec)->this_hdr.contents = contents; 1139 elf_section_data (sec)->this_hdr.contents = contents; 1186 contents = elf_section_data (sec)->this_hdr.contents; [all …]
|
H A D | elf32-avr.c | 489 contents, rel, relocation) in avr_final_link_relocate() argument 504 contents += rel->r_offset; 557 contents += rel->r_offset; 565 contents += rel->r_offset; 574 contents += rel->r_offset; 583 contents += rel->r_offset; 592 contents += rel->r_offset; 602 contents += rel->r_offset; 612 contents += rel->r_offset; 623 contents += rel->r_offset; [all …]
|
H A D | elf32-h8300.c | 724 contents = elf_section_data (sec)->this_hdr.contents; in elf32_h8_relax_section() 822 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 958 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1025 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1113 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1201 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1245 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_h8_relax_section() 1252 elf_section_data (sec)->this_hdr.contents = contents; in elf32_h8_relax_section() 1267 && elf_section_data (sec)->this_hdr.contents != contents) in elf32_h8_relax_section() 1294 contents = elf_section_data (sec)->this_hdr.contents; in elf32_h8_relax_delete_bytes() [all …]
|
H A D | elf32-m68hc11.c | 662 bfd_byte *contents = NULL; in m68hc11_elf_relax_section() local 726 if (contents == NULL) in m68hc11_elf_relax_section() 730 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_section() 735 if (contents == NULL) in m68hc11_elf_relax_section() 961 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 992 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 1037 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 1075 elf_section_data (sec)->this_hdr.contents = contents; in m68hc11_elf_relax_section() 1112 bfd_byte *contents; in m68hc11_elf_relax_delete_bytes() local 1125 contents = elf_section_data (sec)->this_hdr.contents; in m68hc11_elf_relax_delete_bytes() [all …]
|
H A D | elf-m10300.c | 1864 contents = elf_section_data (section)->this_hdr.contents; 2409 contents = elf_section_data (sec)->this_hdr.contents; 2547 elf_section_data (sec)->this_hdr.contents = contents; 2657 elf_section_data (sec)->this_hdr.contents = contents; 2806 elf_section_data (sec)->this_hdr.contents = contents; 2915 elf_section_data (sec)->this_hdr.contents = contents; 3020 elf_section_data (sec)->this_hdr.contents = contents; 3385 elf_section_data (sec)->this_hdr.contents = contents; 3439 elf_section_data (sec)->this_hdr.contents = contents; 3586 contents = elf_section_data (sec)->this_hdr.contents; [all …]
|
H A D | coff-tic80.c | 497 bfd_byte *contents; 628 contents[addr + 4] |= (contents[addr] >> 1) & 0x20; 630 contents + 2, addr, 632 contents[addr] &=~ 0x40; 633 contents[addr] |= (contents[addr + 4] << 1) & 0x40; 647 contents[addr + 1] |= (contents[addr + 3] << 3) & 0x80; 649 contents, addr, 652 contents[addr + 3] |= (contents[addr + 1] >> 3) & 0x10; 660 contents[addr] &=~ 0x3; 662 contents[addr] |= 0x3; [all …]
|
H A D | elf32-ip2k.c | 450 elf_section_data (sec)->this_hdr.contents = misc->contents; 874 contents = elf_section_data (sec)->this_hdr.contents; 903 misc.contents = contents; 964 && elf_section_data (sec)->this_hdr.contents != contents) 967 free (contents); 971 elf_section_data (sec)->this_hdr.contents = contents; 986 && elf_section_data (sec)->this_hdr.contents != contents) 987 free (contents); 1099 contents = elf_section_data (sec)->this_hdr.contents; 1310 bfd_byte *contents = elf_section_data (sec)->this_hdr.contents; local [all …]
|
H A D | elf32-sh.c | 1870 contents = elf_section_data (symbol_section)->this_hdr.contents; in sh_elf_reloc_loop() 2232 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_section() 2380 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section() 2489 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_section() 2509 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section() 2527 && elf_section_data (sec)->this_hdr.contents != contents) in sh_elf_relax_section() 2530 free (contents); in sh_elf_relax_section() 2534 elf_section_data (sec)->this_hdr.contents = contents; in sh_elf_relax_section() 2549 && elf_section_data (sec)->this_hdr.contents != contents) in sh_elf_relax_section() 2583 contents = elf_section_data (sec)->this_hdr.contents; in sh_elf_relax_delete_bytes() [all …]
|
/openbsd/gnu/usr.bin/texinfo/info/ |
H A D | dir.c | 143 if (contents) in maybe_build_dir_node() 147 free (contents); in maybe_build_dir_node() 172 contents_binding.buffer = contents; in add_menu_to_file_buffer() 177 fb_binding.buffer = fb->contents; in add_menu_to_file_buffer() 224 fb_binding.buffer = fb->contents; in add_menu_to_file_buffer() 276 char *contents; in insert_text_into_fb_at_binding() local 283 memcpy (contents, fb->contents, start); in insert_text_into_fb_at_binding() 284 memcpy (contents + start, text, textlen); in insert_text_into_fb_at_binding() 285 memcpy (contents + start + textlen, fb->contents + start, end - start); in insert_text_into_fb_at_binding() 286 free (fb->contents); in insert_text_into_fb_at_binding() [all …]
|
H A D | filesys.c | 469 char *contents; in filesys_read_info_file() local 488 free (contents); in filesys_read_info_file() 502 contents = (char *)xrealloc (contents, 1 + *filesize); in filesys_read_info_file() 505 return (contents); in filesys_read_info_file() 520 char *contents = (char *)NULL; in filesys_read_compressed() local 578 if (contents) in filesys_read_compressed() 579 free (contents); in filesys_read_compressed() 580 contents = (char *)NULL; in filesys_read_compressed() 586 contents = (char *)xrealloc (contents, 1 + *filesize); in filesys_read_compressed() 587 contents[*filesize] = '\0'; in filesys_read_compressed() [all …]
|
/openbsd/regress/lib/libssl/bytestring/ |
H A D | bytestringtest.c | 194 CBS data, contents; in test_get_asn1() local 204 CHECK(CBS_len(&contents) == 2); in test_get_asn1() 238 CHECK(CBS_len(&contents) == 0); in test_get_asn1() 240 CHECK(CBS_len(&contents) == 0); in test_get_asn1() 250 CHECK(CBS_len(&contents) == 3); in test_get_asn1() 258 CHECK(CBS_len(&contents) == 0); in test_get_asn1() 262 CHECK(CBS_len(&contents) == 1); in test_get_asn1() 263 CHECK(CBS_data(&contents)[0] == 1); in test_get_asn1() 514 CBB_discard_child(&contents); in test_cbb_discard_child() 532 CBB cbb, child, contents; in test_cbb_misuse() local [all …]
|
/openbsd/gnu/usr.bin/perl/regen/ |
H A D | lib_cleanup.pl | 124 my ($desc, $contents) = @_; 126 my ($start) = $contents =~ $start_re; 127 $contents = verify_contiguous($desc, $contents, 133 $contents =~ s{\0} 138 $contents; 142 my ($desc, $contents) = @_; 145 $contents = verify_contiguous($desc, $contents, 158 $contents =~ s/\0/$start\n$lines/; 159 $contents;
|
/openbsd/gnu/usr.bin/texinfo/util/ |
H A D | gdoc | 261 my $contents = join "\n", @_; 266 $constants{$name} = $contents; 270 $parameters{$name} = $contents; 273 $sections{$name} = $contents; 312 my $contents = join "\n", @_; 331 my $contents = join "\n", @_; 808 $contents = ""; 850 if ($contents ne "") { 856 if ($contents ne "") { 865 $contents = ""; [all …]
|