| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | StringsAndChecksums.h | 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() 97 bool hasStrings() const { return Strings != nullptr; } in hasStrings() [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-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeEnumInjectedSources.cpp | 40 const PDBStringTable &Strings; member in llvm::pdb::__anonac0855690111::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() 144 Size += Strings.calculateSerializedSize(); in calculateSerializedSize() 151 const codeview::DebugStringTableSubsection &Strings) { in setStrings() argument 152 this->Strings = Strings; in setStrings() 160 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader() 168 if (auto EC = Strings.commit(Writer)) in writeStrings() 177 uint32_t BucketCount = computeBucketCount(Strings.size()); in writeHashTable() 182 for (const auto &Pair : Strings) { in writeHashTable() [all …]
|
| H A D | InjectedSourceStream.cpp | 27 Error InjectedSourceStream::reload(const PDBStringTable &Strings) { in reload() argument 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()
|
| H A D | PDBFile.cpp | 368 if (!Strings) { in getStringTable() 379 Strings = std::move(N); in getStringTable() 381 return *Strings; in getStringTable() 390 auto Strings = getStringTable(); in getInjectedSourceStream() local 391 if (!Strings) in getInjectedSourceStream() 392 return Strings.takeError(); in getInjectedSourceStream() 395 if (auto EC = IJ->reload(*Strings)) in getInjectedSourceStream()
|
| H A D | PDBStringTable.cpp | 46 if (auto EC = Strings.initialize(Stream)) { in readStrings() 58 return Strings; in getStringTable() 109 return Strings.getString(ID); in getStringForID()
|
| /freebsd-14.2/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() 203 tp->Strings[i] = ABSENT_STRING; in _nc_wrap_entry() 205 tp->Strings[i] = CANCELLED_STRING; in _nc_wrap_entry() 270 if (VALID_STRING(from->Strings[i])) in _nc_merge_entry() 274 if (VALID_STRING(to->Strings[i])) in _nc_merge_entry() 295 from->Strings[i] = str_copied; in _nc_merge_entry() 304 to->Strings[i] = str_copied; in _nc_merge_entry() 391 to->Strings[i] = ABSENT_STRING; in _nc_merge_entry() 393 to->Strings[i] = mergestring; in _nc_merge_entry() [all …]
|
| H A D | read_entry.c | 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() 177 Strings[i] = ABSENT_STRING; in convert_strings() 244 if (tp->Strings == 0) in _nc_init_termtype() 254 tp->Strings[i] = ABSENT_STRING; in _nc_init_termtype() 510 ptr->Strings[i + STRCOUNT] = ptr->Strings[i + str_count]; in _nc_read_termtype() [all …]
|
| H A D | alloc_ttype.c | 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() 362 tp->Strings[k] = tp->Strings[k - 1]; in _nc_ins_ext_name() 408 to->Strings[k] = CANCELLED_STRING; in adjust_cancels() 549 memcpy(dst->Strings, in copy_termtype() 550 src->Strings, in copy_termtype() 567 if (VALID_STRING(src->Strings[i])) { in copy_termtype() 570 src->Strings[i], in copy_termtype() 572 dst->Strings[i] = new_table + str_size; in copy_termtype() [all …]
|
| H A D | write_entry.c | 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() 842 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object() 843 if (!WRITE_STRING(tp->Strings[i])) { in _nc_write_object() 858 nextfree = compute_offsets(tp->Strings + STRCOUNT, in _nc_write_object() 928 _nc_visbuf(tp->Strings[i + STRCOUNT]))); 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 …]
|
| H A D | init_keytry.c | 83 CUR Strings[_nc_tinfo_fkeys[n].offset], in _nc_init_keytry() 97 char *value = tp->Strings[n]; in _nc_init_keytry()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLDebugSections.cpp | 204 std::vector<StringRef> Strings; member 357 IO.mapRequired("Strings", Strings); in map() 503 for (const auto &Str : this->Strings) in toCodeViewSubsection() 561 return Strings.getString(Offset); in getFileName() 566 const DebugStringTableSubsectionRef &Strings, in fromCodeViewSubsection() argument 581 const DebugStringTableSubsectionRef &Strings, in fromCodeViewSubsection() argument 619 const DebugStringTableSubsectionRef &Strings, in fromCodeViewSubsection() argument 656 const DebugStringTableSubsectionRef &Strings, in fromCodeViewSubsection() argument 702 Result->Strings.push_back(S); in fromCodeViewSubsection() 723 auto ES = Strings.getString(F.FrameFunc); in fromCodeViewSubsection() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | NonRelocatableStringpool.cpp | 17 auto I = Strings.insert({S, DwarfStringPoolEntry()}); in getEntry() 34 auto InsertResult = Strings.insert({S, Entry}); in internString() 41 Result.reserve(Strings.size()); in getEntriesForEmission() 42 for (const auto &E : Strings) in getEntriesForEmission()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | StringTableBuilder.cpp | 142 std::vector<StringPair *> Strings; in finalizeStringTable() local 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()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | NativeEnumInjectedSources.h | 26 const PDBStringTable &Strings); 37 const PDBStringTable &Strings; variable
|
| H A D | PDBStringTableBuilder.h | 55 void setStrings(const codeview::DebugStringTableSubsection &Strings); 64 codeview::DebugStringTableSubsection Strings; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | StringSaver.h | 45 StringSaver Strings; variable 49 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} in UniqueStringSaver()
|