/external/linux-kselftest/tools/testing/selftests/ |
D | kselftest_harness.h | 332 #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/ |
D | CharStreamsTest.java | 74 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/ |
D | module.c | 471 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/ |
D | security_RootCA.py | 171 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/ |
D | file_scanner_unittest.cc | 99 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/ |
D | security_SysVIPC.py | 51 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/ |
D | bitmap_test.cc | 82 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/ |
D | test509 | 37 seen custom_calloc() 38 seen custom_malloc() 39 seen custom_realloc() 40 seen custom_free()
|
/external/valgrind/coregrind/m_demangle/ |
D | rust-demangle.c | 164 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/ |
D | graphcycles_test.cc | 44 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/ |
D | ckh.c | 157 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/ |
D | dir_reader_posix_unittest.cc | 48 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/ |
D | filter-inputs | 17 seen = set() 20 if base not in seen: 21 seen.add(base)
|
/external/strace/tests/ |
D | poll.c | 112 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/ |
D | poll.c | 112 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/ |
D | poll.c | 112 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/ |
D | LazyEnv.java | 45 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/ |
D | py_guide_parser.py | 49 seen = set() 65 if tag in seen: 69 if candidate not in seen: 72 seen.add(tag)
|
/external/python/cpython2/Lib/ |
D | rlcompleter.py | 105 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/ |
D | 111-barrier-unordered-20x-out | 138 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/ |
D | gmock-matchers.cc | 209 ::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/ |
D | gmock-matchers.cc | 209 ::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/ |
D | transition.py | 41 self.seen = [] 65 if name in self.seen: 67 self.seen.append(name) 83 self.seen = []
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | directory_reader_unittest.cc | 63 unsigned seen = 0; in TEST() local 68 seen++; in TEST() 76 ASSERT_EQ(dent_set.size(), seen); in TEST()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 140 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()
|