Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/hal_espressif-2.7.6/tools/test_apps/protocols/mqtt/publish_connect_test/main/
Dpublish_connect_test.c21 void connection_test(const char* line);
22 void publish_test(const char* line);
24 static void get_string(char *line, size_t size) in get_string() argument
30 line[count] = '\0'; in get_string()
33 line[count] = c; in get_string()
42 char line[256]; in app_main() local
65 get_string(line, sizeof(line)); in app_main()
66 if (memcmp(line, "conn", 4) == 0) { in app_main()
68 connection_test(line); in app_main()
69 get_string(line, sizeof(line)); in app_main()
[all …]
/hal_espressif-2.7.6/tools/test_apps/protocols/openssl/main/
Dmain.c20 void connection_test(char *line);
22 static void get_string(char *line, size_t size) in get_string() argument
28 line[count] = '\0'; in get_string()
31 line[count] = c; in get_string()
40 char line[256]; in app_main() local
63 get_string(line, sizeof(line)); in app_main()
64 if (memcmp(line, "conn", 4) == 0) { in app_main()
66 connection_test(line); in app_main()
67 get_string(line, sizeof(line)); in app_main()
/hal_espressif-2.7.6/examples/protocols/pppos_client/components/modem/src/
Dbg96.c27 static esp_err_t bg96_handle_csq(modem_dce_t *dce, const char *line) in bg96_handle_csq() argument
31 if (strstr(line, MODEM_RESULT_CODE_SUCCESS)) { in bg96_handle_csq()
33 } else if (strstr(line, MODEM_RESULT_CODE_ERROR)) { in bg96_handle_csq()
35 } else if (!strncmp(line, "+CSQ", strlen("+CSQ"))) { in bg96_handle_csq()
39 sscanf(line, "%*s%d,%d", csq[0], csq[1]); in bg96_handle_csq()
48 static esp_err_t bg96_handle_cbc(modem_dce_t *dce, const char *line) in bg96_handle_cbc() argument
52 if (strstr(line, MODEM_RESULT_CODE_SUCCESS)) { in bg96_handle_cbc()
54 } else if (strstr(line, MODEM_RESULT_CODE_ERROR)) { in bg96_handle_cbc()
56 } else if (!strncmp(line, "+CBC", strlen("+CBC"))) { in bg96_handle_cbc()
60 sscanf(line, "%*s%d,%d,%d", cbc[0], cbc[1], cbc[2]); in bg96_handle_cbc()
[all …]
Dsim800.c49 static esp_err_t sim800_handle_csq(modem_dce_t *dce, const char *line) in sim800_handle_csq() argument
53 if (strstr(line, MODEM_RESULT_CODE_SUCCESS)) { in sim800_handle_csq()
55 } else if (strstr(line, MODEM_RESULT_CODE_ERROR)) { in sim800_handle_csq()
57 } else if (!strncmp(line, "+CSQ", strlen("+CSQ"))) { in sim800_handle_csq()
61 sscanf(line, "%*s%d,%d", csq[0], csq[1]); in sim800_handle_csq()
70 static esp_err_t sim800_handle_cbc(modem_dce_t *dce, const char *line) in sim800_handle_cbc() argument
74 if (strstr(line, MODEM_RESULT_CODE_SUCCESS)) { in sim800_handle_cbc()
76 } else if (strstr(line, MODEM_RESULT_CODE_ERROR)) { in sim800_handle_cbc()
78 } else if (!strncmp(line, "+CBC", strlen("+CBC"))) { in sim800_handle_cbc()
82 sscanf(line, "%*s%d,%d,%d", cbc[0], cbc[1], cbc[2]); in sim800_handle_cbc()
[all …]
/hal_espressif-2.7.6/tools/
Dcheck_python_dependencies.py52 for line in f:
53 line = line.strip() variable
56 if line.startswith('file://'):
57 line = os.path.basename(line) variable
58 …if line.startswith('-e') and '#egg=' in line: # version control URLs, take the egg= part at the e…
59 line = re.search(r'#egg=([^\s]+)', line).group(1) variable
61 pkg_resources.require(line)
63 not_satisfied.append(line)
Dgen_esp_err_to_name.py122 def process(line, idf_path, include_as): argument
129 raise InputError(idf_path, 'This line should be in a header file: %s' % line)
131 words = re.split(r' +', line, 2)
135 raise InputError(idf_path, 'Error at line %s' % line)
137 line = ''
172 raise InputError(idf_path, 'Cannot parse line %s' % line)
270 for line in fin:
271 if re.match(r'@COMMENT@', line):
274 elif re.match(r'@HEADERS@', line):
278 elif re.match(r'@ERROR_ITEMS@', line):
[all …]
/hal_espressif-2.7.6/components/openssl/library/
Dssl_err.c23 uint32_t line; member
51 static uint32_t ERR_get_peek_error_internal(const char **file, int *line, bool peak) in ERR_get_peek_error_internal() argument
63 if (line) { in ERR_get_peek_error_internal()
64 *line = s_err_state.errors[new_bottom].line; 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
118 s_err_state.errors[s_err_state.top].line = line; in ERR_put_error()
/hal_espressif-2.7.6/tools/ci/
Dcheck_kconfigs.py92 def process_line(self, line, line_number): argument
93 m = re.search(r'^\s*source(\s*)"([^"]+)"', line)
97 line.replace('source', 'source '))
104line.replace(path, os.path.join(os.path.dirname(path), 'Kconfig.' + filename)))
111 def process_line(self, line, line_number): argument
112 suppress_errors = RE_NOERROR.search(line) is not None
115 m = rule[0].search(line)
119 e = InputError(self.path_in_idf, line_number, rule[1], line)
124 line = rule[0].sub(rule[2], line)
126 raise InputError(self.path_in_idf, line_number, '; '.join(errors), line)
[all …]
Dcheck_codeowners.py94 for line in f:
95 line = line.strip()
96 if not line or line.startswith('#'):
98 tokens = line.split()
129 for line_no, line in enumerate(f, start=1):
131 line = line.strip()
132 if line.startswith('# sort-order-reset'):
135 if not line or line.startswith('#'):
139 tokens = line.split()
Dcheck_build_warnings.py39 def line_has_warnings(line): # type: (str) -> bool argument
40 if not WARNING_REGEX.search(line):
45 if re.search(ignored, line):
75 build_items = [BuildItem.from_json(line) for line in args.build_list]
86 for line_no, line in enumerate(log_file):
87 if line_has_warnings(line):
89 logging.error(line.rstrip('\n'))
Dnormalize_clangtidy_path.py11 for line in open(file_path):
12 result = CLANG_TIDY_REGEX.match(line)
17 line = line.replace(path, rel_path)
18 fw.write(line)
/hal_espressif-2.7.6/tools/mass_mfg/
Dmfg_gen.py80 line = data.strip().split(',')
81 if line[1] not in valid_datatypes:
84 if 'namespace' not in line:
85 if line[2] not in valid_encodings:
100 line = data.strip().split(',')
101 if len(line) != 3 and line[0] not in keys_repeat:
261 line = None
274 line = read_from.readline()
275 if not isinstance(line, str):
276 line = line.encode('utf-8')
[all …]
/hal_espressif-2.7.6/docs/idf_extensions/
Drun_doxygen.py113 line = input_file.readline()
115 while line:
116 if line.find('INPUT') == 0:
118 line = input_file.readline()
121 line = input_file.readline()
123 while line:
124 if line.isspace():
128 if line.find('#') == -1:
130 m = re.search('components/(.*\.h)', line) # noqa: W605 - regular expression
139 line = input_file.readline()
[all …]
/hal_espressif-2.7.6/tools/kconfig/
Dconf.c45 static char line[PATH_MAX]; variable
92 line[0] = '\n'; in conf_askvalue()
93 line[1] = 0; in conf_askvalue()
97 line[0] = '\n'; in conf_askvalue()
98 line[1] = 0; in conf_askvalue()
113 xfgets(line, sizeof(line), stdin); in conf_askvalue()
130 printf("%s", line); in conf_askvalue()
147 switch (line[0]) { in conf_string()
152 if (line[1] == '\n') { in conf_string()
159 line[strlen(line)-1] = 0; in conf_string()
[all …]
Dstreamline_config.pl161 my $line;
179 $_ = $line . " " . $_;
184 $line = $_;
273 my ($line, %vars) = @_;
277 while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
289 $process .= $line;
297 my $line = "";
305 $line .= $1;
309 $line .= $_;
310 $_ = $line;
[all …]
/hal_espressif-2.7.6/docs/
Dsphinx-known-warnings.txt5 # `build_docs.py build` to remove formatting, paths and line numbers.
19 ulp.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_load_binary(uint32_t load_addr, const u…
20 ulp.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_run(uint32_t entry_point)
21 ulp.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_set_wakeup_period(size_t period_index, …
22 ulp-legacy.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_load_binary(uint32_t load_addr, …
23 ulp-legacy.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_run(uint32_t entry_point)
24 ulp-legacy.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_set_wakeup_period(size_t period_…
25 ulp-risc-v.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_set_wakeup_period(size_t period_…
26 README.rst:line: WARNING: Duplicate declaration, esp_err_t ulp_run(uint32_t entry_point)
30 esp_ble_mesh_defs.inc:line: WARNING: Duplicate declaration, uint16_t esp_ble_mesh_model::model_id
[all …]
/hal_espressif-2.7.6/components/esp_common/src/
Desp_err.c22 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
30 …esp_rom_printf("file: \"%s\" line %d\nfunc: %s\nexpression: %s\n", file, line, function, expressio… in esp_error_check_failed_print()
34 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
36 …esp_error_check_failed_print("ESP_ERROR_CHECK_WITHOUT_ABORT", rc, file, line, function, expression… in _esp_error_check_failed_without_abort()
39 void _esp_error_check_failed(esp_err_t rc, const char *file, int line, const char *function, const … in _esp_error_check_failed() argument
41 esp_error_check_failed_print("ESP_ERROR_CHECK", rc, file, line, function, expression); in _esp_error_check_failed()
/hal_espressif-2.7.6/examples/system/network_tests/main/
Dstdinout.c111 static size_t process_line(char* line, char* packet) in process_line() argument
116 for (i=0; i< strlen(line); i++) { in process_line()
117 char c = line[i]; in process_line()
132 if (i>0 && strlen(line)>0) { in process_line()
166 char* line = linenoise(""); in netsuite_io_get_packet() local
167 if (!line) { in netsuite_io_get_packet()
172 size = process_line(line, packet); in netsuite_io_get_packet()
178 linenoiseFree(line); in netsuite_io_get_packet()
/hal_espressif-2.7.6/
D.flake87 F402, # import module from line N shadowed by loop variable
26 F811, # redefinition of unused name from line N
27 F812, # list comprehension redefines name from line N
43 E121, # continuation line under-indented for hanging indent
44 E122, # continuation line missing indentation or outdented
45 E123, # closing bracket does not match indentation of opening bracket's line
47 E125, # continuation line with same indent as next logical line
48 E126, # continuation line over-indented for hanging indent
49 E127, # continuation line over-indented for visual indent
50 E128, # continuation line under-indented for visual indent
[all …]
/hal_espressif-2.7.6/components/mbedtls/port/
Dmbedtls_debug.c27 const char *file, int line,
62 const char *file, int line, in mbedtls_esp_debug() argument
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-2.7.6/examples/protocols/websocket/main/
Dwebsocket_example.c41 static void get_string(char *line, size_t size) in get_string() argument
47 line[count] = '\0'; in get_string()
50 line[count] = c; in get_string()
96 char line[128]; in websocket_app_start() local
99 get_string(line, sizeof(line)); in websocket_app_start()
101 websocket_cfg.uri = line; in websocket_app_start()
102 ESP_LOGI(TAG, "Endpoint uri: %s\n", line); in websocket_app_start()
/hal_espressif-2.7.6/tools/ci/python_packages/ttfw_idf/
Dunity_test_parser.py68 line=0, argument
83 self._line = line
92 def line(self): member in TestResult
219 line=test.line(),
274 line=int(test.group('line')),
305 line = next(line_iter)
307 prefix_match = _UNITY_FIXTURE_VERBOSE_PREFIX_REGEX.search(line)
308 line = next(line_iter)
318 while not _UNITY_FIXTURE_VERBOSE_PREFIX_REGEX.search(line):
320 prefix_match, line, found_test_stats
[all …]
/hal_espressif-2.7.6/components/bt/common/osi/
Dallocator.c35 int line; member
58 mem_dbg_info[i].line = 0; in osi_mem_dbg_init()
70 void osi_mem_dbg_record(void *p, int size, const char *func, int line) in osi_mem_dbg_record() argument
84 mem_dbg_info[i].line = line; in osi_mem_dbg_record()
91 OSI_TRACE_ERROR("%s full %s %d !!\n", __func__, func, line); in osi_mem_dbg_record()
108 void osi_mem_dbg_clean(void *p, const char *func, int line) in osi_mem_dbg_clean() argument
123 mem_dbg_info[i].line = 0; in osi_mem_dbg_clean()
130 OSI_TRACE_ERROR("%s full %s %d !!\n", __func__, func, line); in osi_mem_dbg_clean()
140 … %s, l %d\n", mem_dbg_info[i].p, mem_dbg_info[i].size, mem_dbg_info[i].func, mem_dbg_info[i].line); in osi_mem_dbg_show()
/hal_espressif-2.7.6/examples/storage/wear_levelling/main/
Dwear_levelling_example_main.c60 char line[128]; in app_main() local
61 fgets(line, sizeof(line), f); in app_main()
64 char *pos = strchr(line, '\n'); in app_main()
68 ESP_LOGI(TAG, "Read from file: '%s'", line); in app_main()
/hal_espressif-2.7.6/components/vfs/test/
Dtest_vfs_paths.c91 bool should_be_called, bool should_be_opened, int line) in test_open() argument
96 UNITY_TEST_ASSERT_EQUAL_INT(should_be_called, instance->called, line, in test_open()
100 UNITY_TEST_ASSERT(fd >= 0, line, "should be opened"); in test_open()
102 UNITY_TEST_ASSERT(fd < 0, line, "should not be opened"); in test_open()
109 bool should_be_called, bool should_be_opened, int line) in test_opendir() argument
113 UNITY_TEST_ASSERT_EQUAL_INT(should_be_called, instance->called, line, in test_opendir()
117 UNITY_TEST_ASSERT(dir != NULL, line, "should be opened"); in test_opendir()
119 UNITY_TEST_ASSERT(dir == 0, line, "should not be opened"); in test_opendir()
250 void test_vfs_register(const char* prefix, bool expect_success, int line) in test_vfs_register() argument
256 UNITY_TEST_ASSERT_EQUAL_INT(ESP_OK, err, line, "esp_vfs_register should succeed"); in test_vfs_register()
[all …]

12345678910>>...13