Home
last modified time | relevance | path

Searched refs:_assert (Results 1 – 14 of 14) sorted by relevance

/external/v8/tools/testrunner/local/
Dstatusfile.py305 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/
Dkselftest_harness.h592 #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/
Dtest_harness.h348 #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/
Dtest_harness.h370 #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/
Dimage_ops_impl.py64 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 …]
Dcontrol_flow_ops.py160 return gen_logging_ops._assert(condition, data, summarize, name="Assert")
165 return gen_logging_ops._assert(
/external/deqp/framework/delibs/debase/
DdeDefs.c124 _assert(reason, file, line); in deAssertFail()
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py432 check = gen_logging_ops._assert(math_ops.greater(x, 0), [x])
/external/python/cpython3/Doc/reference/
Dsimple_stmts.rst370 .. _assert:
/external/python/cpython2/Doc/reference/
Dsimple_stmts.rst291 .. _assert:
/external/python/cpython2/Doc/library/
Dunittest.rst786 .. _assert-methods:
/external/python/cpython3/Doc/library/
Dunittest.rst799 .. _assert-methods:
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_ops_py_test.py4439 unguarded_assert = gen_logging_ops._assert(
/external/clang/include/clang/Driver/
DOptions.td1946 def _assert : Separate<["--"], "assert">, Alias<A>;