Home
last modified time | relevance | path

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

12345678

/openbsd-src/lib/libcurses/
H A Dterm.h231 #define back_tab CUR Strings[0]
232 #define bell CUR Strings[1]
233 #define carriage_return CUR Strings[2]
234 #define change_scroll_region CUR Strings[3]
235 #define clear_all_tabs CUR Strings[4]
236 #define clear_screen CUR Strings[5]
237 #define clr_eol CUR Strings[6]
238 #define clr_eos CUR Strings[7]
239 #define column_address CUR Strings[8]
240 #define command_character CUR Strings[9]
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp39 const PDBStringTable &Strings; member in llvm::pdb::__anon4373418a0111::NativeInjectedSource
44 PDBFile &File, const PDBStringTable &Strings) in NativeInjectedSource() argument
45 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource()
51 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName()
57 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName()
63 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName()
73 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode()
99 const PDBStringTable &Strings) in NativeEnumInjectedSources() argument
100 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources()
111 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()
135 Size += sizeof(uint32_t) * computeBucketCount(Strings.size()); in calculateHashTableSize()
143 Size += Strings.calculateSerializedSize(); in calculateSerializedSize()
150 const codeview::DebugStringTableSubsection &Strings) { in setStrings() argument
151 this->Strings = Strings; in setStrings()
159 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader()
167 if (auto EC = Strings.commit(Writer)) in writeStrings()
176 uint32_t BucketCount = computeBucketCount(Strings.size()); 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.cpp368 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()
/openbsd-src/lib/libcurses/tinfo/
H A Dalloc_entry.c163 if (tp->Strings[i] != ABSENT_STRING && in _nc_wrap_entry()
164 tp->Strings[i] != CANCELLED_STRING) { in _nc_wrap_entry()
165 tp->Strings[i] = _nc_save_str(tp->Strings[i]); in _nc_wrap_entry()
182 if (tp->Strings[i] == ABSENT_STRING) { in _nc_wrap_entry()
184 } else if (tp->Strings[i] == CANCELLED_STRING) { in _nc_wrap_entry()
187 offsets[i] = (int) (tp->Strings[i] - stringbuf); in _nc_wrap_entry()
206 tp->Strings[i] = ABSENT_STRING; in _nc_wrap_entry()
208 tp->Strings[i] = CANCELLED_STRING; in _nc_wrap_entry()
210 tp->Strings[i] = tp->str_table + offsets[i]; in _nc_wrap_entry()
273 if (VALID_STRING(from->Strings[i])) in _nc_merge_entry()
[all …]
H A Dread_entry.c144 convert_strings(char *buf, char **Strings, int count, int size, in convert_strings() argument
153 Strings[i] = ABSENT_STRING; in convert_strings()
155 Strings[i] = CANCELLED_STRING; in convert_strings()
157 Strings[i] = ABSENT_STRING; in convert_strings()
161 Strings[i] = (nn + table); in convert_strings()
163 _nc_visbuf(Strings[i]))); in convert_strings()
173 if (VALID_STRING(Strings[i])) { in convert_strings()
174 for (p = Strings[i]; p < table + size; p++) in convert_strings()
179 Strings[i] = ABSENT_STRING; in convert_strings()
180 } else if (p == Strings[i] && always) { in convert_strings()
[all …]
H A Dalloc_ttype.c168 TYPE_REALLOC(char *, to->num_Strings, to->Strings); in realign_data()
173 to->Strings[base + m] = to->Strings[base + n--]; in realign_data()
175 to->Strings[base + m] = ABSENT_STRING; in realign_data()
306 tp->Strings[j] = tp->Strings[j + 1]; in _nc_del_ext_name()
362 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings); in _nc_ins_ext_name()
364 tp->Strings[k] = tp->Strings[k - 1]; in _nc_ins_ext_name()
389 if (to->Strings[j + j_str] == CANCELLED_STRING) { in adjust_cancels()
410 to->Strings[k] = CANCELLED_STRING; in adjust_cancels()
546 TYPE_MALLOC(char *, NUM_STRINGS(dst), dst->Strings); in copy_termtype()
551 memcpy(dst->Strings, in copy_termtype()
[all …]
H A Dwrite_entry.c586 compute_offsets(char **Strings, size_t strmax, short *offsets) in compute_offsets() argument
592 if (Strings[i] == ABSENT_STRING) { in compute_offsets()
594 } else if (Strings[i] == CANCELLED_STRING) { in compute_offsets()
598 nextfree += (int) strlen(Strings[i]) + 1; in compute_offsets()
600 _nc_visbuf(Strings[i]), (int) nextfree)); in compute_offsets()
695 if (tp->Strings[STRCOUNT + i] != ABSENT_STRING) in extended_Strings()
777 if (tp->Strings[i] != ABSENT_STRING) in _nc_write_object()
781 nextfree = compute_offsets(tp->Strings, strmax, offsets); in _nc_write_object()
843 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object()
844 if (!WRITE_STRING(tp->Strings[i])) { in _nc_write_object()
[all …]
H A Dparse_entry.c170 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings); in _nc_extend_names()
172 tp->Strings[last] = tp->Strings[last - 1]; in _nc_extend_names()
562 entryp->tterm.Strings[entry_ptr->nte_index] = CANCELLED_STRING; in _nc_parse_entry()
593 entryp->tterm.Strings[entry_ptr->nte_index] = _nc_save_str(ptr); in _nc_parse_entry()
966 if (WANTED(tp->Strings[from_ptr->nte_index])) { in postprocess_termcap()
971 if (tp->Strings[to_ptr->nte_index]) { in postprocess_termcap()
972 const char *s = tp->Strings[from_ptr->nte_index]; in postprocess_termcap()
973 const char *t = tp->Strings[to_ptr->nte_index]; in postprocess_termcap()
987 bp = tp->Strings[from_ptr->nte_index]; in postprocess_termcap()
999 tp->Strings[to_ptr->nte_index] = _nc_save_str(buf2); in postprocess_termcap()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp15 if (S.empty() && !Strings.empty()) in getEntry()
20 auto I = Strings.insert({S, DwarfStringPoolEntry()}); in getEntry()
37 auto InsertResult = Strings.insert({S, Entry}); in internString()
44 Result.reserve(Strings.size()); in getEntriesForEmission()
45 for (const auto &E : Strings) in getEntriesForEmission()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXString.cpp122 CXStringSet *createSet(const std::vector<std::string> &Strings) { in createSet() argument
124 Set->Count = Strings.size(); in createSet()
125 Set->Strings = new CXString[Set->Count]; in createSet()
127 Set->Strings[SI] = createDup(Strings[SI]); in createSet()
196 clang_disposeString(set->Strings[SI]); in clang_disposeStringSet()
197 delete[] set->Strings; in clang_disposeStringSet()
/openbsd-src/gnu/llvm/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, in convertOneChecksum() argument
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/usr.bin/texinfo/po/
H A DMakevars25 # - Strings which are not entire sentences, see the maintainer guidelines
26 # in the GNU gettext documentation, section 'Preparing Strings'.
27 # - Strings which use unclear terms or require additional context to be
29 # - Strings which make invalid assumptions about notation of date, time or
/openbsd-src/gnu/usr.bin/cvs/doc/
H A Dcvsclient.aux31 'xrdef {Strings-title}{Strings}
32 'xrdef {Strings-pg}{8}
33 'xrdef {Strings-snt}{Section'tie5.5}
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.h26 const PDBStringTable &Strings);
37 const PDBStringTable &Strings; variable

12345678