Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 3 of 3) sorted by relevance

/modules/openthread/
A Dshell.c46 size_t buf_len = OT_SHELL_BUFFER_SIZE; in ot_cmd() local
56 buf_len -= arg_len + 1; in ot_cmd()
57 if (buf_len) { in ot_cmd()
63 arg_len = snprintk(buf_ptr, buf_len, "%s", argv[i]); in ot_cmd()
65 if (arg_len >= buf_len) { in ot_cmd()
73 buf_len -= arg_len; in ot_cmd()
A Dopenthread_utils.c21 int bytes_from_str(uint8_t *buf, int buf_len, const char *src) in bytes_from_str() argument
37 (void)memset(buf, 0, buf_len); in bytes_from_str()
39 for (i = 0U; i < (size_t)buf_len; i++) { in bytes_from_str()
/modules/openthread/include/
A Dopenthread_utils.h29 int bytes_from_str(uint8_t *buf, int buf_len, const char *src);

Completed in 11 milliseconds