Home
last modified time | relevance | path

Searched refs:overlong (Results 1 – 2 of 2) sorted by relevance

/unit/src/test/
H A Dnxt_utf8_test.c43 nxt_utf8_overlong(nxt_thread_t *thr, u_char *overlong, size_t len) in nxt_utf8_overlong() argument
51 pp = overlong; in nxt_utf8_overlong()
53 d = nxt_utf8_decode(&pp, overlong + len); in nxt_utf8_overlong()
55 len = pp - overlong; in nxt_utf8_overlong()
62 if (len != size || nxt_memcmp(overlong, utf8, size) != 0) { in nxt_utf8_overlong()
66 u = (u << 8) + overlong[i]; in nxt_utf8_overlong()
/unit/src/
H A Dnxt_utf8.c99 uint32_t u, overlong; in nxt_utf8_decode2() local
118 overlong = 0x00FFFF; in nxt_utf8_decode2()
123 overlong = 0x07FF; in nxt_utf8_decode2()
132 overlong = 0x007F; in nxt_utf8_decode2()
161 if (overlong < u && u < 0x110000) { in nxt_utf8_decode2()