Home
last modified time | relevance | path

Searched refs:Strings (Results 1 – 25 of 151) sorted by relevance

1234567

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DStringsAndChecksums.h30 StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings,
33 void setStrings(const DebugStringTableSubsectionRef &Strings);
42 if (Strings && Checksums) in initialize()
48 if (R.kind() == DebugSubsectionKind::StringTable && !Strings) { in initialize()
64 const DebugStringTableSubsectionRef &strings() const { return *Strings; } in strings()
67 bool hasStrings() const { return Strings != nullptr; } in hasStrings()
77 const DebugStringTableSubsectionRef *Strings = nullptr; variable
89 void setStrings(const StringsPtr &SP) { Strings = SP; } in setStrings()
92 const StringsPtr &strings() const { return Strings; } in strings()
95 bool hasStrings() const { return Strings != nullptr; } in hasStrings()
[all …]
H A DDebugCrossImpSubsection.h72 DebugStringTableSubsection &Strings)
74 Strings(Strings) {}
86 DebugStringTableSubsection &Strings;
H A DDebugSubsectionVisitor.h91 const DebugStringTableSubsectionRef &Strings) { in visitDebugSubsections() argument
92 StringsAndChecksumsRef State(Strings); in visitDebugSubsections()
99 const DebugStringTableSubsectionRef &Strings, in visitDebugSubsections() argument
101 StringsAndChecksumsRef State(Strings, Checksums); in visitDebugSubsections()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DStringsAndChecksums.cpp24 const DebugStringTableSubsectionRef &Strings) in StringsAndChecksumsRef() argument
25 : Strings(&Strings) {} in StringsAndChecksumsRef()
28 const DebugStringTableSubsectionRef &Strings, in StringsAndChecksumsRef() argument
30 : Strings(&Strings), Checksums(&Checksums) {} in StringsAndChecksumsRef()
35 assert(!Strings && "Found a string table even though we already have one!"); in initializeStrings()
39 Strings = OwnedStrings.get(); in initializeStrings()
49 Strings = nullptr; in resetStrings()
61 Strings = OwnedStrings.get(); in setStrings()
H A DDebugChecksumsSubsection.cpp64 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 DDebugCrossImpSubsection.cpp56 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-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp37 const PDBStringTable &Strings; member in llvm::pdb::__anon8e87f4e70111::NativeInjectedSource
42 PDBFile &File, const PDBStringTable &Strings) in NativeInjectedSource() argument
43 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource()
49 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName()
55 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName()
61 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName()
71 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode()
97 const PDBStringTable &Strings) in NativeEnumInjectedSources() argument
98 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources()
109 File, Strings); in getChildAtIndex()
[all …]
H A DPDBStringTableBuilder.cpp47 return Strings.insert(S); in insert()
51 return Strings.getIdForString(S); in getIdForString()
55 return Strings.getStringForId(Id); in getStringForId()
142 Size += Strings.calculateSerializedSize(); in calculateSerializedSize()
149 const codeview::DebugStringTableSubsection &Strings) { in setStrings() argument
150 this->Strings = Strings; in setStrings()
158 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader()
166 if (auto EC = Strings.commit(Writer)) in writeStrings()
175 uint32_t BucketCount = computeBucketCount(Strings.size()); in writeHashTable()
180 for (auto &Pair : Strings) { in writeHashTable()
[all …]
H A DInjectedSourceStream.cpp28 Error InjectedSourceStream::reload(const PDBStringTable &Strings) { in reload() argument
52 auto Name = Strings.getStringForID(Entry.second.FileNI); in reload()
55 auto ObjName = Strings.getStringForID(Entry.second.ObjNI); in reload()
58 auto VName = Strings.getStringForID(Entry.second.VFileNI); in reload()
H A DPDBFile.cpp369 if (!Strings) { in getStringTable()
380 Strings = std::move(N); in getStringTable()
382 return *Strings; in getStringTable()
391 auto Strings = getStringTable(); in getInjectedSourceStream() local
392 if (!Strings) in getInjectedSourceStream()
393 return Strings.takeError(); in getInjectedSourceStream()
396 if (auto EC = IJ->reload(*Strings)) in getInjectedSourceStream()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c142 if (tp->Strings[i] != ABSENT_STRING && in _nc_wrap_entry()
143 tp->Strings[i] != CANCELLED_STRING) { in _nc_wrap_entry()
144 tp->Strings[i] = _nc_save_str(tp->Strings[i]); in _nc_wrap_entry()
161 if (tp->Strings[i] == ABSENT_STRING) { in _nc_wrap_entry()
185 tp->Strings[i] = ABSENT_STRING; in _nc_wrap_entry()
187 tp->Strings[i] = CANCELLED_STRING; in _nc_wrap_entry()
272 if (to->Strings[i] != CANCELLED_STRING) { in _nc_merge_entry()
273 char *mergestring = from->Strings[i]; in _nc_merge_entry()
276 to->Strings[i] = ABSENT_STRING; in _nc_merge_entry()
278 to->Strings[i] = mergestring; in _nc_merge_entry()
[all …]
H A Dread_entry.c151 Strings[i] = ABSENT_STRING; in convert_strings()
153 Strings[i] = CANCELLED_STRING; in convert_strings()
155 Strings[i] = ABSENT_STRING; in convert_strings()
162 if (VALID_STRING(Strings[i])) { in convert_strings()
163 for (p = Strings[i]; p <= table + size; p++) in convert_strings()
168 Strings[i] = ABSENT_STRING; in convert_strings()
218 if (tp->Strings == 0) in _nc_init_termtype()
219 TYPE_MALLOC(char *, STRCOUNT, tp->Strings); in _nc_init_termtype()
228 tp->Strings[i] = ABSENT_STRING; in _nc_init_termtype()
478 ptr->Strings[i + STRCOUNT] = ptr->Strings[i + str_count]; in _nc_read_termtype()
[all …]
H A Dalloc_ttype.c166 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()
384 if (to->Strings[j + j_str] == CANCELLED_STRING) { in adjust_cancels()
405 to->Strings[k] = CANCELLED_STRING; in adjust_cancels()
540 memcpy(dst->Strings, in copy_termtype()
541 src->Strings, in copy_termtype()
[all …]
H A Dwrite_entry.c573 if (Strings[i] == ABSENT_STRING) { in compute_offsets()
575 } else if (Strings[i] == CANCELLED_STRING) { in compute_offsets()
579 nextfree += (int) strlen(Strings[i]) + 1; in compute_offsets()
581 _nc_visbuf(Strings[i]), (int) nextfree)); in compute_offsets()
676 if (tp->Strings[STRCOUNT + i] != ABSENT_STRING) in extended_Strings()
758 if (tp->Strings[i] != ABSENT_STRING) in _nc_write_object()
824 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object()
825 if (!WRITE_STRING(tp->Strings[i])) { in _nc_write_object()
840 nextfree = compute_offsets(tp->Strings + STRCOUNT, in _nc_write_object()
910 _nc_visbuf(tp->Strings[i + STRCOUNT]))); in _nc_write_object()
[all …]
H A Dparse_entry.c163 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings); in _nc_extend_names()
165 tp->Strings[last] = tp->Strings[last - 1]; in _nc_extend_names()
524 entryp->tterm.Strings[entry_ptr->nte_index] = CANCELLED_STRING; in _nc_parse_entry()
551 entryp->tterm.Strings[entry_ptr->nte_index] = _nc_save_str(ptr); in _nc_parse_entry()
920 if (WANTED(tp->Strings[from_ptr->nte_index])) { in postprocess_termcap()
925 if (tp->Strings[to_ptr->nte_index]) { in postprocess_termcap()
926 const char *s = tp->Strings[from_ptr->nte_index]; in postprocess_termcap()
927 const char *t = tp->Strings[to_ptr->nte_index]; in postprocess_termcap()
941 bp = tp->Strings[from_ptr->nte_index]; in postprocess_termcap()
953 tp->Strings[to_ptr->nte_index] = _nc_save_str(buf2); in postprocess_termcap()
[all …]
H A Dinit_keytry.c81 CUR Strings[_nc_tinfo_fkeys[n].offset], in _nc_init_keytry()
95 char *value = tp->Strings[n]; in _nc_init_keytry()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp14 if (S.empty() && !Strings.empty()) in getEntry()
19 auto I = Strings.insert({S, DwarfStringPoolEntry()}); in getEntry()
36 auto InsertResult = Strings.insert({S, Entry}); in internString()
43 Result.reserve(Strings.size()); in getEntriesForEmission()
44 for (const auto &E : Strings) in getEntriesForEmission()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp204 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 …]
H A DXCOFFEmitter.cpp36 Strings(StringTableBuilder::XCOFF) { in XCOFFWriter()
57 StringTableBuilder Strings; member in __anonac495c6d0111::XCOFFWriter
151 Strings.add(YamlSym.SymbolName); in initFileHeader()
154 Strings.finalize(); in initFileHeader()
172 Strings.clear(); in assignAddressesAndIndices()
280 W.write<uint32_t>(Strings.getOffset(YamlSym.SymbolName)); in writeSymbols()
323 if (Strings.getSize() > 4) in writeXCOFF()
324 Strings.write(W.OS); in writeXCOFF()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAssumptions.cpp24 SmallVector<StringRef, 8> Strings; in hasAssumption() local
25 A.getValueAsString().split(Strings, ","); in hasAssumption()
27 return llvm::any_of(Strings, [=](StringRef Assumption) { in hasAssumption()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp141 std::vector<StringPair *> Strings; in finalizeStringTable() local
142 Strings.reserve(StringIndexMap.size()); in finalizeStringTable()
144 Strings.push_back(&P); in finalizeStringTable()
146 multikeySort(Strings, 0); in finalizeStringTable()
150 for (StringPair *P : Strings) { in finalizeStringTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkStringTable.cpp66 std::vector<StringRef> Strings{StrTab.size()}; in serialize() local
68 Strings[KV.second] = KV.first(); in serialize()
69 return Strings; in serialize()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.h26 const PDBStringTable &Strings);
37 const PDBStringTable &Strings; variable
H A DPDBStringTableBuilder.h55 void setStrings(const codeview::DebugStringTableSubsection &Strings);
64 codeview::DebugStringTableSubsection Strings; variable
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DStringSaver.h43 StringSaver Strings; variable
47 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} in UniqueStringSaver()

1234567