Searched defs: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() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) {
H A Dstreams.c1694 static inline int php_stream_wrapper_scheme_validate(const char *protocol, unsigned int protocol_len) argument
1698 for(i = 0; i < protocol_len; i++) {
1713 unsigned int protocol_len = strlen(protocol); local
1715 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1719 return zend_hash_str_add_ptr(&url_stream_wrappers_hash, protocol, protocol_len, wrapper) ? SUCCESS : FAILURE;
1737 unsigned int protocol_len = strlen(protocol); local
1739 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1747 return zend_hash_str_add_ptr(FG(stream_wrappers), protocol, protocol_len, wrapper) ? SUCCESS : FAILURE;

Completed in 8 milliseconds