Lines Matching refs:expected
23 const uint8_t expected[]__aligned(CONFIG_DCACHE_LINE_SIZE) = { local
25 const uint8_t expected[] = {
28 const size_t len = sizeof(expected);
30 uint8_t buf[sizeof(expected)]__aligned(CONFIG_DCACHE_LINE_SIZE);
32 uint8_t buf[sizeof(expected)];
59 rc = flash_write(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, expected, len);
72 if (memcmp(expected, buf, len) == 0) {
75 const uint8_t *wp = expected;
95 const uint8_t expected[]__aligned(CONFIG_DCACHE_LINE_SIZE) = { local
97 const uint8_t expected[] = {
100 const size_t len = sizeof(expected);
102 uint8_t buf[sizeof(expected)]__aligned(CONFIG_DCACHE_LINE_SIZE);
104 uint8_t buf[sizeof(expected)];
151 rc = flash_write(flash_dev, offs, expected, len);
164 if (memcmp(expected, buf, len) == 0) {
167 const uint8_t *wp = expected;