Home
last modified time | relevance | path

Searched refs:expect_result (Results 1 – 5 of 5) sorted by relevance

/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_for_pred.pass.cpp47 bool expect_result = false; variable
59 assert(result == expect_result); in f()
77 expect_result = true; in main()
92 expect_result = false; in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_for_pred.pass.cpp50 bool expect_result = false; variable
62 assert(result == expect_result); in f()
80 expect_result = true; in main()
95 expect_result = false; in main()
/external/tensorflow/tensorflow/python/ops/
Dscript_ops_test.py36 expect_result = constant_op.constant(3, dtypes.int32)
37 self.assertAllEqual(actual_result, expect_result)
103 expect_result = constant_op.constant(3, dtypes.int32)
104 self.assertAllEqual(actual_result, expect_result)
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c83 static void alloc_and_check(long size, int expect_result);
185 static void alloc_and_check(long size, int expect_result) in alloc_and_check() argument
192 switch (expect_result) { in alloc_and_check()
207 expect_result); in alloc_and_check()
/external/minijail/rust/minijail/src/
Dlib.rs1140 macro_rules! expect_result { macro
1156 expect_result!(j.wait(), Ok(())); in wait_success()
1168 expect_result!(j.wait(), Err(Error::Killed(9))); in wait_killed()
1175 expect_result!(j.wait(), Err(Error::ReturnCode(1))); in wait_returncode()
1182 expect_result!(j.wait(), Err(Error::NoAccess)); in wait_noaccess()
1205 expect_result!(j.wait(), Ok(())); in runnable_fd_success()
1218 expect_result!(j.kill(), Err(Error::Killed(EXPECTED_SIGNAL))); in kill_success()