Home
last modified time | relevance | path

Searched refs:StringValue (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h34 struct StringValue { struct
38 StringValue() = default; argument
39 StringValue(std::string Value) : Value(std::move(Value)) {} in StringValue() argument
40 StringValue(const char Val[]) : Value(Val) {} in StringValue() function
42 bool operator==(const StringValue &Other) const {
47 template <> struct ScalarTraits<StringValue> {
48 static void output(const StringValue &S, void *, raw_ostream &OS) {
52 static StringRef input(StringRef Scalar, void *Ctx, StringValue &S) {
63 struct FlowStringValue : StringValue {
65 FlowStringValue(std::string Value) : StringValue(std::move(Value)) {}
[all …]
/netbsd-src/external/bsd/elftosb/dist/common/
H A DValue.h99 class StringValue : public Value
102 StringValue() : m_value() {} in StringValue() function
103 StringValue(const std::string & value) : m_value(value) {} in StringValue() function
104 StringValue(const std::string * value) : m_value(*value) {} in StringValue() function
105 StringValue(const StringValue & other) : m_value(other.m_value) {} in StringValue() function
116 StringValue & operator = (const StringValue & other) { m_value = other.m_value; return *this; }
117 StringValue & operator = (const std::string & value) { m_value = value; return *this; }
118 StringValue & operator = (const char * value) { m_value = value; return *this; }
H A DELFSourceFile.cpp107 const StringValue * stringValue = dynamic_cast<const StringValue*>(value); in readToolsetOption()
152 const StringValue * stringValue = dynamic_cast<const StringValue*>(value); in readSecinfoClearOption()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/
H A Dstringtable.d55 struct StringValue(T) in StringValue() function
130 inout(StringValue!T)* lookup(scope const(char)[] str) inout @nogc nothrow pure
139 inout(StringValue!T)* lookup(scope const(char)* s, size_t length) inout @nogc nothrow pure
158 StringValue!(T)* insert(scope const(char)[] str, T value) nothrow pure
176 StringValue!(T)* insert(scope const(char)* s, size_t length, T value) nothrow pure
181 StringValue!(T)* update(scope const(char)[] str) nothrow pure
199 StringValue!(T)* update(scope const(char)* s, size_t length) nothrow pure
212 int apply(int function(const(StringValue!T)*) nothrow fp) nothrow
227 int opApply(scope int delegate(const(StringValue!T)*) nothrow dg) nothrow
256 const(size_t) nbytes = (StringValue!T).sizeof + str.length + 1;
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
H A Dstringtable.h18 struct StringValue struct
27 StringValue(); // not constructible argument
47 StringValue *lookup(const char *s, d_size_t len);
48 StringValue *insert(const char *s, size_t len, void *ptrvalue);
49 StringValue *update(const char *s, d_size_t len);
50 int apply(int (*fp)(StringValue *));
54 StringValue *getValue(uint32_t validx);
H A Dstringtable.c26 const size_t nbytes = sizeof(StringValue) + length + 1; in allocValue()
35 StringValue *sv = (StringValue *)&pools[npools - 1][nfill]; in allocValue()
46 StringValue *StringTable::getValue(uint32_t vptr) in getValue()
52 return (StringValue *)&pools[idx][off]; in getValue()
105 StringValue *sv; in findSlot()
115 StringValue *StringTable::lookup(const char *s, size_t length) in lookup()
123 StringValue *StringTable::update(const char *s, size_t length) in update()
141 StringValue *StringTable::insert(const char *s, size_t length, void *ptrvalue) in insert()
169 StringValue *sv = getValue(se->vptr); in grow()
183 int StringTable::apply(int (*fp)(StringValue *)) in apply() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.h25 std::string StringValue; member
62 Item->StringValue = std::string(Value); in setAttributeItem()
71 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
78 Item->StringValue = std::string(StringValue); in setAttributeItems()
84 std::string(StringValue)}); in setAttributeItems()
90 StringRef StringValue) override;
H A DRISCVELFStreamer.cpp87 StringRef StringValue) { in emitIntTextAttribute() argument
88 setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
133 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
138 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
159 Result += item.StringValue.size() + 1; // string + '\0' in calculateContentSize()
164 Result += item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
H A DRISCVTargetStreamer.h36 StringRef StringValue);
49 StringRef StringValue) override;
H A DRISCVTargetStreamer.cpp38 StringRef StringValue) {} in emitIntTextAttribute() argument
147 StringRef StringValue) {} in emitIntTextAttribute() argument
/netbsd-src/external/bsd/elftosb/dist/elftosb2/
H A DBootImageGenerator.cpp31 const StringValue * stringValue; in processVersionOptions()
37 stringValue = dynamic_cast<const StringValue *>(m_options->getOption(kProductVersionOption)); in processVersionOptions()
52 stringValue = dynamic_cast<const StringValue *>(m_options->getOption(kComponentVersionOption)); in processVersionOptions()
H A Delftosb.cpp511 value = new elftosb::StringValue(stringValue); in overrideOption()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h115 StringValue RegisterName;
126 StringValue(Other.RegisterName); in SIArgument()
135 StringValue(Other.RegisterName);
143 RegisterName.~StringValue(); in ~SIArgument()
286 StringValue ScratchRSrcReg = "$private_rsrc_reg";
287 StringValue FrameOffsetReg = "$fp_reg";
288 StringValue StackPtrOffsetReg = "$sp_reg";
317 StringValue("$private_rsrc_reg"));
319 StringValue("$fp_reg"));
321 StringValue("$sp_reg"));
H A DSIMachineFunctionInfo.cpp492 static yaml::StringValue regToString(Register Reg, in regToString()
494 yaml::StringValue Dest; in regToString()
H A DAMDGPUTargetMachine.cpp1263 auto parseRegister = [&](const yaml::StringValue &RegName, Register &RegVal) { in parseMachineFunctionInfo()
1274 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { in parseMachineFunctionInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp94 StringRef StringValue) override;
209 StringRef StringValue) { in emitIntTextAttribute() argument
214 if (!StringValue.empty()) in emitIntTextAttribute()
215 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute()
289 std::string StringValue; member
347 Item->StringValue = std::string(Value); in setAttributeItem()
358 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
365 Item->StringValue = std::string(StringValue); in setAttributeItems()
371 IntValue, std::string(StringValue)}; in setAttributeItems()
398 StringRef StringValue) override;
[all …]
H A DARMTargetStreamer.cpp109 StringRef StringValue) {} in emitIntTextAttribute() argument
/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Ddtfield.c443 * StringValue - Integer list to be compiled
457 char *StringValue, in DtCompileBuffer() argument
469 StringValue = DtNormalizeBuffer (StringValue, &Count); in DtCompileBuffer()
470 Substring = StringValue; in DtCompileBuffer()
480 /* Each element of StringValue is now three chars (2 hex + 1 space) */ in DtCompileBuffer()
504 ACPI_FREE (StringValue); in DtCompileBuffer()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Didentifier.c123 StringValue *sv = stringtable.update(s, len); in idPool()
135 StringValue *sv = stringtable.insert(s, len, NULL); in idPool()
179 StringValue *sv = stringtable.lookup(s, len); in lookup()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMILexer.h172 StringRef StringValue; member
221 StringRef stringValue() const { return StringValue; } in stringValue()
H A DMIRParser.cpp131 const yaml::StringValue &RegisterSource,
148 const yaml::StringValue &Source);
152 const yaml::StringValue &Source);
750 const yaml::StringValue &Name = Object.Name; in initializeFrameInfo()
804 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister()
820 const yaml::StringValue &Source, in typecheckMDNode()
856 MDNode *&Node, const yaml::StringValue &Source) { in parseMDNode()
916 const yaml::StringValue &Source) { in parseMBBReference()
H A DMILexer.cpp71 StringValue = StrVal; in setStringValue()
77 StringValue = StringValueStorage; in setOwnedStringValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
H A DAMDGPUMetadataVerifier.cpp35 StringRef StringValue = Node.getString(); in verifyScalar() local
36 Node.fromString(StringValue); in verifyScalar()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMIRPrinter.cpp193 static void printRegMIR(unsigned Reg, yaml::StringValue &Dest, in printRegMIR()
271 static void printRegClassOrBank(unsigned Reg, yaml::StringValue &Dest, in printRegClassOrBank()
442 yaml::StringValue Reg; in convertStackObjects()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp1997 StringRef StringValue; in parseDirectiveAttribute() local
2020 StringValue = Parser.getTok().getStringContents(); in parseDirectiveAttribute()
2029 StringRef Arch = StringValue; in parseDirectiveAttribute()
2143 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()

12