Searched refs:exten (Results 1 – 4 of 4) sorted by relevance
/unit/src/ |
H A D | nxt_http_static.c | 58 nxt_str_t *exten); 789 exten->length = end - p; in nxt_http_static_extract_extension() 790 exten->start = p; in nxt_http_static_extract_extension() 938 nxt_str_t *type, exten; in nxt_http_static_mtypes_init() local 944 const char *exten; in nxt_http_static_mtypes_init() member 1011 exten.start = (u_char *) default_types[i].exten; in nxt_http_static_mtypes_init() 1012 exten.length = nxt_strlen(exten.start); in nxt_http_static_mtypes_init() 1035 nxt_str_t exten; member 1052 mtype->exten = *exten; in nxt_http_static_mtypes_hash_add() 1055 lhq.key = *exten; in nxt_http_static_mtypes_hash_add() [all …]
|
H A D | nxt_http.h | 401 const nxt_str_t *exten, nxt_str_t *type); 403 const nxt_str_t *exten);
|
H A D | nxt_conf_validation.c | 1611 nxt_str_t exten, *dup_type; in nxt_conf_vldt_mtypes_extension() local 1621 nxt_conf_get_string(value, &exten); in nxt_conf_vldt_mtypes_extension() 1623 if (exten.length == 0) { in nxt_conf_vldt_mtypes_extension() 1628 dup_type = nxt_http_static_mtype_get(&ctx->hash, &exten); in nxt_conf_vldt_mtypes_extension() 1634 &exten, dup_type, ctx->type); in nxt_conf_vldt_mtypes_extension() 1637 return nxt_http_static_mtypes_hash_add(ctx->pool, &ctx->hash, &exten, in nxt_conf_vldt_mtypes_extension()
|
H A D | nxt_router.c | 2278 nxt_str_t *type, exten, str; in nxt_router_conf_process_static() local 2316 if (nxt_slow_path(nxt_str_dup(mp, &exten, &str) == NULL)) { in nxt_router_conf_process_static() 2321 &exten, type); in nxt_router_conf_process_static() 2336 if (nxt_slow_path(nxt_str_dup(mp, &exten, &str) == NULL)) { in nxt_router_conf_process_static() 2341 &exten, type); in nxt_router_conf_process_static()
|