| /freebsd-13.1/sbin/dhclient/ |
| H A D | conflex.c | 321 intern(char *atom, int dfv) in intern() argument 323 if (!isascii(atom[0])) in intern() 326 switch (tolower(atom[0])) { in intern() 364 if (!strcasecmp(atom + 1, "eny")) in intern() 367 if (!atom[7]) in intern() 374 if (!atom[13]) in intern() 386 if (!strcasecmp(atom + 1, "nds")) in intern() 429 if (!strcasecmp(atom + 4, "a")) in intern() 443 if (!strcasecmp(atom + 1, "ot")) in intern() 514 if (!strcasecmp(atom + 3, in intern() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/include/lld/Core/ |
| H A D | Atom.h | 88 OwningAtomPtr(T *atom) : atom(atom) { } in OwningAtomPtr() argument 91 if (atom) in ~OwningAtomPtr() 96 atom->~Atom(); in runDestructor() 99 OwningAtomPtr(OwningAtomPtr &&ptr) : atom(ptr.atom) { in OwningAtomPtr() 104 if (atom) 106 atom = ptr.atom; 111 return atom; in get() 115 return atom; in get() 119 auto *v = atom; in release() 120 atom = nullptr; in release() [all …]
|
| H A D | Resolver.h | 37 void doDefinedAtom(OwningAtomPtr<DefinedAtom> atom); 38 bool doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom); 39 void doSharedLibraryAtom(OwningAtomPtr<SharedLibraryAtom> atom); 40 void doAbsoluteAtom(OwningAtomPtr<AbsoluteAtom> atom); 71 void markLive(const Atom *atom);
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/Core/ |
| H A D | Resolver.cpp | 37 doDefinedAtom(std::move(atom)); in handleFile() 39 if (doUndefinedAtom(std::move(atom))) in handleFile() 43 doSharedLibraryAtom(std::move(atom)); in handleFile() 45 doAbsoluteAtom(std::move(atom)); in handleFile() 59 if (!isa<UndefinedAtom>(atom) || _symbolTable.isCoalescedAway(atom)) { in forEachUndefines() 95 if (atom.get()) in handleSharedLibrary() 141 _deadStripRoots.insert(atom.get()); in doDefinedAtom() 145 _symbolTable.add(*atom.get()); in doDefinedAtom() 158 _symbolTable.add(*atom.get()); in doSharedLibraryAtom() 174 _symbolTable.add(*atom.get()); in doAbsoluteAtom() [all …]
|
| H A D | SymbolTable.cpp | 30 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add() argument 32 bool SymbolTable::add(const SharedLibraryAtom &atom) { return addByName(atom); } in add() argument 34 bool SymbolTable::add(const AbsoluteAtom &atom) { return addByName(atom); } in add() argument 37 if (!atom.name().empty() && in add() 42 return addByName(atom); in add() 46 assert(atom.name().empty()); in add() 49 return addByContent(atom); in add() 263 return atom; in replacement() 264 atom = pos->second; in replacement() 275 const Atom *atom = it.second; in undefines() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileFromAtoms.cpp | 48 const DefinedAtom *atom; member 437 appendAtom(sectionForAtom(atom), atom); in assignAtomToSection() 666 if (atomInfo.atom == &atom) in copySectionContent() 687 assert(ai.atom->begin() == ai.atom->end() && in copySectionContent() 808 if (const DefinedAtom *atom = dyn_cast<DefinedAtom>(info.atom)) { in synthesizeDebugNotes() local 980 return (left.atom->name().compare(right.atom->name()) < 0); in operator ()() 1045 if (stab.atom) in addSymbols() 1058 const DefinedAtom *atom = info.atom; in addSymbols() local 1318 const DefinedAtom *atom = info.atom; in addSectionRelocs() local 1433 const DefinedAtom *atom = info.atom; in addRebaseAndBindingInfo() local [all …]
|
| H A D | LayoutPass.cpp | 75 const DefinedAtom *start = atom; in showCycleDetectedError() 79 for (const Reference *ref : *atom) { in showCycleDetectedError() 88 atom = followOnNexts[atom]; in showCycleDetectedError() 89 } while (atom != start); in showCycleDetectedError() 113 if (!atom) return; in checkReachabilityFromRoot() 114 auto i = followOnRoots.find(atom); in checkReachabilityFromRoot() 274 const DefinedAtom *prevAtom = atom; in findAtomFollowedBy() 279 if (atom == targetAtom) in findAtomFollowedBy() 292 if (atom == targetAtom) in checkAllPrevAtomsZeroSize() 294 if (atom->size() != 0) in checkAllPrevAtomsZeroSize() [all …]
|
| H A D | File.h | 57 auto *atom = in addDefinedAtom() local 80 auto *atom = in addDefinedAtomInCustomSection() local 112 auto *atom = in addZeroFillDefinedAtom() local 124 addAtom(*atom); in addUndefinedAtom() 134 auto *atom = in addTentativeDefAtom() local 136 addAtom(*atom); in addTentativeDefAtom() 261 offAndAtom.atom = atom; in addAtomForSection() 263 addAtom(*atom); in addAtomForSection() 361 entry->second.atom = atom; in exports() 362 return atom; in exports() [all …]
|
| H A D | ArchHandler.h | 165 typedef std::function<uint32_t (const Atom &atom)> FindSymbolIndexForAtom; 169 typedef std::function<uint32_t (const Atom &atom)> FindSectionIndexForAtom; 173 typedef std::function<uint64_t (const Atom &atom)> FindAddressForAtom; 176 virtual bool needsLocalSymbolInRelocatableFile(const DefinedAtom *atom) { in needsLocalSymbolInRelocatableFile() argument 181 virtual void generateAtomContent(const DefinedAtom &atom, bool relocatable, 188 virtual void appendSectionRelocations(const DefinedAtom &atom, 197 virtual void addAdditionalReferences(MachODefinedAtom &atom) { } in addAdditionalReferences() argument 200 virtual void addDataInCodeReference(MachODefinedAtom &atom, uint32_t atomOff, in addDataInCodeReference() argument 212 const MachODefinedAtom &atom) { in dataInCodeTransitionStart() argument 224 virtual bool isThumbFunction(const DefinedAtom &atom) { return false; } in isThumbFunction() argument [all …]
|
| H A D | MachONormalizedFileToAtoms.cpp | 375 prevAtom = atom; in processSymboledSection() 515 auto atom = in findAtomCoveringAddress() local 518 return atom; in findAtomCoveringAddress() 700 if (atom->name() == strName) in findDefinedAtomByName() 701 return atom; in findDefinedAtomByName() 780 if (stab.atom == nullptr) in parseStabs() 795 stab.atom = currentAtom; in parseStabs() 1137 if (atom->begin() != atom->end()) { in processCIE() 1164 } else if (atom->begin() != atom->end()) { in processCIE() 1191 if (atom->begin() != atom->end()) in processFDE() [all …]
|
| H A D | CompactUnwindPass.cpp | 353 mergedFile.removeDefinedAtomsIf([](const DefinedAtom *atom) { in perform() argument 366 for (const DefinedAtom *atom : mergedFile.defined()) { in collectCompactUnwindEntries() local 370 auto unwindEntry = extractCompactUnwindEntry(atom); in collectCompactUnwindEntries() 399 for (const Reference *ref : *atom) { in extractCompactUnwindEntry() 418 if (atom->rawContent().size() < 4 * sizeof(uint32_t)) in extractCompactUnwindEntry() 460 for (const DefinedAtom *atom : mergedFile.defined()) { in createUnwindInfoEntries() local 461 if (atom->contentType() != DefinedAtom::typeCode) in createUnwindInfoEntries() 465 atom, unwindLocs, personalities, dwarfFrames)); in createUnwindInfoEntries() 515 mergedFile.removeDefinedAtomsIf([&](const DefinedAtom *atom) { in pruneUnusedEHFrames() argument 516 if ((atom->contentType() == DefinedAtom::typeCFI) && in pruneUnusedEHFrames() [all …]
|
| H A D | DebugInfo.h | 65 Stab(const Atom* atom, uint8_t type, uint8_t other, uint16_t desc, in Stab() 67 : atom(atom), type(type), other(other), desc(desc), value(value), in Stab() 70 const class Atom* atom; member 79 os << "Stab -- atom: " << llvm::format("%p", s.atom) << ", type: " << (uint32_t)s.type
|
| H A D | StubsPass.cpp | 223 for (const DefinedAtom *atom : mergedFile.defined()) { in perform() local 224 for (const Reference *ref : *atom) { in perform() 274 mergedFile.sharedLibrary(), [&](const SharedLibraryAtom *atom) { in perform() argument 275 return atom->name().equals(_stubInfo.binderSymbolName); in perform() 336 void addReference(SimpleDefinedAtom* atom, in addReference() argument 339 atom->addReference(Reference::KindNamespace::mach_o, in addReference() 344 void addReferenceAddend(SimpleDefinedAtom *atom, in addReferenceAddend() argument 347 atom->addReference(Reference::KindNamespace::mach_o, refInfo.arch, in addReferenceAddend() 351 void addOptReference(SimpleDefinedAtom* atom, in addOptReference() argument 357 atom->addReference(Reference::KindNamespace::mach_o, in addOptReference()
|
| H A D | ArchHandler_arm64.cpp | 159 return (atom->contentType() == DefinedAtom::typeCString); in needsLocalSymbolInRelocatableFile() 168 void appendSectionRelocations(const DefinedAtom &atom, 543 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 547 if (atom.begin() != atom.end()) { in generateAtomContent() 551 << llvm::format(" 0x%09lX", &atom) in generateAtomContent() 553 << atom.file().ordinal() in generateAtomContent() 555 << atom.ordinal() in generateAtomContent() 557 << atom.name() in generateAtomContent() 559 << atom.contentType() in generateAtomContent() 563 for (const Reference *ref : atom) { in generateAtomContent() [all …]
|
| H A D | ArchHandler.cpp | 142 bool ArchHandler::isDwarfCIE(bool isBig, const DefinedAtom *atom) { in isDwarfCIE() argument 143 assert(atom->contentType() == DefinedAtom::typeCFI); in isDwarfCIE() 144 if (atom->rawContent().size() < sizeof(uint32_t)) in isDwarfCIE() 146 uint32_t size = read32(atom->rawContent().data(), isBig); in isDwarfCIE() 152 return read32(atom->rawContent().data() + idOffset, isBig) == 0; in isDwarfCIE()
|
| H A D | ArchHandler_x86_64.cpp | 167 return (atom->contentType() == DefinedAtom::typeCString); in needsLocalSymbolInRelocatableFile() 170 void generateAtomContent(const DefinedAtom &atom, bool relocatable, 176 void appendSectionRelocations(const DefinedAtom &atom, 550 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 553 for (const Reference *ref : atom) { in generateAtomContent() 559 uint64_t atomAddress = findAddress(atom); in generateAtomContent() 765 const DefinedAtom &atom, in appendSectionRelocations() argument 838 appendReloc(relocs, sectionOffset, symbolIndexForAtom(atom), 0, in appendSectionRelocations() 844 appendReloc(relocs, sectionOffset, symbolIndexForAtom(atom), 0, in appendSectionRelocations() 850 appendReloc(relocs, sectionOffset, symbolIndexForAtom(atom), 0, in appendSectionRelocations() [all …]
|
| H A D | ArchHandler_x86.cpp | 109 void generateAtomContent(const DefinedAtom &atom, bool relocatable, 115 void appendSectionRelocations(const DefinedAtom &atom, 128 const MachODefinedAtom &atom) override { in dataInCodeTransitionStart() argument 133 const MachODefinedAtom &atom) override { in dataInCodeTransitionEnd() argument 409 void ArchHandler_x86::generateAtomContent(const DefinedAtom &atom, in generateAtomContent() argument 416 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 419 for (const Reference *ref : atom) { in generateAtomContent() 425 uint64_t atomAddress = findAddress(atom); in generateAtomContent() 552 const DefinedAtom &atom, in appendSectionRelocations() argument 617 appendReloc(relocs, sectionOffset, 0, addressForAtom(atom) + in appendSectionRelocations() [all …]
|
| H A D | ArchHandler_arm.cpp | 109 void appendSectionRelocations(const DefinedAtom &atom, 138 return atom.isThumb() ? modeThumbCode : modeArmCode; in dataInCodeTransitionEnd() 1019 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 1023 for (const Reference *ref : atom) { in generateAtomContent() 1032 uint64_t atomAddress = findAddress(atom); in generateAtomContent() 1266 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1275 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1346 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1355 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1395 if (atom.isThumb()) { in addAdditionalReferences() [all …]
|
| H A D | ShimPass.cpp | 51 for (const DefinedAtom *atom : mergedFile.defined()) { in perform() local 52 for (const Reference *ref : *atom) { in perform() 59 bool atomIsThumb = _archHandler.isThumbFunction(*atom); in perform()
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/YAML/ |
| H A D | ReaderWriterYAML.cpp | 145 _nameMap[atom.name()] = &atom; in buildDuplicateNameMap() 154 bool hasRefName(const lld::Atom *atom) { return _refNames.count(atom); } in hasRefName() argument 200 _nameMap[name] = atom; in add() 817 _scope(atom->scope()), _interpose(atom->interposable()), in NormalizedAtom() 818 _merge(atom->merge()), _contentType(atom->contentType()), in NormalizedAtom() 819 _alignment(atom->alignment()), _sectionChoice(atom->sectionChoice()), in NormalizedAtom() 820 _deadStrip(atom->deadStrip()), _dynamicExport(atom->dynamicExport()), in NormalizedAtom() 822 _permissions(atom->permissions()), _size(atom->size()), in NormalizedAtom() 1069 _loadName(atom->loadName()), _canBeNull(atom->canBeNullAtRuntime()), in NormalizedAtom() 1070 _type(atom->type()), _size(atom->size()) {} in NormalizedAtom() [all …]
|
| /freebsd-13.1/contrib/opencsd/decoder/source/ptm/ |
| H A D | trc_pkt_elem_ptm.cpp | 64 atom.En_bits = 0; in Clear() 112 atom.num = 1; in SetCycleAccAtomFromPHdr() 124 atom.num = 2; in SetAtomFromPHdr() 126 atom.num = 1; in SetAtomFromPHdr() 130 atom.num = 3; in SetAtomFromPHdr() 135 atom.num = 4; in SetAtomFromPHdr() 137 atom.num = 5; in SetAtomFromPHdr() 142 atom.En_bits = 0; in SetAtomFromPHdr() 143 for(int i = 0; i < atom.num; i++) in SetAtomFromPHdr() 145 atom.En_bits <<= 1; in SetAtomFromPHdr() [all …]
|
| /freebsd-13.1/contrib/opencsd/decoder/source/etmv3/ |
| H A D | trc_pkt_elem_etmv3.cpp | 60 m_pkt_data.atom.num = 0; in Clear() 147 m_pkt_data.atom.num = E+N; in UpdateAtomFromPHdr() 153 m_pkt_data.atom.num = 2; in UpdateAtomFromPHdr() 169 m_pkt_data.atom.num = E+N; in UpdateAtomFromPHdr() 170 if(m_pkt_data.atom.num) in UpdateAtomFromPHdr() 185 m_pkt_data.atom.num = 1; in UpdateAtomFromPHdr() 191 m_pkt_data.atom.num = 2; in UpdateAtomFromPHdr() 201 m_pkt_data.atom.num = E; in UpdateAtomFromPHdr() 202 m_pkt_data.atom.En_bits = E; in UpdateAtomFromPHdr() 522 for(int i = 0; i < m_pkt_data.atom.num; i++) in getAtomStr() [all …]
|
| /freebsd-13.1/contrib/elftoolchain/libdwarf/ |
| H A D | libdwarf_loc.c | 371 Dwarf_Small atom, Dwarf_Unsigned operand1, Dwarf_Unsigned operand2, in _dwarf_loc_expr_add_atom() argument 387 switch (atom) { in _dwarf_loc_expr_add_atom() 490 *p++ = atom; in _dwarf_loc_expr_add_atom() 499 *p++ = atom; in _dwarf_loc_expr_add_atom() 508 *p++ = atom; in _dwarf_loc_expr_add_atom() 517 *p++ = atom; in _dwarf_loc_expr_add_atom() 526 *p++ = atom; in _dwarf_loc_expr_add_atom() 537 *p++ = atom; in _dwarf_loc_expr_add_atom() 578 *p++ = atom; in _dwarf_loc_expr_add_atom() 589 *p++ = atom; in _dwarf_loc_expr_add_atom() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/docs/ |
| H A D | design.rst | 20 An atom is an indivisible chunk of code or data. An atom has a set of 23 optional addend, and an optional target atom. 26 data structures. Each atom is a node, and each Reference is an edge. The 43 There are three atoms: main, a proxy for printf, and an anonymous atom 54 This is a place holder in object files for a reference to some atom 68 some fixed address. This atom has no content. It is just an address 113 "undefined" atom. 175 checks if the atom is named and has a global or hidden scope. If so, the atom 177 table, that means the current atom needs to be coalesced with the found atom, or 232 It then instantiates a "stub" atom (PLT entry) and a "lazy pointer" atom for [all …]
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | optimize.c | 590 int atom; in compute_local_ud() local 596 if (atom >= 0) { in compute_local_ud() 611 if (atom >= 0) { in compute_local_ud() 1328 if (atom >= 0) { in deadstmt() 1337 if (atom >= 0) { in deadstmt() 1342 last[atom] = s; in deadstmt() 1359 for (atom = 0; atom < N_ATOMS; ++atom) in opt_deadstores() 1360 if (last[atom] && !ATOMELEM(b->out_use, atom)) { in opt_deadstores() 1474 int atom; in use_conflict() local 1480 for (atom = 0; atom < N_ATOMS; ++atom) in use_conflict() [all …]
|