Searched refs:protocol_len (Results 1 - 2 of 2) sorted by relevance
| /PHP_5_4/main/streams/ |
| H A D | userspace.c | 521 int protocol_len, classname_len; local 526 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &protocol, &protocol_len, &classname, &classname_len, &flags) == FAILURE) { 531 uwrap->protoname = estrndup(protocol, protocol_len); 545 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol, protocol_len + 1)) { 566 int protocol_len; local 568 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) { 587 int protocol_len; local 591 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &protocol, &protocol_len) == FAILURE) { 601 if ((zend_hash_find(global_wrapper_hash, protocol, protocol_len + 1, (void**)&wrapperpp) == FAILURE) || !wrapperpp) {
|
| H A D | streams.c | 1684 static inline int php_stream_wrapper_scheme_validate(char *protocol, int protocol_len) argument 1688 for(i = 0; i < protocol_len; i++) { 1703 int protocol_len = strlen(protocol); local 1705 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { 1709 return zend_hash_add(&url_stream_wrappers_hash, protocol, protocol_len + 1, &wrapper, sizeof(wrapper), NULL); 1729 int protocol_len = strlen(protocol); local 1731 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { 1739 return zend_hash_add(FG(stream_wrappers), protocol, protocol_len + 1, &wrapper, sizeof(wrapper), NULL);
|
Completed in 10 milliseconds