Home
last modified time | relevance | path

Searched refs:test_val (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/
Datomicops_unittest.cc141 AtomicType test_val = (static_cast<uint64_t>(1) << in TestAtomicIncrementBounds() local
143 AtomicType value = -1 ^ test_val; in TestAtomicIncrementBounds()
145 EXPECT_EQ(test_val, value); in TestAtomicIncrementBounds()
149 EXPECT_EQ(-1 ^ test_val, value); in TestAtomicIncrementBounds()
152 test_val = static_cast<uint64_t>(1) << (NUM_BITS(AtomicType) / 2); in TestAtomicIncrementBounds()
153 value = test_val - 1; in TestAtomicIncrementBounds()
155 EXPECT_EQ(test_val, value); in TestAtomicIncrementBounds()
159 EXPECT_EQ(test_val - 1, value); in TestAtomicIncrementBounds()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_env_var_test.py74 def TestFlag(flag, test_val, default_val): argument
78 SetEnvVar(env_var, test_val)
79 AssertEq(test_val, GetFlag(flag))
/external/googletest/googletest/test/
Dgoogletest-env-var-test.py71 def TestFlag(flag, test_val, default_val): argument
75 SetEnvVar(env_var, test_val)
76 AssertEq(test_val, GetFlag(flag))
/external/python/cpython3/Lib/test/
Dtest_winreg.py350 test_val = 0x80000000
351 SetValueEx(ck, "test_name", None, REG_DWORD, test_val)
354 self.assertEqual(ret_val, test_val)
363 test_val = None
364 SetValueEx(ck, "test_name", 0, REG_BINARY, test_val)
367 self.assertEqual(ret_val, test_val)
376 test_val = "A string\x00 with a null"
377 SetValueEx(ck, "test_name", 0, REG_SZ, test_val)
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
Dtest-cmpxchg-nolock.c42 int test_val; variable
83 ret = sync_cmpxchg(&test_val, 0, 0); in do_test_sync_cmpxchg()
85 ret = cmpxchg(&test_val, 0, 0); in do_test_sync_cmpxchg()
113 ret = cmpxchg_local(&test_val, 0, 0); in do_test_cmpxchg()
/external/python/cpython2/Lib/test/
Dtest_winreg.py349 test_val = 0x80000000
350 SetValueEx(ck, "test_name", None, REG_DWORD, test_val)
353 self.assertEqual(ret_val, test_val)
362 test_val = None
363 SetValueEx(ck, "test_name", 0, REG_BINARY, test_val)
366 self.assertEqual(ret_val, test_val)
/external/scapy/test/
Dpipetool.uts169 test_val = None
173 global test_val
174 test_val = msg
191 assert test_val == "hello"
195 test_val = None
199 global test_val
200 test_val = msg
217 assert test_val == "hello"
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp407 uint16_t test_val = 0x2345; in getConstantFieldValue() local
409 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue()
411 support::endian::write16be(test_buf.c, test_val); in getConstantFieldValue()
413 bool endian_match = test_buf.s == test_val; in getConstantFieldValue()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c96 struct test_val { struct
4640 offsetof(struct test_val, foo)),
4662 offsetof(struct test_val, foo)),
4686 offsetof(struct test_val, foo)),
4714 offsetof(struct test_val, foo)),
4734 offsetof(struct test_val, foo)),
4755 offsetof(struct test_val, foo)),
4777 offsetof(struct test_val, foo)),
4802 offsetof(struct test_val, foo)),
4829 offsetof(struct test_val, foo)),
[all …]
/external/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp6519 ir_rvalue *const test_val = test_expression->hir(instructions, state); in test_to_hir() local
6521 state->switch_state.test_var = new(ctx) ir_variable(test_val->type, in test_to_hir()
6528 instructions->push_tail(new(ctx) ir_assignment(deref_test_var, test_val)); in test_to_hir()