Searched refs:protolen (Results 1 – 3 of 3) sorted by relevance
/PHP-7.2/main/streams/ |
H A D | xp_socket.c | 878 PHPAPI php_stream *php_stream_generic_socket_factory(const char *proto, size_t protolen, in php_stream_generic_socket_factory() argument 889 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory() 891 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory() 895 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory() 897 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
|
H A D | php_stream_transport.h | 29 typedef php_stream *(php_stream_transport_factory_func)(const char *proto, size_t protolen,
|
/PHP-7.2/ext/openssl/ |
H A D | xp_ssl.c | 2611 php_stream *php_openssl_ssl_socket_factory(const char *proto, size_t protolen, in php_openssl_ssl_socket_factory() argument 2650 if (strncmp(proto, "ssl", protolen) == 0) { in php_openssl_ssl_socket_factory() 2653 } else if (strncmp(proto, "sslv2", protolen) == 0) { in php_openssl_ssl_socket_factory() 2657 } else if (strncmp(proto, "sslv3", protolen) == 0) { in php_openssl_ssl_socket_factory() 2667 } else if (strncmp(proto, "tls", protolen) == 0) { in php_openssl_ssl_socket_factory() 2670 } else if (strncmp(proto, "tlsv1.0", protolen) == 0) { in php_openssl_ssl_socket_factory() 2673 } else if (strncmp(proto, "tlsv1.1", protolen) == 0) { in php_openssl_ssl_socket_factory() 2683 } else if (strncmp(proto, "tlsv1.2", protolen) == 0) { in php_openssl_ssl_socket_factory()
|
Completed in 20 milliseconds