Searched refs:middle (Results 1 – 3 of 3) sorted by relevance
110 int middle = (end - start) / 2; in esp_crt_verify_callback() local114 name_len = s_crt_bundle.crts[middle][0] << 8 | s_crt_bundle.crts[middle][1]; in esp_crt_verify_callback()115 crt_name = s_crt_bundle.crts[middle] + CRT_HEADER_OFFSET; in esp_crt_verify_callback()122 end = middle - 1; in esp_crt_verify_callback()124 start = middle + 1; in esp_crt_verify_callback()126 middle = (start + end) / 2; in esp_crt_verify_callback()131 size_t key_len = s_crt_bundle.crts[middle][2] << 8 | s_crt_bundle.crts[middle][3]; in esp_crt_verify_callback()132 …ret = esp_crt_check_signature(child, s_crt_bundle.crts[middle] + CRT_HEADER_OFFSET + name_len, key… in esp_crt_verify_callback()
224 int start, end, middle, res; in hostapd_maclist_found() local230 middle = (start + end) / 2; in hostapd_maclist_found()231 res = memcmp(list[middle].addr, addr, ETH_ALEN); in hostapd_maclist_found()234 *vlan_id = list[middle].vlan_id; in hostapd_maclist_found()238 start = middle + 1; in hostapd_maclist_found()240 end = middle - 1; in hostapd_maclist_found()
409 uint32_t middle = (end + begin) / 2; in esp_eh_frame_find_entry() local422 while (end != 0 && middle != (length - 1) && !found) { in esp_eh_frame_find_entry()423 const uint32_t fun_addr = sorted_table[middle].fun_addr; in esp_eh_frame_find_entry()424 const uint32_t nxt_addr = sorted_table[middle + 1].fun_addr; in esp_eh_frame_find_entry()427 ra = return_address - (uint32_t) (sorted_table + middle); in esp_eh_frame_find_entry()437 begin = middle + 1; in esp_eh_frame_find_entry()439 end = middle; in esp_eh_frame_find_entry()447 begin = middle + 1; in esp_eh_frame_find_entry()449 end = middle; in esp_eh_frame_find_entry()452 middle = (end + begin) / 2; in esp_eh_frame_find_entry()[all …]