Home
last modified time | relevance | path

Searched refs:seen (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h362 #define ASSERT_EQ(expected, seen) \ argument
363 __EXPECT(expected, #expected, seen, #seen, ==, 1)
373 #define ASSERT_NE(expected, seen) \ argument
374 __EXPECT(expected, #expected, seen, #seen, !=, 1)
384 #define ASSERT_LT(expected, seen) \ argument
385 __EXPECT(expected, #expected, seen, #seen, <, 1)
395 #define ASSERT_LE(expected, seen) \ argument
396 __EXPECT(expected, #expected, seen, #seen, <=, 1)
406 #define ASSERT_GT(expected, seen) \ argument
407 __EXPECT(expected, #expected, seen, #seen, >, 1)
[all …]
/external/python/google-api-python-client/googleapiclient/
Dschema.py87 def _prettyPrintByName(self, name, seen=None, dent=0): argument
99 if seen is None:
100 seen = []
102 if name in seen:
105 seen.append(name)
109 self.schemas[name], seen, dent=dent
112 seen.pop()
127 return self._prettyPrintByName(name, seen=[], dent=1)[:-2]
130 def _prettyPrintSchema(self, schema, seen=None, dent=0): argument
142 if seen is None:
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtypes.cpp186 std::unordered_set<const Type*>* seen) const { in GetHashWords()
187 if (!seen->insert(this).second) { in GetHashWords()
201 As##type()->GetExtraHashWords(words, seen); \ in GetHashWords()
235 seen->erase(this); in GetHashWords()
288 bool Vector::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl()
292 element_type_->IsSameImpl(vt->element_type_, seen) && in IsSameImpl()
303 std::unordered_set<const Type*>* seen) const { in GetExtraHashWords()
304 element_type_->GetHashWords(words, seen); in GetExtraHashWords()
313 bool Matrix::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl()
317 element_type_->IsSameImpl(mt->element_type_, seen) && in IsSameImpl()
[all …]
Dfix_storage_class.cpp30 std::set<uint32_t> seen; in Process() local
41 &seen); in Process()
42 assert(seen.empty() && "Seen was not properly reset."); in Process()
44 PropagateType(use.first, inst->type_id(), use.second, &seen); in Process()
45 assert(seen.empty() && "Seen was not properly reset."); in Process()
54 std::set<uint32_t>* seen) { in PropagateStorageClass() argument
61 if (!seen->insert(inst->result_id()).second) { in PropagateStorageClass()
71 modified |= PropagateStorageClass(use, storage_class, seen); in PropagateStorageClass()
75 seen->erase(inst->result_id()); in PropagateStorageClass()
87 FixInstructionStorageClass(inst, storage_class, seen); in PropagateStorageClass()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dtypes.cpp186 std::unordered_set<const Type*>* seen) const { in GetHashWords()
187 if (!seen->insert(this).second) { in GetHashWords()
201 As##type()->GetExtraHashWords(words, seen); \ in GetHashWords()
235 seen->erase(this); in GetHashWords()
288 bool Vector::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl()
292 element_type_->IsSameImpl(vt->element_type_, seen) && in IsSameImpl()
303 std::unordered_set<const Type*>* seen) const { in GetExtraHashWords()
304 element_type_->GetHashWords(words, seen); in GetExtraHashWords()
313 bool Matrix::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl()
317 element_type_->IsSameImpl(mt->element_type_, seen) && in IsSameImpl()
[all …]
Dfix_storage_class.cpp30 std::set<uint32_t> seen; in Process() local
41 &seen); in Process()
42 assert(seen.empty() && "Seen was not properly reset."); in Process()
44 PropagateType(use.first, inst->type_id(), use.second, &seen); in Process()
45 assert(seen.empty() && "Seen was not properly reset."); in Process()
54 std::set<uint32_t>* seen) { in PropagateStorageClass() argument
61 if (!seen->insert(inst->result_id()).second) { in PropagateStorageClass()
71 modified |= PropagateStorageClass(use, storage_class, seen); in PropagateStorageClass()
75 seen->erase(inst->result_id()); in PropagateStorageClass()
87 FixInstructionStorageClass(inst, storage_class, seen); in PropagateStorageClass()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtypes.cpp186 std::unordered_set<const Type*>* seen) const { in GetHashWords()
187 if (!seen->insert(this).second) { in GetHashWords()
201 As##type()->GetExtraHashWords(words, seen); \ in GetHashWords()
235 seen->erase(this); in GetHashWords()
288 bool Vector::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl()
292 element_type_->IsSameImpl(vt->element_type_, seen) && in IsSameImpl()
303 std::unordered_set<const Type*>* seen) const { in GetExtraHashWords()
304 element_type_->GetHashWords(words, seen); in GetExtraHashWords()
313 bool Matrix::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl()
317 element_type_->IsSameImpl(mt->element_type_, seen) && in IsSameImpl()
[all …]
Dfix_storage_class.cpp30 std::set<uint32_t> seen; in Process() local
41 &seen); in Process()
42 assert(seen.empty() && "Seen was not properly reset."); in Process()
44 PropagateType(use.first, inst->type_id(), use.second, &seen); in Process()
45 assert(seen.empty() && "Seen was not properly reset."); in Process()
54 std::set<uint32_t>* seen) { in PropagateStorageClass() argument
61 if (!seen->insert(inst->result_id()).second) { in PropagateStorageClass()
71 modified |= PropagateStorageClass(use, storage_class, seen); in PropagateStorageClass()
75 seen->erase(inst->result_id()); in PropagateStorageClass()
87 FixInstructionStorageClass(inst, storage_class, seen); in PropagateStorageClass()
[all …]
/external/python/cffi/testing/cffi1/
Dtest_ffi_obj.py137 seen = []
139 seen.append(args)
151 assert len(seen) == 2
152 exc, val, tb = seen[0]
156 exc, val, tb = seen[1]
360 seen = []
362 seen.append(size)
365 seen.append(raw)
371 assert seen == [40, 40]
382 while len(seen) != 4:
[all …]
/external/curl/tests/libtest/
Dlib509.c37 static int seen; variable
41 seen++; in custom_calloc()
47 seen++; in custom_malloc()
53 seen++; in custom_strdup()
59 seen++; in custom_realloc()
65 seen++; in custom_free()
103 if(seen) in test()
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/
DFindAllSymbolsTests.cpp44 int seen(const SymbolInfo &Symbol) const { in seen() function in clang::find_all_symbols::TestSymbolReporter
60 int seen(const SymbolInfo &Symbol) { return Reporter.seen(Symbol); } in seen() function in clang::find_all_symbols::FindAllSymbolsTest
128 EXPECT_EQ(1, seen(InternalSymbol)); in runFindAllSymbols()
129 EXPECT_EQ(1, seen(IncSymbol)); in runFindAllSymbols()
131 EXPECT_EQ(1, seen(DirtySymbol)); in runFindAllSymbols()
132 EXPECT_EQ(1, seen(DirtyMacro)); in runFindAllSymbols()
156 EXPECT_EQ(1, seen(Symbol)); in TEST_F()
161 EXPECT_EQ(1, seen(Symbol)); in TEST_F()
167 EXPECT_EQ(1, seen(Symbol)); in TEST_F()
189 EXPECT_EQ(1, seen(Symbol)); in TEST_F()
[all …]
/external/mesa3d/src/compiler/spirv/
Dspirv_info_c.py39 seen = set()
42 if x["value"] not in seen:
43 seen.add(x["value"])
49 seen = set()
54 if x["opcode"] in seen:
60 seen.add(opcode)
/external/selinux/libsepol/src/
Dmodule.c473 unsigned i, seen = 0; in sepol_module_package_read() local
507 if (seen & SEEN_FC) { in sepol_module_package_read()
531 seen |= SEEN_FC; in sepol_module_package_read()
534 if (seen & SEEN_SEUSER) { in sepol_module_package_read()
554 seen |= SEEN_SEUSER; in sepol_module_package_read()
557 if (seen & SEEN_USER_EXTRA) { in sepol_module_package_read()
579 seen |= SEEN_USER_EXTRA; in sepol_module_package_read()
582 if (seen & SEEN_NETFILTER) { in sepol_module_package_read()
606 seen |= SEEN_NETFILTER; in sepol_module_package_read()
609 if (seen & SEEN_MOD) { in sepol_module_package_read()
[all …]
/external/openscreen/discovery/dnssd/impl/
Dpublisher_impl_unittest.cc100 int seen = 0; in TEST_F() local
103 .WillRepeatedly([&seen, &address, in TEST_F()
108 seen++; in TEST_F()
114 seen++; in TEST_F()
129 EXPECT_EQ(seen, 2); in TEST_F()
133 seen = 0; in TEST_F()
136 .WillRepeatedly([&seen, in TEST_F()
141 seen++; in TEST_F()
147 seen++; in TEST_F()
153 EXPECT_EQ(seen, 2); in TEST_F()
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc95 uint64_t seen = 0; in TEST() local
98 [&seen](BlockDeviceID, Inode, const std::string&, in TEST()
100 ++seen; in TEST()
110 EXPECT_EQ(seen, 1u); in TEST()
115 uint64_t seen = 0; in TEST() local
118 [&seen](BlockDeviceID, Inode, const std::string&, in TEST()
120 ++seen; in TEST()
132 EXPECT_EQ(seen, 1u); in TEST()
/external/python/cffi/testing/cffi0/
Dcallback_in_thread.py26 seen = []
30 seen.append((x, y))
34 while len(seen) != 2:
38 assert seen == [(10, 10), (12, 15)]
/external/autotest/client/site_tests/security_SysVIPC/
Dsecurity_SysVIPC.py51 seen = set()
59 seen.add(ShmRecord(owner=owner, perms=perms, attached=attached))
60 return seen
65 seen = set()
69 seen.add(SemaphoreRecord(owner=fields[2], perms=fields[3]))
70 return seen
/external/tensorflow/tensorflow/core/lib/core/
Dbitmap_test.cc82 int seen = 0; in TEST() local
88 seen++; in TEST()
91 EXPECT_EQ(seen, n - one_count) << " " << bitmap.ToString(); in TEST()
112 int seen = 0; in TEST() local
118 seen++; in TEST()
122 EXPECT_EQ(seen, zero_bits) << " " << bitmap.ToString(); in TEST()
/external/python/cpython3/Lib/test/
Daudit-tests.py22 self.seen = []
37 return [i[0] for i in self.seen]
42 self.seen.append((event, args))
84 assertEqual(hook.seen[0][0], "test_event")
85 assertEqual(hook.seen[0][1], (1, 2, 3))
156 actual = [(a[0], a[1]) for e, a in hook.seen if e == "object.__setattr__"]
186 actual_mode = [(a[0], a[1]) for e, a in hook.seen if e == "open" and a[1]]
187 actual_flag = [(a[0], a[2]) for e, a in hook.seen if e == "open" and not a[1]]
243 assertEqual(hook.seen[0][1][:2], (-1, 8))
/external/llvm-project/flang/lib/Semantics/
Dattr.cpp43 std::size_t seen{0}; in operator <<() local
44 for (std::size_t j{0}; seen < n; ++j) { in operator <<()
47 if (seen > 0) { in operator <<()
51 ++seen; in operator <<()
/external/cldr/tools/java/org/unicode/cldr/tool/
DListUnits.java46 Set<String> seen = new HashSet<>(); in main() local
112 TreeSet<String> missing = new TreeSet<>(seen); in main()
125 if (!seen.contains(unit)) { in main()
142 seen.add(unit); in main()
160 Set<String> seen = new HashSet<>(); in getDigits() local
161 seen.add(numberSystem); in getDigits()
167 if (seen.contains(otherNumberingSystem)) { in getDigits()
170 seen.add(otherNumberingSystem); in getDigits()
233 Set<String> seen = new TreeSet<>(); in getUnits() local
249 seen.add(key); in getUnits()
[all …]
/external/mesa3d/src/util/
Ddag.c101 struct set *seen; member
111 if (_mesa_set_search(state->seen, node)) in dag_traverse_bottom_up_node()
119 _mesa_set_add(state->seen, node); in dag_traverse_bottom_up_node()
131 .seen = _mesa_pointer_set_create(NULL), in dag_traverse_bottom_up()
139 ralloc_free(state.seen); in dag_traverse_bottom_up()
/external/tensorflow/tensorflow/python/module/
Dmodule.py355 seen=None): argument
357 if seen is None:
358 seen = set([id(module)])
383 if leaf_id in seen:
385 seen.add(leaf_id)
407 seen=seen)
/external/turbine/java/com/google/turbine/binder/
DResolve.java56 Set<ClassSymbol> seen) { in resolve() argument
58 if (!seen.add(sym)) { in resolve()
71 result = resolve(env, origin, bound.superclass(), simpleName, seen); in resolve()
77 result = resolve(env, origin, i, simpleName, seen); in resolve()
162 Set<ClassSymbol> seen) {
163 if (!seen.add(sym)) {
177 FieldInfo field = resolveField(env, origin, info.superclass(), name, seen);
183 FieldInfo field = resolveField(env, origin, i, name, seen);
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dgraphcycles_test.cc51 std::unordered_set<int> *seen) { in IsReachable() argument
52 seen->insert(from); // we are investigating "from"; don't do it again in IsReachable()
58 } else if (seen->find(edge.to) == seen->end() && // success via edge in IsReachable()
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
93 std::unordered_set<int> seen; in PrintTransitiveClosure() local
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
117 std::unordered_set<int> seen; in CheckTransitiveClosure() local
120 seen.clear(); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
259 std::unordered_set<int> seen; in TEST() local
[all …]

12345678910>>...38