Home
last modified time | relevance | path

Searched refs:exten (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_http_static.c58 nxt_str_t *exten);
781 exten->length = end - p; in nxt_http_static_extract_extension()
782 exten->start = p; in nxt_http_static_extract_extension()
930 nxt_str_t *type, exten; in nxt_http_static_mtypes_init() local
936 const char *exten; in nxt_http_static_mtypes_init() member
1003 exten.start = (u_char *) default_types[i].exten; in nxt_http_static_mtypes_init()
1004 exten.length = nxt_strlen(exten.start); in nxt_http_static_mtypes_init()
1027 nxt_str_t exten; member
1044 mtype->exten = *exten; in nxt_http_static_mtypes_hash_add()
1047 lhq.key = *exten; in nxt_http_static_mtypes_hash_add()
[all …]
H A Dnxt_http.h385 const nxt_str_t *exten, nxt_str_t *type);
387 const nxt_str_t *exten);
H A Dnxt_conf_validation.c1458 nxt_str_t exten, *dup_type; in nxt_conf_vldt_mtypes_extension() local
1468 nxt_conf_get_string(value, &exten); in nxt_conf_vldt_mtypes_extension()
1470 if (exten.length == 0) { in nxt_conf_vldt_mtypes_extension()
1475 dup_type = nxt_http_static_mtype_get(&ctx->hash, &exten); in nxt_conf_vldt_mtypes_extension()
1481 &exten, dup_type, ctx->type); in nxt_conf_vldt_mtypes_extension()
1484 return nxt_http_static_mtypes_hash_add(ctx->pool, &ctx->hash, &exten, in nxt_conf_vldt_mtypes_extension()
H A Dnxt_router.c2111 nxt_str_t *type, exten, str; in nxt_router_conf_process_static() local
2149 if (nxt_slow_path(nxt_str_dup(mp, &exten, &str) == NULL)) { in nxt_router_conf_process_static()
2154 &exten, type); in nxt_router_conf_process_static()
2169 if (nxt_slow_path(nxt_str_dup(mp, &exten, &str) == NULL)) { in nxt_router_conf_process_static()
2174 &exten, type); in nxt_router_conf_process_static()