Home
last modified time | relevance | path

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

/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/skia/src/sksl/lex/
DNFAtoDFA.h139 std::vector<std::vector<int>*> uniques; in computeMappings() local
143 for (size_t j = 0; j < uniques.size(); ++j) { in computeMappings()
144 if (*uniques[j] == fTransitions[i]) { in computeMappings()
150 found = (int) uniques.size(); in computeMappings()
151 uniques.push_back(&fTransitions[i]); in computeMappings()
156 for (std::vector<int>* row : uniques) { in computeMappings()
/external/guava/android/guava/src/com/google/common/collect/
DImmutableSet.java156 int uniques = 0; in construct() local
165 elements[uniques++] = element; in construct()
174 Arrays.fill(elements, uniques, n, null); in construct()
175 if (uniques == 1) { in construct()
180 } else if (chooseTableSize(uniques) < tableSize / 2) { in construct()
182 return construct(uniques, elements); in construct()
185 shouldTrim(uniques, elements.length) ? Arrays.copyOf(elements, uniques) : elements; in construct()
186 return new RegularImmutableSet<E>(uniqueElements, hashCode, table, mask, uniques); in construct()
DImmutableSortedMultiset.java454 int uniques = 1; in dedupAndCoalesce() local
456 if (comparator.compare(sortedElements[uniques - 1], sortedElements[i]) < 0) { in dedupAndCoalesce()
457 sortedElements[uniques] = sortedElements[i]; in dedupAndCoalesce()
458 uniques++; in dedupAndCoalesce()
461 Arrays.fill(sortedElements, uniques, length, null); in dedupAndCoalesce()
462 if (maybeExpand && uniques * 4 > length * 3) { in dedupAndCoalesce()
469 int index = Arrays.binarySearch(sortedElements, 0, uniques, elements[i], comparator); in dedupAndCoalesce()
479 this.length = uniques; in dedupAndCoalesce()
DImmutableSortedSet.java346 int uniques = 1; in construct() local
349 E prev = contents[uniques - 1]; in construct()
351 contents[uniques++] = cur; in construct()
354 Arrays.fill(contents, uniques, n, null); in construct()
355 if (uniques < contents.length / 2) { in construct()
358 contents = Arrays.copyOf(contents, uniques); in construct()
361 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/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannel_args.cc130 grpc_arg* uniques = in grpc_channel_args_union() local
131 static_cast<grpc_arg*>(gpr_malloc(sizeof(*uniques) * max_out)); in grpc_channel_args_union()
132 for (size_t i = 0; i < a->num_args; ++i) uniques[i] = a->args[i]; in grpc_channel_args_union()
138 uniques[uniques_idx++] = b->args[i]; in grpc_channel_args_union()
142 grpc_channel_args_copy_and_add(nullptr, uniques, uniques_idx); in grpc_channel_args_union()
143 gpr_free(uniques); in grpc_channel_args_union()
/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/guava/guava/src/com/google/common/collect/
DImmutableSortedSet.java367 int uniques = 1; in construct() local
370 E prev = contents[uniques - 1]; in construct()
372 contents[uniques++] = cur; in construct()
375 Arrays.fill(contents, uniques, n, null); in construct()
377 ImmutableList.<E>asImmutableList(contents, uniques), comparator); in construct()
/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 __anon307181880211::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 __anon307181880211::VariadicEnumArgument
869 uniques(uniqueEnumsInOrder(enums)) in VariadicEnumArgument()
[all …]
/external/llvm-project/clang/utils/TableGen/
DClangAttrEmitter.cpp814 std::vector<StringRef> uniques; in uniqueEnumsInOrder() local
818 uniques.push_back(i); in uniqueEnumsInOrder()
820 return uniques; in uniqueEnumsInOrder()
825 std::vector<StringRef> values, enums, uniques; member in __anona61259f60211::EnumArgument
832 uniques(uniqueEnumsInOrder(enums)) { in EnumArgument()
834 assert(!uniques.empty()); in EnumArgument()
862 auto i = uniques.cbegin(), e = uniques.cend(); in writeDeclarations()
900 for (const auto &I : uniques) { in writeDump()
952 std::vector<StringRef> values, enums, uniques; member in __anona61259f60211::VariadicEnumArgument
970 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
/external/llvm-project/clang/docs/
DInternalsManual.rst913 and uniques them as they are needed. Types have a couple of non-obvious
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz