Home
last modified time | relevance | path

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

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/
DJsonPointerGeneratorFilteringTest.java16 _assert(SIMPLE_INPUT, "/c", true, "{'c':{'d':{'a':true}}}"); in testSimplePropertyWithPath()
17 _assert(SIMPLE_INPUT, "/c/d", true, "{'c':{'d':{'a':true}}}"); in testSimplePropertyWithPath()
18 _assert(SIMPLE_INPUT, "/c/d/a", true, "{'c':{'d':{'a':true}}}"); in testSimplePropertyWithPath()
20 _assert(SIMPLE_INPUT, "/c/d/a", true, "{'c':{'d':{'a':true}}}"); in testSimplePropertyWithPath()
22 _assert(SIMPLE_INPUT, "/a", true, "{'a':1}"); in testSimplePropertyWithPath()
23 _assert(SIMPLE_INPUT, "/d", true, "{'d':null}"); in testSimplePropertyWithPath()
26 _assert(SIMPLE_INPUT, "/x", true, ""); in testSimplePropertyWithPath()
31 _assert(SIMPLE_INPUT, "/c", false, "{'d':{'a':true}}"); in testSimplePropertyWithoutPath()
32 _assert(SIMPLE_INPUT, "/c/d", false, "{'a':true}"); in testSimplePropertyWithoutPath()
33 _assert(SIMPLE_INPUT, "/c/d/a", false, "true"); in testSimplePropertyWithoutPath()
[all …]
DJsonPointerParserFilteringTest.java17 _assert(SIMPLEST_INPUT, "/a", true, "{'a':1}"); in testSimplestWithPath()
18 _assert(SIMPLEST_INPUT, "/b", true, "{'b':2}"); in testSimplestWithPath()
19 _assert(SIMPLEST_INPUT, "/c", true, "{'c':3}"); in testSimplestWithPath()
20 _assert(SIMPLEST_INPUT, "/c/0", true, ""); in testSimplestWithPath()
21 _assert(SIMPLEST_INPUT, "/d", true, ""); in testSimplestWithPath()
26 _assert(SIMPLEST_INPUT, "/a", false, "1"); in testSimplestNoPath()
27 _assert(SIMPLEST_INPUT, "/b", false, "2"); in testSimplestNoPath()
28 _assert(SIMPLEST_INPUT, "/b/2", false, ""); in testSimplestNoPath()
29 _assert(SIMPLEST_INPUT, "/c", false, "3"); in testSimplestNoPath()
30 _assert(SIMPLEST_INPUT, "/d", false, ""); in testSimplestNoPath()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncConcurrencyTest.java48 _assert(JsonToken.START_ARRAY); in process()
51 _assert(TEXT1); in process()
54 _assert(TEXT2); in process()
57 _assert(TEXT3); in process()
60 _assert(TEXT4); in process()
63 _assert(JsonToken.END_ARRAY); in process()
83 private void _assert(String exp) throws IOException { in _assert() method in AsyncConcurrencyTest.WorkUnit
84 _assert(JsonToken.VALUE_STRING); in _assert()
91 private void _assert(JsonToken exp) throws IOException { in _assert() method in AsyncConcurrencyTest.WorkUnit
/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h598 #define OPTIONAL_HANDLER(_assert) \ argument
600 __bail(_assert, _metadata->no_print, _metadata->step))
606 #define __EXPECT(_expected, _expected_str, _seen, _seen_str, _t, _assert) do { \ argument
610 if (_assert) __INC_STEP(_metadata); \
621 } while (0); OPTIONAL_HANDLER(_assert)
623 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument
626 if (_assert) __INC_STEP(_metadata); \
632 } while (0); OPTIONAL_HANDLER(_assert)
/external/rust/crates/tokio/tests/
Dio_async_read.rs8 fn _assert<T>() {} in assert_obj_safe() function
9 _assert::<Box<dyn AsyncRead>>(); in assert_obj_safe()
/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.py66 def _assert(cond, ex_type, msg): function
911 assert_ops = _assert(
1074 assert_ops += _assert(offset_height >= 0, ValueError,
1076 assert_ops += _assert(offset_width >= 0, ValueError,
1078 assert_ops += _assert(after_padding_width >= 0, ValueError,
1080 assert_ops += _assert(after_padding_height >= 0, ValueError,
1157 assert_ops += _assert(offset_width >= 0, ValueError,
1159 assert_ops += _assert(offset_height >= 0, ValueError,
1161 assert_ops += _assert(target_width > 0, ValueError,
1163 assert_ops += _assert(target_height > 0, ValueError,
[all …]
Dcontrol_flow_ops.py173 return gen_logging_ops._assert(condition, data, summarize, name="Assert")
178 return gen_logging_ops._assert(
/external/rust/crates/tokio/src/io/driver/
Dmod.rs104 fn _assert<T: Send + Sync>() {} in _assert_kinds() function
106 _assert::<Handle>(); in _assert_kinds()
/external/tensorflow/tensorflow/python/distribute/
Dvalues_test.py664 def _assert(cond): function
701 _test(lambda: _assert(v.initial_value == 0), v)
791 _test(lambda: _assert(v < 12.), v)
792 _test(lambda: _assert(v <= 12.), v)
793 _test(lambda: _assert(not v > 12.), v)
794 _test(lambda: _assert(not v >= 12.), v)
795 _test(lambda: _assert(not 12. < v), v)
796 _test(lambda: _assert(not 12. <= v), v)
797 _test(lambda: _assert(12. > v), v)
798 _test(lambda: _assert(12. >= v), v)
/external/deqp/framework/delibs/debase/
DdeDefs.c124 _assert(reason, file, line); in deAssertFail()
/external/rust/crates/anyhow/src/
Dbacktrace.rs399 fn _assert<T: Send + Sync>() {} in _assert_send_sync() function
400 _assert::<Backtrace>(); in _assert_send_sync()
/external/crosvm/data_model/src/
Dendian.rs49 fn _assert() {
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py435 check = gen_logging_ops._assert(math_ops.greater(x, 0), [x])
/external/python/cpython3/Doc/reference/
Dsimple_stmts.rst375 .. _assert:
/external/python/cpython2/Doc/reference/
Dsimple_stmts.rst291 .. _assert:
/external/llvm-project/clang/docs/
DDiagnosticsReference.rst1594 |:warning:`warning:` |nbsp| :diagtext:`static\_assert with no message is a C++17 extension`|
1978 |:warning:`warning:` |nbsp| :diagtext:`static\_assert with no message is incompatible with C++ stan…
2311 |:warning:`warning:` |nbsp| :diagtext:`static\_assert declarations are incompatible with C++98`|
4583 … ||:diagtext:`a static\_assert`|| …
/external/python/cpython2/Doc/library/
Dunittest.rst786 .. _assert-methods:
/external/python/cpython3/Doc/library/
Dunittest.rst808 .. _assert-methods:
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_ops_py_test.py4920 unguarded_assert = gen_logging_ops._assert(
/external/clang/include/clang/Driver/
DOptions.td1946 def _assert : Separate<["--"], "assert">, Alias<A>;
/external/mesa3d/docs/relnotes/
D19.1.0.rst1004 - turnip: add tu_cs_reserve_space(_assert)
/external/llvm-project/clang/include/clang/Driver/
DOptions.td3131 def _assert : Separate<["--"], "assert">, Alias<A>;