/php-src/win32/ |
H A D | sockets.c | 27 PHPAPI int socketpair_win32(int domain, int type, int protocol, SOCKET sock[2], int overlapped) in socketpair_win32() argument 40 sock[0] = socket(domain, type, protocol); in socketpair_win32() 62 sock[1] = socket(domain, type, protocol); in socketpair_win32() 64 sock[1] = WSASocket(domain, type, protocol, NULL, 0, 0); in socketpair_win32() 94 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument 96 return socketpair_win32(domain, type, protocol, sock, 1); in socketpair()
|
H A D | sockets.h | 25 PHPAPI int socketpair_win32(int domain, int type, int protocol, SOCKET sock[2], int overlapped); 26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
|
/php-src/ext/standard/tests/network/ |
H A D | fsockopen_variation1.phpt | 2 testing fsockopen without a protocol string 16 echo "\nCalling fsockopen() without a protocol in the hostname string:\n"; 22 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n"; 33 Calling fsockopen() without a protocol in the hostname string: 36 Calling fsockopen() with address and port in same string, without a protocol:
|
H A D | fsockopen_error.phpt | 16 echo "\n-- Attempting to connect using an invalid protocol --\n"; 36 -- Attempting to connect using an invalid protocol --
|
H A D | getprotobynumber_error.phpt | 11 // invalid protocol number
|
H A D | getprotobyname_error.phpt | 11 // invalid protocol name
|
H A D | bug20134.phpt | 11 * a connection-LESS protocol */
|
/php-src/ext/curl/tests/ |
H A D | gh16802.phpt | 24 Warning: curl_setopt(): The FILE protocol cannot be activated when an open_basedir is set in %s on … 26 Warning: curl_setopt(): The FILE protocol cannot be activated when an open_basedir is set in %s on … 28 Warning: curl_setopt(): The FILE protocol cannot be activated when an open_basedir is set in %s on … 30 Warning: curl_setopt(): The FILE protocol cannot be activated when an open_basedir is set in %s on …
|
H A D | curl_strerror_001.phpt | 15 string(20) "unsupported protocol"
|
H A D | curl_basic_009.phpt | 2 Test curl_error() & curl_errno() function with problematic protocol
|
/php-src/main/streams/ |
H A D | transports.c | 28 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory) in php_stream_xport_register() argument 30 zend_string *str = zend_string_init_interned(protocol, strlen(protocol), 1); in php_stream_xport_register() 37 PHPAPI int php_stream_xport_unregister(const char *protocol) in php_stream_xport_unregister() argument 39 return zend_hash_str_del(&xport_hash, protocol, strlen(protocol)); in php_stream_xport_unregister() 62 const char *p, *protocol, *orig_path = NULL; in _php_stream_xport_create() local 103 protocol = name; in _php_stream_xport_create() 107 protocol = "tcp"; in _php_stream_xport_create() 111 if (protocol) { in _php_stream_xport_create() 112 if (NULL == (factory = zend_hash_str_find_ptr(&xport_hash, protocol, n))) { in _php_stream_xport_create() 117 PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); in _php_stream_xport_create() [all …]
|
H A D | userspace.c | 464 zend_string *protocol; in PHP_FUNCTION() local 476 uwrap->protoname = estrndup(ZSTR_VAL(protocol), ZSTR_LEN(protocol)); in PHP_FUNCTION() 489 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol)) { in PHP_FUNCTION() 504 zend_string *protocol; in PHP_FUNCTION() local 506 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &protocol) == FAILURE) { in PHP_FUNCTION() 511 if (php_unregister_url_stream_wrapper_volatile(protocol) == FAILURE) { in PHP_FUNCTION() 531 zend_string *protocol; in PHP_FUNCTION() local 535 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &protocol) == FAILURE) { in PHP_FUNCTION() 540 if ((wrapper = zend_hash_find_ptr(global_wrapper_hash, protocol)) == NULL) { in PHP_FUNCTION() 552 php_unregister_url_stream_wrapper_volatile(protocol); in PHP_FUNCTION() [all …]
|
H A D | streams.c | 1896 protocol[i] != '+' && in php_stream_wrapper_scheme_validate() 1897 protocol[i] != '-' && in php_stream_wrapper_scheme_validate() 1898 protocol[i] != '.') { in php_stream_wrapper_scheme_validate() 1925 return zend_hash_str_del(&url_stream_wrappers_hash, protocol, strlen(protocol)); in php_unregister_url_stream_wrapper() 1938 if (php_stream_wrapper_scheme_validate(ZSTR_VAL(protocol), ZSTR_LEN(protocol)) == FAILURE) { in php_register_url_stream_wrapper_volatile() 1964 const char *p, *protocol = NULL; local 1980 protocol = path; 1983 if (protocol) { 1999 protocol = NULL; 2005 if (!protocol || !strncasecmp(protocol, "file", n)) { [all …]
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_subclass.phpt | 19 $this->protocol(); 24 $this->protocol(); 29 $this->protocol(); 35 // $this->protocol(); 38 private function protocol() {
|
H A D | bug70066.phpt | 19 // USE is not supported in the prepared statement protocol,
|
/php-src/ext/openssl/tests/ |
H A D | session_meta_capture.phpt | 47 var_dump(stream_get_meta_data($stream)['crypto']['protocol']); 51 var_dump(stream_get_meta_data($stream)['crypto']['protocol']); 55 var_dump(stream_get_meta_data($stream)['crypto']['protocol']);
|
/php-src/ext/mysqlnd/ |
H A D | config9.m4 | 23 [whether to enable compressed protocol support in mysqlnd], 25 [Disable support for the MySQL compressed protocol in mysqlnd])], 34 [Define to 1 if mysqlnd has compressed protocol support.])])])
|
H A D | mysqlnd_ext_plugin.h | 96 } protocol; member 147 #define mysqlnd_protocol_get_methods() mysqlnd_plugin_methods_xetters.protocol.get() 148 #define mysqlnd_protocol_set_methods(m) mysqlnd_plugin_methods_xetters.protocol.set((m))
|
/php-src/ext/sockets/tests/ |
H A D | bug_export_stream_type.phpt | 2 Bug - socket_export_stream() with wrong protocol
|
/php-src/ext/snmp/tests/ |
H A D | snmp-object-setSecurity_error.phpt | 64 Authentication protocol must be %s 71 Security protocol must be one of "DES", "AES128", or "AES" 72 Security protocol must be one of "DES", "AES128", or "AES"
|
/php-src/ext/mysqli/tests/ |
H A D | gh15432.phpt | 30 // Textual protocol 39 // Binary protocol
|
/php-src/ext/ldap/tests/ |
H A D | ldap_set_option_tls_protocol_min_basic.phpt | 2 ldap_set_option() - Basic test for TLS protocol min ldap option
|
H A D | ldap_set_option_tls_protocol_max_basic.phpt | 2 ldap_set_option() - Basic test for TLS protocol max ldap option
|
H A D | ldap_set_option_tls_protocol_max_basic_tls13.phpt | 2 ldap_set_option() - Basic test for TLS protocol max ldap option
|
/php-src/ext/libxml/tests/ |
H A D | bug54440.phpt | 25 or die("Failed to register protocol");
|