Home
last modified time | relevance | path

Searched refs:PRINT_BUF_LEN (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_m/components/net/lwip-2.1/porting/src/
H A Dapi_shell.c71 #define PRINT_BUF_LEN 1024 macro
85 char cb_print_buf[PRINT_BUF_LEN];
183 ret = snprintf_s(ifconfig_cmd->cb_print_buf, PRINT_BUF_LEN - ifconfig_cmd->print_len, in lwip_ifconfig_show_internal()
184 ((PRINT_BUF_LEN - ifconfig_cmd->print_len) - 1), "Device not init\n"); in lwip_ifconfig_show_internal()
185 if ((ret > 0) && ((unsigned int)ret < (PRINT_BUF_LEN - ifconfig_cmd->print_len))) { in lwip_ifconfig_show_internal()
196 PRINT_BUF_LEN - ifconfig_cmd->print_len); in lwip_ifconfig_show_internal()
203 (PRINT_BUF_LEN - ifconfig_cmd->print_len), in lwip_ifconfig_show_internal()
204 ((PRINT_BUF_LEN - ifconfig_cmd->print_len) - 1), "Device not found\n"); in lwip_ifconfig_show_internal()
205 if ((ret > 0) && ((unsigned int)ret < (PRINT_BUF_LEN - ifconfig_cmd->print_len))) { in lwip_ifconfig_show_internal()
214 PRINT_BUF_LEN in lwip_ifconfig_show_internal()
[all...]
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c207 #define PRINT_BUF_LEN 1024 macro
230 PRINT_BUF_LEN - ifconfig_cmd->print_len, \
231 ((PRINT_BUF_LEN - ifconfig_cmd->print_len) - 1), (str)); \
232 if (((ret) > 0) && ((unsigned int)(ret) < (PRINT_BUF_LEN - ifconfig_cmd->print_len))) \
249 char cb_print_buf[PRINT_BUF_LEN];
447 ret = snprintf_s(ifconfig_cmd->cb_print_buf, PRINT_BUF_LEN - ifconfig_cmd->print_len,
448 ((PRINT_BUF_LEN - ifconfig_cmd->print_len) - 1), "Device not init\n");
449 if ((ret > 0) && ((unsigned int)ret < (PRINT_BUF_LEN - ifconfig_cmd->print_len))) {
464 PRINT_BUF_LEN - ifconfig_cmd->print_len);
471 (PRINT_BUF_LEN
[all...]

Completed in 3 milliseconds