Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 251) sorted by relevance

1234567891011

/hal_espressif-3.4.0/components/esp_http_client/lib/
Dhttp_header.c34 http_header_handle_t header = calloc(1, sizeof(struct http_header)); in http_header_init() local
35 HTTP_MEM_CHECK(TAG, header, return NULL); in http_header_init()
36 STAILQ_INIT(header); in http_header_init()
37 return header; in http_header_init()
40 esp_err_t http_header_destroy(http_header_handle_t header) in http_header_destroy() argument
42 esp_err_t err = http_header_clean(header); in http_header_destroy()
43 free(header); in http_header_destroy()
47 http_header_item_handle_t http_header_get_item(http_header_handle_t header, const char *key) in http_header_get_item() argument
50 if (header == NULL || key == NULL) { in http_header_get_item()
53 STAILQ_FOREACH(item, header, next) { in http_header_get_item()
[all …]
/hal_espressif-3.4.0/components/ulp/
Dulp.c111 ulp_binary_header_t header; in ulp_load_binary() local
112 memcpy(&header, program_binary, sizeof(header)); in ulp_load_binary()
114 if (header.magic != ULP_BINARY_MAGIC_ESP32) { in ulp_load_binary()
118 size_t total_size = (size_t) header.text_offset + (size_t) header.text_size + in ulp_load_binary()
119 (size_t) header.data_size; in ulp_load_binary()
122 program_size_bytes, total_size, header.text_offset, in ulp_load_binary()
123 header.text_size, header.data_size, header.bss_size); in ulp_load_binary()
129 size_t text_data_size = header.text_size + header.data_size; in ulp_load_binary()
132 memcpy(base + load_addr_bytes, program_binary + header.text_offset, text_data_size); in ulp_load_binary()
133 memset(base + load_addr_bytes + text_data_size, 0, header.bss_size); in ulp_load_binary()
/hal_espressif-3.4.0/components/esp_http_client/lib/include/
Dhttp_header.h38 esp_err_t http_header_clean(http_header_handle_t header);
49 esp_err_t http_header_destroy(http_header_handle_t header);
63 esp_err_t http_header_set(http_header_handle_t header, const char *key, const char *value);
75 int http_header_set_format(http_header_handle_t header, const char *key, const char *format, ...);
89 esp_err_t http_header_get(http_header_handle_t header, const char *key, char **value);
102 int http_header_generate_string(http_header_handle_t header, int index, char *buffer, int *buffer_l…
114 esp_err_t http_header_delete(http_header_handle_t header, const char *key);
/hal_espressif-3.4.0/tools/ci/
Dcheck_public_headers.py161 def check_one_header(self, header, num): argument
162 res = self.preprocess_one_header(header, num)
166 return self.compile_one_header(header)
170 return self.compile_one_header(header)
174 self.compile_one_header(header)
177 …, _, _, temp_header = exec_cmd_to_temp_file(['sed', '/#include/d; /#error/d', header], suffix='.h')
187 def compile_one_header(self, header): argument
188 …rc, out, err = exec_cmd([self.gcc, '-S', '-o-', '-include', header, self.main_c] + self.include_di…
193 self.log('{}: FAILED: compilation issue'.format(header), True)
197 def preprocess_one_header(self, header, num, ignore_sdkconfig_issue=False): argument
[all …]
/hal_espressif-3.4.0/examples/protocols/asio/asio_chat/main/
Dchat_message.hpp68 char header[header_length + 1] = ""; in decode_header() local
69 std::strncat(header, data_, header_length); in decode_header()
70 body_length_ = std::atoi(header); in decode_header()
81 char header[header_length + 1] = ""; in encode_header() local
82 std::sprintf(header, "%4d", static_cast<int>(body_length_)); in encode_header()
83 std::memcpy(data_, header, header_length); in encode_header()
/hal_espressif-3.4.0/components/espcoredump/corefile/
Dloader.py139 self.header = None
183 … 'data' / Bytes(this.header.tot_len - self.header_struct.sizeof() - self.checksum_struct.sizeof()),
190 self.header = EspCoreDumpV2Header.parse(coredump_bytes)
220 … EspCoreDumpV2Header.build(self.core_src.header) + self.core_src.data) & 0xffffffff # type: ignore
227 EspCoreDumpV2Header.build(self.core_src.header) + self.core_src.data) # type: ignore
309 'tcb' / Bytes(self.header.tcbsz), # type: ignore
313 'mem_seg_headers' / MemSegmentHeader[self.core_src.header.segs_num] # type: ignore
335 … if self.target_methods.tcb_is_sane(task.task_header.tcb_addr, self.header.tcbsz): # type: ignore
344 … .format(self.header.tcbsz, task.task_header.tcb_addr, e)) # type: ignore
389 … Int32ul.build(self.header.ver)) # type: ignore
[all …]
/hal_espressif-3.4.0/examples/protocols/http_server/captive_portal/main/
Ddns_server.c103 dns_header_t *header = (dns_header_t *)dns_reply; in parse_dns_request() local
105 ntohs(header->id), ntohs(header->flags), ntohs(header->qd_count)); in parse_dns_request()
108 if ((header->flags & OPCODE_MASK) != 0) { in parse_dns_request()
113 header->flags |= QR_FLAG; in parse_dns_request()
115 uint16_t qd_count = ntohs(header->qd_count); in parse_dns_request()
116 header->an_count = htons(qd_count); in parse_dns_request()
/hal_espressif-3.4.0/examples/peripherals/lcd/lvgl/main/images/
Desp_logo.c412 .header.always_zero = 0,
413 .header.w = 96,
414 .header.h = 96,
416 .header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
Desp_text.c187 .header.always_zero = 0,
188 .header.w = 240,
189 .header.h = 40,
191 .header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA,
/hal_espressif-3.4.0/components/nvs_flash/src/
Dnvs_page.cpp34 Header header; in load() local
35 auto rc = mPartition->read_raw(mBaseAddress, &header, sizeof(header)); in load()
40 if (header.mState == PageState::UNINITIALIZED) { in load()
41 mState = header.mState; in load()
63 } else if (header.mCrc32 != header.calculateCrc32()) { in load()
64 header.mState = PageState::CORRUPT; in load()
66 mState = header.mState; in load()
67 mSeqNumber = header.mSeqNumber; in load()
68 if(header.mVersion < NVS_VERSION) { in load()
71 mVersion = header.mVersion; in load()
[all …]
/hal_espressif-3.4.0/components/esptool_py/esptool/docs/en/advanced-topics/
Dfirmware-image-format.rst10 …The firmware file consists of a header, a variable number of data segments and a footer. Multi-byt…
14 …The firmware file consists of a header, an extended header, a variable number of data segments and…
19 The image header is 8 bytes long:
68 Individual segments come right after this header.
75 …The 16-byte long extended header comes right after the image header, individual segments come righ…
92 …| 11-14 | Reserved bytes in additional header space, currently unused …
117 …If ``hash appended`` in the extended file header is ``0x01``, a SHA256 digest “simple hash” (of th…
/hal_espressif-3.4.0/docs/zh_CN/api-guides/esp-ble-mesh/
Dble-mesh-architecture.rst75 :header-rows: 1
102 :header-rows: 1
131 :header-rows: 1
171 :header-rows: 1
237 :header-rows: 1
259 :header-rows: 1
274 :header-rows: 1
292 :header-rows: 1
322 :header-rows: 1
371 :header-rows: 1
Dble-mesh-terminology.rst10 :header-rows: 1
42 :header-rows: 1
65 :header-rows: 1
88 :header-rows: 1
123 :header-rows: 1
146 :header-rows: 1
166 :header-rows: 1
182 :header-rows: 1
205 :header-rows: 1
/hal_espressif-3.4.0/components/hal/
DREADME.md7 `/include/hal` contains header files which provides a hardware-agnostic interface to the SoC. The i…
10 …actually two levels -- often somtimes `xxx_hal.h` includes a lower-level header from a `xxx_ll.h`,…
14 … strategy to use. Code usually reside in source files with same names to header files whose interf…
16 As mentioned previously, the lower-level abstraction header `xxx_ll.h` resides in this directory, s…
19 …fic HAL headers have the same name and include the abstraction layer HAL header via `include_next`…
/hal_espressif-3.4.0/examples/common_components/pcap/src/
Dpcap.c96 pcap_file_header_t header = { in pcap_write_header() local
105 size_t real_write = fwrite(&header, sizeof(header), 1, pcap->file); in pcap_write_header()
118 pcap_packet_header_t header = { in pcap_capture_packet() local
124 real_write = fwrite(&header, sizeof(header), 1, pcap->file); in pcap_capture_packet()
/hal_espressif-3.4.0/tools/test_idf_monitor/tests/
Driscv_panic1_out.txt14 …4096k) larger than the size in the binary image header(2048k). Using the size in the binary image
46 …4096k) larger than the size in the binary image header(2048k). Using the size in the binary image
78 …4096k) larger than the size in the binary image header(2048k). Using the size in the binary image
/hal_espressif-3.4.0/docs/en/api-reference/
Dtemplate.rst9 2. Change the file name to the name of the header file that represents documented API.
62 …eference documentation using :doc:`code markup retrieved by Doxygen from header files <../contribu…
64 …ld by invoking Sphinx extension :`esp_extensions/run_doxygen.py` for all header files listed in th…
66 …ement (other than a comment that begins with ``##``) contains a path to header file ``*.h`` that …
97 To provide a link to header file, use the `link custom role` directive as follows::
103 …doc:`Correct annotations <../contribute/documenting-code>` in respective header files, if required.
/hal_espressif-3.4.0/docs/zh_CN/api-guides/
Dblufi.rst84 :header-rows: 1
107 :header-rows: 1
131 :header-rows: 1
161 :header-rows: 1
239 :header-rows: 1
367 :header-rows: 1
/hal_espressif-3.4.0/docs/zh_CN/hw-reference/esp32/
Dget-started-wrover-kit.rst82 :header-rows: 1
142 :header-rows: 1
184 :header-rows: 1
251 * JTAG - :ref:`JTAG / JP2 <get-started-esp-wrover-kit-v4.1-jtag-header>`
253 * 摄像头 - :ref:`摄像头 / JP4 <get-started-esp-wrover-kit-v4.1-camera-header>`
277 .. _get-started-esp-wrover-kit-v4.1-spi-flash-header:
299 .. _get-started-esp-wrover-kit-v4.1-jtag-header:
315 .. _get-started-esp-wrover-kit-v4.1-camera-header:
/hal_espressif-3.4.0/docs/en/api-guides/
Dhardware-abstraction.rst29 … below it (i.e, driver depends on HAL, HAL depends on LL, LL depends on the register header files).
31header files described in the table below. Files that are **Target Specific** will have a separate…
39 :header-rows: 1
46 …- This header contains a list of C macros specifying the various capabilities of the {IDF_TARGET_N…
49 …ctively. Users can operate a peripheral at the register level via either of these two header files.
52 …o a particular pin of the {IDF_TARGET_NAME}, their mappings are defined in this header as C macros.
55 …- This header is mainly used as a convenience header file to automatically include ``xxx_caps.h``,…
58 …- This header contains type definitions and macros that are shared among the LL, HAL, and driver l…
64 …- This header contains the Low Level (LL) Layer of hardware abstraction. LL Layer API are primaril…
/hal_espressif-3.4.0/components/bootloader_support/src/
Desp_image_format.c77 static esp_err_t process_segment(int index, uint32_t flash_addr, esp_image_segment_header_t *header
484 esp_image_segment_header_t *header = &data->segments[i]; in process_segments() local
486 CHECK_ERR(process_segment(i, next_addr, header, silent, do_load, sha_handle, checksum)); in process_segments()
489 next_addr += header->data_len; in process_segments()
507 static esp_err_t process_segment(int index, uint32_t flash_addr, esp_image_segment_header_t *header in process_segment() argument
512 err = bootloader_flash_read(flash_addr, header, sizeof(esp_image_segment_header_t), true); in process_segment()
518 bootloader_sha256_data(sha_handle, header, sizeof(esp_image_segment_header_t)); in process_segment()
521 intptr_t load_addr = header->load_addr; in process_segment()
522 uint32_t data_len = header->data_len; in process_segment()
527 CHECK_ERR(verify_segment_header(index, header, data_addr, silent)); in process_segment()
Dbootloader_utility.c671 const esp_image_segment_header_t *header = &data->segments[i]; local
672 if (header->load_addr >= SOC_DROM_LOW && header->load_addr < SOC_DROM_HIGH) {
679 drom_load_addr = header->load_addr;
680 drom_size = header->data_len;
682 if (header->load_addr >= SOC_IROM_LOW && header->load_addr < SOC_IROM_HIGH) {
689 irom_load_addr = header->load_addr;
690 irom_size = header->data_len;
/hal_espressif-3.4.0/examples/build_system/cmake/import_prebuilt/prebuilt/components/prebuilt/
DCMakeLists.txt5 # After build, copy the archive file and header file to parent example directory's main component
10 COMMENT "Copying built archive file and header to parent example directory...")
/hal_espressif-3.4.0/docs/zh_CN/api-reference/peripherals/
Di2c.rst117 :header-rows: 1
132 :header-rows: 1
155 :header-rows: 1
174 :header-rows: 1
325 :header-rows: 1
/hal_espressif-3.4.0/docs/zh_CN/security/
Dflash-encryption.rst50 .. Comment: As text in cells of list-table header rows does not wrap, it is necessary to make 0 hea…
56 :header-rows: 0
85 :header-rows: 0
107 :header-rows: 0
499 invalid header: 0xb414f76b
500 invalid header: 0xb414f76b
501 invalid header: 0xb414f76b
502 invalid header: 0xb414f76b
503 invalid header: 0xb414f76b
504 invalid header: 0xb414f76b
[all …]

1234567891011