Searched refs:protocol_len (Results 1 – 2 of 2) sorted by relevance
/PHP-5.3/main/streams/ |
H A D | userspace.c | 494 int protocol_len, classname_len; in PHP_FUNCTION() local 499 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &protocol, &protocol_len, &classname,… in PHP_FUNCTION() 504 uwrap->protoname = estrndup(protocol, protocol_len); in PHP_FUNCTION() 518 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol, protocol_len + 1)) { in PHP_FUNCTION() 539 int protocol_len; in PHP_FUNCTION() local 541 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION() 560 int protocol_len; in PHP_FUNCTION() local 564 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION() 574 …if ((zend_hash_find(global_wrapper_hash, protocol, protocol_len + 1, (void**)&wrapperpp) == FAILUR… in PHP_FUNCTION()
|
H A D | streams.c | 1614 static inline int php_stream_wrapper_scheme_validate(char *protocol, int protocol_len) in php_stream_wrapper_scheme_validate() argument 1618 for(i = 0; i < protocol_len; i++) { in php_stream_wrapper_scheme_validate() 1633 int protocol_len = strlen(protocol); in php_register_url_stream_wrapper() local 1635 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { in php_register_url_stream_wrapper() 1639 …return zend_hash_add(&url_stream_wrappers_hash, protocol, protocol_len + 1, &wrapper, sizeof(wrapp… in php_register_url_stream_wrapper() 1659 int protocol_len = strlen(protocol); in php_register_url_stream_wrapper_volatile() local 1661 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { in php_register_url_stream_wrapper_volatile() 1669 …return zend_hash_add(FG(stream_wrappers), protocol, protocol_len + 1, &wrapper, sizeof(wrapper), N… in php_register_url_stream_wrapper_volatile()
|
Completed in 25 milliseconds