Searched refs:ibuf (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/spi_flash/test/ |
D | test_esp_flash.c | 1168 uint8_t *ibuf = heap_caps_malloc(INTERNAL_BUF_SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); in s_test_compare_flash_contents_small_reads() local 1169 TEST_ASSERT_NOT_NULL(ibuf); in s_test_compare_flash_contents_small_reads() 1173 ESP_ERROR_CHECK( esp_flash_read(chip, ibuf, offs + i, to_read) ); in s_test_compare_flash_contents_small_reads() 1174 TEST_ASSERT_EQUAL_HEX8_ARRAY(buffer + i, ibuf, to_read); in s_test_compare_flash_contents_small_reads() 1177 free(ibuf); in s_test_compare_flash_contents_small_reads()
|
/hal_espressif-3.6.0/components/fatfs/src/ |
D | ff.c | 1651 BYTE *ibuf; in dir_clear() local 1660 …e * SS(fs) >= MAX_MALLOC) ? MAX_MALLOC : fs->csize * SS(fs), ibuf = 0; szb > SS(fs) && (ibuf = ff_… in dir_clear() 1662 mem_set(ibuf, 0, szb); in dir_clear() 1664 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear() 1665 ff_memfree(ibuf); in dir_clear() 1669 ibuf = fs->win; szb = 1; /* Use window buffer (many single-sector writes may take a time) */ in dir_clear() 1670 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()
|