Home
last modified time | relevance | path

Searched refs:string_table (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dsomread.c478 unsigned int string_table; in init_import_symbols() local
524 string_table = dl_header[10]; in init_import_symbols()
532 string_table, string_table_size); in init_import_symbols()
598 unsigned int string_table; in init_export_symbols() local
647 string_table = dl_header[10]; in init_export_symbols()
655 string_table, string_table_size); in init_export_symbols()
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dia64-gen.c181 } **string_table = NULL; variable
1642 string_table = (struct string_entry **) in insert_string()
1643 xrealloc (string_table, in insert_string()
1650 string_table[0] = tmalloc (struct string_entry); in insert_string()
1651 string_table[0]->s = xstrdup (str); in insert_string()
1652 string_table[0]->num = 0; in insert_string()
1653 return string_table[0]; in insert_string()
1656 if (strcmp (str, string_table[strtablen - 1]->s) > 0) in insert_string()
1658 else if (strcmp (str, string_table[0]->s) < 0) in insert_string()
1667 c = strcmp (str, string_table[i]->s); in insert_string()
[all …]
/openbsd-src/gnu/usr.bin/binutils/opcodes/
H A Dia64-gen.c170 } **string_table = NULL; variable
1610 string_table = (struct string_entry **) in insert_string()
1611 xrealloc (string_table, in insert_string()
1618 string_table[0] = tmalloc (struct string_entry); in insert_string()
1619 string_table[0]->s = xstrdup (str); in insert_string()
1620 string_table[0]->num = 0; in insert_string()
1621 return string_table[0]; in insert_string()
1624 if (strcmp (str, string_table[strtablen - 1]->s) > 0) in insert_string()
1626 else if (strcmp (str, string_table[0]->s) < 0) in insert_string()
1635 c = strcmp (str, string_table[i]->s); in insert_string()
[all …]
/openbsd-src/lib/libcurses/tinfo/
H A Dread_entry.c288 char *string_table; in _nc_read_termtype() local
351 || (string_table = typeMalloc(char, want)) == 0) { in _nc_read_termtype()
357 ptr->str_table = string_table; in _nc_read_termtype()
358 ptr->term_names = string_table; in _nc_read_termtype()
363 string_table += (want + 1); in _nc_read_termtype()
397 if (Read(string_table, (unsigned) str_size) != str_size) { in _nc_read_termtype()
401 string_table, FALSE)) { in _nc_read_termtype()
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dpeicode.h112 char * string_table; member
495 BFD_ASSERT ((bfd_byte *) vars->int_reltab < (bfd_byte *) vars->string_table); in pe_ILF_save_relocs()
542 H_PUT_32 (vars->abfd, vars->string_ptr - vars->string_table, in pe_ILF_make_a_symbol()
802 vars.string_table = (char *) ptr; in pe_ILF_build_a_bfd()
1019 obj_coff_strings (abfd) = vars.string_table; in pe_ILF_build_a_bfd()
H A Dcoff64-rs6000.c2179 bfd_byte *string_table, *st_tmp; local
2321 string_table = (bfd_byte *) bfd_zmalloc (string_table_size);
2322 if (string_table == NULL)
2326 bfd_put_32 (abfd, val, &string_table[0]);
2327 st_tmp = string_table + 4;
2342 syment._n._n_n._n_offset = st_tmp - string_table;
2362 syment._n._n_n._n_offset = st_tmp - string_table;
2384 syment._n._n_n._n_offset = st_tmp - string_table;
2413 syment._n._n_n._n_offset = st_tmp - string_table;
2443 syment._n._n_n._n_offset = st_tmp - string_table;
[all …]
H A Dcoffgen.c1567 const char *string_table = NULL; in coff_get_normalized_symtab() local
1635 if (string_table == NULL) in coff_get_normalized_symtab()
1637 string_table = _bfd_coff_read_string_table (abfd); in coff_get_normalized_symtab()
1638 if (string_table == NULL) in coff_get_normalized_symtab()
1644 (string_table in coff_get_normalized_symtab()
1694 if (string_table == NULL) in coff_get_normalized_symtab()
1696 string_table = _bfd_coff_read_string_table (abfd); in coff_get_normalized_symtab()
1697 if (string_table == NULL) in coff_get_normalized_symtab()
1702 (string_table in coff_get_normalized_symtab()
H A Dcoff-rs6000.c3674 bfd_byte *string_table = NULL, *st_tmp = NULL; local
3778 string_table = (bfd_byte *) bfd_zmalloc (string_table_size);
3779 if (string_table == NULL)
3783 bfd_h_put_32 (abfd, val, &string_table[0]);
3784 st_tmp = string_table + 4;
3837 syment._n._n_n._n_offset = st_tmp - string_table;
3872 syment._n._n_n._n_offset = st_tmp - string_table;
3936 bfd_bwrite (string_table, string_table_size, abfd);
H A DChangeLog-91936650 * libcoff-in.h (struct coff_tdata): Remove unused string_table.
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dcoff64-rs6000.c2178 bfd_byte *string_table, *st_tmp; local
2320 string_table = (bfd_byte *) bfd_zmalloc (string_table_size);
2321 if (string_table == NULL)
2325 bfd_put_32 (abfd, val, &string_table[0]);
2326 st_tmp = string_table + 4;
2341 syment._n._n_n._n_offset = st_tmp - string_table;
2361 syment._n._n_n._n_offset = st_tmp - string_table;
2383 syment._n._n_n._n_offset = st_tmp - string_table;
2412 syment._n._n_n._n_offset = st_tmp - string_table;
2442 syment._n._n_n._n_offset = st_tmp - string_table;
[all …]
H A Dpeicode.h123 char * string_table; member
533 BFD_ASSERT ((bfd_byte *) vars->int_reltab < (bfd_byte *) vars->string_table); in pe_ILF_save_relocs()
579 H_PUT_32 (vars->abfd, vars->string_ptr - vars->string_table, in pe_ILF_make_a_symbol()
858 vars.string_table = ptr; in pe_ILF_build_a_bfd()
1093 obj_coff_strings (abfd) = vars.string_table; in pe_ILF_build_a_bfd()
H A Dcoffgen.c1725 const char *string_table = NULL; local
1793 if (string_table == NULL)
1795 string_table = _bfd_coff_read_string_table (abfd);
1796 if (string_table == NULL)
1802 (string_table
1856 if (string_table == NULL)
1858 string_table = _bfd_coff_read_string_table (abfd);
1859 if (string_table == NULL)
1864 (string_table
H A Dcoff-rs6000.c3679 bfd_byte *string_table = NULL, *st_tmp = NULL; local
3783 string_table = (bfd_byte *) bfd_zmalloc (string_table_size);
3784 if (string_table == NULL)
3788 bfd_h_put_32 (abfd, val, &string_table[0]);
3789 st_tmp = string_table + 4;
3842 syment._n._n_n._n_offset = st_tmp - string_table;
3877 syment._n._n_n._n_offset = st_tmp - string_table;
3941 bfd_bwrite (string_table, string_table_size, abfd);
H A DChangeLog-91936650 * libcoff-in.h (struct coff_tdata): Remove unused string_table.
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DHashedNameToDIE.h127 const lldb_private::DWARFDataExtractor &string_table,
H A DHashedNameToDIE.cpp308 const lldb_private::DWARFDataExtractor &string_table, const char *name) in MemoryTable() argument
310 m_data(table_data), m_string_table(string_table), m_name(name) {} in MemoryTable()
/openbsd-src/gnu/llvm/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c250 char *string_table = in scan_macho_load_commands() local
293 string_table + nlist.n_un.n_strx; in scan_macho_load_commands()
323 string_table + nlist.n_un.n_strx; in scan_macho_load_commands()
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dreadelf.c132 static char *string_table; variable
235 ? "<corrupt>" : string_table + (X)->sh_name))
3811 if (do_segments && section_headers != NULL && string_table != NULL) in process_program_headers()
4293 string_table = get_data (NULL, file, section->sh_offset, in process_section_headers()
4296 string_table_length = string_table != NULL ? section->sh_size : 0; in process_section_headers()
4962 if (string_table == NULL) in process_relocs()
5385 if (string_table == NULL) in ia64_process_unwind()
5399 if (string_table == NULL) in ia64_process_unwind()
5714 if (string_table == NULL) in hppa_process_unwind()
7476 strtab = string_table; in process_symbol_table()
[all …]
H A DChangeLog-2005591 (process_program_headers): Don't crash if string_table is NULL.
593 Ensure string_table_length is 0 if string_table == NULL.
594 Don't return just because string_table is NULL.
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dreadelf.c124 char *string_table; variable
197 ? "<corrupt>" : string_table + (X)->sh_name))
3142 assert (string_table != NULL); in process_program_headers()
3496 string_table = get_data (NULL, file, section->sh_offset, in process_section_headers()
3499 if (string_table == NULL) in process_section_headers()
3799 if (string_table == NULL) in process_relocs()
4207 if (string_table == NULL) in process_unwind()
4221 if (string_table == NULL) in process_unwind()
5769 strtab = string_table; in process_symbol_table()
5931 if (strtab != string_table) in process_symbol_table()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DOpts.td44 def string_table : FF<"string-table", "Display the string table (only for XCOFF now)">;
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp2704 __block char *string_table = nullptr; in ParseSymtab() local
2784 string_table = (char *)vm_string_memory; in ParseSymtab()
2817 const char *symbol_name = string_table + nlist.n_strx; in ParseSymtab()