Lines Matching refs:end
1298 /* need the tag_len on the end for TinyDTLS to do its work - yuk */
1639 parse_hex_bin(const char *begin, const char *end) {
1643 if ((end - begin) % 2 != 0)
1645 binary = coap_new_binary((end - begin) / 2);
1648 for (i = 0; (i < (size_t)(end - begin)) && isxdigit((u_char)begin[i]) &&
1653 if (i != (size_t)(end - begin))
1674 const char *end;
1680 kend = end = memchr(begin, '\n', size);
1681 if (end == NULL)
1685 *start = end + 1;
1686 if (end > begin && end[-1] == '\r')
1687 end--;
1689 if (begin[0] == '#' || (end - begin) == 0) {
1697 split = memchr(begin, ',', end - begin);
1705 if ((end - begin) == 0)
1708 split = memchr(begin, ',', end - begin);
1725 if ((end - begin) == 0)
1729 split = memchr(&begin[1], '"', end - split - 1);
1732 end = split;
1738 coap_new_bin_const((const uint8_t *)begin, end - begin);
1742 value->u.value_bin = parse_hex_bin(begin, end);
1751 value->u.value_str.length = end - begin;
1754 if (memcmp("true", begin, end - begin) == 0)
1756 else if (memcmp("false", begin, end - begin) == 0)
1769 (int)(end - begin),
1839 const char *end = start + conf_mem.length;
1860 while (end > start &&
1861 get_split_entry(&start, end - start, &keyword, &value)) {