Lines Matching refs:protocol

520 	char *protocol, *classname;  in PHP_FUNCTION()  local
526 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &protocol, &protocol_len, &classname,… in PHP_FUNCTION()
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()
549 …lid protocol scheme specified. Unable to register wrapper class %s to %s://", classname, protocol); in PHP_FUNCTION()
565 char *protocol; in PHP_FUNCTION() local
568 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION()
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
591 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION()
597 …hp_error_docref(NULL TSRMLS_CC, E_NOTICE, "%s:// was never changed, nothing to restore", protocol); in PHP_FUNCTION()
601 …if ((zend_hash_find(global_wrapper_hash, protocol, protocol_len + 1, (void**)&wrapperpp) == FAILUR… in PHP_FUNCTION()
602 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s:// never existed, nothing to restore", protocol); in PHP_FUNCTION()
610 php_unregister_url_stream_wrapper_volatile(protocol TSRMLS_CC); in PHP_FUNCTION()
612 if (php_register_url_stream_wrapper_volatile(protocol, wrapper TSRMLS_CC) == FAILURE) { in PHP_FUNCTION()
613 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to restore original %s:// wrapper", protocol); in PHP_FUNCTION()