Home
last modified time | relevance | path

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

/trusty/user/app/storage/test/storage-unittest/
Dmain.c1432 uint32_t* test_buf_ = malloc(wc * sizeof(uint32_t)); in TEST_F() local
1433 ASSERT_NE(NULL, test_buf_); in TEST_F()
1441 fill_pattern32(test_buf_, wc * sizeof(uint32_t), 0); in TEST_F()
1442 rc = storage_write(handle, 0, test_buf_, wc * sizeof(uint32_t), in TEST_F()
1446 rc = storage_read(handle, 0, test_buf_, wc * sizeof(uint32_t)); in TEST_F()
1449 bool res = check_pattern32(test_buf_, wc * sizeof(uint32_t), 0); in TEST_F()
1457 if (test_buf_) in TEST_F()
1458 free(test_buf_); in TEST_F()