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.c1688 static inline int php_stream_wrapper_scheme_validate(const char *protocol, unsigned int protocol_len) argument
1692 for(i = 0; i < protocol_len; i++) {
1707 unsigned int protocol_len = (unsigned int)strlen(protocol); local
1709 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1713 return zend_hash_str_add_ptr(&url_stream_wrappers_hash, protocol, protocol_len, wrapper) ? SUCCESS : FAILURE;
1731 unsigned int protocol_len = (unsigned int)strlen(protocol); local
1733 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1741 return zend_hash_str_add_ptr(FG(stream_wrappers), protocol, protocol_len, wrapper) ? SUCCESS : FAILURE;

Completed in 8 milliseconds