/hal_espressif-2.7.6/components/nvs_flash/host_test/nvs_page_test/main/ |
D | nvs_page_test.cpp | 24 Page page; in test_Page_load_reading_header_fails() 26 TEST_ASSERT_EQUAL(Page::PageState::INVALID, page.state()); in test_Page_load_reading_header_fails() 38 Page page; in test_Page_load_reading_data_fails() 40 TEST_ASSERT_EQUAL(Page::PageState::INVALID, page.state()); in test_Page_load_reading_data_fails() 47 Page page; in test_Page_load__uninitialized_page_has_0xfe() 59 TEST_ASSERT_EQUAL(Page::PageState::CORRUPT, page.state()); in test_Page_load__uninitialized_page_has_0xfe() 65 Page page; in test_Page_load__initialized_corrupt_header() 76 TEST_ASSERT_EQUAL(Page::PageState::CORRUPT, page.state()); in test_Page_load__initialized_corrupt_header() 88 Page page; in test_Page_load_success() 90 TEST_ASSERT_EQUAL(Page::PageState::INVALID, page.state()); in test_Page_load_success() [all …]
|
/hal_espressif-2.7.6/components/nvs_flash/src/ |
D | nvs_pagemanager.cpp | 28 mPages.reset(new (nothrow) Page[sectorCount]); in load() 41 …auto pos = std::find_if(std::begin(mPageList), std::end(mPageList), [=](const Page& page) -> bool { in load() 64 Page& lastPage = back(); in load() 68 while (lastPage.findItem(Page::NS_ANY, ItemType::ANY, nullptr, itemIndex, item) == ESP_OK) { in load() 79 if ((it->state() != Page::PageState::FREEING) && in load() 89 if ((it->state() != Page::PageState::FREEING) && in load() 99 if (it->state() == Page::PageState::FREEING) { in load() 100 Page* newPage = &mPageList.back(); in load() 101 if (newPage->state() == Page::PageState::ACTIVE) { in load() 125 Page* p = static_cast<Page*>(it); in load() [all …]
|
D | nvs_storage.cpp | 43 Page& p = *it; in populateBlobIndices() 51 while (p.findItem(Page::NS_ANY, ItemType::BLOB_IDX, nullptr, itemIndex, item) == ESP_OK) { in populateBlobIndices() 72 Page& p = *it; in eraseOrphanDataBlobs() 80 while (p.findItem(Page::NS_ANY, ItemType::BLOB_DATA, nullptr, itemIndex, item) == ESP_OK) { in eraseOrphanDataBlobs() 109 Page& p = *it; in init() 112 while (p.findItem(Page::NS_INDEX, ItemType::U8, nullptr, itemIndex, item) == ESP_OK) { in init() 156 esp_err_t Storage::findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item&… in findItem() 180 if(max_pages > (Page::CHUNK_ANY-1)/2) { in writeMultiPageBlob() 181 max_pages = (Page::CHUNK_ANY-1)/2; in writeMultiPageBlob() 184 if (dataSize > max_pages * Page::CHUNK_MAX_SIZE) { in writeMultiPageBlob() [all …]
|
D | nvs_page.cpp | 26 Page::Page() : mPartition(nullptr) { } in Page() function in nvs::Page 28 uint32_t Page::Header::calculateCrc32() in calculateCrc32() 35 esp_err_t Page::load(Partition *partition, uint32_t sectorNumber) in load() 105 esp_err_t Page::writeEntry(const Item& item) in writeEntry() 131 esp_err_t Page::writeEntryData(const uint8_t* data, size_t size) in writeEntryData() 178 esp_err_t Page::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, si… in writeItem() 203 if (dataSize > Page::CHUNK_MAX_SIZE) { in writeItem() 273 esp_err_t Page::readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t da… in readItem() 324 esp_err_t Page::cmpItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data, size… in cmpItem() 376 esp_err_t Page::eraseItem(uint8_t nsIndex, ItemType datatype, const char* key, uint8_t chunkIdx, Ve… in eraseItem() [all …]
|
D | nvs_pagemanager.hpp | 28 using TPageList = intrusive_list<Page>; 46 Page& back() in back() 71 std::unique_ptr<Page[]> mPages;
|
D | nvs_storage.hpp | 46 public: Page* mPage; 140 Page& getCurrentPage() in getCurrentPage() 153 …int8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item& item, uint8_t chunkIdx = Pa… 172 intrusive_list<nvs::Page>::iterator page;
|
D | nvs_page.hpp | 33 class Page : public intrusive_list_node<Page> class 81 Page(); 147 esp_err_t copyItems(Page& other);
|
/hal_espressif-2.7.6/tools/windows/tool_setup/ |
D | git_page.iss.inc | 4 { ------------------------------ Page to select Git ------------------------------ } 53 Page: TInputOptionWizardPage; 60 Page := TInputOptionWizardPage(Sender); 62 if Page.CheckListBox.Items.Count > 0 then 80 Index := Page.Add(FullName); 83 Page.CheckListBox.ItemEnabled[Index] := False; 95 Index := Page.Add('Install Git ' + VersionToInstall); 100 Index := Page.Add('Custom git.exe location'); 104 Page.SelectedValueIndex := FirstEnabledIndex; 110 Page: TInputOptionWizardPage; [all …]
|
D | idf_page.iss.inc | 4 { ------------------------------ Page to select whether to download ESP-IDF, or use an existing cop… 30 Page: TInputOptionWizardPage; 32 Page := TInputOptionWizardPage(Sender); 34 if Page.CheckListBox.Items.Count > 0 then 37 IDFSelectionDownloadIndex := Page.Add('Download ESP-IDF') 38 IDFSelectionCustomPathIndex := Page.Add('Use an existing ESP-IDF directory'); 40 Page.SelectedValueIndex := 0; 46 Page: TInputOptionWizardPage; 48 Page := TInputOptionWizardPage(Sender); 49 Log('OnIDFSelectionChange index=' + IntToStr(Page.SelectedValueIndex)); [all …]
|
D | python_page.iss.inc | 4 { ------------------------------ Page to select Python interpreter ------------------------------ } 35 Page: TInputOptionWizardPage; 42 Page := TInputOptionWizardPage(Sender); 44 if Page.CheckListBox.Items.Count > 0 then 60 Index := Page.Add(FullName); 63 Page.CheckListBox.ItemEnabled[Index] := False; 75 Index := Page.Add('Install Python ' + VersionToInstall); 79 Page.SelectedValueIndex := FirstEnabledIndex; 84 Page: TInputOptionWizardPage; 86 Page := TInputOptionWizardPage(Sender); [all …]
|
D | choice_page.iss.inc | 21 function ChoicePageGetInput(Page: TInputOptionWizardPage): TNewEdit; 23 Result := TNewEdit(Page.FindComponent('ChoicePageInput')); 26 function ChoicePageGetLabel(Page: TInputOptionWizardPage): TNewStaticText; 28 Result := TNewStaticText(Page.FindComponent('ChoicePageLabel')); 31 function ChoicePageGetButton(Page: TInputOptionWizardPage): TNewButton; 33 Result := TNewButton(Page.FindComponent('ChoicePageBrowseButton')); 36 procedure ChoicePageSetEditLabel(Page: TInputOptionWizardPage; Caption: String); 40 InputLabel := ChoicePageGetLabel(Page); 44 function ChoicePageGetInputText(Page: TInputOptionWizardPage): String; 46 Result := ChoicePageGetInput(Page).Text; [all …]
|
D | idf_download_page.iss.inc | 4 { ------------------------------ Page to select the version of ESP-IDF to download ----------------… 62 Page: TInputOptionWizardPage; 67 Page := TInputOptionWizardPage(Sender); 69 if Page.CheckListBox.Items.Count > 0 then 85 Page.Add(IDFDownloadAvailableVersions[i] + ' (' 88 Page.SelectedValueIndex := 0; 91 ChoicePageSetInputText(Page, SuggestedIDFDirectory); 114 Page: TInputOptionWizardPage; 116 Page := TInputOptionWizardPage(Sender); 117 Log('OnIDFDownloadSelectionChange index=' + IntToStr(Page.SelectedValueIndex)); [all …]
|
/hal_espressif-2.7.6/components/nvs_flash/nvs_partition_generator/ |
D | nvs_partition_gen.py | 65 class Page(object): class 103 self.page_buf = bytearray(b'\xff') * Page.PAGE_PARAMS['max_size'] 111 page_state_active_seq = Page.ACTIVE 116 if version == Page.VERSION2: 117 page_header[8] = Page.VERSION2 118 elif version == Page.VERSION1: 119 page_header[8] = Page.VERSION1 139 start_idx = Page.BITMAPARRAY_OFFSET 140 end_idx = Page.BITMAPARRAY_OFFSET + Page.BITMAPARRAY_SIZE_IN_BYTES 172 rel_addr = nvs_obj.page_num * Page.PAGE_PARAMS['max_size'] + Page.FIRST_ENTRY_OFFSET [all …]
|
/hal_espressif-2.7.6/docs/test/en/ |
D | index.rst | 7 :esp32s2: ESP32-S2 Page <esp32s2_page> 8 :esp32: ESP32 Page !ESP32_CONTENT! <esp32_page> 9 :SOC_BT_SUPPORTED: BT Page !BT_CONTENT! <bt_page.rst>
|
D | esp32_page.rst | 1 ESP32 Page
|
D | esp32s2_page.rst | 1 ESP32S2 Page
|
/hal_espressif-2.7.6/components/nvs_flash/test_nvs_host/ |
D | test_nvs.cpp | 87 Page page; 88 CHECK(page.state() == Page::PageState::INVALID); 90 CHECK(page.state() == Page::PageState::UNINITIALIZED); 96 Page page; 112 Page page; 122 Page page; 127 CHECK(page.state() == Page::PageState::UNINITIALIZED); 133 Page page; 145 for (size_t i = 0; i < Page::ENTRY_COUNT - 2; ++i) { 150 CHECK(page.getUsedEntryCount() == Page::ENTRY_COUNT - 1); [all …]
|
/hal_espressif-2.7.6/components/nvs_flash/ |
D | README_CN.rst | 95 | Page 1 | | Page 2 | | Page 3 | | Page 4 | 245 为了减少对 flash 执行的读操作次数,Page 类对象均设有一个列表,包含一对数据:条目索引和条目哈希值。该列表可大大提高检索速度,而无需迭代所有条目并逐个从 flash 中读取。``Page:…
|
D | README.rst | 75 NVS library uses two main entities in its operation: pages and entries. Page is a logical structure… 78 …Flash storage for the page is empty (all bytes are ``0xff``). Page is not used to store any data a… 81 … page header has been written to flash, page has a valid sequence number. Page has some empty entr… 91 …Page header contains invalid data, and further parsing of page data was canceled. Any items previo… 98 | Page 1 | | Page 2 | | Page 3 | | Page 4 | 114 Page consists of three parts: header, entry state bitmap, and entries themselves. To be compatible … 133 Page header and entry state bitmap are always written to flash unencrypted. Entries are encrypted i… 135 Page state values are defined in such a way that changing state is possible by writing 0 into some … 250 …Page class maintains a list of pairs: item index; item hash. This list makes searches much quicker…
|
/hal_espressif-2.7.6/components/nvs_flash/host_test/fixtures/ |
D | test_fixtures.hpp | 151 nvs::Page page; 209 nvs::Page page; 366 nvs::Page page; 428 nvs::Page page;
|
/hal_espressif-2.7.6/docs/_static/diagrams/ethernet/ |
D | RMII Interface.drawio | 1 …Page-1" id="90a13364-a465-7bf4-72fc-28e22215d7a0">7Vpbc6M2FP41nmkfugPi6sesN0kfms5O3W6fFSODGhlRIYK9…
|
/hal_espressif-2.7.6/docs/en/ |
D | 404.rst | 3 Page not Found
|
/hal_espressif-2.7.6/components/nvs_flash/host_test/nvs_page_test/ |
D | README.rst | 1 NVS Page Test for Host
|
/hal_espressif-2.7.6/docs/zh_CN/api-reference/storage/ |
D | spiffs.rst | 100 - **Page Size**:256(SPI flash 标准)
|
/hal_espressif-2.7.6/examples/protocols/http_server/restful_server/ |
D | README.md | 11 …scription | Page URL | 17 **Page URL** is the URL of the webpage which will send a request to the API.
|