Lines Matching refs:path_len
784 static void php_cgi_ini_activate_user_config(char *path, size_t path_len, const char *doc_root, siz… argument
790 if ((entry = zend_hash_str_find_ptr(&CGIG(user_config_cache), path, path_len)) == NULL) {
795 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);
807 if (!IS_ABSOLUTE_PATH(path, path_len)) {
815 path_len = real_path_len;
818 if (path_len > doc_root_len) {
825 s_len = path_len;
895 size_t path_len; local
898 path_len = strlen(SG(request_info).path_translated);
901 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
902 path = emalloc(path_len + 2);
903 memcpy(path, SG(request_info).path_translated, path_len + 1);
904 path_len = zend_dirname(path, path_len);
905 path[path_len++] = DEFAULT_SLASH;
907 path = estrndup(SG(request_info).path_translated, path_len);
908 path_len = zend_dirname(path, path_len);
910 path[path_len] = 0;
913 …php_ini_activate_per_dir_config(path, path_len); /* Note: for global settings sake we check from r…
937 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len);