| /freebsd-12.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-12.1/contrib/llvm/tools/lld/include/lld/Core/ |
| H A D | Atom.h | 89 OwningAtomPtr(T *atom) : atom(atom) { } in OwningAtomPtr() argument 92 if (atom) in ~OwningAtomPtr() 97 atom->~Atom(); in runDestructor() 100 OwningAtomPtr(OwningAtomPtr &&ptr) : atom(ptr.atom) { in OwningAtomPtr() 105 if (atom) 107 atom = ptr.atom; 112 return atom; in get() 116 return atom; in get() 120 auto *v = atom; in release() 121 atom = nullptr; in release() [all …]
|
| H A D | Resolver.h | 38 void doDefinedAtom(OwningAtomPtr<DefinedAtom> atom); 39 bool doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom); 40 void doSharedLibraryAtom(OwningAtomPtr<SharedLibraryAtom> atom); 41 void doAbsoluteAtom(OwningAtomPtr<AbsoluteAtom> atom); 72 void markLive(const Atom *atom);
|
| /freebsd-12.1/contrib/llvm/tools/lld/lib/Core/ |
| H A D | Resolver.cpp | 38 doDefinedAtom(std::move(atom)); in handleFile() 40 if (doUndefinedAtom(std::move(atom))) in handleFile() 44 doSharedLibraryAtom(std::move(atom)); in handleFile() 46 doAbsoluteAtom(std::move(atom)); in handleFile() 60 if (!isa<UndefinedAtom>(atom) || _symbolTable.isCoalescedAway(atom)) { in forEachUndefines() 96 if (atom.get()) in handleSharedLibrary() 142 _deadStripRoots.insert(atom.get()); in doDefinedAtom() 146 _symbolTable.add(*atom.get()); in doDefinedAtom() 159 _symbolTable.add(*atom.get()); in doSharedLibraryAtom() 175 _symbolTable.add(*atom.get()); in doAbsoluteAtom() [all …]
|
| H A D | SymbolTable.cpp | 31 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add() argument 33 bool SymbolTable::add(const SharedLibraryAtom &atom) { return addByName(atom); } in add() argument 35 bool SymbolTable::add(const AbsoluteAtom &atom) { return addByName(atom); } in add() argument 38 if (!atom.name().empty() && in add() 43 return addByName(atom); in add() 47 assert(atom.name().empty()); in add() 50 return addByContent(atom); in add() 270 return atom; in replacement() 271 atom = pos->second; in replacement() 282 const Atom *atom = it.second; in undefines() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileFromAtoms.cpp | 49 const DefinedAtom *atom; member 438 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 | 76 const DefinedAtom *start = atom; in showCycleDetectedError() 80 for (const Reference *ref : *atom) { in showCycleDetectedError() 89 atom = followOnNexts[atom]; in showCycleDetectedError() 90 } while (atom != start); in showCycleDetectedError() 114 if (!atom) return; in checkReachabilityFromRoot() 115 auto i = followOnRoots.find(atom); in checkReachabilityFromRoot() 275 const DefinedAtom *prevAtom = atom; in findAtomFollowedBy() 280 if (atom == targetAtom) in findAtomFollowedBy() 293 if (atom == targetAtom) in checkAllPrevAtomsZeroSize() 295 if (atom->size() != 0) in checkAllPrevAtomsZeroSize() [all …]
|
| H A D | File.h | 56 auto *atom = in addDefinedAtom() local 79 auto *atom = in addDefinedAtomInCustomSection() local 111 auto *atom = in addZeroFillDefinedAtom() local 123 addAtom(*atom); in addUndefinedAtom() 133 auto *atom = in addTentativeDefAtom() local 135 addAtom(*atom); in addTentativeDefAtom() 260 offAndAtom.atom = atom; in addAtomForSection() 262 addAtom(*atom); in addAtomForSection() 359 entry->second.atom = atom; in exports() 360 return atom; in exports() [all …]
|
| H A D | ArchHandler.h | 166 typedef std::function<uint32_t (const Atom &atom)> FindSymbolIndexForAtom; 170 typedef std::function<uint32_t (const Atom &atom)> FindSectionIndexForAtom; 174 typedef std::function<uint64_t (const Atom &atom)> FindAddressForAtom; 177 virtual bool needsLocalSymbolInRelocatableFile(const DefinedAtom *atom) { in needsLocalSymbolInRelocatableFile() argument 182 virtual void generateAtomContent(const DefinedAtom &atom, bool relocatable, 189 virtual void appendSectionRelocations(const DefinedAtom &atom, 198 virtual void addAdditionalReferences(MachODefinedAtom &atom) { } in addAdditionalReferences() argument 201 virtual void addDataInCodeReference(MachODefinedAtom &atom, uint32_t atomOff, in addDataInCodeReference() argument 213 const MachODefinedAtom &atom) { in dataInCodeTransitionStart() argument 225 virtual bool isThumbFunction(const DefinedAtom &atom) { return false; } in isThumbFunction() argument [all …]
|
| H A D | MachONormalizedFileToAtoms.cpp | 374 prevAtom = atom; in processSymboledSection() 514 auto atom = in findAtomCoveringAddress() local 517 return atom; in findAtomCoveringAddress() 699 if (atom->name() == strName) in findDefinedAtomByName() 700 return atom; in findDefinedAtomByName() 779 if (stab.atom == nullptr) in parseStabs() 794 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 | 354 mergedFile.removeDefinedAtomsIf([](const DefinedAtom *atom) { in perform() argument 367 for (const DefinedAtom *atom : mergedFile.defined()) { in collectCompactUnwindEntries() local 371 auto unwindEntry = extractCompactUnwindEntry(atom); in collectCompactUnwindEntries() 403 for (const Reference *ref : *atom) { in extractCompactUnwindEntry() 422 if (atom->rawContent().size() < 4 * sizeof(uint32_t)) in extractCompactUnwindEntry() 464 for (const DefinedAtom *atom : mergedFile.defined()) { in createUnwindInfoEntries() local 465 if (atom->contentType() != DefinedAtom::typeCode) in createUnwindInfoEntries() 469 atom, unwindLocs, personalities, dwarfFrames)); in createUnwindInfoEntries() 519 mergedFile.removeDefinedAtomsIf([&](const DefinedAtom *atom) { in pruneUnusedEHFrames() argument 520 if ((atom->contentType() == DefinedAtom::typeCFI) && in pruneUnusedEHFrames() [all …]
|
| H A D | StubsPass.cpp | 224 for (const DefinedAtom *atom : mergedFile.defined()) { in perform() local 225 for (const Reference *ref : *atom) { in perform() 276 [&](const SharedLibraryAtom *atom) { in perform() argument 277 return atom->name().equals(_stubInfo.binderSymbolName); in perform() 338 void addReference(SimpleDefinedAtom* atom, in addReference() argument 341 atom->addReference(Reference::KindNamespace::mach_o, in addReference() 346 void addReferenceAddend(SimpleDefinedAtom *atom, in addReferenceAddend() argument 349 atom->addReference(Reference::KindNamespace::mach_o, refInfo.arch, in addReferenceAddend() 353 void addOptReference(SimpleDefinedAtom* atom, in addOptReference() argument 359 atom->addReference(Reference::KindNamespace::mach_o, in addOptReference()
|
| 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 | ArchHandler_arm64.cpp | 160 return (atom->contentType() == DefinedAtom::typeCString); in needsLocalSymbolInRelocatableFile() 169 void appendSectionRelocations(const DefinedAtom &atom, 544 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 548 if (atom.begin() != atom.end()) { in generateAtomContent() 552 << llvm::format(" 0x%09lX", &atom) in generateAtomContent() 554 << atom.file().ordinal() in generateAtomContent() 556 << atom.ordinal() in generateAtomContent() 558 << atom.name() in generateAtomContent() 560 << atom.contentType() in generateAtomContent() 564 for (const Reference *ref : atom) { in generateAtomContent() [all …]
|
| H A D | ArchHandler.cpp | 143 bool ArchHandler::isDwarfCIE(bool isBig, const DefinedAtom *atom) { in isDwarfCIE() argument 144 assert(atom->contentType() == DefinedAtom::typeCFI); in isDwarfCIE() 145 if (atom->rawContent().size() < sizeof(uint32_t)) in isDwarfCIE() 147 uint32_t size = read32(atom->rawContent().data(), isBig); in isDwarfCIE() 153 return read32(atom->rawContent().data() + idOffset, isBig) == 0; in isDwarfCIE()
|
| H A D | ArchHandler_x86.cpp | 110 void generateAtomContent(const DefinedAtom &atom, bool relocatable, 116 void appendSectionRelocations(const DefinedAtom &atom, 129 const MachODefinedAtom &atom) override { in dataInCodeTransitionStart() argument 134 const MachODefinedAtom &atom) override { in dataInCodeTransitionEnd() argument 410 void ArchHandler_x86::generateAtomContent(const DefinedAtom &atom, in generateAtomContent() argument 417 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 420 for (const Reference *ref : atom) { in generateAtomContent() 426 uint64_t atomAddress = findAddress(atom); in generateAtomContent() 553 const DefinedAtom &atom, in appendSectionRelocations() argument 618 appendReloc(relocs, sectionOffset, 0, addressForAtom(atom) + in appendSectionRelocations() [all …]
|
| H A D | ArchHandler_x86_64.cpp | 168 return (atom->contentType() == DefinedAtom::typeCString); in needsLocalSymbolInRelocatableFile() 171 void generateAtomContent(const DefinedAtom &atom, bool relocatable, 177 void appendSectionRelocations(const DefinedAtom &atom, 524 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 527 for (const Reference *ref : atom) { in generateAtomContent() 533 uint64_t atomAddress = findAddress(atom); in generateAtomContent() 735 const DefinedAtom &atom, in appendSectionRelocations() argument 805 appendReloc(relocs, sectionOffset, symbolIndexForAtom(atom), 0, in appendSectionRelocations() 811 appendReloc(relocs, sectionOffset, symbolIndexForAtom(atom), 0, in appendSectionRelocations() 817 appendReloc(relocs, sectionOffset, symbolIndexForAtom(atom), 0, in appendSectionRelocations() [all …]
|
| H A D | ArchHandler_arm.cpp | 110 void appendSectionRelocations(const DefinedAtom &atom, 139 return atom.isThumb() ? modeThumbCode : modeArmCode; in dataInCodeTransitionEnd() 1020 std::copy(atom.rawContent().begin(), atom.rawContent().end(), in generateAtomContent() 1024 for (const Reference *ref : atom) { in generateAtomContent() 1033 uint64_t atomAddress = findAddress(atom); in generateAtomContent() 1267 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1276 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1347 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1356 fromAtomAddress = addressForAtom(atom); in appendSectionRelocations() 1396 if (atom.isThumb()) { in addAdditionalReferences() [all …]
|
| H A D | ShimPass.cpp | 52 for (const DefinedAtom *atom : mergedFile.defined()) { in perform() local 53 for (const Reference *ref : *atom) { in perform() 60 bool atomIsThumb = _archHandler.isThumbFunction(*atom); in perform()
|
| /freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/YAML/ |
| H A D | ReaderWriterYAML.cpp | 146 _nameMap[atom.name()] = &atom; in buildDuplicateNameMap() 155 bool hasRefName(const lld::Atom *atom) { return _refNames.count(atom); } in hasRefName() argument 201 _nameMap[name] = atom; in add() 818 _scope(atom->scope()), _interpose(atom->interposable()), in NormalizedAtom() 819 _merge(atom->merge()), _contentType(atom->contentType()), in NormalizedAtom() 820 _alignment(atom->alignment()), _sectionChoice(atom->sectionChoice()), in NormalizedAtom() 821 _deadStrip(atom->deadStrip()), _dynamicExport(atom->dynamicExport()), in NormalizedAtom() 823 _permissions(atom->permissions()), _size(atom->size()), in NormalizedAtom() 1070 _loadName(atom->loadName()), _canBeNull(atom->canBeNullAtRuntime()), in NormalizedAtom() 1071 _type(atom->type()), _size(atom->size()) {} in NormalizedAtom() [all …]
|
| /freebsd-12.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-12.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-12.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-12.1/contrib/libpcap/ |
| H A D | optimize.c | 567 int atom; in compute_local_ud() local 573 if (atom >= 0) { in compute_local_ud() 588 if (atom >= 0) { in compute_local_ud() 1239 if (atom >= 0) { in deadstmt() 1248 if (atom >= 0) { in deadstmt() 1253 last[atom] = s; in deadstmt() 1270 for (atom = 0; atom < N_ATOMS; ++atom) in opt_deadstores() 1271 if (last[atom] && !ATOMELEM(b->out_use, atom)) { in opt_deadstores() 1386 int atom; in use_conflict() local 1392 for (atom = 0; atom < N_ATOMS; ++atom) in use_conflict() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/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 …]
|