Home
last modified time | relevance | path

Searched refs:tailroom (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/nvs_flash/src/
Dnvs_storage.cpp182 size_t tailroom = page.getVarDataTailroom(); in writeMultiPageBlob() local
184 …if (chunkCount == 0U && ((tailroom < dataSize) || (tailroom == 0 && dataSize == 0)) && tailroom < … in writeMultiPageBlob()
195 } else if(getCurrentPage().getVarDataTailroom() == tailroom) { in writeMultiPageBlob()
201 } else if (!tailroom) { in writeMultiPageBlob()
207 assert(tailroom != 0); in writeMultiPageBlob()
208 chunkSize = (remainingSize > tailroom)? tailroom : remainingSize; in writeMultiPageBlob()
225 if (remainingSize || (tailroom - chunkSize) < Page::ENTRY_SIZE) { in writeMultiPageBlob()
/hal_espressif-3.6.0/components/nvs_flash/nvs_partition_generator/
Dnvs_partition_gen.py248 tailroom = None
254tailroom = (Page.PAGE_PARAMS['max_entries'] - self.entry_num - 1) * Page.SINGLE_ENTRY_SIZE
255 assert tailroom >= 0, 'Page overflow!!'
258 if tailroom < remaining_size:
259 chunk_size = tailroom
302 if remaining_size or (tailroom - chunk_size) < Page.SINGLE_ENTRY_SIZE:
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/
Ddpp.c3848 struct dpp_configuration *conf, size_t tailroom) in dpp_build_conf_start() argument
3854 tailroom += os_strlen(auth->discovery_override); in dpp_build_conf_start()
3857 buf = wpabuf_alloc(200 + tailroom); in dpp_build_conf_start()
3990 size_t tailroom; in dpp_build_conf_obj_dpp() local
4125 tailroom = 1000; in dpp_build_conf_obj_dpp()
4126 tailroom += 2 * curve->prime_len * 4 / 3 + os_strlen(auth->conf->kid); in dpp_build_conf_obj_dpp()
4127 tailroom += signed1_len + signed2_len + signed3_len; in dpp_build_conf_obj_dpp()
4129 tailroom += 1000; in dpp_build_conf_obj_dpp()
4130 buf = dpp_build_conf_start(auth, conf, tailroom); in dpp_build_conf_obj_dpp()