Home
last modified time | relevance | path

Searched refs:KeyValue (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp317 StringRef KeyValue; in parseRewriteFunctionDescriptor() local
331 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
332 if (KeyValue.equals("source")) { in parseRewriteFunctionDescriptor()
340 } else if (KeyValue.equals("target")) { in parseRewriteFunctionDescriptor()
342 } else if (KeyValue.equals("transform")) { in parseRewriteFunctionDescriptor()
344 } else if (KeyValue.equals("naked")) { in parseRewriteFunctionDescriptor()
384 StringRef KeyValue; in parseRewriteGlobalVariableDescriptor() local
398 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
399 if (KeyValue.equals("source")) { in parseRewriteGlobalVariableDescriptor()
407 } else if (KeyValue.equals("target")) { in parseRewriteGlobalVariableDescriptor()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp337 StringRef KeyValue; in parseRewriteFunctionDescriptor() local
351 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
352 if (KeyValue.equals("source")) { in parseRewriteFunctionDescriptor()
360 } else if (KeyValue.equals("target")) { in parseRewriteFunctionDescriptor()
362 } else if (KeyValue.equals("transform")) { in parseRewriteFunctionDescriptor()
364 } else if (KeyValue.equals("naked")) { in parseRewriteFunctionDescriptor()
406 StringRef KeyValue; in parseRewriteGlobalVariableDescriptor() local
420 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
421 if (KeyValue.equals("source")) { in parseRewriteGlobalVariableDescriptor()
429 } else if (KeyValue.equals("target")) { in parseRewriteGlobalVariableDescriptor()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp339 StringRef KeyValue; in parseRewriteFunctionDescriptor() local
353 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
354 if (KeyValue.equals("source")) { in parseRewriteFunctionDescriptor()
362 } else if (KeyValue.equals("target")) { in parseRewriteFunctionDescriptor()
364 } else if (KeyValue.equals("transform")) { in parseRewriteFunctionDescriptor()
366 } else if (KeyValue.equals("naked")) { in parseRewriteFunctionDescriptor()
408 StringRef KeyValue; in parseRewriteGlobalVariableDescriptor() local
422 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
423 if (KeyValue.equals("source")) { in parseRewriteGlobalVariableDescriptor()
431 } else if (KeyValue.equals("target")) { in parseRewriteGlobalVariableDescriptor()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceELFSection.cpp157 for (auto &KeyValue : LocalSymbols) { in updateIndices() local
158 GlobalString Name = KeyValue.first; in updateIndices()
159 ELFSection *Section = KeyValue.second.Section; in updateIndices()
160 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices()
164 KeyValue.second.setNumber(SymNumber++); in updateIndices()
166 for (auto &KeyValue : GlobalSymbols) { in updateIndices() local
167 const std::string &Name = KeyValue.first.toString(); in updateIndices()
168 ELFSection *Section = KeyValue.second.Section; in updateIndices()
169 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices()
173 KeyValue.second.setNumber(SymNumber++); in updateIndices()
DIceELFSection.h334 for (auto &KeyValue : Map) { in writeSymbolMap()
335 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap()
344 for (auto &KeyValue : Map) { in writeSymbolMap()
345 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyOptions.cpp62 static void mapping(IO &IO, ClangTidyOptions::StringPair &KeyValue) { in mapping()
63 IO.mapRequired("key", KeyValue.first); in mapping()
64 IO.mapRequired("value", KeyValue.second); in mapping()
72 for (const auto &KeyValue : OptionMap) in NOptionMap() local
73 Options.emplace_back(std::string(KeyValue.getKey()), KeyValue.getValue().Value); in NOptionMap()
77 for (const auto &KeyValue : Options) in denormalize() local
78 Map[KeyValue.first] = ClangTidyOptions::ClangTidyValue(KeyValue.second); in denormalize()
157 for (const auto &KeyValue : Other.CheckOptions) { in mergeWith() local
159 KeyValue.getKey(), in mergeWith()
160 ClangTidyValue(KeyValue.getValue().Value, in mergeWith()
[all …]
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h14 struct KeyValue;
186 struct KeyValue FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
195 bool KeyCompareLessThan(const KeyValue *o) const { in KeyCompareLessThan()
215 typedef KeyValue Table;
219 fbb_.AddOffset(KeyValue::VT_KEY, key); in add_key()
222 fbb_.AddOffset(KeyValue::VT_VALUE, value); in add_value()
229 flatbuffers::Offset<KeyValue> Finish() { in Finish()
231 auto o = flatbuffers::Offset<KeyValue>(end); in Finish()
232 fbb_.Required(o, KeyValue::VT_KEY); in Finish()
237 inline flatbuffers::Offset<KeyValue> CreateKeyValue(
[all …]
/external/flatbuffers/reflection/
Dreflection.fbs40 table KeyValue {
58 attributes:[KeyValue];
72 attributes:[KeyValue];
82 attributes:[KeyValue];
90 attributes:[KeyValue];
97 attributes:[KeyValue];
/external/oss-fuzz/projects/xerces-c/
DxmlProtoConverter.cpp57 void ProtoConverter::visit(KeyValue const& _x) in visit()
59 if (!KeyValue::XmlNamespace_IsValid(_x.type())) in visit()
64 case KeyValue::ATTRIBUTES: in visit()
67 case KeyValue::BASE: in visit()
70 case KeyValue::CATALOG: in visit()
73 case KeyValue::ID: in visit()
76 case KeyValue::LANG: in visit()
79 case KeyValue::LINK: in visit()
82 case KeyValue::SPACE: in visit()
85 case KeyValue::SPECIAL: in visit()
[all …]
Dxml.proto220 message KeyValue { message
240 repeated KeyValue kv = 2;
275 repeated KeyValue kv = 4;
DxmlProtoConverter.h50 void visit(KeyValue const&);
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DDeprecatedHeadersCheck.cpp52 for (const auto &KeyValue : in IncludeModernizePPCallbacks() local
72 CStyledHeaderToCxx.insert(KeyValue); in IncludeModernizePPCallbacks()
76 for (const auto &KeyValue : in IncludeModernizePPCallbacks() local
83 CStyledHeaderToCxx.insert(KeyValue); in IncludeModernizePPCallbacks()
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp272 StringRef KeyValue = KeyString->getValue(KeyStorage); in parse() local
282 if (KeyValue == "arguments" && !SequenceString) { in parse()
285 } else if (KeyValue != "arguments" && !ValueString) { in parse()
289 if (KeyValue == "directory") { in parse()
291 } else if (KeyValue == "arguments") { in parse()
301 } else if (KeyValue == "command") { in parse()
304 } else if (KeyValue == "file") { in parse()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBadSignalToKillThreadCheck.cpp32 const auto IsSigterm = [](const auto &KeyValue) -> bool { in check() argument
33 return KeyValue.first->getName() == "SIGTERM" && in check()
34 KeyValue.first->hasMacroDefinition(); in check()
/external/llvm-project/llvm/include/llvm/ADT/
DStringMap.h258 for (const auto &KeyValue : *this) {
259 auto FindInRHS = RHS.find(KeyValue.getKey());
264 if (!(KeyValue.getValue() == FindInRHS->getValue()))
276 bool insert(MapEntryTy *KeyValue) { in insert() argument
277 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
284 Bucket = KeyValue; in insert()
353 void remove(MapEntryTy *KeyValue) { RemoveKey(KeyValue); } in remove() argument
/external/llvm-project/lldb/include/lldb/Utility/
DEnvironment.h80 static std::string compose(const value_type &KeyValue) { in compose() argument
81 return (KeyValue.first() + "=" + KeyValue.second).str(); in compose()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenMapTable.cpp242 std::vector<Init*> KeyValue; in buildRowInstrMap() local
251 KeyValue.push_back(CurInstrVal); in buildRowInstrMap()
260 RowInstrMap[KeyValue].push_back(CurInstr); in buildRowInstrMap()
314 std::vector<Init*> KeyValue; in getInstrForColumn() local
319 KeyValue.push_back(KeyInstrVal); in getInstrForColumn()
326 const std::vector<Record*> &RelatedInstrVec = RowInstrMap[KeyValue]; in getInstrForColumn()
348 for (Init *Value : KeyValue) { in getInstrForColumn()
/external/llvm/utils/TableGen/
DCodeGenMapTable.cpp243 std::vector<Init*> KeyValue; in buildRowInstrMap() local
247 KeyValue.push_back(CurInstrVal); in buildRowInstrMap()
256 RowInstrMap[KeyValue].push_back(CurInstr); in buildRowInstrMap()
310 std::vector<Init*> KeyValue; in getInstrForColumn() local
315 KeyValue.push_back(KeyInstrVal); in getInstrForColumn()
322 const std::vector<Record*> &RelatedInstrVec = RowInstrMap[KeyValue]; in getInstrForColumn()
344 for (Init *Value : KeyValue) { in getInstrForColumn()
/external/llvm-project/clang/lib/Tooling/
DJSONCompilationDatabase.cpp365 StringRef KeyValue = KeyString->getValue(KeyStorage); in parse() local
373 if (KeyValue == "arguments") { in parse()
392 if (KeyValue == "directory") { in parse()
394 } else if (KeyValue == "command") { in parse()
397 } else if (KeyValue == "file") { in parse()
399 } else if (KeyValue == "output") { in parse()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DRecursiveIgnoreProperties1755Test.java24 public List<KeyValue> metadata;
27 static class KeyValue { class in RecursiveIgnoreProperties1755Test
/external/protobuf/src/google/protobuf/
Dextension_set.cc193 : Arena::CreateArray<KeyValue>(arena_, flat_capacity_)} {} in ExtensionSet()
201 : Arena::CreateArray<KeyValue>(arena_, flat_capacity_)} {} in ExtensionSet()
215 void ExtensionSet::DeleteFlatMap(const ExtensionSet::KeyValue* flat, in DeleteFlatMap()
220 static_assert(std::is_trivially_destructible<KeyValue>::value, in DeleteFlatMap()
224 ::operator delete[](const_cast<ExtensionSet::KeyValue*>(flat), in DeleteFlatMap()
1144 for (const KeyValue* it = flat_begin(); it != flat_end(); ++it) { in IsInitialized()
1479 const KeyValue* end = flat_end(); in SerializeWithCachedSizes()
1480 for (const KeyValue* it = std::lower_bound( in SerializeWithCachedSizes()
1481 flat_begin(), end, start_field_number, KeyValue::FirstComparator()); in SerializeWithCachedSizes()
1901 const KeyValue* end = flat_end(); in FindOrNull()
[all …]
Dextension_set.h635 struct KeyValue { struct
640 bool operator()(const KeyValue& lhs, const KeyValue& rhs) const { in operator() argument
643 bool operator()(const KeyValue& lhs, int key) const { in operator()
646 bool operator()(int key, const KeyValue& rhs) const { in operator()
823 KeyValue* flat_begin() { in flat_begin()
827 const KeyValue* flat_begin() const { in flat_begin()
831 KeyValue* flat_end() { in flat_end()
835 const KeyValue* flat_end() const { in flat_end()
848 KeyValue* flat;
855 static void DeleteFlatMap(const KeyValue* flat, uint16 flat_capacity);
/external/llvm/include/llvm/ADT/
DStringMap.h344 bool insert(MapEntryTy *KeyValue) { in insert() argument
345 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
352 Bucket = KeyValue; in insert()
410 void remove(MapEntryTy *KeyValue) { in remove() argument
411 RemoveKey(KeyValue); in remove()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h348 bool insert(MapEntryTy *KeyValue) { in insert() argument
349 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
356 Bucket = KeyValue; in insert()
414 void remove(MapEntryTy *KeyValue) { in remove() argument
415 RemoveKey(KeyValue); in remove()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringMap.h393 bool insert(MapEntryTy *KeyValue) { in insert() argument
394 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
401 Bucket = KeyValue; in insert()
469 void remove(MapEntryTy *KeyValue) { in remove() argument
470 RemoveKey(KeyValue); in remove()

12