Home
last modified time | relevance | path

Searched full:seen (Results 1 – 25 of 3987) sorted by relevance

12345678910>>...160

/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h355 * ASSERT_EQ(expected, seen)
358 * @seen: measured value
362 #define ASSERT_EQ(expected, seen) \ argument
363 __EXPECT(expected, #expected, seen, #seen, ==, 1)
366 * ASSERT_NE(expected, seen)
369 * @seen: measured value
373 #define ASSERT_NE(expected, seen) \ argument
374 __EXPECT(expected, #expected, seen, #seen, !=, 1)
377 * ASSERT_LT(expected, seen)
380 * @seen: measured value
[all …]
/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
46 return it == Symbols.end() ? 0 : it->second.Seen; in seen()
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()
[all …]
/external/python/google-api-python-client/googleapiclient/
Dschema.py87 def _prettyPrintByName(self, name, seen=None, dent=0): argument
92 seen: list of string, Names of schema already seen. Used to handle
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
[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/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/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/clang/test/Frontend/
Dverify-ignore-unexpected.c6 // CHECK-BAD-SWITCH: error: 'error' diagnostics seen but not expected:
34 // CHECK-UNEXP-NEXT: 'error' diagnostics seen but not expected
36 // CHECK-UNEXP-NEXT: 'warning' diagnostics seen but not expected
38 // CHECK-UNEXP-NEXT: 'note' diagnostics seen but not expected
43 // CHECK-NOTE-NEXT: 'error' diagnostics seen but not expected
45 // CHECK-NOTE-NEXT: 'warning' diagnostics seen but not expected
50 // CHECK-WARN-NEXT: 'error' diagnostics seen but not expected
52 // CHECK-WARN-NEXT: 'note' diagnostics seen but not expected
57 // CHECK-ERR-NEXT: 'warning' diagnostics seen but not expected
59 // CHECK-ERR-NEXT: 'note' diagnostics seen but not expected
[all …]
Dverify.c51 // CHECK2: error: 'error' diagnostics expected but not seen:
54 // CHECK2-NEXT: error: 'error' diagnostics seen but not expected:
57 // CHECK2-NEXT: error: 'warning' diagnostics expected but not seen:
59 // CHECK2-NEXT: error: 'warning' diagnostics seen but not expected:
81 // CHECK3: error: 'note' diagnostics expected but not seen:
94 // CHECK4: error: 'error' diagnostics expected but not seen:
96 // CHECK4-NEXT: error: 'error' diagnostics seen but not expected:
105 // CHECK5: error: 'error' diagnostics expected but not seen:
115 // CHECK6-NEXT: error: 'error' diagnostics seen but not expected:
121 // CHECK7: error: 'error' diagnostics expected but not seen:
[all …]
/external/llvm-project/clang/test/Frontend/
Dverify-ignore-unexpected.c6 // CHECK-BAD-SWITCH: error: 'error' diagnostics seen but not expected:
34 // CHECK-UNEXP-NEXT: 'error' diagnostics seen but not expected
36 // CHECK-UNEXP-NEXT: 'warning' diagnostics seen but not expected
38 // CHECK-UNEXP-NEXT: 'note' diagnostics seen but not expected
43 // CHECK-NOTE-NEXT: 'error' diagnostics seen but not expected
45 // CHECK-NOTE-NEXT: 'warning' diagnostics seen but not expected
50 // CHECK-WARN-NEXT: 'error' diagnostics seen but not expected
52 // CHECK-WARN-NEXT: 'note' diagnostics seen but not expected
57 // CHECK-ERR-NEXT: 'warning' diagnostics seen but not expected
59 // CHECK-ERR-NEXT: 'note' diagnostics seen but not expected
[all …]
Dverify.c51 // CHECK2: error: 'error' diagnostics expected but not seen:
54 // CHECK2-NEXT: error: 'error' diagnostics seen but not expected:
57 // CHECK2-NEXT: error: 'warning' diagnostics expected but not seen:
59 // CHECK2-NEXT: error: 'warning' diagnostics seen but not expected:
81 // CHECK3: error: 'note' diagnostics expected but not seen:
94 // CHECK4: error: 'error' diagnostics expected but not seen:
96 // CHECK4-NEXT: error: 'error' diagnostics seen but not expected:
105 // CHECK5: error: 'error' diagnostics expected but not seen:
115 // CHECK6-NEXT: error: 'error' diagnostics seen but not expected:
121 // CHECK7: error: 'error' diagnostics expected but not seen:
[all …]
/external/llvm-project/clang-tools-extra/test/clang-include-fixer/Inputs/
Dfake_yaml_db.yaml10 Seen: 1
21 Seen: 0
32 Seen: 1
43 Seen: 3
54 Seen: 3
61 Seen: 1
70 Seen: 1
/external/catch2/projects/SelfTest/UsageTests/
DMessage.tests.cpp122 INFO( "this should never be seen" );
125 FAIL( "Previous info should not be seen" );
148 unscoped_info( "this should NOT be seen" );
149 unscoped_info( "this also should NOT be seen" );
153 FAIL( "previous unscoped info SHOULD not be seen" );
157 unscoped_info( "this MAY be seen IF info is printed for passing assertions" );
162 unscoped_info( "this SHOULD be seen" );
163 unscoped_info( "this SHOULD also be seen" );
165 unscoped_info( "but this should NOT be seen" );
169 …unscoped_info( "this MAY be seen only for the FIRST assertion IF info is printed for passing asser…
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-inconsistent-declaration-parameter-name.cpp14 // CHECK-MESSAGES: :[[@LINE+2]]:6: note: the 1st inconsistent declaration seen here
17 // CHECK-MESSAGES: :[[@LINE+2]]:6: note: the 2nd inconsistent declaration seen here
24 // CHECK-MESSAGES: :[[@LINE+9]]:6: note: the definition seen here
29 // CHECK-MESSAGES: :[[@LINE+4]]:6: note: the definition seen here
36 // CHECK-MESSAGES: :[[@LINE+3]]:6: note: the definition seen here
45 // CHECK-MESSAGES: :[[@LINE+6]]:14: note: the definition seen here
57 // CHECK-MESSAGES: :[[@LINE+12]]:19: note: the definition seen here
63 // CHECK-MESSAGES: :[[@LINE+8]]:37: note: the definition seen here
76 // CHECK-MESSAGES: :[[@LINE+7]]:6: note: the definition seen here
92 // CHECK-MESSAGES: :[[@LINE-4]]:6: note: the primary template declaration seen here
[all …]
/external/selinux/libsepol/src/
Dmodule.c459 /* Flags for which sections have been seen during parsing of module package. */
473 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()
[all …]
/external/jemalloc_new/test/unit/
Dckh.c154 bool seen[NITEMS]; in TEST_BEGIN() local
157 memset(seen, 0, sizeof(seen)); in TEST_BEGIN()
166 assert_false(seen[k], in TEST_BEGIN()
167 "Item %zu already seen", k); in TEST_BEGIN()
168 seen[k] = true; in TEST_BEGIN()
175 assert_true(seen[j], "Item %zu not seen", j); in TEST_BEGIN()
178 assert_false(seen[j], "Item %zu seen", j); in TEST_BEGIN()
/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/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/cldr/tools/java/org/unicode/cldr/util/
DPathChecker.java17 private static final Map<XPathParts, Boolean> seen = new ConcurrentHashMap<>(); field in PathChecker
21 … true if the path is ok. The detailed errors (if any) are set only the first time the path is seen!
29 … true if the path is ok. The detailed errors (if any) are set only the first time the path is seen!
38 … true if the path is ok. The detailed errors (if any) are set only the first time the path is seen!
41 Boolean seenAlready = seen.get(parts); in checkPath()
59 seen.put(parts, ok); in checkPath()
64 // check if we've seen the EAV yet in checkAttribute()
/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/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/llvm-project/clang-tools-extra/clangd/unittests/
DSelectionTests.cpp85 bool Seen = false; in verifyCommonAncestor() local
88 if (Seen) in verifyCommonAncestor()
90 Seen = true; in verifyCommonAncestor()
92 return Seen; in verifyCommonAncestor()
639 unsigned Seen = 0; in TEST() local
644 if (Seen == 0) in TEST()
646 else if (Seen == 1) in TEST()
648 ++Seen; in TEST()
651 EXPECT_EQ(2u, Seen); in TEST()
653 Seen = 0; in TEST()
[all …]
/external/clang/include/clang/Lex/
DPPCallbacks.h246 /// \brief Hook called whenever a macro definition is seen.
251 /// \brief Hook called whenever a macro \#undef is seen.
258 /// \brief Hook called whenever the 'defined' operator is seen.
274 /// \brief Hook called whenever an \#if is seen.
284 /// \brief Hook called whenever an \#elif is seen.
294 /// \brief Hook called whenever an \#ifdef is seen.
302 /// \brief Hook called whenever an \#ifndef is seen.
310 /// \brief Hook called whenever an \#else is seen.
316 /// \brief Hook called whenever an \#endif is seen.
466 /// \brief Hook called whenever an \#if is seen.
[all …]
/external/owasp/sanitizer/lib/htmlparser-1.3/doc/
Dtree-construction.txt444 attributes had been seen, then reprocess the current token.
451 attributes had been seen, then reprocess the current token.
524 the end tag is seen.
548 seen, and reprocess the current token.
591 had been seen and reprocess the current token.
645 attributes had been seen, and then reprocess the current token.
710 Act as if an end tag with tag name "body" had been seen, then,
721 as if an end tag with the tag name "p" had been seen.
728 as if an end tag with the tag name "p" had been seen.
738 as if an end tag with the tag name "p" had been seen.
[all …]

12345678910>>...160