Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/libcxx/benchmarks/
H A Dordered_set.bench.cpp36 void sortKeysBy(std::vector<uint64_t>& Keys, AccessPattern AP) { in sortKeysBy() argument
40 std::shuffle(std::begin(Keys), std::end(Keys), M); in sortKeysBy()
46 std::vector<uint64_t> Keys; member
56 R.Keys.push_back(Hit == HitType::Hit ? 2 * I : 2 * I + 1); in makeTestingSets()
59 sortKeysBy(R.Keys, Access); in makeTestingSets()
85 std::vector<uint64_t> Keys(TableSize); in run() local
86 std::iota(Keys.begin(), Keys.end(), uint64_t{0}); in run()
87 sortKeysBy(Keys, Access()); in run()
91 for (auto K : Keys) { in run()
112 for (auto K : Data.Keys) { in run()
[all …]
H A Dmap.bench.cpp51 std::vector<uint64_t> Keys; member
58 enum class Shuffle { None, Keys, Hints }; enumerator
71 R.Keys.push_back(mode == Mode::Hit ? 2 * I + 2 : 2 * I + 1); in makeTestingSets()
73 if (shuffle == Shuffle::Keys) in makeTestingSets()
74 std::shuffle(R.Keys.begin(), R.Keys.end(), std::mt19937()); in makeTestingSets()
243 Order::value == ::Order::Random ? Shuffle::Keys : Shuffle::None, 1000); in run()
246 for (auto K : Data.Keys) { in run()
264 Order::value == ::Order::Random ? Shuffle::Keys in run()
288 for (auto K : Data.Keys) { in run()
319 for (auto K : Data.Keys) { in run()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/
H A DReplacementsYaml.h52 Keys(Io, R); in LLVM_YAML_IS_SEQUENCE_VECTOR()
53 Io.mapRequired("FilePath", Keys->FilePath); in LLVM_YAML_IS_SEQUENCE_VECTOR()
54 Io.mapRequired("Offset", Keys->Offset); in LLVM_YAML_IS_SEQUENCE_VECTOR()
55 Io.mapRequired("Length", Keys->Length); in LLVM_YAML_IS_SEQUENCE_VECTOR()
56 Io.mapRequired("ReplacementText", Keys->ReplacementText); in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DDiagnosticsYaml.h85 MappingNormalization<NormalizedDiagnostic, clang::tooling::Diagnostic> Keys( in LLVM_YAML_IS_SEQUENCE_VECTOR()
87 Io.mapRequired("DiagnosticName", Keys->DiagnosticName); in LLVM_YAML_IS_SEQUENCE_VECTOR()
88 Io.mapRequired("DiagnosticMessage", Keys->Message); in LLVM_YAML_IS_SEQUENCE_VECTOR()
89 Io.mapOptional("Notes", Keys->Notes); in LLVM_YAML_IS_SEQUENCE_VECTOR()
90 Io.mapOptional("Level", Keys->DiagLevel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
91 Io.mapOptional("BuildDirectory", Keys->BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/openbsd-src/gnu/llvm/llvm/lib/TextAPI/
H A DTextStub.cpp1023 MappingNormalization<NormalizedTBD, const InterfaceFile *> Keys(IO, File); in mapKeysToValues() local
1024 IO.mapRequired("archs", Keys->Architectures); in mapKeysToValues()
1026 IO.mapOptional("uuids", Keys->UUIDs); in mapKeysToValues()
1027 IO.mapRequired("platform", Keys->Platforms); in mapKeysToValues()
1029 IO.mapOptional("flags", Keys->Flags, TBDFlags::None); in mapKeysToValues()
1030 IO.mapRequired("install-name", Keys->InstallName); in mapKeysToValues()
1031 IO.mapOptional("current-version", Keys->CurrentVersion, in mapKeysToValues()
1033 IO.mapOptional("compatibility-version", Keys->CompatibilityVersion, in mapKeysToValues()
1036 IO.mapOptional("swift-version", Keys->SwiftABIVersion, SwiftVersion(0)); in mapKeysToValues()
1038 IO.mapOptional("swift-abi-version", Keys->SwiftABIVersion, in mapKeysToValues()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp273 SmallVector<const Table::MapEntryTy *, 32> Keys; in checkEndOfTranslationUnit() local
276 Keys.push_back(&*I); in checkEndOfTranslationUnit()
277 llvm::array_pod_sort(Keys.begin(), Keys.end(), compareEntry); in checkEndOfTranslationUnit()
280 for (unsigned I = 0, E = Keys.size(); I != E; ++I) in checkEndOfTranslationUnit()
281 llvm::errs() << Keys[I]->getKey() << " = " in checkEndOfTranslationUnit()
282 << (Keys[I]->second.empty() ? "\"\"" : Keys[I]->second) in checkEndOfTranslationUnit()
/openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/
H A Dhv_simple.t62 ok(10, $seen{1} == 1, "Keys..");
63 ok(11, $seen{2} == 1, "Keys..");
64 ok(12, $seen{3} == 1, "Keys..");
65 ok(13, $seen{"foo"} == 1, "Keys..");
H A D0nothread.t25 is(join(',',sort @keys),'0,1,2',"Keys correct");
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp70 Keys(Io, Doc); in mapping() local
71 Io.mapRequired("Key", Keys->Key); in mapping()
72 Io.mapRequired("FilePath", Keys->FilePath); in mapping()
73 Io.mapRequired("Error", Keys->Error); in mapping()
74 Io.mapRequired("InsertedHeaders", Keys->InsertedHeaders); in mapping()
75 Io.mapRequired("RemovedHeaders", Keys->RemovedHeaders); in mapping()
76 Io.mapRequired("Replacements", Keys->Replaces); in mapping()
/openbsd-src/gnu/llvm/llvm/utils/UnicodeData/
H A DUnicodeNameMappingGenerator.cpp147 std::set<std::string> Keys; in getNameFragments() local
148 collectKeys(Root.get(), Keys); in getNameFragments()
149 return Keys; in getNameFragments()
296 void collectKeys(Node *N, std::set<std::string> &Keys) { in collectKeys() argument
297 Keys.insert(N->Name); in collectKeys()
299 collectKeys(Child.get(), Keys); in collectKeys()
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp570 SmallVector<const Expr *, 8> Keys; in rewriteToDictionaryLiteral() local
571 if (!getNSArrayObjects(Msg->getArg(1), NS, Keys)) in rewriteToDictionaryLiteral()
574 if (Vals.size() != Keys.size()) in rewriteToDictionaryLiteral()
584 objectifyExpr(Keys[i], commit); in rewriteToDictionaryLiteral()
587 SourceRange KeyRange = Keys[i]->getSourceRange(); in rewriteToDictionaryLiteral()
594 SourceRange ArgRange(Keys.front()->getBeginLoc(), Keys.back()->getEndLoc()); in rewriteToDictionaryLiteral()
626 SmallVector<const Expr *, 8> Keys; in shouldNotRewriteImmediateMessageArgs() local
627 if (!getNSArrayObjects(Msg->getArg(1), NS, Keys)) in shouldNotRewriteImmediateMessageArgs()
630 if (Vals.size() != Keys.size()) in shouldNotRewriteImmediateMessageArgs()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp1145 std::vector<MatchKey> Keys; in matchesAnyAncestorOf() local
1148 for (const auto &Key : Keys) { in matchesAnyAncestorOf()
1161 Keys.emplace_back(); in matchesAnyAncestorOf()
1162 Keys.back().MatcherID = Matcher.getID(); in matchesAnyAncestorOf()
1163 Keys.back().Node = Node; in matchesAnyAncestorOf()
1164 Keys.back().BoundNodes = *Builder; in matchesAnyAncestorOf()
1165 Keys.back().Traversal = Ctx.getParentMapContext().getTraversalKind(); in matchesAnyAncestorOf()
1166 Keys.back().Type = MatchType::Ancestors; in matchesAnyAncestorOf()
1169 MemoizationMap::iterator I = ResultCache.find(Keys.back()); in matchesAnyAncestorOf()
1171 Keys.pop_back(); // Don't populate the cache for the matching node! in matchesAnyAncestorOf()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp534 int Keys[3] = {0, 0, 0}; in TEST() local
535 IncompleteStruct *K1 = reinterpret_cast<IncompleteStruct *>(&Keys[0]); in TEST()
536 IncompleteStruct *K2 = reinterpret_cast<IncompleteStruct *>(&Keys[1]); in TEST()
537 IncompleteStruct *K3 = reinterpret_cast<IncompleteStruct *>(&Keys[2]); in TEST()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DVirtualFileSystem.cpp1665 DenseMap<StringRef, KeyStatus> &Keys) { in checkDuplicateOrUnknownKey() argument
1666 if (!Keys.count(Key)) { in checkDuplicateOrUnknownKey()
1670 KeyStatus &S = Keys[Key]; in checkDuplicateOrUnknownKey()
1680 bool checkMissingKeys(yaml::Node *Obj, DenseMap<StringRef, KeyStatus> &Keys) { in checkMissingKeys() argument
1681 for (const auto &I : Keys) { in checkMissingKeys()
1784 DenseMap<StringRef, KeyStatus> Keys(std::begin(Fields), std::end(Fields)); in parseEntry() local
1803 if (!checkDuplicateOrUnknownKey(I.getKey(), Key, Keys)) in parseEntry()
1892 if (!checkMissingKeys(N, Keys)) in parseEntry()
2018 DenseMap<StringRef, KeyStatus> Keys(std::begin(Fields), std::end(Fields)); in parse() local
2028 if (!checkDuplicateOrUnknownKey(I.getKey(), Key, Keys)) in parse()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/DB_File/t/
H A Ddb-btree.t552 my @Keys = qw( 0123 12 -1234 9 987654321 def ) ;
556 @srt_1 = sort { $a <=> $b } @Keys ;
558 @srt_2 = sort { $a cmp $b } @Keys ;
559 @srt_3 = sort { length $a <=> length $b } @Keys ;
561 foreach (@Keys) {
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h142 auto Keys = YamlIO.keys();
143 if (is_contained(Keys, "reg")) {
146 } else if (is_contained(Keys, "offset"))
/openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/
H A DTokens.cpp988 std::vector<FileID> Keys; in dumpForTests() local
990 Keys.push_back(F.first); in dumpForTests()
991 llvm::sort(Keys); in dumpForTests()
993 for (FileID ID : Keys) { in dumpForTests()
/openbsd-src/gnu/llvm/llvm/docs/PDB/
H A DHashTable.rst64 - **Keys and Values** - A list of ``Capacity`` hash buckets, where the first
/openbsd-src/lib/libssl/doc/
H A Dstandards.txt159 2539 Storage of Diffie-Hellman Keys in the Domain Name System (DNS).
229 3185 Reuse of CMS Content Encryption Keys. S. Farrell, S. Turner.
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperlpragma.pod140 convention, because they predate it. Keys that follow the convention
/openbsd-src/gnu/llvm/llvm/docs/
H A DPointerAuth.md275 #### Keys subsubsection
/openbsd-src/usr.bin/ssh/
H A DPROTOCOL.u2f252 present the closest analogue to Security Keys in ssh-agent are PKCS#11
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGObjC.cpp158 Address Keys = Address::invalid(); in EmitObjCCollectionLiteral() local
160 Keys = CreateMemTemp(ElementArrayType, "keys"); in EmitObjCCollectionLiteral()
185 LValue KeyLV = MakeAddrLValue(Builder.CreateConstArrayGEP(Keys, i), in EmitObjCCollectionLiteral()
212 Args.add(RValue::get(Keys.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1313 MappingNormalization<NormalizedOther, std::optional<uint8_t>> Keys( in mapping() local
1315 IO.mapOptional("Other", Keys->Other); in mapping()
/openbsd-src/share/misc/
H A Dusb_hid_usages1201 0x39 Tablet Function Keys
1202 0x3A Program Change Keys
1518 0xC2 Soft Keys

12