Searched refs:protocol_len (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/main/streams/
H A Duserspace.c534 size_t protocol_len; local
536 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &protocol, &protocol_len) == FAILURE) {
H A Dstreams.c1671 static inline int php_stream_wrapper_scheme_validate(const char *protocol, unsigned int protocol_len) argument
1675 for(i = 0; i < protocol_len; i++) {
1690 unsigned int protocol_len = (unsigned int)strlen(protocol); local
1692 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1696 return zend_hash_str_add_ptr(&url_stream_wrappers_hash, protocol, protocol_len, wrapper) ? SUCCESS : FAILURE;
1714 unsigned int protocol_len = (unsigned int)strlen(protocol); local
1716 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1724 return zend_hash_str_add_ptr(FG(stream_wrappers), protocol, protocol_len, wrapper) ? SUCCESS : FAILURE;

Completed in 8 milliseconds