Lines Matching defs:src
984 * Converts the sequence of hex digits in src to a sequence of bytes.
989 * param[in] src The null-terminated hex string to convert.
995 convert_hex_string(const char *src, uint8_t *dst) {
997 while (isxdigit((int)src[0]) && isxdigit((int)src[1])) {
998 *p++ = (hex2char(src[0]) << 4) + hex2char(src[1]);
999 src += 2;
1001 if (src[0] != '\0') { /* error in hex input */
1002 coap_log_warn("invalid hex string in option '%s'\n", src);