Searched refs:KeyStr (Results 1 – 7 of 7) sorted by relevance
/external/executorch/extension/pytree/ |
D | pytree.h | 53 using KeyStr = std::string; variable 60 std::variant<std::monostate, KeyInt, KeyStr> repr_; 65 /*implicit*/ Key(KeyStr key) : repr_(std::move(key)) {} in Key() 79 const KeyStr& as_str() const { in as_str() 80 return std::get<KeyStr>(repr_); in as_str() 83 operator const KeyStr&() const { 183 bool contains(const KeyStr& lookup_key) const { in contains() 207 const ContainerHandle& at(const KeyStr& lookup_key) const { in at()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | YAMLRemarkParser.cpp | 368 Optional<StringRef> KeyStr; in parseArg() local 403 KeyStr = KeyName; in parseArg() 406 if (!KeyStr) in parseArg() 411 return Argument{*KeyStr, *ValueStr, Loc}; in parseArg()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Remarks/ |
D | YAMLRemarkParser.cpp | 367 std::optional<StringRef> KeyStr; in parseArg() local 402 KeyStr = KeyName; in parseArg() 405 if (!KeyStr) in parseArg() 410 return Argument{*KeyStr, *ValueStr, Loc}; in parseArg()
|
/external/llvm/lib/Support/ |
D | YAMLTraits.cpp | 332 StringRef KeyStr = SN->getValue(StringStorage); in createHNodes() local 335 KeyStr = StringStorage.str().copy(StringAllocator); in createHNodes() 337 return llvm::make_unique<ScalarHNode>(N, KeyStr); in createHNodes() 360 StringRef KeyStr = KeyScalar->getValue(StringStorage); in createHNodes() local 363 KeyStr = StringStorage.str().copy(StringAllocator); in createHNodes() 368 mapHNode->Mapping[KeyStr] = std::move(ValueHNode); in createHNodes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | YAMLTraits.cpp | 374 StringRef KeyStr = SN->getValue(StringStorage); in createHNodes() local 377 KeyStr = StringStorage.str().copy(StringAllocator); in createHNodes() 379 return std::make_unique<ScalarHNode>(N, KeyStr); in createHNodes() 406 StringRef KeyStr = Key->getValue(StringStorage); in createHNodes() local 409 KeyStr = StringStorage.str().copy(StringAllocator); in createHNodes() 414 mapHNode->Mapping[KeyStr] = std::move(ValueHNode); in createHNodes()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ |
D | YAMLTraits.cpp | 401 StringRef KeyStr = SN->getValue(StringStorage); in createHNodes() local 404 KeyStr = StringStorage.str().copy(StringAllocator); in createHNodes() 406 return std::make_unique<ScalarHNode>(N, KeyStr); in createHNodes() 433 StringRef KeyStr = Key->getValue(StringStorage); in createHNodes() local 436 KeyStr = StringStorage.str().copy(StringAllocator); in createHNodes() 441 mapHNode->Mapping[KeyStr] = in createHNodes()
|
/external/python/cpython3/Lib/test/ |
D | test_context.py | 401 class KeyStr(str): class 587 key = KeyStr(i) 599 h.get(KeyStr(i)) # really trigger __eq__ 611 self.assertEqual(h.get(KeyStr(key), 'not found'), key) 616 key = KeyStr(i) 626 h.delete(KeyStr(i))
|