/ThreadX-v6.4.1/test/smp/regression/ |
D | threadx_block_memory_suspension_test.c | 106 CHAR *pointer_1; in thread_0_entry() local 118 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 130 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 250 CHAR *pointer_1; in thread_1_entry() local 258 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_1_entry() 265 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_1_entry() 271 tx_block_release(pointer_1); in thread_1_entry() 283 CHAR *pointer_1; in thread_2_entry() local 291 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_2_entry() 298 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_2_entry() [all …]
|
D | threadx_block_memory_thread_terminate_test.c | 92 CHAR *pointer_1; in thread_0_entry() local 101 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 118 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 140 status = tx_block_release(pointer_1); in thread_0_entry() 164 CHAR *pointer_1; in thread_1_entry() local 172 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry() 179 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_1_entry()
|
D | threadx_block_memory_suspension_timeout_test.c | 107 CHAR *pointer_1; in thread_0_entry() local 116 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 130 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 167 CHAR *pointer_1; in thread_1_entry() local 175 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry() 191 CHAR *pointer_1; in thread_2_entry() local 202 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_2_entry()
|
D | threadx_byte_memory_basic_test.c | 351 CHAR *pointer_1; in thread_0_entry() local 396 pointer_1 = (CHAR *) 0x30000; in thread_0_entry() 397 status = tx_byte_pool_create(TX_NULL, "pool 0", pointer_1, 108); in thread_0_entry() 409 status = tx_byte_pool_create(&pool_0, "pool 0", pointer_1, 108); in thread_0_entry() 433 status = tx_byte_pool_create(&pool_2, "pool 2", pointer_1, 1); in thread_0_entry() 470 status = tx_byte_allocate(TX_NULL, (VOID **) &pointer_1, 24, TX_NO_WAIT); in thread_0_entry() 483 status = tx_byte_allocate(&pool_2, (VOID **) &pointer_1, 24, TX_NO_WAIT); in thread_0_entry() 507 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 240000, TX_NO_WAIT); in thread_0_entry() 519 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 0, TX_NO_WAIT); in thread_0_entry() 544 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 24, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_block_memory_error_detection_test.c | 119 CHAR *pointer_1; in thread_0_entry() local 186 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 198 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 246 pointer_1[i] = (CHAR) 0xFF; in thread_0_entry() 252 status = tx_block_release(pointer_1); in thread_0_entry() 293 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 305 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry()
|
D | threadx_block_memory_basic_test.c | 263 CHAR *pointer_1; in thread_0_entry() local 333 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 345 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 393 pointer_1[i] = (CHAR) 0xFF; in thread_0_entry() 399 status = tx_block_release(pointer_1); in thread_0_entry() 440 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 452 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry()
|
/ThreadX-v6.4.1/test/tx/regression/ |
D | threadx_block_memory_suspension_test.c | 106 CHAR *pointer_1; in thread_0_entry() local 118 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 130 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 250 CHAR *pointer_1; in thread_1_entry() local 258 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_1_entry() 265 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_1_entry() 271 tx_block_release(pointer_1); in thread_1_entry() 283 CHAR *pointer_1; in thread_2_entry() local 291 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_2_entry() 298 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_2_entry() [all …]
|
D | threadx_block_memory_thread_terminate_test.c | 92 CHAR *pointer_1; in thread_0_entry() local 101 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 118 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 140 status = tx_block_release(pointer_1); in thread_0_entry() 164 CHAR *pointer_1; in thread_1_entry() local 172 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry() 179 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_1_entry()
|
D | threadx_block_memory_suspension_timeout_test.c | 107 CHAR *pointer_1; in thread_0_entry() local 116 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 130 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 167 CHAR *pointer_1; in thread_1_entry() local 175 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry() 191 CHAR *pointer_1; in thread_2_entry() local 202 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_2_entry()
|
D | threadx_byte_memory_basic_test.c | 351 CHAR *pointer_1; in thread_0_entry() local 396 pointer_1 = (CHAR *) 0x30000; in thread_0_entry() 397 status = tx_byte_pool_create(TX_NULL, "pool 0", pointer_1, 108); in thread_0_entry() 409 status = tx_byte_pool_create(&pool_0, "pool 0", pointer_1, 108); in thread_0_entry() 433 status = tx_byte_pool_create(&pool_2, "pool 2", pointer_1, 1); in thread_0_entry() 470 status = tx_byte_allocate(TX_NULL, (VOID **) &pointer_1, 24, TX_NO_WAIT); in thread_0_entry() 483 status = tx_byte_allocate(&pool_2, (VOID **) &pointer_1, 24, TX_NO_WAIT); in thread_0_entry() 507 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 240000, TX_NO_WAIT); in thread_0_entry() 519 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 0, TX_NO_WAIT); in thread_0_entry() 544 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 24, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_block_memory_error_detection_test.c | 119 CHAR *pointer_1; in thread_0_entry() local 186 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 198 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 246 pointer_1[i] = (CHAR) 0xFF; in thread_0_entry() 252 status = tx_block_release(pointer_1); in thread_0_entry() 293 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 305 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry()
|
D | threadx_block_memory_basic_test.c | 263 CHAR *pointer_1; in thread_0_entry() local 333 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 345 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry() 393 pointer_1[i] = (CHAR) 0xFF; in thread_0_entry() 399 status = tx_block_release(pointer_1); in thread_0_entry() 440 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 452 TX_MEMSET(pointer_1, (CHAR) 0xEF, 100); in thread_0_entry()
|