Lines Matching defs:start
193 /* name = "test_memory_poison_%(start)_%(offset)_%(count)_%(direction)"
194 * Poison a region starting at start from an 8-byte aligned origin,
195 * encompassing count bytes. Access the region at offset from the start.
196 * %(start), %(offset) and %(count) are decimal integers.
201 size_t start = 0, offset = 0, count = 0;
208 &start, &offset, &count, &direction) != 4) {
219 if (start > sizeof(aligned.buf)) {
221 "%s: start=%" MBEDTLS_PRINTF_SIZET
223 __func__, start, sizeof(aligned.buf));
226 if (start + count > sizeof(aligned.buf)) {
228 "%s: start+count=%" MBEDTLS_PRINTF_SIZET
230 __func__, start + count, sizeof(aligned.buf));
241 MBEDTLS_TEST_MEMORY_POISON(aligned.buf + start, count);
244 aligned.buf[start + offset] = 'b';
248 mbedtls_printf("%u\n", (unsigned) aligned.buf[start + offset]);