Lines Matching refs:path_len
754 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int do… argument
761 if (zend_hash_find(&CGIG(user_config_cache), path, path_len + 1, (void **) &entry) == FAILURE) {
766 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
780 if (!IS_ABSOLUTE_PATH(path, path_len)) {
787 path_len = real_path_len;
790 if (path_len > doc_root_len) {
797 s_len = path_len;
834 uint path_len, doc_root_len, server_name_len; local
864 path_len = strlen(SG(request_info).path_translated);
867 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
868 path = emalloc(path_len + 2);
869 memcpy(path, SG(request_info).path_translated, path_len + 1);
870 path_len = zend_dirname(path, path_len);
871 path[path_len++] = DEFAULT_SLASH;
873 path = estrndup(SG(request_info).path_translated, path_len);
874 path_len = zend_dirname(path, path_len);
876 path[path_len] = 0;
879 …php_ini_activate_per_dir_config(path, path_len TSRMLS_CC); /* Note: for global settings sake we ch…
901 …php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len, doc_root_len - 1 TSRMLS_C…