/external/llvm-project/llvm/unittests/FuzzMutate/ |
D | ReservoirSamplerTest.cpp | 33 std::vector<int> Items = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TEST() local 37 std::vector<int> Counts(Items.size(), 0); in TEST() 41 int N = Items.size() * 5 * 100; in TEST() 43 auto Sampler = makeSampler(Rand, Items); in TEST() 49 double Ps = 1.0 / Items.size(); in TEST() 55 assert(Items.size() == 10 && "Our chi-squared values assume 10 items"); in TEST()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | StringExtrasTest.cpp | 38 std::vector<std::string> Items; in TEST() local 39 EXPECT_EQ("", join(Items.begin(), Items.end(), " <sep> ")); in TEST() 41 Items = {"foo"}; in TEST() 42 EXPECT_EQ("foo", join(Items.begin(), Items.end(), " <sep> ")); in TEST() 44 Items = {"foo", "bar"}; in TEST() 45 EXPECT_EQ("foo <sep> bar", join(Items.begin(), Items.end(), " <sep> ")); in TEST() 47 Items = {"foo", "bar", "baz"}; in TEST() 49 join(Items.begin(), Items.end(), " <sep> ")); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | CallHierarchyTests.cpp | 71 std::vector<CallHierarchyItem> Items = in TEST() local 73 ASSERT_THAT(Items, ElementsAre(WithName("callee"))); in TEST() 74 auto IncomingLevel1 = incomingCalls(Items[0], Index.get()); in TEST() 115 std::vector<CallHierarchyItem> Items = in TEST() local 117 ASSERT_THAT(Items, ElementsAre(WithName("callee"))); in TEST() 118 auto IncomingLevel1 = incomingCalls(Items[0], Index.get()); in TEST() 148 std::vector<CallHierarchyItem> Items = in TEST() local 150 ASSERT_THAT(Items, ElementsAre(WithName("Waldo::find"))); in TEST() 151 auto Incoming = incomingCalls(Items[0], Index.get()); in TEST() 214 std::vector<CallHierarchyItem> Items = in TEST() local [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | BinaryItemStream.h | 46 const auto &Item = Items[*ExpectedIndex]; in readBytes() 60 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk() 65 Items = ItemArray; in setItems() 76 ItemEndOffsets.reserve(Items.size()); in computeItemOffsets() 78 for (const auto &Item : Items) { in computeItemOffsets() 94 assert(Idx < Items.size() && "binary search for offset failed"); in translateOffsetIndex() 99 ArrayRef<T> Items; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BinaryItemStream.h | 46 const auto &Item = Items[*ExpectedIndex]; in readBytes() 60 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk() 65 Items = ItemArray; in setItems() 76 ItemEndOffsets.reserve(Items.size()); in computeItemOffsets() 78 for (const auto &Item : Items) { in computeItemOffsets() 94 assert(Idx < Items.size() && "binary search for offset failed"); in translateOffsetIndex() 99 ArrayRef<T> Items; variable
|
/external/rust/crates/criterion-plot/src/ |
D | map.rs | 8 pub struct Items<'a, T> struct 16 impl<'a, T> Iterator for Items<'a, T> { implementation 66 pub fn iter(&self) -> Items<T> { in iter() 67 Items { in iter() 94 pub struct Items<'a, T> struct 102 impl<'a, T> Iterator for Items<'a, T> { implementation 146 pub fn iter(&self) -> Items<T> { in iter() 147 Items { in iter()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-shape-complex-arabic-win1256.hh | 91 #define OT_UARRAY(Name, Items) \ argument 95 Items \ 98 #define OT_UHEADLESSARRAY(Name, Items) \ argument 102 Items \ 119 #define OT_SUBLOOKUP(Name, SubFormat, Items) \ argument 122 Items 124 #define OT_COVERAGE1(Name, Items) \ argument 128 OT_UARRAY(Name##Glyphs, OT_LIST(Items)) 175 #define MANIFEST(Items) \ argument 179 Items \
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringExtras.h | 205 Args &&... Items) { in join_items_impl() 208 join_items_impl(Result, Separator, std::forward<Args>(Items)...); in join_items_impl() 224 inline size_t join_items_size(const A1 &A, Args &&... Items) { in join_items_size() argument 225 return join_one_item_size(A) + join_items_size(std::forward<Args>(Items)...); in join_items_size() 242 inline std::string join_items(Sep Separator, Args &&... Items) { in join_items() argument 244 if (sizeof...(Items) == 0) in join_items() 248 size_t NI = detail::join_items_size(std::forward<Args>(Items)...); in join_items() 249 Result.reserve(NI + (sizeof...(Items) - 1) * NS + 1); in join_items() 250 detail::join_items_impl(Result, Separator, std::forward<Args>(Items)...); in join_items()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeViewRecordIO.h | 142 Error mapVectorN(T &Items, const ElementMapper &Mapper, 146 Size = static_cast<SizeType>(Items.size()); 151 for (auto &X : Items) { 156 Size = static_cast<SizeType>(Items.size()); 160 for (auto &X : Items) { 171 Items.push_back(Item); 179 Error mapVectorTail(T &Items, const ElementMapper &Mapper, 183 for (auto &Item : Items) { 193 Items.push_back(Field);
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | CodeViewRecordIO.h | 143 Error mapVectorN(T &Items, const ElementMapper &Mapper, 147 Size = static_cast<SizeType>(Items.size()); 152 for (auto &X : Items) { 157 Size = static_cast<SizeType>(Items.size()); 161 for (auto &X : Items) { 172 Items.push_back(Item); 180 Error mapVectorTail(T &Items, const ElementMapper &Mapper, 184 for (auto &Item : Items) { 194 Items.push_back(Field);
|
/external/llvm-project/clang/include/clang/AST/ |
D | OSLog.h | 113 SmallVector<OSLogBufferItem, 4> Items; 120 for (auto &item : Items) { in size() 129 Items, [](const OSLogBufferItem &Item) { return Item.getIsPrivate(); }); in hasPrivateItems() 133 return llvm::any_of(Items, [](const OSLogBufferItem &Item) { in hasNonScalarOrMask() 148 unsigned char getNumArgsByte() const { return Items.size(); } in getNumArgsByte()
|
/external/llvm/utils/TableGen/ |
D | SearchableTableEmitter.cpp | 92 void emitMappingEnum(std::vector<Record *> &Items, Record *InstanceClass, 98 std::vector<Record *> &Items, raw_ostream &OS); 112 void SearchableTableEmitter::emitMappingEnum(std::vector<Record *> &Items, in emitMappingEnum() argument 121 for (auto Item : Items) { in emitMappingEnum() 134 std::vector<Record *> &Items, raw_ostream &OS) { in emitPrimaryTable() argument 137 for (auto Item : Items) { in emitPrimaryTable() 234 std::vector<Record *> Items = Records.getAllDerivedDefinitions(TableName); in emitMapping() local 260 for (Record *Item : Items) { in emitMapping() 274 emitMappingEnum(Items, InstanceClass, OS); in emitMapping() 288 emitPrimaryTable(TableName, FieldNames, SearchFieldNames, SearchTables, Items, in emitMapping()
|
/external/llvm-project/clang/lib/AST/ |
D | OSLog.cpp | 136 Layout.Items.clear(); in computeLayout() 140 Layout.Items.emplace_back(OSLogBufferItem::MaskKind, nullptr, in computeLayout() 146 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.FieldWidth, in computeLayout() 151 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.Precision, in computeLayout() 157 Layout.Items.emplace_back(OSLogBufferItem::CountKind, *Data.Count, Size, in computeLayout() 161 Layout.Items.emplace_back(Ctx, CharUnits::fromQuantity(*Data.Size), in computeLayout() 169 Layout.Items.emplace_back(*Data.Kind, Data.E, Size, Data.Flags); in computeLayout() 172 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, Data.E, Size, in computeLayout()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringExtras.h | 342 Args &&... Items) { in join_items_impl() 345 join_items_impl(Result, Separator, std::forward<Args>(Items)...); in join_items_impl() 361 inline size_t join_items_size(const A1 &A, Args &&... Items) { in join_items_size() argument 362 return join_one_item_size(A) + join_items_size(std::forward<Args>(Items)...); in join_items_size() 387 inline std::string join_items(Sep Separator, Args &&... Items) { in join_items() argument 389 if (sizeof...(Items) == 0) in join_items() 393 size_t NI = detail::join_items_size(std::forward<Args>(Items)...); in join_items() 394 Result.reserve(NI + (sizeof...(Items) - 1) * NS + 1); in join_items() 395 detail::join_items_impl(Result, Separator, std::forward<Args>(Items)...); in join_items()
|
/external/llvm-project/llvm/include/llvm/FuzzMutate/ |
D | Random.h | 53 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { in sample() argument 54 for (auto &I : Items) in sample() 75 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler() argument 77 RS.sample(Items); in makeSampler()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | list_test.cpp | 18 static ListItem Items[6]; variable 19 static ListItem *X = &Items[0]; 20 static ListItem *Y = &Items[1]; 21 static ListItem *Z = &Items[2]; 22 static ListItem *A = &Items[3]; 23 static ListItem *B = &Items[4]; 24 static ListItem *C = &Items[5];
|
/external/scudo/standalone/tests/ |
D | list_test.cpp | 18 static ListItem Items[6]; variable 19 static ListItem *X = &Items[0]; 20 static ListItem *Y = &Items[1]; 21 static ListItem *Z = &Items[2]; 22 static ListItem *A = &Items[3]; 23 static ListItem *B = &Items[4]; 24 static ListItem *C = &Items[5];
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
D | Random.h | 53 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { in sample() argument 54 for (auto &I : Items) in sample() 75 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler() argument 77 RS.sample(Items); in makeSampler()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/ |
D | GenericMethodArguments.java.txt | 3 static class Items<T> { 4 public <Output extends T> Output apply(Transform<? super Items<T>, Output> t) { 23 private Items<Integer> items;
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | GlobList.cpp | 46 Items.reserve(Globs.count(',') + 1); in GlobList() 51 Items.push_back(std::move(Item)); in GlobList() 58 for (const GlobListItem &Item : llvm::reverse(Items)) { in contains()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | StringExtras.h | 408 Args &&... Items) { in join_items_impl() 411 join_items_impl(Result, Separator, std::forward<Args>(Items)...); in join_items_impl() 427 inline size_t join_items_size(const A1 &A, Args &&... Items) { in join_items_size() argument 428 return join_one_item_size(A) + join_items_size(std::forward<Args>(Items)...); in join_items_size() 453 inline std::string join_items(Sep Separator, Args &&... Items) { in join_items() argument 455 if (sizeof...(Items) == 0) in join_items() 459 size_t NI = detail::join_items_size(std::forward<Args>(Items)...); in join_items() 460 Result.reserve(NI + (sizeof...(Items) - 1) * NS + 1); in join_items() 461 detail::join_items_impl(Result, Separator, std::forward<Args>(Items)...); in join_items()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ReadSql.java | 112 static class Items { class in ReadSql 117 public static Items of(String key, List<String> raw) { in of() 119 return new Items(key, raw); in of() 126 private Items(String key, List<String> raw) { in Items() method in ReadSql.Items 209 final List<Items> dataItems = new ArrayList<>(); 234 for (Items item : data.dataItems) { in show() 257 public Items add(ArrayList<String> items) { in add() 258 final Items items2 = Items.of(key, items); in add() 326 Items lastItem = current.add(items); in parseLine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | Hash.cpp | 61 ArrayRef<ulittle32_t> Items( in hashStringV2() 64 for (ulittle32_t Item : Items) { in hashStringV2() 69 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t)); in hashStringV2()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | Hash.cpp | 61 ArrayRef<ulittle32_t> Items( in hashStringV2() 64 for (ulittle32_t Item : Items) { in hashStringV2() 69 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t)); in hashStringV2()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | Hash.cpp | 61 ArrayRef<ulittle32_t> Items( in hashStringV2() 64 for (ulittle32_t Item : Items) { in hashStringV2() 69 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t)); in hashStringV2()
|