Home
last modified time | relevance | path

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

12345678910>>...19

/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h332 #define ASSERT_EQ(expected, seen) \ argument
333 __EXPECT(expected, seen, ==, 1)
343 #define ASSERT_NE(expected, seen) \ argument
344 __EXPECT(expected, seen, !=, 1)
354 #define ASSERT_LT(expected, seen) \ argument
355 __EXPECT(expected, seen, <, 1)
365 #define ASSERT_LE(expected, seen) \ argument
366 __EXPECT(expected, seen, <=, 1)
376 #define ASSERT_GT(expected, seen) \ argument
377 __EXPECT(expected, seen, >, 1)
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java74 int seen; in testReadLines_withLineProcessor()
77 seen++; in testReadLines_withLineProcessor()
82 return seen; in testReadLines_withLineProcessor()
91 int seen; in testReadLines_withLineProcessor()
94 seen++; in testReadLines_withLineProcessor()
99 return seen; in testReadLines_withLineProcessor()
109 int seen; in testReadLines_withLineProcessor()
112 seen++; in testReadLines_withLineProcessor()
114 return seen < 2; in testReadLines_withLineProcessor()
118 return seen; in testReadLines_withLineProcessor()
/external/selinux/libsepol/src/
Dmodule.c471 unsigned i, seen = 0; in sepol_module_package_read() local
505 if (seen & SEEN_FC) { in sepol_module_package_read()
529 seen |= SEEN_FC; in sepol_module_package_read()
532 if (seen & SEEN_SEUSER) { in sepol_module_package_read()
552 seen |= SEEN_SEUSER; in sepol_module_package_read()
555 if (seen & SEEN_USER_EXTRA) { in sepol_module_package_read()
577 seen |= SEEN_USER_EXTRA; in sepol_module_package_read()
580 if (seen & SEEN_NETFILTER) { in sepol_module_package_read()
604 seen |= SEEN_NETFILTER; in sepol_module_package_read()
607 if (seen & SEEN_MOD) { in sepol_module_package_read()
[all …]
/external/autotest/client/site_tests/security_RootCA/
Dsecurity_RootCA.py171 seen = {}
175 seen['nss'] = nss_store
177 seen['openssl'] = openssl_store
184 for store in seen.keys():
185 for certdict in [expected, seen]:
189 for store in seen.keys():
190 missing = expected[store].difference(seen[store])
191 unexpected = seen[store].difference(expected[store])
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc99 uint64_t seen = 0; in TEST() local
102 [&seen](BlockDeviceID, Inode, const std::string&, in TEST()
104 ++seen; in TEST()
112 EXPECT_EQ(seen, 1u); in TEST()
117 uint64_t seen = 0; in TEST() local
120 [&seen](BlockDeviceID, Inode, const std::string&, in TEST()
122 ++seen; in TEST()
132 EXPECT_EQ(seen, 1u); in TEST()
/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/curl/tests/data/
Dtest50937 seen custom_calloc()
38 seen custom_malloc()
39 seen custom_realloc()
40 seen custom_free()
/external/valgrind/coregrind/m_demangle/
Drust-demangle.c164 char seen[16]; in is_prefixed_hash() local
172 memset (seen, 0, sizeof(seen)); in is_prefixed_hash()
175 seen[*str - '0'] = 1; in is_prefixed_hash()
177 seen[*str - 'a' + 10] = 1; in is_prefixed_hash()
184 if (seen[i]) in is_prefixed_hash()
/external/tensorflow/tensorflow/compiler/jit/graphcycles/
Dgraphcycles_test.cc44 std::unordered_set<int> *seen) { in IsReachable() argument
45 seen->insert(from); // we are investigating "from"; don't do it again in IsReachable()
52 } else if (seen->find(edge->to) == seen->end() && // success via edge in IsReachable()
53 IsReachable(edges, edge->to, to, seen)) { in IsReachable()
99 std::unordered_set<int> seen; in PrintTransitiveClosure() local
100 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
125 std::unordered_set<int> seen; in CheckTransitiveClosure() local
128 seen.clear(); in CheckTransitiveClosure()
133 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
276 std::unordered_set<int> seen; in TEST() local
[all …]
/external/jemalloc/test/unit/
Dckh.c157 bool seen[NITEMS]; in TEST_BEGIN() local
160 memset(seen, 0, sizeof(seen)); in TEST_BEGIN()
169 assert_false(seen[k], in TEST_BEGIN()
171 seen[k] = true; in TEST_BEGIN()
178 assert_true(seen[j], "Item %zu not seen", j); in TEST_BEGIN()
180 assert_false(seen[j], "Item %zu seen", j); in TEST_BEGIN()
/external/libchrome/base/files/
Ddir_reader_posix_unittest.cc48 std::set<unsigned> seen; in TEST() local
75 EXPECT_EQ(0u, seen.count(value)); in TEST()
76 seen.insert(value); in TEST()
92 EXPECT_EQ(kNumFiles, seen.size()); in TEST()
/external/compiler-rt/make/
Dfilter-inputs17 seen = set()
20 if base not in seen:
21 seen.add(base)
/external/strace/tests/
Dpoll.c112 unsigned int *const seen, in print_pollfd_exiting() argument
115 if (!pfd->revents || pfd->fd < 0 || *seen > abbrev) in print_pollfd_exiting()
118 if (*seen) in print_pollfd_exiting()
120 ++(*seen); in print_pollfd_exiting()
122 if (*seen > abbrev) { in print_pollfd_exiting()
156 unsigned int seen = 0; in print_pollfd_array_exiting() local
159 print_pollfd_exiting(&pfd[i], &seen, abbrev); in print_pollfd_array_exiting()
/external/strace/tests-m32/
Dpoll.c112 unsigned int *const seen, in print_pollfd_exiting() argument
115 if (!pfd->revents || pfd->fd < 0 || *seen > abbrev) in print_pollfd_exiting()
118 if (*seen) in print_pollfd_exiting()
120 ++(*seen); in print_pollfd_exiting()
122 if (*seen > abbrev) { in print_pollfd_exiting()
156 unsigned int seen = 0; in print_pollfd_array_exiting() local
159 print_pollfd_exiting(&pfd[i], &seen, abbrev); in print_pollfd_array_exiting()
/external/strace/tests-mx32/
Dpoll.c112 unsigned int *const seen, in print_pollfd_exiting() argument
115 if (!pfd->revents || pfd->fd < 0 || *seen > abbrev) in print_pollfd_exiting()
118 if (*seen) in print_pollfd_exiting()
120 ++(*seen); in print_pollfd_exiting()
122 if (*seen > abbrev) { in print_pollfd_exiting()
156 unsigned int seen = 0; in print_pollfd_array_exiting() local
159 print_pollfd_exiting(&pfd[i], &seen, abbrev); in print_pollfd_array_exiting()
/external/turbine/java/com/google/turbine/binder/env/
DLazyEnv.java45 private final LinkedHashSet<S> seen = new LinkedHashSet<>(); field in LazyEnv
69 if (!seen.add(sym)) { in get()
70 throw new LazyBindingError(Joiner.on(" -> ").join(seen) + " -> " + sym); in get()
73 seen.remove(sym); in get()
/external/tensorflow/tensorflow/tools/docs/
Dpy_guide_parser.py49 seen = set()
65 if tag in seen:
69 if candidate not in seen:
72 seen.add(tag)
/external/python/cpython2/Lib/
Drlcompleter.py105 seen = {"__builtins__"}
109 seen.add(word)
113 if word[:n] == text and word not in seen:
114 seen.add(word)
/external/autotest/client/bin/self-test/tests/
D111-barrier-unordered-20x-out138 barrier: 127.0.0.1#P1 master seen 10 of 20
139 barrier: 127.0.0.1#P1 master seen 11 of 20
140 barrier: 127.0.0.1#P1 master seen 12 of 20
141 barrier: 127.0.0.1#P1 master seen 13 of 20
142 barrier: 127.0.0.1#P1 master seen 14 of 20
143 barrier: 127.0.0.1#P1 master seen 15 of 20
144 barrier: 127.0.0.1#P1 master seen 16 of 20
145 barrier: 127.0.0.1#P1 master seen 17 of 20
146 barrier: 127.0.0.1#P1 master seen 18 of 20
147 barrier: 127.0.0.1#P1 master seen 19 of 20
[all …]
/external/v8/testing/gmock/src/
Dgmock-matchers.cc209 ::std::vector<char> seen; in Compute()
228 seen.assign(graph_->RhsSize(), 0); in Compute()
229 TryAugment(ilhs, &seen); in Compute()
259 bool TryAugment(size_t ilhs, ::std::vector<char>* seen) { in TryAugment() argument
261 if ((*seen)[irhs]) in TryAugment()
266 (*seen)[irhs] = 1; in TryAugment()
277 if (right_[irhs] == kUnused || TryAugment(right_[irhs], seen)) { in TryAugment()
/external/googletest/googlemock/src/
Dgmock-matchers.cc209 ::std::vector<char> seen; in Compute()
228 seen.assign(graph_->RhsSize(), 0); in Compute()
229 TryAugment(ilhs, &seen); in Compute()
259 bool TryAugment(size_t ilhs, ::std::vector<char>* seen) { in TryAugment() argument
261 if ((*seen)[irhs]) in TryAugment()
266 (*seen)[irhs] = 1; in TryAugment()
277 if (right_[irhs] == kUnused || TryAugment(right_[irhs], seen)) { in TryAugment()
/external/selinux/python/sepolicy/sepolicy/
Dtransition.py41 self.seen = []
65 if name in self.seen:
67 self.seen.append(name)
83 self.seen = []
/external/google-breakpad/src/client/linux/minidump_writer/
Ddirectory_reader_unittest.cc63 unsigned seen = 0; in TEST() local
68 seen++; in TEST()
76 ASSERT_EQ(dent_set.size(), seen); in TEST()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp140 ConstantRange Float2IntPass::seen(Instruction *I, ConstantRange R) { in seen() function in Float2IntPass
190 seen(I, badRange()); in walkBackwards()
198 seen(I, validateRange(ConstantRange(Min, Max))); in walkBackwards()
207 seen(I, validateRange(ConstantRange(SMin, SMax))); in walkBackwards()
217 seen(I, unknownRange()); in walkBackwards()
229 seen(I, badRange()); in walkBackwards()
317 seen(I, badRange()); in walkForwards()
325 seen(I, badRange()); in walkForwards()
343 seen(I, Op(OpRanges)); in walkForwards()

12345678910>>...19