Lines Matching refs:path_len
781 static void php_cgi_ini_activate_user_config(char *path, size_t path_len, const char *doc_root, siz… argument
787 if ((entry = zend_hash_str_find_ptr(&CGIG(user_config_cache), path, path_len)) == NULL) {
792 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);
804 if (!IS_ABSOLUTE_PATH(path, path_len)) {
812 path_len = real_path_len;
815 if (path_len > doc_root_len) {
822 s_len = path_len;
892 size_t path_len; local
895 path_len = strlen(SG(request_info).path_translated);
898 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
899 path = emalloc(path_len + 2);
900 memcpy(path, SG(request_info).path_translated, path_len + 1);
901 path_len = zend_dirname(path, path_len);
902 path[path_len++] = DEFAULT_SLASH;
904 path = estrndup(SG(request_info).path_translated, path_len);
905 path_len = zend_dirname(path, path_len);
907 path[path_len] = 0;
910 …php_ini_activate_per_dir_config(path, path_len); /* Note: for global settings sake we check from r…
934 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len);