/external/v8/tools/testrunner/local/ |
D | statusfile.py | 305 def _assert(check, message): # Like "assert", but doesn't throw. function 311 _assert(type(section) == list, "Section must be a list") 312 _assert(len(section) == 2, "Section list must have exactly 2 entries") 314 _assert(type(section) == dict, 317 _assert(type(rule) == str, "Rule key must be a string") 318 _assert(not rule.startswith(root_prefix), 320 _assert(not rule.endswith('.js'), 322 _assert('*' not in rule or (rule.count('*') == 1 and rule[-1] == '*'), 325 _assert(any(os.path.exists(os.path.join(os.path.dirname(path),
|
/external/linux-kselftest/tools/testing/selftests/ |
D | kselftest_harness.h | 592 #define OPTIONAL_HANDLER(_assert) \ argument 594 __bail(_assert, _metadata->no_print, _metadata->step)) 600 #define __EXPECT(_expected, _seen, _t, _assert) do { \ argument 604 if (_assert) __INC_STEP(_metadata); \ 615 } while (0); OPTIONAL_HANDLER(_assert) 617 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument 620 if (_assert) __INC_STEP(_metadata); \ 626 } while (0); OPTIONAL_HANDLER(_assert)
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | test_harness.h | 348 #define OPTIONAL_HANDLER(_assert) \ argument 349 for (; _metadata->trigger; _metadata->trigger = __bail(_assert)) 351 #define __EXPECT(_expected, _seen, _t, _assert) do { \ argument 368 } while (0); OPTIONAL_HANDLER(_assert) 370 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument 378 } while (0); OPTIONAL_HANDLER(_assert)
|
/external/seccomp-tests/linux/ |
D | test_harness.h | 370 #define OPTIONAL_HANDLER(_assert) \ argument 371 for (; _metadata->trigger; _metadata->trigger = __bail(_assert)) 373 #define __EXPECT(_expected, _seen, _t, _assert) do { \ argument 387 } while (0); OPTIONAL_HANDLER(_assert) 389 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument 397 } while (0); OPTIONAL_HANDLER(_assert)
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_impl.py | 64 def _assert(cond, ex_type, msg): function 715 assert_ops += _assert(offset_height >= 0, ValueError, 717 assert_ops += _assert(offset_width >= 0, ValueError, 719 assert_ops += _assert(after_padding_width >= 0, ValueError, 721 assert_ops += _assert(after_padding_height >= 0, ValueError, 795 assert_ops += _assert(offset_width >= 0, ValueError, 797 assert_ops += _assert(offset_height >= 0, ValueError, 799 assert_ops += _assert(target_width > 0, ValueError, 801 assert_ops += _assert(target_height > 0, ValueError, 803 assert_ops += _assert(width >= (target_width + offset_width), ValueError, [all …]
|
D | control_flow_ops.py | 160 return gen_logging_ops._assert(condition, data, summarize, name="Assert") 165 return gen_logging_ops._assert(
|
/external/deqp/framework/delibs/debase/ |
D | deDefs.c | 124 _assert(reason, file, line); in deAssertFail()
|
/external/tensorflow/tensorflow/python/framework/ |
D | function_test.py | 432 check = gen_logging_ops._assert(math_ops.greater(x, 0), [x])
|
/external/python/cpython3/Doc/reference/ |
D | simple_stmts.rst | 370 .. _assert:
|
/external/python/cpython2/Doc/reference/ |
D | simple_stmts.rst | 291 .. _assert:
|
/external/python/cpython2/Doc/library/ |
D | unittest.rst | 786 .. _assert-methods:
|
/external/python/cpython3/Doc/library/ |
D | unittest.rst | 799 .. _assert-methods:
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | control_flow_ops_py_test.py | 4439 unguarded_assert = gen_logging_ops._assert(
|
/external/clang/include/clang/Driver/ |
D | Options.td | 1946 def _assert : Separate<["--"], "assert">, Alias<A>;
|