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

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

Completed in 8 milliseconds