/external/libcxx/benchmarks/ |
D | ordered_set.bench.cpp | 37 void sortKeysBy(std::vector<uint64_t>& Keys, AccessPattern AP) { in sortKeysBy() argument 41 std::shuffle(std::begin(Keys), std::end(Keys), M); in sortKeysBy() 47 std::vector<uint64_t> Keys; member 57 R.Keys.push_back(Hit == HitType::Hit ? 2 * I : 2 * I + 1); in makeTestingSets() 60 sortKeysBy(R.Keys, Access); in makeTestingSets() 86 std::vector<uint64_t> Keys(TableSize); in run() local 87 std::iota(Keys.begin(), Keys.end(), uint64_t{0}); in run() 88 sortKeysBy(Keys, Access()); in run() 92 for (auto K : Keys) { in run() 113 for (auto K : Data.Keys) { in run() [all …]
|
/external/llvm-project/libcxx/benchmarks/ |
D | ordered_set.bench.cpp | 36 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 …]
|
D | map.bench.cpp | 51 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 …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | ReverseIterationTest.cpp | 36 int Keys[] = { 1, 2, 3, 4 }; in TEST() local 39 for (auto Key: Keys) in TEST() 89 PtrLikeInt *Keys[] = { &a, &b, &c, &d }; in TEST() local 93 for (auto *Key : Keys) in TEST() 99 std::reverse(&Keys[0], &Keys[4]); in TEST() 102 for (auto Tuple : zip(Map, Keys)) in TEST() 108 ASSERT_EQ(iter->second, Keys[i]->value); in TEST()
|
D | ItaniumManglingCanonicalizerTest.cpp | 308 std::map<const EquivalenceClass*, CanonKey> Keys; in testTestcases() local 311 Keys.insert({&Class, Canonicalizer.canonicalize(*Class.begin())}); in testTestcases() 315 CanonKey ClassKey = Keys[&Class]; in testTestcases()
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | ReplacementsYaml.h | 53 Keys(Io, R); in LLVM_YAML_IS_SEQUENCE_VECTOR() 54 Io.mapRequired("FilePath", Keys->FilePath); in LLVM_YAML_IS_SEQUENCE_VECTOR() 55 Io.mapRequired("Offset", Keys->Offset); in LLVM_YAML_IS_SEQUENCE_VECTOR() 56 Io.mapRequired("Length", Keys->Length); in LLVM_YAML_IS_SEQUENCE_VECTOR() 57 Io.mapRequired("ReplacementText", Keys->ReplacementText); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
D | DiagnosticsYaml.h | 87 MappingNormalization<NormalizedDiagnostic, clang::tooling::Diagnostic> Keys( in LLVM_YAML_IS_SEQUENCE_VECTOR() 89 Io.mapRequired("DiagnosticName", Keys->DiagnosticName); in LLVM_YAML_IS_SEQUENCE_VECTOR() 90 Io.mapRequired("DiagnosticMessage", Keys->Message); in LLVM_YAML_IS_SEQUENCE_VECTOR() 91 Io.mapOptional("Notes", Keys->Notes); in LLVM_YAML_IS_SEQUENCE_VECTOR() 92 Io.mapOptional("Level", Keys->DiagLevel); in LLVM_YAML_IS_SEQUENCE_VECTOR() 93 Io.mapOptional("BuildDirectory", Keys->BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR() 94 Io.mapOptional("Ranges", Keys->Ranges); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/clang/include/clang/Tooling/ |
D | ReplacementsYaml.h | 55 Keys(Io, R); in LLVM_YAML_IS_SEQUENCE_VECTOR() 56 Io.mapRequired("FilePath", Keys->FilePath); in LLVM_YAML_IS_SEQUENCE_VECTOR() 57 Io.mapRequired("Offset", Keys->Offset); in LLVM_YAML_IS_SEQUENCE_VECTOR() 58 Io.mapRequired("Length", Keys->Length); in LLVM_YAML_IS_SEQUENCE_VECTOR() 59 Io.mapRequired("ReplacementText", Keys->ReplacementText); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/lzma/CPP/7zip/Crypto/ |
D | 7zAes.cpp | 81 FOR_VECTOR (i, Keys) in GetKey() 83 const CKeyInfo &cached = Keys[i]; in GetKey() 89 Keys.MoveToFront(i); in GetKey() 98 FOR_VECTOR (i, Keys) in FindAndAdd() 100 const CKeyInfo &cached = Keys[i]; in FindAndAdd() 104 Keys.MoveToFront(i); in FindAndAdd() 113 if (Keys.Size() >= Size) in Add() 114 Keys.DeleteBack(); in Add() 115 Keys.Insert(0, key); in Add()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 178 SmallVector<const Table::MapEntryTy *, 32> Keys; in checkEndOfTranslationUnit() local 181 Keys.push_back(&*I); in checkEndOfTranslationUnit() 182 llvm::array_pod_sort(Keys.begin(), Keys.end(), compareEntry); in checkEndOfTranslationUnit() 185 for (unsigned I = 0, E = Keys.size(); I != E; ++I) in checkEndOfTranslationUnit() 186 llvm::errs() << Keys[I]->getKey() << " = " << Keys[I]->second << '\n'; in checkEndOfTranslationUnit() 188 llvm::errs() << "[stats]\n" << "num-entries = " << Keys.size() << '\n'; in checkEndOfTranslationUnit()
|
/external/llvm-project/llvm/lib/TextAPI/MachO/ |
D | TextStub.cpp | 1026 MappingNormalization<NormalizedTBD, const InterfaceFile *> Keys(IO, File); in mapKeysToValues() local 1027 IO.mapRequired("archs", Keys->Architectures); in mapKeysToValues() 1029 IO.mapOptional("uuids", Keys->UUIDs); in mapKeysToValues() 1030 IO.mapRequired("platform", Keys->Platforms); in mapKeysToValues() 1032 IO.mapOptional("flags", Keys->Flags, TBDFlags::None); in mapKeysToValues() 1033 IO.mapRequired("install-name", Keys->InstallName); in mapKeysToValues() 1034 IO.mapOptional("current-version", Keys->CurrentVersion, in mapKeysToValues() 1036 IO.mapOptional("compatibility-version", Keys->CompatibilityVersion, in mapKeysToValues() 1039 IO.mapOptional("swift-version", Keys->SwiftABIVersion, SwiftVersion(0)); in mapKeysToValues() 1041 IO.mapOptional("swift-abi-version", Keys->SwiftABIVersion, in mapKeysToValues() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/ |
D | TextStub.cpp | 1022 MappingNormalization<NormalizedTBD, const InterfaceFile *> Keys(IO, File); in mapKeysToValues() local 1023 IO.mapRequired("archs", Keys->Architectures); in mapKeysToValues() 1025 IO.mapOptional("uuids", Keys->UUIDs); in mapKeysToValues() 1026 IO.mapRequired("platform", Keys->Platforms); in mapKeysToValues() 1028 IO.mapOptional("flags", Keys->Flags, TBDFlags::None); in mapKeysToValues() 1029 IO.mapRequired("install-name", Keys->InstallName); in mapKeysToValues() 1030 IO.mapOptional("current-version", Keys->CurrentVersion, in mapKeysToValues() 1032 IO.mapOptional("compatibility-version", Keys->CompatibilityVersion, in mapKeysToValues() 1035 IO.mapOptional("swift-version", Keys->SwiftABIVersion, SwiftVersion(0)); in mapKeysToValues() 1037 IO.mapOptional("swift-abi-version", Keys->SwiftABIVersion, in mapKeysToValues() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 273 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()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | DictionaryExtensions.cs | 107 return new HashSet<object>(map.Keys.Cast<object>()); in keySet() 112 return new HashSet<TKey>(map.Keys); in keySet() 118 return new HashSet<TKey>(map.Keys); in keySet() 123 return new HashSet<object>(map.Keys.Cast<object>()); in keySet()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | DictionaryExtensions.cs | 113 return new HashSet<object>( map.Keys.Cast<object>() ); in keySet() 119 return new HashSet<TKey>( map.Keys ); in keySet() 126 return new HashSet<TKey>( map.Keys ); in keySet() 132 return new HashSet<object>( map.Keys.Cast<object>() ); in keySet()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 99 CollectionAssert.AreEqual(new[] { "a", "c", "d" }, map.Keys); in AddPreservesInsertionOrder() 178 CollectionAssert.AreEqual(new[] { "before", "x", "a", "after" }, map2.Keys); in Add_Dictionary() 379 CollectionAssert.AreEqual(new[] { "x" }, dictionary.Keys); in IDictionary_Keys() 432 var keys = map.Keys; in KeysReturnsLiveView() 455 var keys = map.Keys; in ViewsAreReadOnly() 467 var keys = map.Keys; in ViewCopyTo() 480 ICollection keys = map.Keys; in NonGenericViewCopyTo() 493 var keys = map.Keys; in KeysContains() 505 var keys = map.Keys.ToArray(); // Uses CopyTo internally in KeysCopyTo() 591 ….AreEquivalent(((IDictionary<string, string>)map).Keys, ((IReadOnlyDictionary<string, string>)map)… in IDictionaryKeys_Equals_IReadOnlyDictionaryKeys()
|
/external/google-fruit/include/fruit/impl/meta/ |
D | immutable_map.h | 35 template <typename... Keys, typename... Values> 36 struct apply<Vector<Keys...>, Vector<Values...>> { 37 using type = ConsImmutableSet<Pair<Keys, Values>...>;
|
/external/llvm-project/llvm/unittests/ADT/ |
D | StringSetTest.cpp | 25 auto Keys = to_vector<4>(Set.keys()); in TEST_F() local 26 llvm::sort(Keys); in TEST_F() 29 EXPECT_EQ(Expected, Keys); in TEST_F()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/ |
D | DoubleKeyMap`3.cs | 60 return data.Keys; in KeySet() 71 return data2.Keys; in KeySet() 83 return s.Keys; in Values()
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 99 CollectionAssert.AreEqual(new[] { "a", "c", "d" }, map.Keys); in AddPreservesInsertionOrder() 178 CollectionAssert.AreEqual(new[] { "before", "x", "a", "after" }, map2.Keys); in Add_Dictionary() 379 CollectionAssert.AreEqual(new[] { "x" }, dictionary.Keys); in IDictionary_Keys() 432 var keys = map.Keys; in KeysReturnsLiveView() 455 var keys = map.Keys; in ViewsAreReadOnly() 467 var keys = map.Keys; in ViewCopyTo() 480 ICollection keys = map.Keys; in NonGenericViewCopyTo() 493 var keys = map.Keys; in KeysContains()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_LookupTableRemoveV2.pbtxt | 16 Any shape. Keys of the elements to remove. 21 The tensor `keys` must of the same type as the keys of the table. Keys not
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | AtomicChange.cpp | 70 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()
|
/external/python/cpython2/PC/VS7.1/ |
D | python20.wse | 2451 Total Keys=1 2456 Total Keys=1 2461 Total Keys=1 2468 Total Keys=1 2473 Total Keys=1 2478 Total Keys=1 2485 Total Keys=1 2490 Total Keys=1 2495 Total Keys=1 2505 Total Keys=1 [all …]
|
/external/ltp/pan/ |
D | reporter.c | 85 SYM Tag, Keys; in scanner_reporter() local 156 if ((Keys = sym_get(tags, key_get)) == NULL) { in scanner_reporter() 162 tag_report(NULL, Tag, Keys); in scanner_reporter()
|
/external/guava/guava/src/com/google/common/collect/ |
D | FilteredEntryMultimap.java | 339 return new Keys(); in createKeys() 343 class Keys extends Multimaps.Keys<K, V> { class 344 Keys() { in Keys() method in Keys 380 return Keys.this; in entrySet() 385 return Keys.this.entryIterator(); in entrySet()
|