/PHP-5.5/win32/ |
H A D | sockets.c | 31 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument 45 sock[0] = socket(domain, type, protocol); in socketpair() 66 sock[1] = socket(domain, type, protocol); in socketpair()
|
H A D | sockets.h | 26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
|
/PHP-5.5/sapi/thttpd/ |
H A D | thttpd.c | 322 CONDADD(SERVER_PROTOCOL, protocol); in sapi_thttpd_register_variables()
|
H A D | thttpd_patch | 276 - hc->protocol, status, title, EXPOSED_SERVER_SOFTWARE, fixed_type, 448 + hc->protocol = "UNKNOWN"; 536 - hc->protocol = "UNKNOWN"; 594 eol = strpbrk( protocol, " \t\n\r" ); 597 - if ( strcasecmp( protocol, "HTTP/1.0" ) != 0 ) 598 + if ( strcasecmp( protocol, "HTTP/1.0" ) != 0 ) { 892 - httpd_method_str( hc->method ), url, hc->protocol, 900 - httpd_method_str( hc->method ), url, hc->protocol, 924 + smart_str_appends(&bentries, hc->protocol); 1774 + FIXUP(protocol);
|
/PHP-5.5/sapi/webjames/ |
H A D | webjames.c | 125 ADD_FIELD("SERVER_PROTOCOL", protocol); in sapi_webjames_register_variables()
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | php_apache.c | 378 apache_request_read_string_slot(offsetof(request_rec, protocol), INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHP_FUNCTION() 1304 PHP_FALIAS(protocol, apache_request_protocol, NULL)
|
H A D | README | 88 protocol
|
/PHP-5.5/sapi/apache2handler/ |
H A D | sapi_apache2.c | 512 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor() 552 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler() 640 …&& parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol, "INCLUDED")) { in php_handler()
|
/PHP-5.5/main/streams/ |
H A D | streams.c | 1694 protocol[i] != '+' && in php_stream_wrapper_scheme_validate() 1695 protocol[i] != '-' && in php_stream_wrapper_scheme_validate() 1696 protocol[i] != '.') { in php_stream_wrapper_scheme_validate() 1718 return zend_hash_del(&url_stream_wrappers_hash, protocol, strlen(protocol) + 1); in php_unregister_url_stream_wrapper() 1752 return zend_hash_del(FG(stream_wrappers), protocol, strlen(protocol) + 1); in php_unregister_url_stream_wrapper_volatile() 1777 protocol = path; 1780 protocol = "compress.zlib"; 1785 if (protocol) { 1800 protocol = NULL; 1806 if (!protocol || !strncasecmp(protocol, "file", n)) { [all …]
|
H A D | transports.c | 32 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC) in php_stream_xport_register() argument 34 …return zend_hash_update(&xport_hash, protocol, strlen(protocol) + 1, &factory, sizeof(factory), NU… in php_stream_xport_register() 37 PHPAPI int php_stream_xport_unregister(char *protocol TSRMLS_DC) in php_stream_xport_unregister() 39 return zend_hash_del(&xport_hash, protocol, strlen(protocol) + 1); in php_stream_xport_unregister() 62 const char *p, *protocol = NULL; in _php_stream_xport_create() local 100 protocol = name; in _php_stream_xport_create() 104 protocol = "tcp"; in _php_stream_xport_create() 108 if (protocol) { in _php_stream_xport_create() 109 char *tmp = estrndup(protocol, n); in _php_stream_xport_create() 115 PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); in _php_stream_xport_create() [all …]
|
H A D | userspace.c | 520 char *protocol, *classname; in PHP_FUNCTION() local 531 uwrap->protoname = estrndup(protocol, protocol_len); in PHP_FUNCTION() 541 if (php_register_url_stream_wrapper_volatile(protocol, &uwrap->wrapper TSRMLS_CC) == SUCCESS) { in PHP_FUNCTION() 545 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol, protocol_len + 1)) { in PHP_FUNCTION() 546 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Protocol %s:// is already defined.", protocol); in PHP_FUNCTION() 565 char *protocol; in PHP_FUNCTION() local 572 if (php_unregister_url_stream_wrapper_volatile(protocol TSRMLS_CC) == FAILURE) { in PHP_FUNCTION() 574 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to unregister protocol %s://", protocol); in PHP_FUNCTION() 586 char *protocol; in PHP_FUNCTION() local 610 php_unregister_url_stream_wrapper_volatile(protocol TSRMLS_CC); in PHP_FUNCTION() [all …]
|
H A D | php_stream_transport.h | 37 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC… 38 PHPAPI int php_stream_xport_unregister(char *protocol TSRMLS_DC);
|
/PHP-5.5/main/ |
H A D | php_streams.h | 547 PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC); 548 PHPAPI int php_unregister_url_stream_wrapper(char *protocol TSRMLS_DC); 549 PHPAPI int php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper TSR… 550 PHPAPI int php_unregister_url_stream_wrapper_volatile(char *protocol TSRMLS_DC);
|
/PHP-5.5/ext/standard/tests/network/ |
H A D | bug20134.phpt | 9 * a connection-LESS protocol */
|
H A D | fsockopen_error.phpt | 38 echo "\n-- Attempting to connect using an invalid protocol --\n"; 70 -- Attempting to connect using an invalid protocol --
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | getservbyname_variation6.phpt | 9 $protocol = "tcp"; 30 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyport_error.phpt | 11 $protocol = "tcp"; 13 var_dump(getservbyport( $port, $protocol, $extra_arg ) );
|
H A D | getservbyport_variation1.phpt | 4 Test function passing invalid port number and invalid protocol name
|
H A D | getservbyname_variation5.phpt | 9 $protocol = "tcp"; 21 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation7.phpt | 9 $protocol = "tcp"; 25 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation2.phpt | 9 $protocol = "tcp"; 21 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation3.phpt | 9 $protocol = "tcp"; 26 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_variation4.phpt | 9 $protocol = "tcp"; 22 var_dump(getservbyname( $var , $protocol ) );
|
H A D | getservbyname_error.phpt | 11 $protocol = "tcp"; 13 var_dump(getservbyname($service, $protocol, $extra_arg ) );
|
H A D | getservbyname_variation1.phpt | 9 $protocol = "tcp"; 24 var_dump(getservbyname( $var , $protocol ) );
|