/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | test_harness.h | 293 #define _ASSERT_EQ(_expected, _seen) \ argument 294 __EXPECT(_expected, _seen, ==, 1) 295 #define _ASSERT_NE(_expected, _seen) \ argument 296 __EXPECT(_expected, _seen, !=, 1) 297 #define _ASSERT_LT(_expected, _seen) \ argument 298 __EXPECT(_expected, _seen, <, 1) 299 #define _ASSERT_LE(_expected, _seen) \ argument 300 __EXPECT(_expected, _seen, <=, 1) 301 #define _ASSERT_GT(_expected, _seen) \ argument 302 __EXPECT(_expected, _seen, >, 1) [all …]
|
/external/seccomp-tests/linux/ |
D | test_harness.h | 313 #define _ASSERT_EQ(_expected, _seen) \ argument 314 __EXPECT(_expected, _seen, ==, 1) 315 #define _ASSERT_NE(_expected, _seen) \ argument 316 __EXPECT(_expected, _seen, !=, 1) 317 #define _ASSERT_LT(_expected, _seen) \ argument 318 __EXPECT(_expected, _seen, <, 1) 319 #define _ASSERT_LE(_expected, _seen) \ argument 320 __EXPECT(_expected, _seen, <=, 1) 321 #define _ASSERT_GT(_expected, _seen) \ argument 322 __EXPECT(_expected, _seen, >, 1) [all …]
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/ |
D | DupDetector.java | 34 protected HashSet<String> _seen; field in DupDetector 55 _seen = null; in reset() 90 if (_seen == null) { in isDup() 91 _seen = new HashSet<String>(16); // 16 is default, seems reasonable in isDup() 92 _seen.add(_firstName); in isDup() 93 _seen.add(_secondName); in isDup() 95 return !_seen.add(name); in isDup()
|
/external/autotest/client/common_lib/ |
D | barrier.py | 171 self._seen = 0 256 self._seen += 1 290 self._seen = 1 377 self._seen, len(self._members)) 378 if self._seen == len(self._members): 383 if self._seen: 403 host = _get_host_from_id(self._members[self._seen]) 429 self._seen, len(self._members)) 430 if self._seen == len(self._members): 435 if self._seen: [all …]
|
D | barrier_unittest.py | 74 seen_before = b._seen 83 self.assertEqual(seen_before, b._seen) 91 self.assertEqual(seen_before, b._seen)
|
/external/python/cpython3/Lib/ |
D | traceback.py | 469 lookup_lines=True, capture_locals=False, _seen=None): argument 474 if _seen is None: 475 _seen = set() 476 _seen.add(id(exc_value)) 480 and id(exc_value.__cause__) not in _seen): 488 _seen=_seen) 492 and id(exc_value.__context__) not in _seen): 500 _seen=_seen)
|
/external/linux-kselftest/tools/testing/selftests/ |
D | kselftest_harness.h | 606 #define __EXPECT(_expected, _expected_str, _seen, _seen_str, _t, _assert) do { \ argument 609 __typeof__(_seen) __seen = (_seen); \ 623 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument 625 const char *__seen = (_seen); \
|