/kernel/linux/linux-5.10/tools/testing/selftests/rseq/ |
D | rseq-skip.h | 9 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 15 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 16 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 22 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 28 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 29 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 30 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 36 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 37 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() 38 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | rseq-x86.h | 116 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 181 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 182 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 250 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 304 int rseq_offset_deref_addv(intptr_t *ptr, long off, intptr_t inc, int cpu) in rseq_offset_deref_addv() 355 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 356 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 357 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 426 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 427 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | rseq-s390.h | 138 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 205 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 206 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 276 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 328 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 329 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 330 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 401 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 402 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() 403 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | rseq-arm.h | 151 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 219 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 291 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 344 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 345 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 346 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 420 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 421 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() 422 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | rseq-mips.h | 158 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 218 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 219 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 284 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 334 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 335 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 336 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 403 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 404 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() 405 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | rseq-ppc.h | 213 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 277 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 278 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 350 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 405 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 406 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 407 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 478 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 479 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() 480 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | rseq-arm64.h | 208 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() 265 int rseq_cmpnev_storeoffp_load(intptr_t *v, intptr_t expectnot, in rseq_cmpnev_storeoffp_load() 266 long voffp, intptr_t *load, int cpu) in rseq_cmpnev_storeoffp_load() 327 int rseq_addv(intptr_t *v, intptr_t count, int cpu) in rseq_addv() 374 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() 375 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev() 376 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev() 437 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() 438 intptr_t *v2, intptr_t newv2, in rseq_cmpeqv_trystorev_storev_release() 439 intptr_t newv, int cpu) in rseq_cmpeqv_trystorev_storev_release() [all …]
|
D | basic_percpu_ops_test.c | 16 intptr_t v; 24 intptr_t count; 34 intptr_t data; 141 intptr_t *targetptr, newval, expect; in this_cpu_list_push() 146 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); in this_cpu_list_push() 147 newval = (intptr_t)node; in this_cpu_list_push() 148 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_push() 169 intptr_t *targetptr, expectnot, *load; in this_cpu_list_pop() 174 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_pop() 175 expectnot = (intptr_t)NULL; in this_cpu_list_pop() [all …]
|
D | param_test.c | 249 intptr_t v; 257 intptr_t count; 282 intptr_t data; 297 intptr_t data; 301 intptr_t offset; 302 intptr_t buflen; 313 intptr_t data1; 318 intptr_t offset; 319 intptr_t buflen; 520 intptr_t *targetptr, newval, expect; in this_cpu_list_push() [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/queue/ |
D | It_los_queue_head_042.c | 72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff3[index], in Testcase() 73 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase() 75 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff1[index], in Testcase() 77 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
|
D | It_los_queue_head_028.c | 68 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff3[index], in Testcase() 69 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase() 71 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase() 72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff1[index], in Testcase() 73 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
|
D | It_los_queue_037.c | 68 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff1[index], in Testcase() 69 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase() 71 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase() 72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff3[index], in Testcase() 73 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
|
D | It_los_queue_060.c | 72 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff4 + index), buff1[index], in Testcase() 73 *((char *)(intptr_t)buff4 + index), EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff5 + index), buff2[index], in Testcase() 75 *((char *)(intptr_t)buff5 + index), EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff6 + index), buff3[index], in Testcase() 77 *((char *)(intptr_t)buff6 + index), EXIT); in Testcase()
|
D | It_los_queue_head_011.c | 50 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 6), buff1[6], *((char *)(intptr_t)buff2 + 6), EXIT);… in Testcase() 51 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), 'S', *((char *)(intptr_t)buff2 + 7), EXIT); // 7… in Testcase()
|
D | It_los_queue_012.c | 51 … ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 6), buff1[6], *((char *)(intptr_t)buff2 + 6), EXIT); in Testcase() 53 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), 'S', *((char *)(intptr_t)buff2 + 7), EXIT); in Testcase()
|
D | It_los_queue_head_012.c | 49 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), buff1[7], *((char *)(intptr_t)buff2 + 7), EXIT);… in Testcase() 50 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + QUEUE_BASE_MSGSIZE), '\0', *((char *)(intptr_t)buff2… in Testcase()
|
D | It_los_queue_013.c | 51 … ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + 7), buff1[7], *((char *)(intptr_t)buff2 + 7), EXIT); in Testcase() 52 …ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + QUEUE_BASE_MSGSIZE), '\0', *((char *)(intptr_t)buff2… in Testcase()
|
D | It_los_queue_head_019.c | 51 ICUNIT_GOTO_EQUAL(*((char *)(intptr_t)buff2 + index), buff1[index], in Testcase() 52 *((char *)(intptr_t)buff2 + index), EXIT); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/extended/liteipc/smoke/ |
D | liteipc_test_001.cpp | 65 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest() 67 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest() 69 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest() 71 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest() 74 ICUNIT_ASSERT_NOT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest() 76 ICUNIT_ASSERT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in LiteIpcTest() 122 ICUNIT_ASSERT_NOT_EQUAL(static_cast<int>(static_cast<intptr_t>(retptr)), -1, retptr); in TestCase()
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | signal_test_013.cpp | 123 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread() 127 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread() 131 if ((int)(intptr_t)status1 != 0) { in TestSigMultiPthread()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_124.cpp | 35 intptr_t i = (intptr_t)num; in pthread_f01()
|
/kernel/liteos_m/testsuites/sample/posix/pthread/ |
D | It_posix_pthread_017.c | 37 intptr_t i = (intptr_t)num; in PthreadF01()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
D | It_posix_pthread_023.c | 42 … ICUNIT_ASSERT_EQUAL_VOID((int)(intptr_t)arg, 8, (int)(intptr_t)arg); // 8, here assert the result. in PthreadCleanF01()
|
D | It_posix_pthread_124.c | 44 intptr_t i = (intptr_t)num; in PthreadF01()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_009.cpp | 165 return (void *)(intptr_t)EXIT_CODE_ERRNO_1; in TcpClientThread() 170 return (void *)(intptr_t)EXIT_CODE_ERRNO_2; in TcpClientThread() 174 return (void *)(intptr_t)EXIT_CODE_ERRNO_3; in TcpClientThread() 179 return (void *)(intptr_t)ret; in TcpClientThread()
|