Searched refs:host_len (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_structs.h906 unsigned int host_len; member in struct:st_mysqlnd_connection_data
H A Dmysqlnd.c863 size_t host_len; local
938 host_len = strlen(host);
943 if (host_len == sizeof("localhost") - 1 && !strncasecmp(host, "localhost", host_len)) {
951 if (host_len == sizeof(".") - 1 && host[0] == '.') {
1012 conn->host = mnd_pestrndup(host, host_len, conn->persistent);
1017 conn->host_len = host_len;
/PHP_TRUNK/ext/standard/
H A Dfsock.c35 size_t host_len; local
54 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz/z/d", &host, &host_len, &port, &zerrno, &zerrstr, &timeout) == FAILURE) {
65 hostname_len = host_len;
H A Dstreamsfuncs.c178 size_t host_len; local
188 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/z/lr", &host, &host_len, &zerrno, &zerrstr, &flags, &zcontext) == FAILURE) {
207 stream = php_stream_xport_create(host, host_len, REPORT_ERRORS,
/PHP_TRUNK/main/
H A Dphp_ini.h41 PHPAPI void php_ini_activate_per_host_config(const char *host, size_t host_len);
H A Dphp_ini.c856 PHPAPI void php_ini_activate_per_host_config(const char *host, size_t host_len) argument
860 if (has_per_host_config && host && host_len) {
862 if ((tmp = zend_hash_str_find(&configuration_hash, host, host_len)) != NULL) {
/PHP_TRUNK/ext/phar/
H A Ddirstream.c312 uint host_len; local
337 host_len = strlen(resource->host);
341 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
418 uint host_len; local
455 host_len = strlen(resource->host);
457 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
550 uint host_len; local
590 host_len = strlen(resource->host);
592 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
H A Dstream.c168 uint host_len; local
187 host_len = strlen(resource->host);
193 if (NULL == (idata = phar_get_or_create_entry_data(resource->host, host_len, internal_file, strlen(internal_file), mode, 0, &error, 1))) {
240 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, NULL)) {
247 if ((FAILURE == phar_get_entry_data(&idata, resource->host, host_len, ".phar/stub.php", sizeof(".phar/stub.php")-1, "r", 0, &error, 0)) || !idata) {
285 if ((FAILURE == phar_get_entry_data(&idata, resource->host, host_len, internal_file, strlen(internal_file), "r", 0, &error, 0)) || !idata) {
572 uint host_len; local
590 host_len = strlen(resource->host);
595 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error)) {
681 uint host_len; local
754 uint host_len; local
[all...]
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c362 size_t host_len; local
366 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &host, &host_len, &port, &timeout_sec) == FAILURE) {
398 size_t host_len; local
402 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &host, &host_len, &port, &timeout_sec) == FAILURE) {

Completed in 22 milliseconds