Searched refs:escaped_len (Results 1 – 1 of 1) sorted by relevance
833 size_t escaped_len = len; in json_calc_escaped_len() local838 escaped_len++; in json_calc_escaped_len()842 return escaped_len; in json_calc_escaped_len()849 size_t escaped_len = json_calc_escaped_len(str, *len); in json_escape() local851 if (escaped_len == *len) { in json_escape()858 if (escaped_len >= buf_size) { in json_escape()868 str[escaped_len] = '\0'; in json_escape()869 for (next = &str[*len], dest = &str[escaped_len]; next != str;) { in json_escape()880 *len = escaped_len; in json_escape()