Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 868) sorted by relevance

12345678910>>...35

/hal_espressif-3.5.0/tools/kconfig/
Dutil.c16 struct file *file_lookup(const char *name, bool relative) in file_lookup()
18 struct file *file; in file_lookup() local
34 for (file = file_list; file; file = file->next) { in file_lookup()
35 if (!strcmp(name, file->name)) { in file_lookup()
37 return file; in file_lookup()
41 file = xmalloc(sizeof(*file)); in file_lookup()
42 memset(file, 0, sizeof(*file)); in file_lookup()
43 file->name = file_name; in file_lookup()
44 file->next = file_list; in file_lookup()
45 file_list = file; in file_lookup()
[all …]
Dkxgettext.c65 const char *file; member
69 static struct file_line *file_line__new(const char *file, int lineno) in file_line__new() argument
76 self->file = file; in file_line__new()
93 const char *file, int lineno) in message__new() argument
100 self->files = file_line__new(file, lineno); in message__new()
133 static int message__add_file_line(struct message *self, const char *file, in message__add_file_line() argument
137 struct file_line *fl = file_line__new(file, lineno); in message__add_file_line()
149 static int message__add(const char *msg, char *option, const char *file, in message__add() argument
158 rc = message__add_file_line(m, file, lineno); in message__add()
160 m = message__new(escaped, option, file, lineno); in message__add()
[all …]
/hal_espressif-3.5.0/components/app_trace/
Dhost_file_io.c48 void *file; member
55 void * file; member
61 void * file; member
68 void * file; member
73 void *file; member
170 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fclose_args_prepare()
177 cmd_args.file = stream; in esp_apptrace_fclose()
200 memcpy(buf, &args->file, sizeof(args->file)); in esp_apptrace_fwrite_args_prepare()
201 memcpy(buf + sizeof(args->file), args->buf, args->size); in esp_apptrace_fwrite_args_prepare()
216 cmd_args.file = stream; in esp_apptrace_fwrite()
[all …]
/hal_espressif-3.5.0/components/openssl/library/
Dssl_err.c19 const char *file; member
51 static uint32_t ERR_get_peek_error_internal(const char **file, int *line, bool peak) in ERR_get_peek_error_internal() argument
60 if (file) { in ERR_get_peek_error_internal()
61 *file = s_err_state.errors[new_bottom].file; in ERR_get_peek_error_internal()
93 uint32_t ERR_peek_error_line_data(const char **file, int *line, const char **data, int *flags) in ERR_peek_error_line_data() argument
95 return ERR_get_peek_error_internal(file, line, true); in ERR_peek_error_line_data()
98 uint32_t ERR_get_error_line_data(const char **file, int *line, const char **data, int *flags) in ERR_get_error_line_data() argument
100 return ERR_get_peek_error_internal(file, line, false); in ERR_get_error_line_data()
108 void ERR_put_error(int library, int unused, int reason, const char *file, unsigned line) in ERR_put_error() argument
117 s_err_state.errors[s_err_state.top].file = file; in ERR_put_error()
/hal_espressif-3.5.0/components/wifi_provisioning/python/
Dwifi_scan_pb2.py35 file=DESCRIPTOR,
83 file=DESCRIPTOR,
92 serialized_options=None, file=DESCRIPTOR),
99 serialized_options=None, file=DESCRIPTOR),
106 serialized_options=None, file=DESCRIPTOR),
113 serialized_options=None, file=DESCRIPTOR),
135 file=DESCRIPTOR,
159 file=DESCRIPTOR,
183 file=DESCRIPTOR,
192 serialized_options=None, file=DESCRIPTOR),
[all …]
Dwifi_config_pb2.py34 file=DESCRIPTOR,
82 file=DESCRIPTOR,
106 file=DESCRIPTOR,
115 options=None, file=DESCRIPTOR),
122 options=None, file=DESCRIPTOR),
129 options=None, file=DESCRIPTOR),
136 options=None, file=DESCRIPTOR),
161 file=DESCRIPTOR,
170 options=None, file=DESCRIPTOR),
177 options=None, file=DESCRIPTOR),
[all …]
/hal_espressif-3.5.0/components/esp_local_ctrl/python/
Desp_local_ctrl_pb2.py34 file=DESCRIPTOR,
82 file=DESCRIPTOR,
106 file=DESCRIPTOR,
115 serialized_options=None, file=DESCRIPTOR),
122 serialized_options=None, file=DESCRIPTOR),
144 file=DESCRIPTOR,
153 serialized_options=None, file=DESCRIPTOR),
160 serialized_options=None, file=DESCRIPTOR),
167 serialized_options=None, file=DESCRIPTOR),
174 serialized_options=None, file=DESCRIPTOR),
[all …]
/hal_espressif-3.5.0/components/nvs_flash/nvs_partition_generator/
DREADME.rst9 …or/nvs_partition_gen.py` creates a binary file based on key-value pairs provided in a CSV file. Th…
19 CSV file format
22 Each line of a .csv file should contain 4 parameters, separated by a comma. The table below provide…
30 | 2 | Type | Supported values are ``file``, ``data`` and ``namespace``. | …
32 …re: ``u8``, ``i8``, ``u16``, ``i16``, ``u32``, | As of now, for the ``file`` type, …
36 | | | resulting binary file. The difference between the ``string`` | …
46 … the CSV file should be the column header and it is not configurable. Comments (if provided) are a…
48 Below is an example dump of such a CSV file::
53 key2,file,string,/path/to/file
59 - at the end of each line in a CSV file
[all …]
Dsample_multipage_blob.csv1 # Sample csv file
12 hexFileKey,file,hex2bin,testdata/sample.hex
13 base64FileKey,file,base64,testdata/sample.base64
14 stringFileKey,file,string,testdata/sample.txt
15 blobFileAKey,file,binary,testdata/sample_blob.bin
16 blobFileBKey,file,binary,testdata/sample_blob.bin
17 binFileKey,file,binary,testdata/sample_multipage_blob.bin
Dsample_singlepage_blob.csv1 # Sample csv file
12 hexFileKey,file,hex2bin,testdata/sample.hex
13 base64FileKey,file,base64,testdata/sample.base64
14 stringFileKey,file,string,testdata/sample.txt
15 blobFileAKey,file,binary,testdata/sample_blob.bin
16 blobFileBKey,file,binary,testdata/sample_blob.bin
17 binFileKey,file,binary,testdata/sample_singlepage_blob.bin
/hal_espressif-3.5.0/components/fatfs/vfs/
Dvfs_fat.c321 FIL* file = &fat_ctx->files[fd]; in vfs_fat_open() local
327 f_close(file); in vfs_fat_open()
335 file->cltbl = clmt_mem; in vfs_fat_open()
336 file->cltbl[0] = CONFIG_FATFS_FAST_SEEK_BUFFER_SIZE; in vfs_fat_open()
337 res = f_lseek(file, CREATE_LINKMAP); in vfs_fat_open()
345 ff_memfree(file->cltbl); in vfs_fat_open()
346 file->cltbl = NULL; in vfs_fat_open()
349 file->cltbl = NULL; in vfs_fat_open()
367 FIL* file = &fat_ctx->files[fd]; in vfs_fat_write() local
370 if ((res = f_lseek(file, f_size(file))) != FR_OK) { in vfs_fat_write()
[all …]
/hal_espressif-3.5.0/examples/protocols/http_server/file_serving/
DREADME.md6 (See the README.md file in the upper level 'examples' directory for more information about examples…
10 HTTP file server example demonstrates file serving with both upload and download capability, using …
17 |`/<file path>` | GET | For downloading files stored on SPIFFS …
18 |`/upload/<file path>` | POST | For uploading files on to SPIFFS. Files are sent as body of HTTP…
19 |`/delete/<file path>` | POST | Command for deleting a file from SPIFFS …
21file storage. `main/upload_script.html` has some HTML, JavaScript and Ajax content used for file u…
33 * In order to test the file server demo :
38 2. use the file upload form on the webpage to select and upload a file to the server
39 3. click a file link to download / open the file on browser (if supported)
40 4. click the delete link visible next to each file entry to delete them
[all …]
/hal_espressif-3.5.0/tools/mass_mfg/docs/
DREADME.rst33 …- You have installed the packages from `requirement.txt`, the file in the root of the esp-idf dire…
42 A [label = "CSV Configuration file"];
43 B [label = "Master Value CSV file"];
53 This file contains the configuration of the device to be flashed.
55 The data in the configuration file has the following format (the `REPEAT` tag is optional)::
64 .. note:: The first line in this file should always be the ``namespace`` entry.
67 If the ``REPEAT`` tag is present, the value corresponding to this key in the master value CSV file
71 Below is a sample example of such a configuration file::
84 - at the end of each line in a CSV file
90 This file contains details of the devices to be flashed. Each line in this file corresponds to a de…
[all …]
/hal_espressif-3.5.0/examples/common_components/pcap/src/
Dpcap.c51 FILE *file; /*!< File handle */ member
67 pcap->file = config->fp; in pcap_new_session()
84 if (pcap->file) { in pcap_del_session()
85 fclose(pcap->file); in pcap_del_session()
86 pcap->file = NULL; in pcap_del_session()
105 size_t real_write = fwrite(&header, sizeof(header), 1, pcap->file); in pcap_write_header()
110 fflush(pcap->file); in pcap_write_header()
124 real_write = fwrite(&header, sizeof(header), 1, pcap->file); in pcap_capture_packet()
126 real_write = fwrite(payload, sizeof(uint8_t), length, pcap->file); in pcap_capture_packet()
129 fflush(pcap->file); in pcap_capture_packet()
[all …]
/hal_espressif-3.5.0/components/mbedtls/port/
Dmbedtls_debug.c27 const char *file, int line,
62 const char *file, int line, in mbedtls_esp_debug() argument
72 file_sep = rindex(file, '/'); in mbedtls_esp_debug()
74 file = file_sep+1; in mbedtls_esp_debug()
78 ESP_LOGW(TAG, "%s:%d %s", file, line, str); in mbedtls_esp_debug()
81 ESP_LOGI(TAG, "%s:%d %s", file, line, str); in mbedtls_esp_debug()
84 ESP_LOGD(TAG, "%s:%d %s", file, line, str); in mbedtls_esp_debug()
87 ESP_LOGV(TAG, "%s:%d %s", file, line, str); in mbedtls_esp_debug()
/hal_espressif-3.5.0/examples/network/simple_sniffer/
DREADME.md3 (See the README.md file in the upper level 'examples' directory for more information about examples…
7 …ckets into SD card with pcap format. There is also an option to send pcap file to host via JTAG in…
29 - Select where to save the pcap file in `Select destination to store pcap file` menu item.
34 - Set max name length of pcap file in `Max name length of pcap file` menu item.
82 > pcap -f <file> [--open] [--close] [--summary]
83 > Save and parse pcap file
84 > -f, --file=<file> name of the file storing the packets in pcap format
85 > --open open .pcap file
86 > --close close .pcap file
87 > --summary option to parse and show the summary of .pcap file
[all …]
/hal_espressif-3.5.0/components/protocomm/python/
Dsec1_pb2.py33 file=DESCRIPTOR,
71 file=DESCRIPTOR,
80 options=None, file=DESCRIPTOR),
102 file=DESCRIPTOR,
111 options=None, file=DESCRIPTOR),
118 options=None, file=DESCRIPTOR),
140 file=DESCRIPTOR,
149 options=None, file=DESCRIPTOR),
171 file=DESCRIPTOR,
180 options=None, file=DESCRIPTOR),
[all …]
/hal_espressif-3.5.0/tools/ci/
Dcheck_readme_links.py40 def __init__(self, file, url): argument
41 self.file = file
47 … return 'Relative link error, file - {} not found, linked from {}'.format(self.url, self.file)
51 def __init__(self, file, url, error_code): argument
53 super().__init__(file, url)
56 files = [str(f) for f in self.file]
92 link_path = link.file.parent / link.url
95 errors.append(RelativeLinkError(link.file, link.url))
137 web_links[link.url].append(link.file)
/hal_espressif-3.5.0/tools/
Dgen_esp_err_to_name.py74 def __init__(self, name, file, include_as=None, comment='', rel_str='', rel_off=0): argument
76 self.file = file
83 ret = self.name + ' from ' + self.file
91 if self.file in priority_headers and other.file not in priority_headers:
93 elif self.file not in priority_headers and other.file in priority_headers:
98 if self.file == other.file:
104 self_key = self.file + self.name
105 other_key = other.file + other.name
198 err_dict[num].append(ErrItem(item.name, item.file, item.include_as, item.comment))
201 print(item.rel_str + ' referenced by ' + item.name + ' in ' + item.file + ' is unknown')
[all …]
/hal_espressif-3.5.0/tools/mass_mfg/samples/
Dsample_config.csv10 hexFileKey,file,hex2bin
11 base64FileKey,file,base64
12 stringFileKey,file,string
13 blobFileAKey,file,binary
14 blobFileBKey,file,binary
15 binFileKey,file,binary
/hal_espressif-3.5.0/examples/storage/spiffs/
DREADME.md3 (See the README.md file in the upper level 'examples' directory for more information about examples…
11 2. Create a file using `fopen` and write to it using `fprintf`.
12 3. Rename the file. Before renaming, check if destination file already exists using `stat` function…
13 4. Open renamed file for reading, read back the line, and print it to the terminal.
15 SPIFFS partition size is set in partitions_example.csv file. See [Partition Tables](https://docs.es…
43 I (19414) example: Opening file
45 I (19544) example: Renaming file
46 I (19584) example: Reading file
47 I (19584) example: Read from file: 'Hello World!'
/hal_espressif-3.5.0/components/esp_system/
Desp_err.c23 static void esp_error_check_failed_print(const char *msg, esp_err_t rc, const char *file, int line,… in esp_error_check_failed_print() argument
31 …esp_rom_printf("file: \"%s\" line %d\nfunc: %s\nexpression: %s\n", file, line, function, expressio… in esp_error_check_failed_print()
35 void _esp_error_check_failed_without_abort(esp_err_t rc, const char *file, int line, const char *fu… in _esp_error_check_failed_without_abort() argument
37 …esp_error_check_failed_print("ESP_ERROR_CHECK_WITHOUT_ABORT", rc, file, line, function, expression… in _esp_error_check_failed_without_abort()
40 void _esp_error_check_failed(esp_err_t rc, const char *file, int line, const char *function, const … in _esp_error_check_failed() argument
42 esp_error_check_failed_print("ESP_ERROR_CHECK", rc, file, line, function, expression); in _esp_error_check_failed()
/hal_espressif-3.5.0/docs/en/api-reference/bluetooth/
Desp-ble-mesh.rst37 This section contains only one header file, which lists the following items of ESP-BLE-MESH.
45 .. include-build-file:: inc/esp_ble_mesh_defs.inc
67 .. include-build-file:: inc/esp_ble_mesh_common_api.inc
73 .. include-build-file:: inc/esp_ble_mesh_local_data_operation_api.inc
79 .. include-build-file:: inc/esp_ble_mesh_low_power_api.inc
85 .. include-build-file:: inc/esp_ble_mesh_networking_api.inc
91 .. include-build-file:: inc/esp_ble_mesh_provisioning_api.inc
97 .. include-build-file:: inc/esp_ble_mesh_proxy_api.inc
123 .. include-build-file:: inc/esp_ble_mesh_config_model_api.inc
129 .. include-build-file:: inc/esp_ble_mesh_health_model_api.inc
[all …]
/hal_espressif-3.5.0/components/fatfs/test/
Dtest_fatfs_spiflash.c189 const char* file = "/spiflash/256k.bin"; variable
191 test_fatfs_rw_speed(file, buf, 4 * 1024, file_size, true);
192 test_fatfs_rw_speed(file, buf, 8 * 1024, file_size, true);
193 test_fatfs_rw_speed(file, buf, 16 * 1024, file_size, true);
195 test_fatfs_rw_speed(file, buf, 4 * 1024, file_size, false);
196 test_fatfs_rw_speed(file, buf, 8 * 1024, file_size, false);
197 test_fatfs_rw_speed(file, buf, 16 * 1024, file_size, false);
199 unlink(file);
/hal_espressif-3.5.0/examples/peripherals/usb/host/msc/components/msc/test/
Dtest_msc.c140 FILE *file = fopen(file_path, "r"); in check_file_content() local
141 TEST_ASSERT(file != NULL) in check_file_content()
144 fread(content, 1, sizeof(content), file); in check_file_content()
146 fclose(file); in check_file_content()
155 FILE *file = fopen("/usb/test.txt", "w"); in check_sudden_disconnect() local
156 TEST_ASSERT( file != NULL); in check_sudden_disconnect()
159 TEST_ASSERT( fwrite(data, 1, DATA_SIZE, file) == DATA_SIZE ); in check_sudden_disconnect()
160 TEST_ASSERT( fwrite(data, 1, DATA_SIZE, file) == DATA_SIZE ); in check_sudden_disconnect()
161 TEST_ASSERT( fflush(file) == 0 ); in check_sudden_disconnect()
173 TEST_ASSERT( fwrite(data, 1, DATA_SIZE, file) != DATA_SIZE ); in check_sudden_disconnect()
[all …]

12345678910>>...35