Home
last modified time | relevance | path

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

/system/core/trusty/storage/tests/
Dmain.cpp32 static inline bool is_valid_size(size_t sz) { in is_valid_size() function
131 ASSERT_PRED1(is_valid_size, chunk_len); in WriteZeroChunk()
147 ASSERT_PRED1(is_valid_size, chunk_len); in WritePatternChunk()
160 ASSERT_PRED1(is_valid_size, data_len); in WritePattern()
161 ASSERT_PRED1(is_valid_size, chunk_len); in WritePattern()
182 ASSERT_PRED1(is_valid_size, chunk_len); in ReadChunk()
211 ASSERT_PRED1(is_valid_size, chunk_len); in ReadPattern()
212 ASSERT_PRED1(is_valid_size, data_len); in ReadPattern()
233 ASSERT_PRED1(is_valid_size, chunk_len); in ReadPatternEOF()
241 ASSERT_PRED1(is_valid_size, (size_t)rc); in ReadPatternEOF()