Lines Matching refs:delimiter
438 char delimiter) { in hex_encode_with_delimiter() argument
447 size_t needed = delimiter ? (srclen * 3) : (srclen * 2 + 1); in hex_encode_with_delimiter()
458 if (delimiter && (srcpos < srclen)) { in hex_encode_with_delimiter()
459 buffer[bufpos] = delimiter; in hex_encode_with_delimiter()
478 char delimiter) { in hex_encode_with_delimiter() argument
482 source, srclen, delimiter); in hex_encode_with_delimiter()
494 char delimiter) { in hex_decode_with_delimiter() argument
502 size_t needed = (delimiter) ? (srclen + 1) / 3 : srclen / 2; in hex_decode_with_delimiter()
521 if (delimiter && (srclen - srcpos) > 1) { in hex_decode_with_delimiter()
522 if (source[srcpos] != delimiter) in hex_decode_with_delimiter()
535 const std::string& source, char delimiter) { in hex_decode_with_delimiter() argument
537 source.c_str(), source.length(), delimiter); in hex_decode_with_delimiter()
557 size_t tokenize(const std::string& source, char delimiter, in tokenize() argument
562 if (source[i] == delimiter) { in tokenize()
576 char delimiter, in tokenize_with_empty_tokens() argument
581 if (source[i] == delimiter) { in tokenize_with_empty_tokens()
590 size_t tokenize_append(const std::string& source, char delimiter, in tokenize_append() argument
595 tokenize(source, delimiter, &new_fields); in tokenize_append()
600 size_t tokenize(const std::string& source, char delimiter, char start_mark, in tokenize() argument
620 tokenize_append(pre_mark, delimiter, fields); in tokenize()
625 return tokenize_append(remain_source, delimiter, fields); in tokenize()
629 const char delimiter, in tokenize_first() argument
633 size_t left_pos = source.find(delimiter); in tokenize_first()
640 while (source[right_pos] == delimiter) { in tokenize_first()
649 size_t split(const std::string& source, char delimiter, in split() argument
655 if (source[i] == delimiter) { in split()