Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Dhelper_value_access.c11 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
68 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val) + 8),
108 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
110 sizeof(struct test_val) - offsetof(struct test_val, foo)),
129 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
149 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
169 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
171 sizeof(struct test_val) - offsetof(struct test_val, foo) + 8),
191 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
212 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, offsetof(struct test_val, foo)),
[all …]
Darray_access.c10 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
30 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
52 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
78 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
97 offsetof(struct test_val, foo)),
116 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
136 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
159 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
184 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
212 offsetof(struct test_val, foo)),
Dbpf_get_stack.c12 BPF_MOV64_IMM(BPF_REG_9, sizeof(struct test_val)),
15 BPF_MOV64_IMM(BPF_REG_3, sizeof(struct test_val)),
32 BPF_MOV64_IMM(BPF_REG_5, sizeof(struct test_val)),
Dmap_ptr_mixing.c15 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
45 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dhelper_access_var_len.c229 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
232 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val), 4),
258 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) + 1, 4),
282 BPF_MOV64_IMM(BPF_REG_2, sizeof(struct test_val)),
285 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) - 20, 4),
312 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) - 19, 4),
Dand.c14 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dvalue.c90 BPF_ALU64_IMM(BPF_ADD, BPF_REG_0, offsetof(struct test_val, foo)),
Dsearch_pruning.c74 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
Dvalue_or_null.c143 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, offsetof(struct test_val, foo)),
/external/llvm-project/libc/test/src/errno/
Derrno_test.cpp13 int test_val = 123; in TEST() local
14 llvmlibc_errno = test_val; in TEST()
15 ASSERT_EQ(test_val, llvmlibc_errno); in TEST()
/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/mesa3d/src/compiler/nir/tests/
Dbuilder_tests.cpp63 nir_ssa_def *test_val(unsigned idx) in test_val() function in __anonb126c6820111::nir_builder_test
116 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
132 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
151 nir_src val = nir_src_for_ssa(test_val(0)); in TEST_F()
/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.py351 test_val = 0x80000000
352 SetValueEx(ck, "test_name", None, REG_DWORD, test_val)
355 self.assertEqual(ret_val, test_val)
364 test_val = None
365 SetValueEx(ck, "test_name", 0, REG_BINARY, test_val)
368 self.assertEqual(ret_val, test_val)
377 test_val = "A string\x00 with a null"
378 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/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test_utils.cc210 std::string GetSubnormalDescription(NativeRefT test_val, in GetSubnormalDescription() argument
216 switch (GetCacheLocation<NativeRefT>(test_val)) { in GetSubnormalDescription()
222 return (std::signbit(test_val) == std::signbit(actual_val)) ? sp_zero in GetSubnormalDescription()
232 std::string GetSubnormalDescription(NativeRefT test_val, in GetSubnormalDescription() argument
235 test_val.real(), actual_val.real()); in GetSubnormalDescription()
237 test_val.imag(), actual_val.imag()); in GetSubnormalDescription()
/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/igt-gpu-tools/tests/i915/
Dgem_exec_parse.c265 uint32_t test_val; /* value to attempt loading via LRI command */ member
276 test->test_val, in test_lri()
281 uint32_t expect = test->whitelisted ? test->test_val : test->init_val; in test_lri()
284 test->name, test->reg, test->test_val, in test_lri()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp378 uint16_t test_val = 0x2345; in getConstantFieldValue() local
380 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue()
382 support::endian::write16be(test_buf.c, test_val); in getConstantFieldValue()
384 bool endian_match = test_buf.s == test_val; in getConstantFieldValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp378 uint16_t test_val = 0x2345; in getConstantFieldValue() local
380 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue()
382 support::endian::write16be(test_buf.c, test_val); in getConstantFieldValue()
384 bool endian_match = test_buf.s == test_val; in getConstantFieldValue()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c123 struct test_val { struct
403 struct test_val value = { in update_map()
661 sizeof(struct test_val), 1); in do_test_fixup()
679 sizeof(struct test_val), 1); in do_test_fixup()
767 sizeof(struct test_val), 1, in do_test_fixup()
777 sizeof(struct test_val), 1, in do_test_fixup()
/external/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp6773 ir_rvalue *const test_val = test_expression->hir(instructions, state); in test_to_hir() local
6775 state->switch_state.test_var = new(ctx) ir_variable(test_val->type, in test_to_hir()
6782 instructions->push_tail(new(ctx) ir_assignment(deref_test_var, test_val)); in test_to_hir()
/external/llvm-project/polly/lib/External/isl/
Disl_test.c906 static int test_val(isl_ctx *ctx) in test_val() function
10708 { "val", &test_val },