Lines Matching refs:npnProtocols
5558 * @param npnProtocols NPN protocols so that they may be advertised (by the
5562 bool setCallbackState(JNIEnv* e, jobject shc, jobject fd, jbyteArray npnProtocols) {
5570 if (npnProtocols != NULL) {
5571 npnProtocolsArray = npnProtocols;
5572 npnProtocolsLength = e->GetArrayLength(npnProtocols);
5573 npnProtocolsData = e->GetByteArrayElements(npnProtocols, NULL);
6787 unsigned char* npnProtocols = reinterpret_cast<unsigned char*>(appData->npnProtocolsData);
6789 JNI_TRACE("npn_protocols=%p, length=%d", npnProtocols, npnProtocolsLength);
6791 int status = SSL_select_next_proto(out, outlen, in, inlen, npnProtocols, npnProtocolsLength);
6814 unsigned char* npnProtocols = reinterpret_cast<unsigned char*>(appData->npnProtocolsData);
6815 if (npnProtocols != NULL) {
6816 *out = npnProtocols;
6868 jbyteArray npnProtocols)
6872 ssl, fdObject, shc, timeout_millis, client_mode, npnProtocols);
6941 if (!appData->setCallbackState(env, shc, fdObject, npnProtocols)) {