Home
last modified time | relevance | path

Searched refs:uniques (Results 1 – 9 of 9) sorted by relevance

/external/toolchain-utils/cros_utils/
Dpstat.py292 uniques = unique(values)
293 uniques.sort()
297 for item in uniques:
683 uniques = []
685 if item not in uniques:
686 uniques.append(item)
687 return uniques
825 uniques = unique(values) # get a LIST, so .sort keeps rows intact
826 uniques.sort()
828 for item in uniques:
[all …]
/external/skia/src/sksl/lex/
DNFAtoDFA.h137 std::vector<std::vector<int>*> uniques; in computeMappings() local
141 for (size_t j = 0; j < uniques.size(); ++j) { in computeMappings()
142 if (*uniques[j] == fTransitions[i]) { in computeMappings()
148 found = (int) uniques.size(); in computeMappings()
149 uniques.push_back(&fTransitions[i]); in computeMappings()
154 for (std::vector<int>* row : uniques) { in computeMappings()
/external/skqp/src/sksl/lex/
DNFAtoDFA.h137 std::vector<std::vector<int>*> uniques; in computeMappings() local
141 for (size_t j = 0; j < uniques.size(); ++j) { in computeMappings()
142 if (*uniques[j] == fTransitions[i]) { in computeMappings()
148 found = (int) uniques.size(); in computeMappings()
149 uniques.push_back(&fTransitions[i]); in computeMappings()
154 for (std::vector<int>* row : uniques) { in computeMappings()
/external/guava/guava/src/com/google/common/collect/
DImmutableSet.java193 int uniques = 0; in construct() local
202 elements[uniques++] = element; in construct()
211 Arrays.fill(elements, uniques, n, null); in construct()
212 if (uniques == 1) { in construct()
217 } else if (tableSize != chooseTableSize(uniques)) { in construct()
220 return construct(uniques, elements); in construct()
222 Object[] uniqueElements = (uniques < elements.length) in construct()
223 ? ObjectArrays.arraysCopyOf(elements, uniques) in construct()
DImmutableSortedSet.java429 int uniques = 1; in construct() local
432 E prev = contents[uniques - 1]; in construct()
434 contents[uniques++] = cur; in construct()
437 Arrays.fill(contents, uniques, n, null); in construct()
439 ImmutableList.<E>asImmutableList(contents, uniques), comparator); in construct()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfAccelTable.cpp46 std::vector<uint32_t> uniques(Data.size()); in ComputeBucketCount() local
48 uniques[i] = Data[i]->HashValue; in ComputeBucketCount()
49 array_pod_sort(uniques.begin(), uniques.end()); in ComputeBucketCount()
51 std::unique(uniques.begin(), uniques.end()); in ComputeBucketCount()
52 uint32_t num = std::distance(uniques.begin(), p); in ComputeBucketCount()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc122 grpc_arg* uniques = in grpc_channel_args_union() local
123 static_cast<grpc_arg*>(gpr_malloc(sizeof(*uniques) * max_out)); in grpc_channel_args_union()
124 for (size_t i = 0; i < a->num_args; ++i) uniques[i] = a->args[i]; in grpc_channel_args_union()
130 uniques[uniques_idx++] = b->args[i]; in grpc_channel_args_union()
134 grpc_channel_args_copy_and_add(nullptr, uniques, uniques_idx); in grpc_channel_args_union()
135 gpr_free(uniques); in grpc_channel_args_union()
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp719 std::vector<std::string> uniques; in uniqueEnumsInOrder() local
724 uniques.push_back(i); in uniqueEnumsInOrder()
728 return uniques; in uniqueEnumsInOrder()
733 std::vector<std::string> values, enums, uniques; member in __anonec8f106a0211::EnumArgument
739 uniques(uniqueEnumsInOrder(enums)) in EnumArgument()
742 assert(!uniques.empty()); in EnumArgument()
770 auto i = uniques.cbegin(), e = uniques.cend(); in writeDeclarations()
808 for (const auto &I : uniques) { in writeDump()
852 std::vector<std::string> values, enums, uniques; member in __anonec8f106a0211::VariadicEnumArgument
869 uniques(uniqueEnumsInOrder(enums)) in VariadicEnumArgument()
[all …]
/external/clang/docs/
DInternalsManual.rst815 and uniques them as they are needed. Types have a couple of non-obvious