path 577 core/nginx.c ctx.path = argv[0]; path 22 core/ngx_file.c rc = ngx_create_temp_file(&tf->file, tf->path, tf->pool, path 40 core/ngx_file.c ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, ngx_pool_t *pool, path 48 core/ngx_file.c file->name.len = path->name.len + 1 + path->len + 10; path 61 core/ngx_file.c ngx_memcpy(file->name.data, path->name.data, path->name.len); path 71 core/ngx_file.c (void) ngx_sprintf(file->name.data + path->name.len + 1 + path->len, path 74 core/ngx_file.c ngx_create_hashed_filename(path, file->name.data, file->name.len); path 103 core/ngx_file.c if ((path->level[0] == 0) || (err != NGX_ENOPATH)) { path 110 core/ngx_file.c if (ngx_create_path(file, path) == NGX_ERROR) { path 118 core/ngx_file.c ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len) path 123 core/ngx_file.c i = path->name.len + 1; path 125 core/ngx_file.c file[path->name.len + path->len] = '/'; path 128 core/ngx_file.c level = path->level[n]; path 143 core/ngx_file.c ngx_create_path(ngx_file_t *file, ngx_path_t *path) path 149 core/ngx_file.c pos = path->name.len; path 152 core/ngx_file.c if (path->level[i] == 0) { path 156 core/ngx_file.c pos += path->level[i] + 1; path 245 core/ngx_file.c ngx_path_t *path, **slot; path 253 core/ngx_file.c path = ngx_pcalloc(cf->pool, sizeof(ngx_path_t)); path 254 core/ngx_file.c if (path == NULL) { path 260 core/ngx_file.c path->name = value[1]; path 262 core/ngx_file.c if (path->name.data[path->name.len - 1] == '/') { path 263 core/ngx_file.c path->name.len--; path 266 core/ngx_file.c if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) { path 270 core/ngx_file.c path->len = 0; path 271 core/ngx_file.c path->manager = NULL; path 272 core/ngx_file.c path->loader = NULL; path 273 core/ngx_file.c path->conf_file = cf->conf_file->file.name.data; path 274 core/ngx_file.c path->line = cf->conf_file->line; path 282 core/ngx_file.c path->level[i] = level; path 283 core/ngx_file.c path->len += level + 1; path 287 core/ngx_file.c path->level[i++] = 0; path 290 core/ngx_file.c *slot = path; path 301 core/ngx_file.c ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, ngx_path_t *prev, path 304 core/ngx_file.c if (*path) { path 309 core/ngx_file.c *path = prev; path 313 core/ngx_file.c *path = ngx_palloc(cf->pool, sizeof(ngx_path_t)); path 314 core/ngx_file.c if (*path == NULL) { path 318 core/ngx_file.c (*path)->name = init->name; path 320 core/ngx_file.c if (ngx_conf_full_name(cf->cycle, &(*path)->name, 0) != NGX_OK) { path 324 core/ngx_file.c (*path)->level[0] = init->level[0]; path 325 core/ngx_file.c (*path)->level[1] = init->level[1]; path 326 core/ngx_file.c (*path)->level[2] = init->level[2]; path 328 core/ngx_file.c (*path)->len = init->level[0] + (init->level[0] ? 1 : 0) path 332 core/ngx_file.c (*path)->manager = NULL; path 333 core/ngx_file.c (*path)->loader = NULL; path 334 core/ngx_file.c (*path)->conf_file = NULL; path 336 core/ngx_file.c if (ngx_add_path(cf, path) != NGX_OK) { path 410 core/ngx_file.c ngx_path_t *path, **p; path 412 core/ngx_file.c path = *slot; path 416 core/ngx_file.c if (p[i]->name.len == path->name.len path 417 core/ngx_file.c && ngx_strcmp(p[i]->name.data, path->name.data) == 0) path 420 core/ngx_file.c if (p[i]->level[n] != path->level[n]) { path 421 core/ngx_file.c if (path->conf_file == NULL) { path 464 core/ngx_file.c *p = path; path 475 core/ngx_file.c ngx_path_t **path; path 477 core/ngx_file.c path = cycle->pathes.elts; path 480 core/ngx_file.c if (ngx_create_dir(path[i]->name.data, 0700) == NGX_FILE_ERROR) { path 485 core/ngx_file.c path[i]->name.data); path 498 core/ngx_file.c if (ngx_file_info((const char *) path[i]->name.data, &fi) path 502 core/ngx_file.c ngx_file_info_n " \"%s\" failed", path[i]->name.data); path 507 core/ngx_file.c if (chown((const char *) path[i]->name.data, user, -1) == -1) { path 510 core/ngx_file.c path[i]->name.data, user); path 520 core/ngx_file.c if (chmod((const char *) path[i]->name.data, fi.st_mode) == -1) { path 522 core/ngx_file.c "chmod() \"%s\" failed", path[i]->name.data); path 64 core/ngx_file.h ngx_path_t *path; path 124 core/ngx_file.h ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, path 127 core/ngx_file.h void ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len); path 128 core/ngx_file.h ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); path 140 core/ngx_file.h char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, path 538 core/ngx_inet.c u_char *path, *uri, *last; path 543 core/ngx_inet.c path = u->url.data; path 545 core/ngx_inet.c path += 5; path 550 core/ngx_inet.c last = path + len; path 551 core/ngx_inet.c uri = ngx_strlchr(path, last, ':'); path 554 core/ngx_inet.c len = uri - path; path 567 core/ngx_inet.c u->host.data = path; path 577 core/ngx_inet.c (void) ngx_cpystrn((u_char *) saun->sun_path, path, len); path 593 core/ngx_inet.c (void) ngx_cpystrn((u_char *) saun->sun_path, path, len); path 146 http/modules/ngx_http_autoindex_module.c ngx_str_t path; path 175 http/modules/ngx_http_autoindex_module.c last = ngx_http_map_uri_to_path(r, &path, &root, path 181 http/modules/ngx_http_autoindex_module.c allocated = path.len; path 182 http/modules/ngx_http_autoindex_module.c path.len = last - path.data; path 183 http/modules/ngx_http_autoindex_module.c if (path.len > 1) { path 184 http/modules/ngx_http_autoindex_module.c path.len--; path 186 http/modules/ngx_http_autoindex_module.c path.data[path.len] = '\0'; path 189 http/modules/ngx_http_autoindex_module.c "http autoindex: \"%s\"", path.data); path 191 http/modules/ngx_http_autoindex_module.c if (ngx_open_dir(&path, &dir) == NGX_ERROR) { path 211 http/modules/ngx_http_autoindex_module.c ngx_open_dir_n " \"%s\" failed", path.data); path 229 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 241 http/modules/ngx_http_autoindex_module.c ngx_close_dir_n " \"%V\" failed", &path); path 247 http/modules/ngx_http_autoindex_module.c filename = path.data; path 248 http/modules/ngx_http_autoindex_module.c filename[path.len] = '/'; path 268 http/modules/ngx_http_autoindex_module.c ngx_read_dir_n " \"%V\" failed", &path); path 269 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 288 http/modules/ngx_http_autoindex_module.c if (path.len + 1 + len + 1 > allocated) { path 289 http/modules/ngx_http_autoindex_module.c allocated = path.len + 1 + len + 1 path 294 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 297 http/modules/ngx_http_autoindex_module.c last = ngx_cpystrn(filename, path.data, path.len + 1); path 314 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 321 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 328 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 335 http/modules/ngx_http_autoindex_module.c return ngx_http_autoindex_error(r, &dir, &path); path 358 http/modules/ngx_http_autoindex_module.c ngx_close_dir_n " \"%s\" failed", &path); path 31 http/modules/ngx_http_dav_module.c ngx_str_t path; path 42 http/modules/ngx_http_dav_module.c ngx_str_t *path, ngx_uint_t dir); path 43 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_delete_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path); path 44 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path); path 45 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_noop(ngx_tree_ctx_t *ctx, ngx_str_t *path); path 51 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_copy_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path); path 53 http/modules/ngx_http_dav_module.c ngx_str_t *path); path 55 http/modules/ngx_http_dav_module.c ngx_str_t *path); path 59 http/modules/ngx_http_dav_module.c ngx_int_t not_found, char *failed, u_char *path); path 60 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_location(ngx_http_request_t *r, u_char *path); path 205 http/modules/ngx_http_dav_module.c ngx_str_t *temp, path; path 211 http/modules/ngx_http_dav_module.c ngx_http_map_uri_to_path(r, &path, &root, 0); path 213 http/modules/ngx_http_dav_module.c path.len--; path 216 http/modules/ngx_http_dav_module.c "http put filename: \"%s\"", path.data); path 220 http/modules/ngx_http_dav_module.c if (ngx_file_info(path.data, &fi) == NGX_FILE_ERROR) { path 228 http/modules/ngx_http_dav_module.c "\"%s\" could not be created", path.data); path 260 http/modules/ngx_http_dav_module.c if (ngx_ext_rename_file(temp, &path, &ext) != NGX_OK) { path 266 http/modules/ngx_http_dav_module.c if (ngx_http_dav_location(r, path.data) != NGX_OK) { path 289 http/modules/ngx_http_dav_module.c ngx_str_t path; path 319 http/modules/ngx_http_dav_module.c ngx_http_map_uri_to_path(r, &path, &root, 0); path 322 http/modules/ngx_http_dav_module.c "http delete filename: \"%s\"", path.data); path 324 http/modules/ngx_http_dav_module.c if (ngx_link_info(path.data, &fi) == NGX_FILE_ERROR) { path 330 http/modules/ngx_http_dav_module.c rc, ngx_link_info_n, path.data); path 337 http/modules/ngx_http_dav_module.c "DELETE \"%s\" failed", path.data); path 349 http/modules/ngx_http_dav_module.c path.len -= 2; /* omit "/\0" */ path 371 http/modules/ngx_http_dav_module.c rc = ngx_http_dav_delete_path(r, &path, dir); path 382 http/modules/ngx_http_dav_module.c ngx_http_dav_delete_path(ngx_http_request_t *r, ngx_str_t *path, ngx_uint_t dir) path 400 http/modules/ngx_http_dav_module.c if (ngx_walk_tree(&tree, path) != NGX_OK) { path 404 http/modules/ngx_http_dav_module.c if (ngx_delete_dir(path->data) != NGX_FILE_ERROR) { path 412 http/modules/ngx_http_dav_module.c if (ngx_delete_file(path->data) != NGX_FILE_ERROR) { path 420 http/modules/ngx_http_dav_module.c NGX_HTTP_NOT_FOUND, failed, path->data); path 425 http/modules/ngx_http_dav_module.c ngx_http_dav_delete_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 428 http/modules/ngx_http_dav_module.c "http delete dir: \"%s\"", path->data); path 430 http/modules/ngx_http_dav_module.c if (ngx_delete_dir(path->data) == NGX_FILE_ERROR) { path 435 http/modules/ngx_http_dav_module.c path->data); path 443 http/modules/ngx_http_dav_module.c ngx_http_dav_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 446 http/modules/ngx_http_dav_module.c "http delete file: \"%s\"", path->data); path 448 http/modules/ngx_http_dav_module.c if (ngx_delete_file(path->data) == NGX_FILE_ERROR) { path 453 http/modules/ngx_http_dav_module.c path->data); path 461 http/modules/ngx_http_dav_module.c ngx_http_dav_noop(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 472 http/modules/ngx_http_dav_module.c ngx_str_t path; path 486 http/modules/ngx_http_dav_module.c p = ngx_http_map_uri_to_path(r, &path, &root, 0); path 492 http/modules/ngx_http_dav_module.c "http mkcol path: \"%s\"", path.data); path 494 http/modules/ngx_http_dav_module.c if (ngx_create_dir(path.data, ngx_dir_access(dlcf->access)) path 497 http/modules/ngx_http_dav_module.c if (ngx_http_dav_location(r, path.data) != NGX_OK) { path 505 http/modules/ngx_http_dav_module.c NGX_HTTP_CONFLICT, ngx_create_dir_n, path.data); path 517 http/modules/ngx_http_dav_module.c ngx_str_t path, uri, duri, args; path 665 http/modules/ngx_http_dav_module.c ngx_http_map_uri_to_path(r, &path, &root, 0); path 668 http/modules/ngx_http_dav_module.c "http copy from: \"%s\"", path.data); path 673 http/modules/ngx_http_dav_module.c ngx_http_map_uri_to_path(r, ©.path, &root, 0); path 677 http/modules/ngx_http_dav_module.c copy.path.len--; /* omit "\0" */ path 679 http/modules/ngx_http_dav_module.c if (copy.path.data[copy.path.len - 1] == '/') { path 681 http/modules/ngx_http_dav_module.c copy.path.len--; path 682 http/modules/ngx_http_dav_module.c copy.path.data[copy.path.len] = '\0'; path 689 http/modules/ngx_http_dav_module.c "http copy to: \"%s\"", copy.path.data); path 691 http/modules/ngx_http_dav_module.c if (ngx_link_info(copy.path.data, &fi) == NGX_FILE_ERROR) { path 697 http/modules/ngx_http_dav_module.c copy.path.data); path 718 http/modules/ngx_http_dav_module.c "\"%s\" could not be created", copy.path.data); path 725 http/modules/ngx_http_dav_module.c if (ngx_link_info(path.data, &fi) == NGX_FILE_ERROR) { path 728 http/modules/ngx_http_dav_module.c path.data); path 741 http/modules/ngx_http_dav_module.c "http delete: \"%s\"", copy.path.data); path 743 http/modules/ngx_http_dav_module.c rc = ngx_http_dav_delete_path(r, ©.path, dir); path 753 http/modules/ngx_http_dav_module.c path.len -= 2; /* omit "/\0" */ path 756 http/modules/ngx_http_dav_module.c if (ngx_rename_file(path.data, copy.path.data) != NGX_FILE_ERROR) { path 761 http/modules/ngx_http_dav_module.c if (ngx_create_dir(copy.path.data, ngx_file_access(&fi)) path 766 http/modules/ngx_http_dav_module.c ngx_create_dir_n, copy.path.data); path 769 http/modules/ngx_http_dav_module.c copy.len = path.len; path 780 http/modules/ngx_http_dav_module.c if (ngx_walk_tree(&tree, &path) == NGX_OK) { path 783 http/modules/ngx_http_dav_module.c rc = ngx_http_dav_delete_path(r, &path, 1); path 806 http/modules/ngx_http_dav_module.c if (ngx_ext_rename_file(&path, ©.path, &ext) == NGX_OK) { path 821 http/modules/ngx_http_dav_module.c if (ngx_copy_file(path.data, copy.path.data, &cf) == NGX_OK) { path 831 http/modules/ngx_http_dav_module.c ngx_http_dav_copy_dir(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 838 http/modules/ngx_http_dav_module.c "http copy dir: \"%s\"", path->data); path 842 http/modules/ngx_http_dav_module.c len = copy->path.len + path->len; path 849 http/modules/ngx_http_dav_module.c p = ngx_cpymem(dir, copy->path.data, copy->path.len); path 850 http/modules/ngx_http_dav_module.c (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); path 867 http/modules/ngx_http_dav_module.c ngx_http_dav_copy_dir_time(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 874 http/modules/ngx_http_dav_module.c "http copy dir time: \"%s\"", path->data); path 878 http/modules/ngx_http_dav_module.c len = copy->path.len + path->len; path 885 http/modules/ngx_http_dav_module.c p = ngx_cpymem(dir, copy->path.data, copy->path.len); path 886 http/modules/ngx_http_dav_module.c (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); path 931 http/modules/ngx_http_dav_module.c ngx_http_dav_copy_tree_file(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 939 http/modules/ngx_http_dav_module.c "http copy file: \"%s\"", path->data); path 943 http/modules/ngx_http_dav_module.c len = copy->path.len + path->len; path 950 http/modules/ngx_http_dav_module.c p = ngx_cpymem(file, copy->path.data, copy->path.len); path 951 http/modules/ngx_http_dav_module.c (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); path 962 http/modules/ngx_http_dav_module.c (void) ngx_copy_file(path->data, file, &cf); path 1010 http/modules/ngx_http_dav_module.c char *failed, u_char *path) path 1036 http/modules/ngx_http_dav_module.c ngx_log_error(level, log, err, "%s \"%s\" failed", failed, path); path 1043 http/modules/ngx_http_dav_module.c ngx_http_dav_location(ngx_http_request_t *r, u_char *path) path 1056 http/modules/ngx_http_dav_module.c location = path + clcf->root.len; path 68 http/modules/ngx_http_flv_module.c ngx_str_t path, value; path 89 http/modules/ngx_http_flv_module.c last = ngx_http_map_uri_to_path(r, &path, &root, 0); path 96 http/modules/ngx_http_flv_module.c path.len = last - path.data; path 99 http/modules/ngx_http_flv_module.c "http flv filename: \"%V\"", &path); path 112 http/modules/ngx_http_flv_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 143 http/modules/ngx_http_flv_module.c "%s \"%s\" failed", of.failed, path.data); path 153 http/modules/ngx_http_flv_module.c ngx_close_file_n " \"%s\" failed", path.data); path 233 http/modules/ngx_http_flv_module.c b->file->name = path; path 73 http/modules/ngx_http_gzip_static_module.c ngx_str_t path; path 108 http/modules/ngx_http_gzip_static_module.c p = ngx_http_map_uri_to_path(r, &path, &root, sizeof(".gz") - 1); path 118 http/modules/ngx_http_gzip_static_module.c path.len = p - path.data; path 121 http/modules/ngx_http_gzip_static_module.c "http filename: \"%s\"", path.data); path 132 http/modules/ngx_http_gzip_static_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 158 http/modules/ngx_http_gzip_static_module.c "%s \"%s\" failed", of.failed, path.data); path 180 http/modules/ngx_http_gzip_static_module.c "\"%s\" is not a regular file", path.data); path 243 http/modules/ngx_http_gzip_static_module.c b->file->name = path; path 29 http/modules/ngx_http_index_module.c ngx_http_core_loc_conf_t *clcf, u_char *path, u_char *last); path 101 http/modules/ngx_http_index_module.c ngx_str_t path, uri; path 127 http/modules/ngx_http_index_module.c path.data = NULL; path 163 http/modules/ngx_http_index_module.c name = ngx_http_map_uri_to_path(r, &path, &root, reserve); path 168 http/modules/ngx_http_index_module.c allocated = path.data + path.len - name; path 177 http/modules/ngx_http_index_module.c path.len = (name + index[i].name.len - 1) - path.data; path 194 http/modules/ngx_http_index_module.c path.len = e.pos - path.data; path 200 http/modules/ngx_http_index_module.c "open index \"%V\"", &path); path 212 http/modules/ngx_http_index_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 216 http/modules/ngx_http_index_module.c "%s \"%s\" failed", of.failed, path.data); path 226 http/modules/ngx_http_index_module.c return ngx_http_index_error(r, clcf, path.data, of.err); path 230 http/modules/ngx_http_index_module.c rc = ngx_http_index_test_dir(r, clcf, path.data, name - 1); path 244 http/modules/ngx_http_index_module.c "%s \"%s\" failed", of.failed, path.data); path 252 http/modules/ngx_http_index_module.c uri.data = path.data + root; path 273 http/modules/ngx_http_index_module.c u_char *path, u_char *last) path 280 http/modules/ngx_http_index_module.c if (c != '/' || path == last) { path 286 http/modules/ngx_http_index_module.c dir.len = last - path; path 287 http/modules/ngx_http_index_module.c dir.data = path; path 370 http/modules/ngx_http_log_module.c ngx_str_t log, path; path 379 http/modules/ngx_http_log_module.c if (ngx_http_map_uri_to_path(r, &path, &root, 0) == NULL) { path 384 http/modules/ngx_http_log_module.c path.data[root] = '\0'; path 397 http/modules/ngx_http_log_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 406 http/modules/ngx_http_log_module.c "testing \"%s\" existence failed", path.data); path 414 http/modules/ngx_http_log_module.c "testing \"%s\" existence failed", path.data); path 79 http/modules/ngx_http_random_index_module.c ngx_str_t path, uri, *name; path 105 http/modules/ngx_http_random_index_module.c last = ngx_http_map_uri_to_path(r, &path, &root, len); path 110 http/modules/ngx_http_random_index_module.c allocated = path.len; path 112 http/modules/ngx_http_random_index_module.c path.len = last - path.data - 1; path 113 http/modules/ngx_http_random_index_module.c path.data[path.len] = '\0'; path 116 http/modules/ngx_http_random_index_module.c "http random index: \"%s\"", path.data); path 118 http/modules/ngx_http_random_index_module.c if (ngx_open_dir(&path, &dir) == NGX_ERROR) { path 138 http/modules/ngx_http_random_index_module.c ngx_open_dir_n " \"%s\" failed", path.data); path 144 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 147 http/modules/ngx_http_random_index_module.c filename = path.data; path 148 http/modules/ngx_http_random_index_module.c filename[path.len] = '/'; path 158 http/modules/ngx_http_random_index_module.c ngx_read_dir_n " \"%V\" failed", &path); path 159 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 178 http/modules/ngx_http_random_index_module.c if (path.len + 1 + len + 1 > allocated) { path 179 http/modules/ngx_http_random_index_module.c allocated = path.len + 1 + len + 1 path 184 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 187 http/modules/ngx_http_random_index_module.c last = ngx_cpystrn(filename, path.data, path.len + 1); path 199 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 206 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 217 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 224 http/modules/ngx_http_random_index_module.c return ngx_http_random_index_error(r, &dir, &path); path 232 http/modules/ngx_http_random_index_module.c ngx_close_dir_n " \"%s\" failed", &path); path 52 http/modules/ngx_http_static_module.c ngx_str_t path; path 76 http/modules/ngx_http_static_module.c last = ngx_http_map_uri_to_path(r, &path, &root, 0); path 81 http/modules/ngx_http_static_module.c path.len = last - path.data; path 84 http/modules/ngx_http_static_module.c "http filename: \"%s\"", path.data); path 97 http/modules/ngx_http_static_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 128 http/modules/ngx_http_static_module.c "%s \"%s\" failed", of.failed, path.data); path 150 http/modules/ngx_http_static_module.c location = path.data + clcf->root.len; path 189 http/modules/ngx_http_static_module.c "\"%s\" is not a regular file", path.data); path 248 http/modules/ngx_http_static_module.c b->file->name = path; path 28 http/modules/ngx_http_userid_filter_module.c ngx_str_t path; path 129 http/modules/ngx_http_userid_filter_module.c offsetof(ngx_http_userid_conf_t, path), path 372 http/modules/ngx_http_userid_filter_module.c len = conf->name.len + 1 + ngx_base64_encoded_length(16) + conf->path.len; path 419 http/modules/ngx_http_userid_filter_module.c p = ngx_copy(p, conf->path.data, conf->path.len); path 630 http/modules/ngx_http_userid_filter_module.c ngx_conf_merge_str_value(conf->path, prev->path, "; path=/"); path 688 http/modules/ngx_http_userid_filter_module.c ngx_str_t *path = data; path 692 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; path=") - 1 + path->len); path 698 http/modules/ngx_http_userid_filter_module.c ngx_memcpy(p, path->data, path->len); path 700 http/modules/ngx_http_userid_filter_module.c path->len += sizeof("; path=") - 1; path 701 http/modules/ngx_http_userid_filter_module.c path->data = new; path 113 http/ngx_http_cache.h ngx_path_t *path; path 1140 http/ngx_http_core_module.c ngx_str_t path, args; path 1163 http/ngx_http_core_module.c path.data = NULL; path 1196 http/ngx_http_core_module.c if (ngx_http_map_uri_to_path(r, &path, &root, reserve) == NULL) { path 1201 http/ngx_http_core_module.c name = path.data + root; path 1202 http/ngx_http_core_module.c allocated = path.len - root - (r->uri.len - alias); path 1211 http/ngx_http_core_module.c path.len = (name + tf->name.len - 1) - path.data; path 1223 http/ngx_http_core_module.c path.len = e.pos - path.data; path 1229 http/ngx_http_core_module.c path.len -= alias; path 1239 http/ngx_http_core_module.c test_dir ? "dir" : "file", name, path.data); path 1248 http/ngx_http_core_module.c path.len -= root; path 1249 http/ngx_http_core_module.c path.data += root; path 1251 http/ngx_http_core_module.c if (path.data[0] == '@') { path 1252 http/ngx_http_core_module.c (void) ngx_http_named_location(r, &path); path 1255 http/ngx_http_core_module.c ngx_http_split_args(r, &path, &args); path 1257 http/ngx_http_core_module.c (void) ngx_http_internal_redirect(r, &path, &args); path 1273 http/ngx_http_core_module.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 1281 http/ngx_http_core_module.c "%s \"%s\" failed", of.failed, path.data); path 1291 http/ngx_http_core_module.c path.len -= root; path 1292 http/ngx_http_core_module.c path.data += root; path 1295 http/ngx_http_core_module.c r->uri = path; path 1300 http/ngx_http_core_module.c r->uri = path; path 1305 http/ngx_http_core_module.c r->uri.len = alias + path.len; path 1313 http/ngx_http_core_module.c ngx_memcpy(p, name, path.len); path 1335 http/ngx_http_core_module.c ngx_str_t path; path 1366 http/ngx_http_core_module.c if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) { path 1368 http/ngx_http_core_module.c "directory index of \"%s\" is forbidden", path.data); path 1863 http/ngx_http_core_module.c ngx_http_map_uri_to_path(ngx_http_request_t *r, ngx_str_t *path, path 1885 http/ngx_http_core_module.c path->len = clcf->root.len + reserved + r->uri.len - alias + 1; path 1887 http/ngx_http_core_module.c path->data = ngx_pnalloc(r->pool, path->len); path 1888 http/ngx_http_core_module.c if (path->data == NULL) { path 1892 http/ngx_http_core_module.c last = ngx_copy(path->data, clcf->root.data, clcf->root.len); path 1907 http/ngx_http_core_module.c if (ngx_http_script_run(r, path, clcf->root_lengths->elts, reserved, path 1914 http/ngx_http_core_module.c if (ngx_conf_full_name((ngx_cycle_t *) ngx_cycle, path, 0) != NGX_OK) { path 1918 http/ngx_http_core_module.c *root_length = path->len - reserved; path 1919 http/ngx_http_core_module.c last = path->data + *root_length; path 23 http/ngx_http_file_cache.c ngx_path_t *path); path 36 http/ngx_http_file_cache.c ngx_str_t *path); path 38 http/ngx_http_file_cache.c ngx_str_t *path); path 40 http/ngx_http_file_cache.c ngx_str_t *path); path 44 http/ngx_http_file_cache.c ngx_str_t *path); path 72 http/ngx_http_file_cache.c if (ngx_strcmp(cache->path->name.data, ocache->path->name.data) != 0) { path 76 http/ngx_http_file_cache.c &shm_zone->shm.name, &cache->path->name, path 77 http/ngx_http_file_cache.c &ocache->path->name); path 83 http/ngx_http_file_cache.c if (cache->path->level[n] != ocache->path->level[n]) { path 99 http/ngx_http_file_cache.c cache->path->loader = NULL; path 109 http/ngx_http_file_cache.c cache->bsize = ngx_fs_bsize(cache->path->name.data); path 130 http/ngx_http_file_cache.c cache->bsize = ngx_fs_bsize(cache->path->name.data); path 194 http/ngx_http_file_cache.c if (ngx_http_file_cache_name(r, cache->path) != NGX_OK) { path 307 http/ngx_http_file_cache.c if (ngx_http_file_cache_name(r, cache->path) != NGX_OK) { path 618 http/ngx_http_file_cache.c ngx_http_file_cache_name(ngx_http_request_t *r, ngx_path_t *path) path 625 http/ngx_http_file_cache.c c->file.name.len = path->name.len + 1 + path->len path 633 http/ngx_http_file_cache.c ngx_memcpy(c->file.name.data, path->name.data, path->name.len); path 635 http/ngx_http_file_cache.c p = c->file.name.data + path->name.len + 1 + path->len; path 639 http/ngx_http_file_cache.c ngx_create_hashed_filename(path, c->file.name.data, c->file.name.len); path 995 http/ngx_http_file_cache.c ngx_path_t *path; path 1002 http/ngx_http_file_cache.c path = cache->path; path 1003 http/ngx_http_file_cache.c len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; path 1010 http/ngx_http_file_cache.c ngx_memcpy(name, path->name.data, path->name.len); path 1057 http/ngx_http_file_cache.c ngx_path_t *path; path 1065 http/ngx_http_file_cache.c path = cache->path; path 1066 http/ngx_http_file_cache.c len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; path 1073 http/ngx_http_file_cache.c ngx_memcpy(name, path->name.data, path->name.len); path 1145 http/ngx_http_file_cache.c ngx_path_t *path; path 1153 http/ngx_http_file_cache.c path = cache->path; path 1154 http/ngx_http_file_cache.c p = name + path->name.len + 1 + path->len; path 1165 http/ngx_http_file_cache.c len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; path 1166 http/ngx_http_file_cache.c ngx_create_hashed_filename(path, name, len); path 1259 http/ngx_http_file_cache.c if (ngx_walk_tree(&tree, &cache->path->name) == NGX_ABORT) { path 1269 http/ngx_http_file_cache.c &cache->path->name, path 1311 http/ngx_http_file_cache.c ngx_http_file_cache_noop(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 1318 http/ngx_http_file_cache.c ngx_http_file_cache_manage_file(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 1324 http/ngx_http_file_cache.c if (ngx_http_file_cache_add_file(ctx, path) != NGX_OK) { path 1325 http/ngx_http_file_cache.c (void) ngx_http_file_cache_delete_file(ctx, path); path 1469 http/ngx_http_file_cache.c ngx_http_file_cache_delete_file(ngx_tree_ctx_t *ctx, ngx_str_t *path) path 1472 http/ngx_http_file_cache.c "http file cache delete: \"%s\"", path->data); path 1474 http/ngx_http_file_cache.c if (ngx_delete_file(path->data) == NGX_FILE_ERROR) { path 1476 http/ngx_http_file_cache.c ngx_delete_file_n " \"%s\" failed", path->data); path 1525 http/ngx_http_file_cache.c cache->path = ngx_pcalloc(cf->pool, sizeof(ngx_path_t)); path 1526 http/ngx_http_file_cache.c if (cache->path == NULL) { path 1538 http/ngx_http_file_cache.c cache->path->name = value[1]; path 1540 http/ngx_http_file_cache.c if (cache->path->name.data[cache->path->name.len - 1] == '/') { path 1541 http/ngx_http_file_cache.c cache->path->name.len--; path 1544 http/ngx_http_file_cache.c if (ngx_conf_full_name(cf->cycle, &cache->path->name, 0) != NGX_OK) { path 1559 http/ngx_http_file_cache.c cache->path->level[n] = *p++ - '0'; path 1560 http/ngx_http_file_cache.c cache->path->len += cache->path->level[n] + 1; path 1576 http/ngx_http_file_cache.c if (cache->path->len < 10 + 3) { path 1656 http/ngx_http_file_cache.c cache->path->manager = ngx_http_file_cache_manager; path 1657 http/ngx_http_file_cache.c cache->path->loader = ngx_http_file_cache_loader; path 1658 http/ngx_http_file_cache.c cache->path->data = cache; path 1660 http/ngx_http_file_cache.c if (ngx_add_path(cf, &cache->path) != NGX_OK) { path 74 http/ngx_http_request_body.c tf->path = clcf->client_body_temp_path; path 87 http/ngx_http_request_body.c if (ngx_create_temp_file(&tf->file, tf->path, tf->pool, path 404 http/ngx_http_request_body.c tf->path = clcf->client_body_temp_path; path 1474 http/ngx_http_script.c ngx_str_t path; path 1486 http/ngx_http_script.c path.len = value->len - 1; path 1487 http/ngx_http_script.c path.data = value->data; path 1492 http/ngx_http_script.c "http script file op %p \"%V\"", code->op, &path); path 1506 http/ngx_http_script.c if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) path 2224 http/ngx_http_upstream.c p->temp_file->path = u->conf->temp_path; path 2705 http/ngx_http_upstream.c ngx_str_t path; path 2722 http/ngx_http_upstream.c tf->path = u->conf->temp_path; path 2726 http/ngx_http_upstream.c if (ngx_create_temp_file(&tf->file, tf->path, tf->pool, path 2756 http/ngx_http_upstream.c ngx_http_map_uri_to_path(r, &path, &root, 0); path 2759 http/ngx_http_upstream.c if (ngx_http_script_run(r, &path, u->conf->store_lengths->elts, 0, path 2767 http/ngx_http_upstream.c path.len--; path 2771 http/ngx_http_upstream.c tf->file.name.data, path.data); path 2773 http/ngx_http_upstream.c (void) ngx_ext_rename_file(&tf->file.name, &path, &ext); path 1118 http/ngx_http_variables.c ngx_str_t path; path 1131 http/ngx_http_variables.c if (ngx_http_script_run(r, &path, clcf->root_lengths->elts, 0, path 1138 http/ngx_http_variables.c if (ngx_conf_full_name((ngx_cycle_t *) ngx_cycle, &path, 0) != NGX_OK) { path 1142 http/ngx_http_variables.c v->len = path.len; path 1146 http/ngx_http_variables.c v->data = path.data; path 1158 http/ngx_http_variables.c ngx_str_t path; path 1165 http/ngx_http_variables.c path = clcf->root; path 1168 http/ngx_http_variables.c if (ngx_http_script_run(r, &path, clcf->root_lengths->elts, 1, path 1175 http/ngx_http_variables.c path.data[path.len - 1] = '\0'; path 1177 http/ngx_http_variables.c if (ngx_conf_full_name((ngx_cycle_t *) ngx_cycle, &path, 0) != NGX_OK) { path 1182 http/ngx_http_variables.c if (ngx_realpath(path.data, real) == NULL) { path 1184 http/ngx_http_variables.c ngx_realpath_n " \"%s\" failed", path.data); path 1211 http/ngx_http_variables.c ngx_str_t path; path 1213 http/ngx_http_variables.c if (ngx_http_map_uri_to_path(r, &path, &root, 0) == NULL) { path 1219 http/ngx_http_variables.c v->len = path.len - 1; path 1223 http/ngx_http_variables.c v->data = path.data; path 271 os/unix/ngx_process.c if (execve(ctx->path, ctx->argv, ctx->envp) == -1) { path 274 os/unix/ngx_process.c ctx->name, ctx->path); path 38 os/unix/ngx_process.h char *path; path 376 os/unix/ngx_process_cycle.c ngx_path_t **path; path 382 os/unix/ngx_process_cycle.c path = ngx_cycle->pathes.elts; path 385 os/unix/ngx_process_cycle.c if (path[i]->manager) { path 389 os/unix/ngx_process_cycle.c if (path[i]->loader) { path 1338 os/unix/ngx_process_cycle.c ngx_path_t **path; path 1342 os/unix/ngx_process_cycle.c path = ngx_cycle->pathes.elts; path 1345 os/unix/ngx_process_cycle.c if (path[i]->manager) { path 1346 os/unix/ngx_process_cycle.c n = path[i]->manager(path[i]->data); path 1366 os/unix/ngx_process_cycle.c ngx_path_t **path; path 1371 os/unix/ngx_process_cycle.c path = cycle->pathes.elts; path 1378 os/unix/ngx_process_cycle.c if (path[i]->loader) { path 1379 os/unix/ngx_process_cycle.c path[i]->loader(path[i]->data);