Home
last modified time | relevance | path

Searched refs:Items (Results 1 – 25 of 275) sorted by relevance

1234567891011

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringExtrasTest.cpp28 std::vector<std::string> Items; in TEST() local
29 EXPECT_EQ("", join(Items.begin(), Items.end(), " <sep> ")); in TEST()
31 Items = {"foo"}; in TEST()
32 EXPECT_EQ("foo", join(Items.begin(), Items.end(), " <sep> ")); in TEST()
34 Items = {"foo", "bar"}; in TEST()
35 EXPECT_EQ("foo <sep> bar", join(Items.begin(), Items.end(), " <sep> ")); in TEST()
37 Items = {"foo", "bar", "baz"}; in TEST()
39 join(Items.begin(), Items.end(), " <sep> ")); in TEST()
DSTLExtrasTest.cpp226 auto operator()(Ts &&... Items) in operator ()() argument
227 -> decltype(std::make_tuple(apply_one(Items)...)) { in operator ()()
228 return std::make_tuple(apply_one(Items)...); in operator ()()
233 auto Items = std::make_tuple(1, llvm::StringRef("Test"), 'X'); in TEST() local
234 auto Values = apply_tuple(apply_variadic(), Items); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/
DReservoirSamplerTest.cpp34 std::vector<int> Items = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; in TEST() local
38 std::vector<int> Counts(Items.size(), 0); in TEST()
42 int N = Items.size() * 5 * 100; in TEST()
44 auto Sampler = makeSampler(Rand, Items); in TEST()
50 double Ps = 1.0 / Items.size(); in TEST()
56 assert(Items.size() == 10 && "Our chi-squared values assume 10 items"); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryItemStream.h47 const auto &Item = Items[*ExpectedIndex]; in readBytes()
61 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk()
66 Items = ItemArray; in setItems()
77 ItemEndOffsets.reserve(Items.size()); in computeItemOffsets()
79 for (const auto &Item : Items) { in computeItemOffsets()
95 assert(Idx < Items.size() && "binary search for offset failed"); in translateOffsetIndex()
100 ArrayRef<T> Items; variable
DOnDiskHashTable.h364 const unsigned char *Items = Base + Offset; variable
368 unsigned Len = endian::readNext<uint16_t, little, unaligned>(Items);
373 endian::readNext<hash_value_type, little, unaligned>(Items);
377 Info::ReadKeyDataLength(Items);
382 Items += ItemLen;
388 InfoPtr->ReadKey((const unsigned char *const)Items, L.first);
392 Items += ItemLen;
397 return iterator(X, Items + L.first, L.second, InfoPtr);
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-arabic-win1256.hh91 #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/
DStringExtras.h205 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-7.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h92 Error mapVectorN(T &Items, const ElementMapper &Mapper) { in mapVectorN() argument
95 Size = static_cast<SizeType>(Items.size()); in mapVectorN()
99 for (auto &X : Items) { in mapVectorN()
110 Items.push_back(Item); in mapVectorN()
118 Error mapVectorTail(T &Items, const ElementMapper &Mapper) { in mapVectorTail() argument
120 for (auto &Item : Items) { in mapVectorTail()
130 Items.push_back(Field); in mapVectorTail()
/external/llvm/utils/TableGen/
DSearchableTableEmitter.cpp92 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/cldr/tools/java/org/unicode/cldr/tool/
DReadSql.java112 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<Items>();
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-7.0/llvm/include/llvm/ADT/
DStringExtras.h342 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DRandom.h54 template <typename RangeT> ReservoirSampler &sample(RangeT &&Items) { in sample() argument
55 for (auto &I : Items) in sample()
76 ReservoirSampler<ElT, GenT> makeSampler(GenT &RandGen, RangeT &&Items) { in makeSampler() argument
78 RS.sample(Items); in makeSampler()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
DGenericMethodArguments.java.txt3 static class Items<T> {
4 public <Output extends T> Output apply(Transform<? super Items<T>, Output> t) {
23 private Items<Integer> items;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DHash.cpp62 ArrayRef<ulittle32_t> Items( in hashStringV2()
65 for (ulittle32_t Item : Items) { in hashStringV2()
70 Buffer = Buffer.slice(Items.size() * sizeof(ulittle32_t)); in hashStringV2()
/external/llvm/lib/DebugInfo/PDB/Raw/
DHash.cpp61 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DLinePrinter.h45 template <typename... Ts> void formatLine(const char *Fmt, Ts &&... Items) { in formatLine() argument
46 printLine(formatv(Fmt, std::forward<Ts>(Items)...)); in formatLine()
48 template <typename... Ts> void format(const char *Fmt, Ts &&... Items) { in format() argument
49 print(formatv(Fmt, std::forward<Ts>(Items)...)); in format()
/external/lzma/CPP/7zip/UI/Common/
DEnumDirItems.cpp42 Items.Add(di); in AddDirFileInfo()
106 const CDirItem &di = Items[index]; in GetPhyPath()
112 const CDirItem &di = Items[index]; in GetLogPath()
121 Items.ReserveDown(); in ReserveDown()
329 unsigned numItems = dirItems.Items.Size(); in EnumerateDirItems_Spec()
333 if (numItems == dirItems.Items.Size()) in EnumerateDirItems_Spec()
446 dirItemIndex = dirItems.Items.Size(); in EnumerateForItem()
466 CDirItem &dirItem = dirItems.Items[dirItemIndex]; in EnumerateForItem()
650 CDirItem &dirItem = dirItems.Items.Back(); in EnumerateDirItems()
874 FOR_VECTOR(i, Items) in FillFixedReparse()
[all …]
/external/llvm/include/llvm/Support/
DOnDiskHashTable.h364 const unsigned char *Items = Base + Offset; variable
368 unsigned Len = endian::readNext<uint16_t, little, unaligned>(Items);
373 endian::readNext<hash_value_type, little, unaligned>(Items);
377 Info::ReadKeyDataLength(Items);
382 Items += ItemLen;
388 InfoPtr->ReadKey((const unsigned char *const)Items, L.first);
392 Items += ItemLen;
397 return iterator(X, Items + L.first, L.second, InfoPtr);
/external/parameter-framework/upstream/parameter/
DMappingContext.h77 using Items = std::vector<SItem>; variable
78 Items mItems;
/external/zlib/src/contrib/iostream2/
Dzstream.h114 template <class T, class Items>
115 inline int read(izstream& zs, T* x, Items items) { in read()
263 template <class T, class Items>
264 inline int write(ozstream& zs, const T* x, Items items) { in write()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkItems.cpp30 Linker::LinkInItems(const ItemList& Items, ItemList& NativeItems) { in LinkInItems() argument
35 for (ItemList::const_iterator I = Items.begin(), E = Items.end(); in LinkInItems()
/external/syzkaller/vendor/cloud.google.com/go/storage/
Dacl.go111 return toACLRules(acls.Items), nil
138 r := make([]ACLRule, len(acls.Items))
139 for i, v := range acls.Items {
188 return toACLRules(acls.Items), nil
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DSearchableTableEmitter.cpp189 const std::vector<Record *> &Items);
191 const std::vector<Record *> &Items);
562 const std::vector<Record *> &Items) { in collectEnumEntries() argument
563 for (auto EntryRec : Items) { in collectEnumEntries()
591 GenericTable &Table, const std::vector<Record *> &Items) { in collectTableEntries() argument
592 for (auto EntryRec : Items) { in collectTableEntries()
719 std::vector<Record *> Items = Records.getAllDerivedDefinitions(TableName); in run() local
731 collectEnumEntries(*Enum, NameField, ValueField, Items); in run()
754 collectTableEntries(*Table, Items); in run()
DCodeGenHwModes.cpp43 Items.push_back(std::make_pair(ModeId, Objects[i])); in HwModeSelect()
50 for (const PairType &P : Items) in dump()
/external/selinux/secilc/docs/
Dcil_call_macro_statements.md49 - Items defined inside the macro
51 - Items passed into the macro as arguments
53 - Items defined in the same namespace of the macro
55 - Items defined in the global namespace

1234567891011