Lines Matching refs:outlen
36 unsigned char outlen;
38 CU_ASSERT(1 == nghttp2_select_next_protocol(&out, &outlen, p, sizeof(p)));
39 CU_ASSERT(NGHTTP2_PROTO_VERSION_ID_LEN == outlen);
40 CU_ASSERT(memcmp(NGHTTP2_PROTO_VERSION_ID, out, outlen) == 0);
48 unsigned char outlen;
51 nghttp2_select_next_protocol(&out, &outlen, spdy, sizeof(spdy)));
52 CU_ASSERT(8 == outlen);
53 CU_ASSERT(memcmp("http/1.1", out, outlen) == 0);
61 unsigned char outlen = 0;
64 nghttp2_select_next_protocol(&out, &outlen, spdy, sizeof(spdy)));
65 CU_ASSERT(0 == outlen);