Lines Matching refs:kChunkLen
2878 static const int kChunkLen = 5; // The length of "hello". in TEST_P() local
2881 int ret = SSL_write(client_.get(), data, kChunkLen); in TEST_P()
2894 SSL_get_error(client_.get(), SSL_write(client_.get(), data, kChunkLen)), in TEST_P()
2899 SSL_write(client_.get(), data, kChunkLen - 1)), in TEST_P()
2906 SSL_write(client_.get(), data2, kChunkLen)), in TEST_P()
2913 SSL_write(client_.get(), data2, kChunkLen)), in TEST_P()
2918 SSL_write(client_.get(), data2, kChunkLen - 1)), in TEST_P()
2924 SSL_write(client_.get(), data, kChunkLen + 1)), in TEST_P()
2930 ASSERT_EQ(SSL_read(server_.get(), buf, sizeof(buf)), kChunkLen); in TEST_P()
2931 ASSERT_EQ(OPENSSL_memcmp(buf, "hello", kChunkLen), 0); in TEST_P()
2940 ASSERT_EQ(SSL_write(client_.get(), data3, kChunkLen + 1), kChunkLen); in TEST_P()
2941 ASSERT_EQ(SSL_write(client_.get(), data3 + kChunkLen, 1), 1); in TEST_P()
2943 ASSERT_EQ(SSL_write(client_.get(), data3, kChunkLen + 1), kChunkLen + 1); in TEST_P()
2948 ASSERT_EQ(SSL_read(server_.get(), buf, sizeof(buf)), kChunkLen); in TEST_P()
2949 ASSERT_EQ(OPENSSL_memcmp(buf, "hello", kChunkLen), 0); in TEST_P()