Searched refs:protocol_len (Results 1 – 2 of 2) sorted by relevance
/PHP-7.2/main/streams/ |
H A D | streams.c | 1663 …atic inline int php_stream_wrapper_scheme_validate(const char *protocol, unsigned int protocol_len) in php_stream_wrapper_scheme_validate() argument 1667 for(i = 0; i < protocol_len; i++) { in php_stream_wrapper_scheme_validate() 1682 unsigned int protocol_len = (unsigned int)strlen(protocol); in php_register_url_stream_wrapper() local 1684 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { in php_register_url_stream_wrapper() 1688 …dd_ptr(&url_stream_wrappers_hash, zend_string_init_interned(protocol, protocol_len, 1), wrapper) ?… in php_register_url_stream_wrapper() 1706 unsigned int protocol_len = (unsigned int)strlen(protocol); in php_register_url_stream_wrapper_volatile() local 1708 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { in php_register_url_stream_wrapper_volatile() 1716 …return zend_hash_str_add_ptr(FG(stream_wrappers), protocol, protocol_len, wrapper) ? SUCCESS : FAI… in php_register_url_stream_wrapper_volatile()
|
H A D | userspace.c | 545 size_t protocol_len; in PHP_FUNCTION() local 547 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &protocol, &protocol_len) == FAILURE) { in PHP_FUNCTION()
|
Completed in 17 milliseconds