/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.h | 29 explicit StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings); 32 StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings, 35 void setStrings(const DebugStringTableSubsectionRef &Strings); 44 if (Strings && Checksums) in initialize() 50 if (R.kind() == DebugSubsectionKind::StringTable && !Strings) { in initialize() 66 const DebugStringTableSubsectionRef &strings() const { return *Strings; } in strings() 69 bool hasStrings() const { return Strings != nullptr; } in hasStrings() 79 const DebugStringTableSubsectionRef *Strings = nullptr; variable 91 void setStrings(const StringsPtr &SP) { Strings = SP; } in setStrings() 94 const StringsPtr &strings() const { return Strings; } in strings() [all …]
|
H A D | DebugCrossImpSubsection.h | 73 DebugStringTableSubsection &Strings) 75 Strings(Strings) {} 87 DebugStringTableSubsection &Strings;
|
H A D | DebugSubsectionVisitor.h | 90 const DebugStringTableSubsectionRef &Strings) { in visitDebugSubsections() argument 91 StringsAndChecksumsRef State(Strings); in visitDebugSubsections() 98 const DebugStringTableSubsectionRef &Strings, in visitDebugSubsections() argument 100 StringsAndChecksumsRef State(Strings, Checksums); in visitDebugSubsections()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.cpp | 23 const DebugStringTableSubsectionRef &Strings) in StringsAndChecksumsRef() argument 24 : Strings(&Strings) {} in StringsAndChecksumsRef() 27 const DebugStringTableSubsectionRef &Strings, in StringsAndChecksumsRef() argument 29 : Strings(&Strings), Checksums(&Checksums) {} in StringsAndChecksumsRef() 34 assert(!Strings && "Found a string table even though we already have one!"); in initializeStrings() 38 Strings = OwnedStrings.get(); in initializeStrings() 48 Strings = nullptr; in resetStrings() 60 Strings = OwnedStrings.get(); in setStrings()
|
H A D | DebugChecksumsSubsection.cpp | 64 DebugStringTableSubsection &Strings) in DebugChecksumsSubsection() argument 65 : DebugSubsection(DebugSubsectionKind::FileChecksums), Strings(Strings) {} in DebugChecksumsSubsection() 77 Entry.FileNameOffset = Strings.insert(FileName); in addChecksum() 111 uint32_t Offset = Strings.getIdForString(FileName); in mapChecksumOffset()
|
H A D | DebugCrossImpSubsection.cpp | 56 Strings.insert(Module); in addImport() 82 return Strings.getIdForString(L1->getKey()) < in commit() 83 Strings.getIdForString(L2->getKey()); in commit() 88 Imp.ModuleNameOffset = Strings.getIdForString(Item->getKey()); in commit()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.cpp | 40 const PDBStringTable &Strings; member in llvm::pdb::__anon054798330111::NativeInjectedSource 45 PDBFile &File, const PDBStringTable &Strings) in NativeInjectedSource() argument 46 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource() 52 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() 58 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() 64 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() 74 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode() 100 const PDBStringTable &Strings) in NativeEnumInjectedSources() argument 101 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources() 112 File, Strings); in getChildAtIndex() [all …]
|
H A D | PDBStringTableBuilder.cpp | 48 return Strings.insert(S); in insert() 52 return Strings.getIdForString(S); in getIdForString() 56 return Strings.getStringForId(Id); in getStringForId() 136 Size += sizeof(uint32_t) * computeBucketCount(Strings.size()); in calculateHashTableSize() 144 Size += Strings.calculateSerializedSize(); in calculateSerializedSize() 151 const codeview::DebugStringTableSubsection &Strings) { in setStrings() 152 this->Strings = Strings; in setStrings() 160 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader() 168 if (auto EC = Strings in writeStrings() 150 setStrings(const codeview::DebugStringTableSubsection & Strings) setStrings() argument [all...] |
H A D | InjectedSourceStream.cpp | 27 Error InjectedSourceStream::reload(const PDBStringTable &Strings) { 51 auto Name = Strings.getStringForID(Entry.second.FileNI); in reload() 54 auto ObjName = Strings.getStringForID(Entry.second.ObjNI); in reload() 57 auto VName = Strings.getStringForID(Entry.second.VFileNI); in reload() 28 reload(const PDBStringTable & Strings) reload() argument
|
H A D | PDBFile.cpp | 367 if (!Strings) { in getStringTable() 378 Strings = std::move(N); in getStringTable() 380 return *Strings; in getStringTable() 389 auto Strings = getStringTable(); in getInjectedSourceStream() local 390 if (!Strings) in getInjectedSourceStream() 391 return Strings.takeError(); in getInjectedSourceStream() 394 if (auto EC = IJ->reload(*Strings)) in getInjectedSourceStream()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_entry.c | 161 if (VALID_STRING(tp->Strings[i])) { in _nc_wrap_entry() 162 tp->Strings[i] = _nc_save_str(tp->Strings[i]); in _nc_wrap_entry() 179 if (tp->Strings[i] == ABSENT_STRING) { in _nc_wrap_entry() 181 } else if (tp->Strings[i] == CANCELLED_STRING) { in _nc_wrap_entry() 184 offsets[i] = (int) (tp->Strings[i] - stringbuf); in _nc_wrap_entry() 203 tp->Strings[i] = ABSENT_STRING; in _nc_wrap_entry() 205 tp->Strings[i] = CANCELLED_STRING; in _nc_wrap_entry() 207 tp->Strings[i] = tp->str_table + offsets[i]; in _nc_wrap_entry() 270 if (VALID_STRING(from->Strings[i])) in _nc_merge_entry() 271 str_size += strlen(from->Strings[i]) + 1; in _nc_merge_entry() [all …]
|
H A D | read_entry.c | 142 convert_strings(char *buf, char **Strings, int count, int size, in convert_strings() argument 151 Strings[i] = ABSENT_STRING; in convert_strings() 153 Strings[i] = CANCELLED_STRING; in convert_strings() 155 Strings[i] = ABSENT_STRING; in convert_strings() 159 Strings[i] = (nn + table); in convert_strings() 161 _nc_visbuf(Strings[i]))); in convert_strings() 171 if (VALID_STRING(Strings[i])) { in convert_strings() 172 for (p = Strings[i]; p < table + size; p++) in convert_strings() 177 Strings[i] = ABSENT_STRING; in convert_strings() 178 } else if (p == Strings[i] && always) { in convert_strings() [all …]
|
H A D | alloc_ttype.c | 166 TYPE_REALLOC(char *, to->num_Strings, to->Strings); in realign_data() 171 to->Strings[base + m] = to->Strings[base + n--]; in realign_data() 173 to->Strings[base + m] = ABSENT_STRING; in realign_data() 304 tp->Strings[j] = tp->Strings[j + 1]; in _nc_del_ext_name() 360 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings); in _nc_ins_ext_name() 362 tp->Strings[k] = tp->Strings[k - 1]; in _nc_ins_ext_name() 387 if (to->Strings[j + j_str] == CANCELLED_STRING) { in adjust_cancels() 408 to->Strings[k] = CANCELLED_STRING; in adjust_cancels() 544 TYPE_MALLOC(char *, NUM_STRINGS(dst), dst->Strings); in copy_termtype() 549 memcpy(dst->Strings, in copy_termtype() [all …]
|
H A D | write_entry.c | 584 compute_offsets(char **Strings, size_t strmax, short *offsets) in compute_offsets() argument 590 if (Strings[i] == ABSENT_STRING) { in compute_offsets() 592 } else if (Strings[i] == CANCELLED_STRING) { in compute_offsets() 596 nextfree += (int) strlen(Strings[i]) + 1; in compute_offsets() 598 _nc_visbuf(Strings[i]), (int) nextfree)); in compute_offsets() 693 if (tp->Strings[STRCOUNT + i] != ABSENT_STRING) in extended_Strings() 775 if (tp->Strings[i] != ABSENT_STRING) in _nc_write_object() 779 nextfree = compute_offsets(tp->Strings, strmax, offsets); in _nc_write_object() 842 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object() 843 if (!WRITE_STRING(tp->Strings[i])) { in _nc_write_object() [all …]
|
H A D | parse_entry.c | 168 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings); in _nc_extend_names() 170 tp->Strings[last] = tp->Strings[last - 1]; in _nc_extend_names() 560 entryp->tterm.Strings[entry_ptr->nte_index] = CANCELLED_STRING; in _nc_parse_entry() 591 entryp->tterm.Strings[entry_ptr->nte_index] = _nc_save_str(ptr); in _nc_parse_entry() 964 if (WANTED(tp->Strings[from_ptr->nte_index])) { in postprocess_termcap() 969 if (tp->Strings[to_ptr->nte_index]) { in postprocess_termcap() 970 const char *s = tp->Strings[from_ptr->nte_index]; in postprocess_termcap() 971 const char *t = tp->Strings[to_ptr->nte_index]; in postprocess_termcap() 985 bp = tp->Strings[from_ptr->nte_index]; in postprocess_termcap() 997 tp->Strings[to_ptr->nte_index] = _nc_save_str(buf2); in postprocess_termcap() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinkerParallel/ |
H A D | StringTable.h |
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Assumptions.cpp | 30 SmallVector<StringRef, 8> Strings; in hasAssumption() local 31 A.getValueAsString().split(Strings, ","); in hasAssumption() 33 return llvm::is_contained(Strings, AssumptionStr); in hasAssumption() 42 SmallVector<StringRef, 8> Strings; in getAssumptions() local 43 A.getValueAsString().split(Strings, ","); in getAssumptions() 45 for (StringRef Str : Strings) in getAssumptions()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 114 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 128 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 144 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 174 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 202 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings); 204 std::vector<StringRef> Strings; member 216 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 357 IO.mapRequired("Strings", Strings); in map() 503 for (const auto &Str : this->Strings) in toCodeViewSubsection() 541 convertOneChecksum(const DebugStringTableSubsectionRef & Strings,const FileChecksumEntry & CS) convertOneChecksum() argument 555 getFileName(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,uint32_t FileID) getFileName() argument 566 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & FC) fromCodeViewSubsection() argument 581 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 619 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugInlineeLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 656 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugCrossModuleImportsSubsectionRef & Imports) fromCodeViewSubsection() argument 691 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings) fromCodeViewSubsection() argument 709 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugFrameDataSubsectionRef & Frames) fromCodeViewSubsection() argument 853 visitStringTable(DebugStringTableSubsectionRef & Strings,const StringsAndChecksumsRef & State) visitStringTable() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | NonRelocatableStringpool.cpp | 15 auto I = Strings.insert({S, DwarfStringPoolEntry()}); in getEntry() 29 auto InsertResult = Strings.insert({S, Entry}); in internString() 36 Result.reserve(Strings.size()); in getEntriesForEmission() 37 for (const auto &E : Strings) in getEntriesForEmission()
|
/freebsd/lib/libefivar/ |
H A D | efivar-dp-format.c | 486 CHAR8 *Strings[3]; in DevPathToTextAcpiEx() local 496 Strings[HidStrIndex] = NULL; in DevPathToTextAcpiEx() 497 Strings[UidStrIndex] = NULL; in DevPathToTextAcpiEx() 498 Strings[CidStrIndex] = NULL; in DevPathToTextAcpiEx() 502 while (CurrentLength < AcpiEx->Header.Length[0] && StrIndex < ARRAY_SIZE (Strings)) { in DevPathToTextAcpiEx() 503 Strings[StrIndex] = CurrentPos; in DevPathToTextAcpiEx() 514 if (Strings[UidStrIndex] != NULL) { in DevPathToTextAcpiEx() 515 UefiDevicePathLibCatPrint (Str, "PciRoot(%s)", Strings[UidStrIndex]); in DevPathToTextAcpiEx() 524 if (Strings[UidStrIndex] != NULL) { in DevPathToTextAcpiEx() 525 UefiDevicePathLibCatPrint (Str, "PcieRoot(%s)", Strings[UidStrIndex]); in DevPathToTextAcpiEx() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 142 std::vector<StringPair *> Strings; in finalizeStringTable() 143 Strings.reserve(StringIndexMap.size()); in finalizeStringTable() 145 Strings.push_back(&P); in finalizeStringTable() 147 multikeySort(Strings, 0); in finalizeStringTable() 151 for (StringPair *P : Strings) { in finalizeStringTable() 141 std::vector<StringPair *> Strings; finalizeStringTable() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | VTuneSharedStructs.h | 47 VTuneStringTable Strings; member 88 return SPSVTuneMethodBatch::AsArgList::size(MB.Methods, MB.Strings); in size() 93 MB.Strings); in deserialize() 98 MB.Strings); in serialize()
|
/freebsd/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | RemarkStringTable.cpp | 66 std::vector<StringRef> Strings{StrTab.size()}; in serialize() local 68 Strings[KV.second] = KV.first(); in serialize() 69 return Strings; in serialize()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.h | 26 const PDBStringTable &Strings); 37 const PDBStringTable &Strings; variable
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/ |
H A D | DWARFEmitterImpl.h |
|