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);
774 exten->length = end - p; in nxt_http_static_extract_extension()
775 exten->start = p; in nxt_http_static_extract_extension()
923 nxt_str_t *type, exten; in nxt_http_static_mtypes_init() local
929 const char *exten; in nxt_http_static_mtypes_init() member
996 exten.start = (u_char *) default_types[i].exten; in nxt_http_static_mtypes_init()
997 exten.length = nxt_strlen(exten.start); in nxt_http_static_mtypes_init()
1020 nxt_str_t exten; member
1037 mtype->exten = *exten; in nxt_http_static_mtypes_hash_add()
1040 lhq.key = *exten; in nxt_http_static_mtypes_hash_add()
[all …]
H A Dnxt_http.h379 const nxt_str_t *exten, nxt_str_t *type);
381 const nxt_str_t *exten);
H A Dnxt_conf_validation.c1425 nxt_str_t exten, *dup_type; in nxt_conf_vldt_mtypes_extension() local
1435 nxt_conf_get_string(value, &exten); in nxt_conf_vldt_mtypes_extension()
1437 if (exten.length == 0) { in nxt_conf_vldt_mtypes_extension()
1442 dup_type = nxt_http_static_mtype_get(&ctx->hash, &exten); in nxt_conf_vldt_mtypes_extension()
1448 &exten, dup_type, ctx->type); in nxt_conf_vldt_mtypes_extension()
1451 return nxt_http_static_mtypes_hash_add(ctx->pool, &ctx->hash, &exten, in nxt_conf_vldt_mtypes_extension()
H A Dnxt_router.c2064 nxt_str_t *type, exten, str; in nxt_router_conf_process_static() local
2102 if (nxt_slow_path(nxt_str_dup(mp, &exten, &str) == NULL)) { in nxt_router_conf_process_static()
2107 &exten, type); in nxt_router_conf_process_static()
2122 if (nxt_slow_path(nxt_str_dup(mp, &exten, &str) == NULL)) { in nxt_router_conf_process_static()
2127 &exten, type); in nxt_router_conf_process_static()