Home
last modified time | relevance | path

Searched refs:StringSet (Results 1 – 25 of 165) sorted by relevance

1234567

/external/licenseclassifier/internal/sets/
Dstringset.go23 type StringSet struct { struct
28 func NewStringSet(elements ...string) *StringSet {
29 s := &StringSet{}
36 func (s *StringSet) Copy() *StringSet { argument
49 func (s *StringSet) Insert(elements ...string) { argument
57 func (s *StringSet) Delete(elements ...string) { argument
65 func (s *StringSet) Intersect(other *StringSet) *StringSet { argument
89 func (s *StringSet) Disjoint(other *StringSet) bool { argument
112 func (s *StringSet) Difference(other *StringSet) *StringSet { argument
133 func (s *StringSet) Unique(other *StringSet) *StringSet { argument
[all …]
/external/libtextclassifier/native/utils/container/
Dsorted-strings-table_test.cc36 std::vector<StringSet::Match> matches; in TEST()
46 std::vector<StringSet::Match> matches; in TEST()
52 std::vector<StringSet::Match> matches; in TEST()
58 std::vector<StringSet::Match> matches; in TEST()
64 std::vector<StringSet::Match> matches; in TEST()
70 std::vector<StringSet::Match> matches; in TEST()
76 std::vector<StringSet::Match> matches; in TEST()
82 std::vector<StringSet::Match> matches; in TEST()
89 StringSet::Match match; in TEST()
95 StringSet::Match match; in TEST()
[all …]
Ddouble-array-trie_test.cc43 std::vector<StringSet::Match> matches; in TEST()
53 std::vector<StringSet::Match> matches; in TEST()
59 std::vector<StringSet::Match> matches; in TEST()
65 std::vector<StringSet::Match> matches; in TEST()
71 std::vector<StringSet::Match> matches; in TEST()
77 std::vector<StringSet::Match> matches; in TEST()
83 std::vector<StringSet::Match> matches; in TEST()
90 StringSet::Match match; in TEST()
96 StringSet::Match match; in TEST()
102 StringSet::Match match; in TEST()
[all …]
/external/ComputeLibrary/arm_compute/core/CL/
DCLCompileContext.h40 using StringSet = std::set<std::string>; variable
67 void add_options(const StringSet &options);
73 void add_options_if(bool cond, const StringSet &options);
78 const StringSet &options() const;
83 StringSet _build_opts; /**< Build options set */
206 using StringSet = std::set<std::string>; variable
254 … const std::string &kernel_path, const StringSet &build_options_set, bool is_binary) const;
335 …std::string generate_build_options(const StringSet &build_options, const std::string &kernel_path)…
344 std::string stringify_set(const StringSet &s, const std::string &kernel_path) const;
/external/bazelbuild-rules_python/gazelle/pythonconfig/
Dtypes.go25 type StringSet struct { struct
31 func NewStringSet(separator string) *StringSet {
32 return &StringSet{
39 func (ss *StringSet) String() string { argument
48 func (ss *StringSet) Set(s string) error { argument
61 func (ss *StringSet) Contains(s string) bool { argument
/external/google-cloud-java/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/java/com/google/cloud/resourcesettings/v1/
DValue.java135 public static final class StringSet extends com.google.protobuf.GeneratedMessageV3 class in Value
141 private StringSet(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in StringSet() method in Value.StringSet
145 private StringSet() { in StringSet() method in Value.StringSet
152 return new StringSet(); in newInstance()
171 com.google.cloud.resourcesettings.v1.Value.StringSet.class, in internalGetFieldAccessorTable()
172 com.google.cloud.resourcesettings.v1.Value.StringSet.Builder.class); in internalGetFieldAccessorTable()
282 if (!(obj instanceof com.google.cloud.resourcesettings.v1.Value.StringSet)) { in equals()
285 com.google.cloud.resourcesettings.v1.Value.StringSet other = in equals()
286 (com.google.cloud.resourcesettings.v1.Value.StringSet) obj; in equals()
309 public static com.google.cloud.resourcesettings.v1.Value.StringSet parseFrom( in parseFrom()
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dcompactptrset_test.cc26 typedef CompactPointerSet<const char*> StringSet; typedef
28 static std::vector<const char*> SortedContents(const StringSet& set) { in SortedContents()
54 StringSet set; in TEST()
68 StringSet set2(set); in TEST()
81 StringSet dst; in TEST()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/
DStringSet.h23 class StringSet : public StringMap<std::nullopt_t, AllocatorTy> {
27 StringSet() = default;
28 StringSet(std::initializer_list<StringRef> initializer) { in StringSet() function
32 explicit StringSet(AllocatorTy a) : Base(a) {} in StringSet() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringSet.h27 class StringSet : public StringMap<NoneType, AllocatorTy> {
31 StringSet() = default;
32 StringSet(std::initializer_list<StringRef> S) { in StringSet() function
36 explicit StringSet(AllocatorTy A) : base(A) {} in StringSet() function
/external/libchrome/base/i18n/
Dbuild_utf8_validator_tables.cc114 typedef std::vector<Range> StringSet; typedef
123 StringSet set;
187 Pair pair = {Character(bytes, bytes + offset), StringSet()}; in InitializeCharacters()
197 const StringSet& existing_set, in ConstructPairAndAppend()
199 Pair new_pair = {character, StringSet(1, new_range)}; in ConstructPairAndAppend()
221 StringSet converted = it->set; in MoveRightMostCharToSet()
270 for (StringSet::const_iterator set_it = pair_it->set.begin(); in LogStringSets()
302 typedef std::map<StringSet, uint8_t> StateMap;
306 uint8_t MakeState(const StringSet& set, in MakeState()
311 const StringSet rest(set.begin() + 1, set.end()); in MakeState()
[all …]
/external/cronet/tot/base/i18n/
Dbuild_utf8_validator_tables.cc120 typedef std::vector<Range> StringSet; typedef
129 StringSet set;
194 Pair pair = {Character(bytes, bytes + offset), StringSet()}; in InitializeCharacters()
204 const StringSet& existing_set, in ConstructPairAndAppend()
206 Pair new_pair = {character, StringSet(1, new_range)}; in ConstructPairAndAppend()
228 StringSet converted = it->set; in MoveRightMostCharToSet()
306 typedef std::map<StringSet, uint8_t> StateMap;
310 uint8_t MakeState(const StringSet& set, in MakeState()
315 const StringSet rest(set.begin() + 1, set.end()); in MakeState()
339 state_map.insert(std::make_pair(StringSet(), 0)); in GenerateStates()
[all …]
/external/cronet/stable/base/i18n/
Dbuild_utf8_validator_tables.cc120 typedef std::vector<Range> StringSet; typedef
129 StringSet set;
194 Pair pair = {Character(bytes, bytes + offset), StringSet()}; in InitializeCharacters()
204 const StringSet& existing_set, in ConstructPairAndAppend()
206 Pair new_pair = {character, StringSet(1, new_range)}; in ConstructPairAndAppend()
228 StringSet converted = it->set; in MoveRightMostCharToSet()
306 typedef std::map<StringSet, uint8_t> StateMap;
310 uint8_t MakeState(const StringSet& set, in MakeState()
315 const StringSet rest(set.begin() + 1, set.end()); in MakeState()
339 state_map.insert(std::make_pair(StringSet(), 0)); in GenerateStates()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tfr/utils/
Dutils.cc29 const llvm::StringSet<>& GetAllowedAttributes() { in GetAllowedAttributes()
30 static auto* const ops = new llvm::StringSet<>({"device", "_tpu_replicate"}); in GetAllowedAttributes()
36 const llvm::StringSet<>& GetOptionalAttributes() { in GetOptionalAttributes()
38 new llvm::StringSet<>({"asymmetric_quantize_inputs"}); in GetOptionalAttributes()
132 LogicalResult ValidateAttrs(Operation* src, const StringSet<>& registered) { in ValidateAttrs()
147 const StringSet<>& registered) { in CopyAllowedUnregisteredAttrs()
Dutils.h44 LogicalResult ValidateAttrs(Operation* src, const StringSet<>& registered);
50 const StringSet<>& registered);
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dquantize_model.h30 using StringSet = absl::flat_hash_set<std::string>; variable
50 const StringSet& denylisted_ops = {},
51 const StringSet& denylisted_nodes = {});
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dquantize.cc108 static bool IsWeightOnlyOp(Operation* quantized_op, StringSet& ops_blocklist, in IsWeightOnlyOp()
238 StringSet(ops_blocklist_flag_.begin(), ops_blocklist_flag_.end()); in runOnOperation()
243 StringSet(nodes_blocklist_flag_.begin(), nodes_blocklist_flag_.end()); in runOnOperation()
280 const quant::QuantizationSpecs& quant_specs, const StringSet& ops_blocklist, in CreateQuantizePass()
281 const StringSet& nodes_blocklist) { in CreateQuantizePass()
300 const StringSet& ops_blocklist, const StringSet& nodes_blocklist) { in CreateQuantizePass()
Dpasses.h52 using StringSet = absl::flat_hash_set<std::string>; variable
87 const StringSet& ops_blocklist = {}, const StringSet& nodes_blocklist = {});
95 bool legacy_float_scale = false, const StringSet& ops_blocklist = {},
96 const StringSet& nodes_blocklist = {});
/external/llvm/include/llvm/ADT/
DStringSet.h23 class StringSet : public llvm::StringMap<char, AllocatorTy> {
26 StringSet() = default;
27 StringSet(std::initializer_list<StringRef> S) { in StringSet() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DUpdateCompilerUsed.cpp28 PreserveLibCallsAndAsmUsed(const StringSet<> &AsmUndefinedRefs, in PreserveLibCallsAndAsmUsed()
45 const StringSet<> &AsmUndefinedRefs;
50 StringSet<> Libcalls;
123 const StringSet<> &AsmUndefinedRefs) { in updateCompilerUsed()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/LTO/
DUpdateCompilerUsed.cpp29 PreserveLibCallsAndAsmUsed(const StringSet<> &AsmUndefinedRefs, in PreserveLibCallsAndAsmUsed()
46 const StringSet<> &AsmUndefinedRefs;
51 StringSet<> Libcalls;
124 const StringSet<> &AsmUndefinedRefs) { in updateCompilerUsed()
/external/llvm/lib/LTO/
DUpdateCompilerUsed.cpp29 PreserveLibCallsAndAsmUsed(const StringSet<> &AsmUndefinedRefs, in PreserveLibCallsAndAsmUsed()
46 const StringSet<> &AsmUndefinedRefs;
51 StringSet<> Libcalls;
116 const StringSet<> &AsmUndefinedRefs) { in updateCompilerUsed()
/external/libtextclassifier/native/utils/sentencepiece/
Dencoder_test.cc36 std::unique_ptr<StringSet> pieces(new SortedStringsTable( in TEST()
61 std::unique_ptr<StringSet> pieces(new SortedStringsTable( in TEST()
91 std::unique_ptr<StringSet> pieces(new SortedStringsTable( in TEST()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dupgrade_graph.cc34 const llvm::StringSet<>& GetOpsUsingNodeName() { in GetOpsUsingNodeName()
36 new llvm::StringSet<>({"VariableV2", "Variable", "BatchFunction"}); in GetOpsUsingNodeName()
42 const llvm::StringSet<>& GetSharedNameGenerationCompatibleOps() { in GetSharedNameGenerationCompatibleOps()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_config.h45 using StringSet = absl::flat_hash_set<std::string>; variable
192 StringSet ops_blocklist;
195 StringSet nodes_blocklist;
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Linker/
DLinker.h45 std::function<void(Module &, const StringSet<> &)>
50 std::function<void(Module &, const StringSet<> &)>

1234567