Searched defs:wc (Results 1 - 1 of 1) sorted by relevance

/system/core/trusty/storage/tests/
H A Dmain.cpp1055 size_t wc = 10000; local
1063 test_buf_ = new uint32_t[wc];
1064 fill_pattern32(test_buf_, wc * sizeof(uint32_t), 0);
1065 rc = storage_write(handle, 0, test_buf_, wc * sizeof(uint32_t), STORAGE_OP_COMPLETE);
1066 ASSERT_EQ((int)(wc * sizeof(uint32_t)), rc);
1068 rc = storage_read(handle, 0, test_buf_, wc * sizeof(uint32_t));
1069 ASSERT_EQ((int)(wc * sizeof(uint32_t)), rc);
1070 ASSERT_TRUE(check_pattern32(test_buf_, wc * sizeof(uint32_t), 0));

Completed in 85 milliseconds