Searched refs:name (Results 1 - 25 of 164) sorted by relevance

1234567

/tldk/app/nginx/src/os/win32/
H A Dngx_shmem.c47 u_char *name; local
51 name = ngx_alloc(shm->name.len + 2 + NGX_INT32_LEN, shm->log);
52 if (name == NULL) {
56 (void) ngx_sprintf(name, "%V_%s%Z", &shm->name, ngx_unique);
65 (char *) name);
70 shm->size, name);
71 ngx_free(name);
76 ngx_free(name);
[all...]
H A Dngx_files.c14 static ngx_int_t ngx_win32_check_filename(u_char *name, u_short *u,
22 ngx_open_file(u_char *name, u_long mode, u_long create, u_long access) argument
31 u = ngx_utf8_to_utf16(utf16, name, &len);
40 && ngx_win32_check_filename(name, u, len) != NGX_OK)
84 "ReadFile() \"%s\" failed", file->name.data);
110 "WriteFile() \"%s\" failed", file->name.data);
117 file->name.data, n, size);
208 u_char *name; local
213 name = ngx_alloc(to->len + 1 + NGX_ATOMIC_T_LEN + 1 + sizeof("DELETE"),
215 if (name
306 ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s) argument
427 ngx_open_dir(ngx_str_t *name, ngx_dir_t *dir) argument
522 ngx_read_glob(ngx_glob_t *gl, ngx_str_t *name) argument
592 ngx_de_info(u_char *name, ngx_dir_t *dir) argument
599 ngx_de_link_info(u_char *name, ngx_dir_t *dir) argument
627 ngx_fs_bsize(u_char *name) argument
646 ngx_win32_check_filename(u_char *name, u_short *u, size_t len) argument
[all...]
H A Dngx_files.h22 u_char *name; member in struct:__anon392
50 ngx_str_t name; member in struct:__anon394
72 ngx_fd_t ngx_open_file(u_char *name, u_long mode, u_long create, u_long access);
89 #define ngx_open_tempfile(name, persistent, access) \
90 CreateFile((const char *) name, \
122 #define ngx_delete_file(name) DeleteFile((const char *) name)
132 ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s);
144 #define ngx_link_info(name, fi) ngx_file_info(name, f
[all...]
H A Dngx_process.h30 char *name; member in struct:__anon396
47 char *name; member in struct:__anon397
55 ngx_pid_t ngx_spawn_process(ngx_cycle_t *cycle, char *name, ngx_int_t respawn);
H A Dngx_shmem.h19 ngx_str_t name; member in struct:__anon398
/tldk/app/nginx/src/core/
H A Dngx_shmtx.c19 ngx_shmtx_create(ngx_shmtx_t *mtx, ngx_shmtx_sh_t *addr, u_char *name) argument
203 ngx_shmtx_create(ngx_shmtx_t *mtx, ngx_shmtx_sh_t *addr, u_char *name) argument
205 if (mtx->name) {
207 if (ngx_strcmp(name, mtx->name) == 0) {
208 mtx->name = name;
215 mtx->fd = ngx_open_file(name, NGX_FILE_RDWR, NGX_FILE_CREATE_OR_OPEN,
220 ngx_open_file_n " \"%s\" failed", name);
224 if (ngx_delete_file(name)
[all...]
H A Dngx_file.c12 static ngx_int_t ngx_test_full_name(ngx_str_t *name);
21 ngx_get_full_name(ngx_pool_t *pool, ngx_str_t *prefix, ngx_str_t *name) argument
27 rc = ngx_test_full_name(name);
43 n = ngx_pnalloc(pool, len + name->len + 1);
49 ngx_cpystrn(p, name->data, name->len + 1);
51 name->len += len;
52 name->data = n;
59 ngx_test_full_name(ngx_str_t *name) argument
64 c0 = name
148 ngx_str_t name; local
664 u_char *name; local
948 u_char *p, *name; local
[all...]
H A Dngx_hash.c13 ngx_hash_find(ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len) argument
19 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "hf:\"%*s\"", len, name);
34 if (name[i] != elt->name[i]) {
43 elt = (ngx_hash_elt_t *) ngx_align_ptr(&elt->name[0] + elt->len,
53 ngx_hash_find_wc_head(ngx_hash_wildcard_t *hwc, u_char *name, size_t len) argument
59 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "wch:\"%*s\"", len, name);
65 if (name[n - 1] == '.') {
75 key = ngx_hash(key, name[i]);
82 value = ngx_hash_find(&hwc->hash, key, &name[
147 ngx_hash_find_wc_tail(ngx_hash_wildcard_t *hwc, u_char *name, size_t len) argument
211 ngx_hash_find_combined(ngx_hash_combined_t *hash, ngx_uint_t key, u_char *name, size_t len) argument
471 ngx_hash_key_t *name, *next_name; local
718 ngx_str_t *name; local
[all...]
H A Dngx_shmtx.h34 u_char *name;
41 u_char *name);
H A Dngx_thread_pool.h29 ngx_thread_pool_t *ngx_thread_pool_add(ngx_conf_t *cf, ngx_str_t *name);
30 ngx_thread_pool_t *ngx_thread_pool_get(ngx_cycle_t *cycle, ngx_str_t *name);
H A Dngx_open_file_cache.c26 static ngx_fd_t ngx_openat_file_owner(ngx_fd_t at_fd, const u_char *name,
33 static ngx_fd_t ngx_open_file_wrapper(ngx_str_t *name,
36 static ngx_int_t ngx_file_info_wrapper(ngx_str_t *name,
38 static ngx_int_t ngx_open_and_stat_file(ngx_str_t *name,
51 ngx_open_file_lookup(ngx_open_file_cache_t *cache, ngx_str_t *name,
116 "delete cached open file: %s", file->name);
124 ngx_free(file->name);
144 ngx_open_cached_file(ngx_open_file_cache_t *cache, ngx_str_t *name, argument
163 if (ngx_file_info_wrapper(name, of, &fi, pool->log)
186 rc = ngx_open_and_stat_file(name, o
492 ngx_openat_file_owner(ngx_fd_t at_fd, const u_char *name, ngx_int_t mode, ngx_int_t create, ngx_int_t access, ngx_log_t *log) argument
614 ngx_open_file_wrapper(ngx_str_t *name, ngx_open_file_info_t *of, ngx_int_t mode, ngx_int_t create, ngx_int_t access, ngx_log_t *log) argument
781 ngx_file_info_wrapper(ngx_str_t *name, ngx_open_file_info_t *of, ngx_file_info_t *fi, ngx_log_t *log) argument
840 ngx_open_and_stat_file(ngx_str_t *name, ngx_open_file_info_t *of, ngx_log_t *log) argument
1187 ngx_open_file_lookup(ngx_open_file_cache_t *cache, ngx_str_t *name, uint32_t hash) argument
[all...]
H A Dngx_hash.h19 u_char name[1]; member in struct:__anon21
59 char *name; member in struct:__anon26
100 void *ngx_hash_find(ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len);
101 void *ngx_hash_find_wc_head(ngx_hash_wildcard_t *hwc, u_char *name, size_t len);
102 void *ngx_hash_find_wc_tail(ngx_hash_wildcard_t *hwc, u_char *name, size_t len);
104 u_char *name, size_t len);
H A Dngx_cycle.c202 /* on Linux gethostname() silently truncates name that does not fit */
329 /* new pid file name */
370 if (file[i].name.len == 0) {
374 file[i].fd = ngx_open_file(file[i].name.data,
381 &file[i], file[i].fd, file[i].name.data);
386 file[i].name.data);
394 file[i].name.data);
423 &shm_zone[i].shm.name);
443 if (shm_zone[i].shm.name.len != oshm_zone[n].shm.name
703 u_char *name; local
934 ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log) argument
981 u_char *name; local
1207 ngx_shared_memory_add(ngx_conf_t *cf, ngx_str_t *name, size_t size, void *tag) argument
[all...]
/tldk/app/nginx/src/os/unix/
H A Dngx_files.h22 u_char *name; member in struct:__anon379
60 #define ngx_open_file(name, mode, create, access) \
61 open((const char *) name, mode|create|O_BINARY, access)
65 #define ngx_open_file(name, mode, create, access) \
66 open((const char *) name, mode|create, access)
113 #define ngx_delete_file(name) unlink((const char *) name)
117 ngx_fd_t ngx_open_tempfile(u_char *name, ngx_uint_t persistent,
169 ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s);
219 ngx_int_t ngx_open_dir(ngx_str_t *name, ngx_dir_
250 ngx_de_info(u_char *name, ngx_dir_t *dir) argument
[all...]
H A Dngx_shmem.h19 ngx_str_t name; member in struct:__anon390
H A Dngx_files.c44 "pread() \"%s\" failed", file->name.data);
53 "lseek() \"%s\" failed", file->name.data);
64 "read() \"%s\" failed", file->name.data);
129 "pread() \"%s\" failed", file->name.data);
218 "pwrite() \"%s\" failed", file->name.data);
238 "lseek() \"%s\" failed", file->name.data);
258 "write() \"%s\" failed", file->name.data);
277 ngx_open_tempfile(u_char *name, ngx_uint_t persistent, ngx_uint_t access) argument
281 fd = open((const char *) name, O_CREAT|O_EXCL|O_RDWR,
285 (void) unlink((const char *) name);
601 ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s) argument
671 ngx_open_dir(ngx_str_t *name, ngx_dir_t *dir) argument
727 ngx_read_glob(ngx_glob_t *gl, ngx_str_t *name) argument
865 ngx_fs_bsize(u_char *name) argument
883 ngx_fs_bsize(u_char *name) argument
901 ngx_fs_bsize(u_char *name) argument
[all...]
H A Dngx_darwin_init.c39 char *name; member in struct:__anon377
137 for (i = 0; sysctls[i].name; i++) {
140 if (sysctlbyname(sysctls[i].name, sysctls[i].value, &size, NULL, 0)
154 "sysctlbyname(%s) failed", sysctls[i].name);
185 for (i = 0; sysctls[i].name; i++) {
195 sysctls[i].name, value);
H A Dngx_freebsd_init.c48 char *name; member in struct:__anon382
188 for (i = 0; sysctls[i].name; i++) {
191 if (sysctlbyname(sysctls[i].name, sysctls[i].value, &size, NULL, 0)
205 "sysctlbyname(%s) failed", sysctls[i].name);
249 for (i = 0; sysctls[i].name; i++) {
259 sysctls[i].name, value);
/tldk/app/nginx/src/stream/
H A Dngx_stream_variables.c14 ngx_str_t *name, ngx_uint_t flags);
128 ngx_stream_add_variable(ngx_conf_t *cf, ngx_str_t *name, ngx_uint_t flags) argument
136 if (name->len == 0) {
138 "invalid variable name \"$\"");
143 return ngx_stream_add_prefix_variable(cf, name, flags);
150 if (name->len != key[i].key.len
151 || ngx_strncasecmp(name->data, key[i].key.data, name->len) != 0)
160 "the duplicate \"%V\" variable", name);
174 v->name
205 ngx_stream_add_prefix_variable(ngx_conf_t *cf, ngx_str_t *name, ngx_uint_t flags) argument
259 ngx_stream_get_variable_index(ngx_conf_t *cf, ngx_str_t *name) argument
389 ngx_stream_get_variable(ngx_stream_session_t *s, ngx_str_t *name, ngx_uint_t key) argument
947 ngx_str_t name; local
[all...]
H A Dngx_stream_variables.h38 ngx_str_t name; /* must be first to build the hash */ member in struct:ngx_stream_variable_s
47 ngx_stream_variable_t *ngx_stream_add_variable(ngx_conf_t *cf, ngx_str_t *name,
49 ngx_int_t ngx_stream_get_variable_index(ngx_conf_t *cf, ngx_str_t *name);
56 ngx_str_t *name, ngx_uint_t key);
72 ngx_str_t name; member in struct:__anon478
/tldk/app/nginx/src/http/
H A Dngx_http_variables.h38 ngx_str_t name; /* must be first to build the hash */ member in struct:ngx_http_variable_s
47 ngx_http_variable_t *ngx_http_add_variable(ngx_conf_t *cf, ngx_str_t *name,
49 ngx_int_t ngx_http_get_variable_index(ngx_conf_t *cf, ngx_str_t *name);
56 ngx_str_t *name, ngx_uint_t key);
75 ngx_str_t name; member in struct:__anon333
H A Dngx_http_file_cache.c42 ngx_md5_t *md5, ngx_str_t *name);
51 ngx_queue_t *q, u_char *name);
94 if (ngx_strcmp(cache->path->name.data, ocache->path->name.data) != 0) {
98 &shm_zone->shm.name, &cache->path->name,
99 &ocache->path->name);
108 &shm_zone->shm.name);
131 cache->bsize = ngx_fs_bsize(cache->path->name.data);
154 cache->bsize = ngx_fs_bsize(cache->path->name
753 ngx_str_t name; local
1059 ngx_str_t name; local
1104 ngx_http_file_cache_vary_header(ngx_http_request_t *r, ngx_md5_t *md5, ngx_str_t *name) argument
1703 u_char *name; local
1766 u_char *name, *p; local
1875 ngx_http_file_cache_delete(ngx_http_file_cache_t *cache, ngx_queue_t *q, u_char *name) argument
2111 ngx_http_file_cache_add_file(ngx_tree_ctx_t *ctx, ngx_str_t *name) argument
2279 ngx_str_t s, name, *value; local
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_index_module.c14 ngx_str_t name; member in struct:__anon153
99 u_char *p, *name; local
126 name = NULL;
135 if (index[i].name.data[0] == '/') {
136 return ngx_http_internal_redirect(r, &index[i].name, &r->args);
140 len = index[i].name.len;
164 name = ngx_http_map_uri_to_path(r, &path, &root, reserve);
165 if (name == NULL) {
169 allocated = path.data + path.len - name;
174 /* index[i].name
[all...]
H A Dngx_http_random_index_module.c22 ngx_dir_t *dir, ngx_str_t *name);
80 ngx_str_t path, uri, *name; local
216 name = ngx_array_push(&names);
217 if (name == NULL) {
221 name->len = len;
223 name->data = ngx_pnalloc(r->pool, len);
224 if (name->data == NULL) {
228 ngx_memcpy(name->data, ngx_de_name(&dir), len);
242 name = names.elts;
246 uri.len = r->uri.len + name[
261 ngx_http_random_index_error(ngx_http_request_t *r, ngx_dir_t *dir, ngx_str_t *name) argument
[all...]
/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2_table.c105 name_only ? "header" : "header name", index);
120 p = ngx_pnalloc(h2c->state.pool, entry->name.len + 1);
125 h2c->state.header.name.len = entry->name.len;
126 h2c->state.header.name.data = p;
128 rest = h2c->hpack.storage + NGX_HTTP_V2_TABLE_SIZE - entry->name.data;
130 if (entry->name.len > rest) {
131 p = ngx_cpymem(p, entry->name.data, rest);
132 p = ngx_cpymem(p, h2c->hpack.storage, entry->name.len - rest);
135 p = ngx_cpymem(p, entry->name
[all...]

Completed in 24 milliseconds

1234567