Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DStringsAndChecksums.h29 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 DDebugCrossImpSubsection.h73 DebugStringTableSubsection &Strings)
75 Strings(Strings) {}
87 DebugStringTableSubsection &Strings;
H A DDebugSubsectionVisitor.h90 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 DStringsAndChecksums.cpp23 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 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/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp40 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 DPDBStringTableBuilder.cpp48 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 DInjectedSourceStream.cpp27 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 DPDBFile.cpp367 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 Dalloc_entry.c161 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 Dread_entry.c142 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 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()
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 Dwrite_entry.c584 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 Dparse_entry.c168 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 DStringTable.h
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAssumptions.cpp30 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 DCodeViewYAMLDebugSections.cpp114 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 DNonRelocatableStringpool.cpp15 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 Defivar-dp-format.c486 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 DStringTableBuilder.cpp142 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 DVTuneSharedStructs.h47 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 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/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.h26 const PDBStringTable &Strings);
37 const PDBStringTable &Strings; variable
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.h

1234567