/tools/testing/selftests/bpf/prog_tests/ |
D | test_strncmp.c | 30 int got; in strncmp_full_str_cmp() local 37 got = trigger_strncmp(skel); in strncmp_full_str_cmp() 38 ASSERT_EQ(got, exp, name); in strncmp_full_str_cmp() 47 int err, got; in test_strncmp_ret() local 67 got = trigger_strncmp(skel); in test_strncmp_ret() 68 ASSERT_EQ(got, -1, "strncmp: empty str"); in test_strncmp_ret() 72 got = trigger_strncmp(skel); in test_strncmp_ret() 73 ASSERT_EQ(got, 0, "strncmp: same str"); in test_strncmp_ret() 78 got = trigger_strncmp(skel); in test_strncmp_ret() 79 ASSERT_EQ(got, 1, "strncmp: not-null-term str"); in test_strncmp_ret()
|
D | flow_dissector.c | 17 #define CHECK_FLOW_KEYS(desc, got, expected) \ argument 18 _CHECK(memcmp(&got, &expected, sizeof(got)) != 0, \ 32 got.nhoff, expected.nhoff, \ 33 got.thoff, expected.thoff, \ 34 got.addr_proto, expected.addr_proto, \ 35 got.is_frag, expected.is_frag, \ 36 got.is_first_frag, expected.is_first_frag, \ 37 got.is_encap, expected.is_encap, \ 38 got.ip_proto, expected.ip_proto, \ 39 got.n_proto, expected.n_proto, \ [all …]
|
D | varlen.c | 8 #define CHECK_VAL(got, exp) \ argument 9 CHECK((got) != (exp), "check", "got %ld != exp %ld\n", \ 10 (long)(got), (long)(exp))
|
D | core_extern.c | 127 uint64_t *got, *exp; in test_core_extern() local 157 got = (uint64_t *)skel->data; in test_core_extern() 160 ASSERT_EQ(got[j], exp[j], "result"); in test_core_extern()
|
/tools/arch/x86/lib/ |
D | insn.c | 131 if (prefixes->got) in insn_get_prefixes() 190 insn->rex_prefix.got = 1; in insn_get_prefixes() 238 insn->vex_prefix.got = 1; in insn_get_prefixes() 240 prefixes->got = 1; in insn_get_prefixes() 268 if (opcode->got) in insn_get_opcode() 271 if (!insn->prefixes.got) { in insn_get_opcode() 314 opcode->got = 1; in insn_get_opcode() 339 if (modrm->got) in insn_get_modrm() 342 if (!insn->opcode.got) { in insn_get_modrm() 366 modrm->got = 1; in insn_get_modrm() [all …]
|
/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 105 unsigned long got; in do_one_test() local 111 got = load_unaligned_zeropad(p); in do_one_test() 113 if (should != got) { in do_one_test() 114 …printf("offset %u load_unaligned_zeropad returned 0x%lx, should be 0x%lx\n", page_offset, got, sho… in do_one_test()
|
/tools/testing/selftests/powerpc/copyloops/ |
D | exc_validate.c | 62 unsigned long got, expected; in do_one_test() local 64 got = COPY_LOOP(dstp, srcp, len); in do_one_test() 67 if (got != expected) { in do_one_test() 70 srcp, dstp, len, got, expected); in do_one_test()
|
/tools/testing/selftests/powerpc/security/ |
D | branch_loops.S | 46 ld r6, jump_table@got(%r2) 49 ld r7, .Lstate_0@got(%r2) 75 ld r4, 2f@got(%r2)
|
/tools/arch/x86/include/asm/ |
D | insn.h | 22 unsigned char got; member 48 unsigned char got; member 166 if (!insn->prefixes.got) in insn_is_avx() 173 if (!insn->prefixes.got) in insn_is_evex()
|
/tools/testing/selftests/powerpc/switch_endian/ |
D | switch_endian_test.S | 81 ld r4, success_message@got(%r2) 94 ld r4, failure_message@got(%r2)
|
/tools/testing/selftests/powerpc/pmu/ |
D | branch_loops.S | 21 ld r4, 2f@got(%r2)
|
/tools/testing/selftests/bpf/benchs/ |
D | bench_htab_mem.c | 270 ssize_t got; in htab_mem_read_mem_cgrp_file() local 281 got = read(fd, buf, sizeof(buf) - 1); in htab_mem_read_mem_cgrp_file() 282 if (got <= 0) { in htab_mem_read_mem_cgrp_file() 286 buf[got] = 0; in htab_mem_read_mem_cgrp_file()
|
/tools/testing/selftests/user_events/ |
D | ftrace_test.c | 31 int bytes = 0, got; in trace_bytes() local 37 got = read(fd, buf, sizeof(buf)); in trace_bytes() 39 if (got == -1) in trace_bytes() 42 if (got == 0) in trace_bytes() 45 bytes += got; in trace_bytes()
|
/tools/testing/selftests/net/ |
D | tcp_mmap.c | 429 ssize_t got; in randomize() local 436 got = read(urandom, target, count); in randomize() 437 if (got != count) { in randomize()
|
D | psock_tpacket.c | 378 unsigned int frame_num = 0, got = 0; in walk_tx() local 484 got += ret; in walk_tx() 499 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, got); in walk_tx()
|
/tools/testing/kunit/ |
D | kunit_tool_test.py | 796 got = kunit._list_tests(self.linux_source_mock, 798 self.assertEqual(got, want)
|
/tools/perf/Documentation/ |
D | perf-c2c.txt | 336 to get this implemented, we got lots of early help from Arnaldo
|