Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/nvs_flash/test_nvs_host/
Dtest_spi_flash_emulation.cpp95 uint32_t read_value = 0; variable
98 CHECK(esp_partition_read_raw(&f.esp_part, 0, &read_value, sizeof(&read_value)) == ESP_OK);
100 CHECK(read_value == 0xdeadbeef);
107 uint32_t read_value = 0; variable
110 CHECK(esp_partition_read(&f.esp_part, 0, &read_value, sizeof(&read_value)) == ESP_OK);
112 CHECK(read_value == 0xdeadbeef);
/hal_espressif-3.4.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp290 uint8_t read_value = 0; in test_Page_readItem__read_entry_fails() local
294 …ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_value)); in test_Page_readItem__read_entry_fails()
310 uint8_t read_value = 0; in test_Page_readItem__read_corrupted_entry() local
327 …ESP_ERR_NVS_NOT_FOUND, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_value)); in test_Page_readItem__read_corrupted_entry()
343 uint8_t read_value = 0; in test_Page_readItem__read_corrupted_second_read_fail() local
355 …ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_value)); in test_Page_readItem__read_corrupted_second_read_fail()
368 uint8_t read_value = 0; in test_Page_readItem__read_corrupted_erase_fail() local
385 …ASSERT_EQUAL(ESP_FAIL, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_value)); in test_Page_readItem__read_corrupted_erase_fail()
398 uint8_t read_value = 0; in test_Page_readItem__read_entry_suceeds() local
403 …T_ASSERT_EQUAL(ESP_OK, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_value", read_value)); in test_Page_readItem__read_entry_suceeds()
[all …]
/hal_espressif-3.4.0/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c135 static size_t read_value(uint16_t conn_handle, uint16_t attr_handle, in read_value() function
169 return read_value(conn_handle, attr_handle, in gatt_svr_access_cb()
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_act.c1295 tBTA_GATT_UNFMT read_value; in bta_gattc_read_cmpl() local
1298 memset(&read_value, 0, sizeof(tBTA_GATT_UNFMT)); in bta_gattc_read_cmpl()
1305 read_value.len = p_data->p_cmpl->att_value.len; in bta_gattc_read_cmpl()
1306 read_value.p_value = p_data->p_cmpl->att_value.value; in bta_gattc_read_cmpl()
1307 cb_data.read.p_value = &read_value; in bta_gattc_read_cmpl()