Home
last modified time | relevance | path

Searched refs:stroff (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/ddb/
H A Ddb_ctf.c157 uint32_t stroff = hp->cth_stroff; in db_ctf_typename_to_type() local
178 while (typeoff < stroff) { in db_ctf_typename_to_type()
191 if (typeoff < stroff) { in db_ctf_typename_to_type()
220 uint32_t stroff = hp->cth_stroff; in db_ctf_typeid_to_type() local
226 while (typeoff < stroff) { in db_ctf_typeid_to_type()
241 if (typeoff < stroff) { in db_ctf_typeid_to_type()
253 uint32_t stroff = hp->cth_stroff + off; in db_ctf_stroff_to_str() local
256 if (stroff >= (hp->cth_stroff + hp->cth_strlen)) { in db_ctf_stroff_to_str()
259 ret = ((const char *)hp + sizeof(ctf_header_t)) + stroff; in db_ctf_stroff_to_str()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_as.c96 ssize_t stroff; in dt_copyvar() local
103 stroff = dt_strtab_insert(pcb->pcb_strtab, idp->di_name); in dt_copyvar()
105 if (stroff == -1L) in dt_copyvar()
107 if (stroff > DIF_STROFF_MAX) in dt_copyvar()
110 dvp->dtdv_name = (uint_t)stroff; in dt_copyvar()
H A Ddt_cg.c1522 ssize_t stroff; in dt_cg_node() local
1930 stroff = dt_strtab_insert(yypcb->pcb_strtab, dnp->dn_string); in dt_cg_node()
1932 if (stroff == -1L) in dt_cg_node()
1934 if (stroff > DIF_STROFF_MAX) in dt_cg_node()
1937 instr = DIF_INSTR_SETS((ulong_t)stroff, dnp->dn_reg); in dt_cg_node()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp118 ctf_header.stroff = m_data.GetU32(&offset); in ParseHeader()
143 const std::size_t decompressed_size = ctf_header.stroff + ctf_header.strlen; in ParseHeader()
224 if (!m_data.ValidOffset(m_body_offset + ctf_header.stroff)) { in ParseHeader()
227 ctf_header.stroff); in ParseHeader()
232 m_body_offset + ctf_header.stroff + ctf_header.strlen; in ParseHeader()
240 if (m_body_offset + ctf_header.stroff + ctf_header.parlabel > in ParseHeader()
249 if (m_body_offset + ctf_header.stroff + ctf_header.parname > str_end_offset) { in ParseHeader()
261 ctf_header.typeoff, ctf_header.stroff, ctf_header.strlen); in ParseHeader()
285 lldb::offset_t offset = m_body_offset + m_header->stroff + str_offset; in ReadString()
724 const lldb::offset_t type_offset_end = m_body_offset + m_header->stroff; in ParseTypes()
H A DSymbolFileCTF.h180 uint32_t stroff; member
/freebsd/sbin/restore/
H A Dsymtab.c437 long mynum = 1, stroff = 0; in dumpsymtable() local
466 stroff = 0; in dumpsymtable()
470 tep->e_name = (char *)stroff; in dumpsymtable()
471 stroff += allocsize(ep->e_namlen); in dumpsymtable()
501 hdr.stringsize = stroff; in dumpsymtable()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.cpp51 if (SymTabCommand.stroff) in totalSize()
52 Ends.push_back(SymTabCommand.stroff + SymTabCommand.strsize); in totalSize()
294 uint8_t *StrTable = (uint8_t *)Buf->getBufferStart() + SymTabCommand.stroff; in writeStringTable()
595 if (SymTabCommand.stroff) in writeTail()
596 Queue.push_back({SymTabCommand.stroff, &MachOWriter::writeStringTable}); in writeTail()
H A DMachOLayoutBuilder.cpp352 MLC.symtab_command_data.stroff = StartOfSymbolStrings; in layoutTail()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h435 SymTabLC->stroff = Offset;
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h701 uint32_t stroff; member
1193 sys::swapByteOrder(lc.stroff); in swapStruct()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp509 std::make_pair(SymtabCmd->stroff, &MachOWriter::writeStringTable)); in writeLinkEditData()
H A DMachOYAML.cpp588 IO.mapRequired("stroff", LoadCommand.stroff); in mapping()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp450 if (Symtab.stroff > FileSize) in checkSymtabCommand()
454 BigSize = Symtab.stroff; in checkSymtabCommand()
460 if (Error Err = checkOverlappingElement(Elements, Symtab.stroff, in checkSymtabCommand()
4842 Cmd.stroff = 0; in getSymtabLoadCommand()
5291 return getData().substr(S.stroff, S.strsize); in getStringTableData()
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.cpp1020 const char *strtab = reinterpret_cast<const char *>(buf) + c->stroff; in parse()
1067 const char *strtab = reinterpret_cast<const char *>(buf) + c->stroff; in parseLazy()
H A DWriter.cpp309 c->stroff = stringTableSection->fileOff; in writeTo()
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c251 (char *)(baton->mach_header_start + symtab_cmd.stroff); in scan_macho_load_commands()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp8696 outs() << " stroff " << st.stroff; in PrintSymtabLoadCommand()
8697 if (st.stroff > object_size) in PrintSymtabLoadCommand()
8702 big_size = st.stroff; in PrintSymtabLoadCommand()