Lines Matching refs:path_len
544 size_t path_len, server_name_len; in sapi_lsapi_activate() local
565 path_len = strlen(SG(request_info).path_translated); in sapi_lsapi_activate()
568 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
569 path = emalloc(path_len + 2); in sapi_lsapi_activate()
570 memcpy(path, SG(request_info).path_translated, path_len + 1); in sapi_lsapi_activate()
571 path_len = zend_dirname(path, path_len); in sapi_lsapi_activate()
572 path[path_len++] = DEFAULT_SLASH; in sapi_lsapi_activate()
574 path = estrndup(SG(request_info).path_translated, path_len); in sapi_lsapi_activate()
575 path_len = zend_dirname(path, path_len); in sapi_lsapi_activate()
577 path[path_len] = 0; in sapi_lsapi_activate()
580 …php_ini_activate_per_dir_config(path, path_len); /* Note: for global settings sake we check from r… in sapi_lsapi_activate()
904 uint32_t path_len; member
946 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path()
947 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path()
948 ctx->path_len = zend_dirname(path, ctx->path_len); in lsapi_activate_user_ini_mk_path()
965 if (!IS_ABSOLUTE_PATH(ctx->path, ctx->path_len)) { in lsapi_activate_user_ini_mk_realpath()
971 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_realpath()
991 ctx->entry = zend_hash_str_find_ptr(&user_config_cache, ctx->path, ctx->path_len); in lsapi_activate_user_ini_mk_user_config()
1000 ctx->path_len, ctx->entry); in lsapi_activate_user_ini_mk_user_config()
1036 ctx->path_len < docroot_len || in lsapi_activate_user_ini_walk_down_the_path()