Searched refs:seg (Results 1 – 3 of 3) sorted by relevance
203 decode_segment(const unsigned char *seg, size_t length, unsigned char *buf) { in decode_segment() argument207 if (*seg == '%') { in decode_segment()208 *buf = (hexchar_to_dec(seg[1]) << 4) + hexchar_to_dec(seg[2]); in decode_segment()210 seg += 2; length -= 2; in decode_segment()212 *buf = *seg; in decode_segment()215 ++buf; ++seg; in decode_segment()
854 decode_segment(const unsigned char *seg, size_t length, unsigned char *buf) { in decode_segment() argument858 if (*seg == '%') { in decode_segment()859 *buf = (hexchar_to_dec(seg[1]) << 4) + hexchar_to_dec(seg[2]); in decode_segment()861 seg += 2; length -= 2; in decode_segment()863 *buf = *seg; in decode_segment()866 ++buf; ++seg; in decode_segment()
279 RES(seg, "seg1/seg2/seg3");