Lines Matching refs:type

55     nxt_conf_vldt_type_t          type:32;  member
74 nxt_str_t *name, nxt_conf_value_t *value, nxt_conf_vldt_type_t type);
249 .type = NXT_CONF_VLDT_OBJECT,
254 .type = NXT_CONF_VLDT_OBJECT,
259 .type = NXT_CONF_VLDT_ARRAY | NXT_CONF_VLDT_OBJECT,
263 .type = NXT_CONF_VLDT_OBJECT,
268 .type = NXT_CONF_VLDT_OBJECT,
273 .type = NXT_CONF_VLDT_STRING,
283 .type = NXT_CONF_VLDT_OBJECT,
295 .type = NXT_CONF_VLDT_INTEGER,
298 .type = NXT_CONF_VLDT_INTEGER,
301 .type = NXT_CONF_VLDT_INTEGER,
304 .type = NXT_CONF_VLDT_INTEGER,
307 .type = NXT_CONF_VLDT_INTEGER,
310 .type = NXT_CONF_VLDT_INTEGER,
313 .type = NXT_CONF_VLDT_STRING,
316 .type = NXT_CONF_VLDT_BOOLEAN,
319 .type = NXT_CONF_VLDT_OBJECT,
324 .type = NXT_CONF_VLDT_OBJECT,
336 .type = NXT_CONF_VLDT_INTEGER,
340 .type = NXT_CONF_VLDT_INTEGER,
343 .type = NXT_CONF_VLDT_INTEGER,
353 .type = NXT_CONF_VLDT_OBJECT,
364 .type = NXT_CONF_VLDT_STRING,
369 .type = NXT_CONF_VLDT_STRING,
373 .type = NXT_CONF_VLDT_OBJECT,
377 .type = NXT_CONF_VLDT_OBJECT,
385 .type = NXT_CONF_VLDT_OBJECT,
398 .type = NXT_CONF_VLDT_STRING,
401 .type = NXT_CONF_VLDT_STRING,
404 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
409 .type = NXT_CONF_VLDT_BOOLEAN,
419 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
424 .type = NXT_CONF_VLDT_STRING,
428 .type = NXT_CONF_VLDT_BOOLEAN,
440 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
445 .type = NXT_CONF_VLDT_OBJECT,
454 .type = NXT_CONF_VLDT_OBJECT,
466 .type = NXT_CONF_VLDT_INTEGER,
470 .type = NXT_CONF_VLDT_INTEGER,
474 .type = NXT_CONF_VLDT_STRING
580 .type = NXT_CONF_VLDT_OBJECT,
585 .type = NXT_CONF_VLDT_OBJECT,
596 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
601 .type = NXT_CONF_VLDT_STRING,
605 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
610 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
614 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
618 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
623 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
628 .type = NXT_CONF_VLDT_OBJECT | NXT_CONF_VLDT_ARRAY,
632 .type = NXT_CONF_VLDT_OBJECT | NXT_CONF_VLDT_ARRAY,
637 .type = NXT_CONF_VLDT_OBJECT | NXT_CONF_VLDT_ARRAY,
649 .type = NXT_CONF_VLDT_STRING,
661 .type = NXT_CONF_VLDT_INTEGER,
665 .type = NXT_CONF_VLDT_STRING,
676 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
680 .type = NXT_CONF_VLDT_STRING,
683 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
687 .type = NXT_CONF_VLDT_OBJECT,
691 .type = NXT_CONF_VLDT_STRING,
699 .type = NXT_CONF_VLDT_BOOLEAN,
706 .type = NXT_CONF_VLDT_BOOLEAN,
720 .type = NXT_CONF_VLDT_STRING,
731 .type = NXT_CONF_VLDT_STRING,
735 .type = NXT_CONF_VLDT_ARRAY,
747 .type = NXT_CONF_VLDT_STRING,
750 .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
754 .type = NXT_CONF_VLDT_STRING,
758 .type = NXT_CONF_VLDT_INTEGER,
762 .type = NXT_CONF_VLDT_INTEGER,
772 .type = NXT_CONF_VLDT_STRING,
777 .type = NXT_CONF_VLDT_STRING,
782 .type = NXT_CONF_VLDT_OBJECT,
794 .type = NXT_CONF_VLDT_STRING,
798 .type = NXT_CONF_VLDT_STRING,
808 .type = NXT_CONF_VLDT_STRING,
812 .type = NXT_CONF_VLDT_STRING,
822 .type = NXT_CONF_VLDT_ANY_TYPE,
827 .type = NXT_CONF_VLDT_ANY_TYPE,
832 .type = NXT_CONF_VLDT_ANY_TYPE,
837 .type = NXT_CONF_VLDT_OBJECT,
849 .type = NXT_CONF_VLDT_OBJECT,
861 .type = NXT_CONF_VLDT_STRING,
864 .type = NXT_CONF_VLDT_OBJECT,
869 .type = NXT_CONF_VLDT_OBJECT,
881 .type = NXT_CONF_VLDT_STRING,
885 .type = NXT_CONF_VLDT_STRING,
888 .type = NXT_CONF_VLDT_STRING,
898 .type = NXT_CONF_VLDT_STRING,
902 .type = NXT_CONF_VLDT_STRING,
905 .type = NXT_CONF_VLDT_STRING,
915 .type = NXT_CONF_VLDT_STRING,
919 .type = NXT_CONF_VLDT_INTEGER,
923 .type = NXT_CONF_VLDT_INTEGER,
934 .type = NXT_CONF_VLDT_STRING,
938 .type = NXT_CONF_VLDT_INTEGER,
942 .type = NXT_CONF_VLDT_STRING
952 .type = NXT_CONF_VLDT_ARRAY,
957 .type = NXT_CONF_VLDT_STRING,
961 .type = NXT_CONF_VLDT_ARRAY,
966 .type = NXT_CONF_VLDT_STRING,
969 .type = NXT_CONF_VLDT_INTEGER,
973 .type = NXT_CONF_VLDT_INTEGER,
984 .type = NXT_CONF_VLDT_STRING,
987 .type = NXT_CONF_VLDT_OBJECT,
992 .type = NXT_CONF_VLDT_INTEGER | NXT_CONF_VLDT_OBJECT,
997 .type = NXT_CONF_VLDT_STRING,
1000 .type = NXT_CONF_VLDT_STRING,
1003 .type = NXT_CONF_VLDT_STRING,
1006 .type = NXT_CONF_VLDT_OBJECT,
1011 .type = NXT_CONF_VLDT_OBJECT,
1023 .type = NXT_CONF_VLDT_INTEGER,
1026 .type = NXT_CONF_VLDT_INTEGER,
1029 .type = NXT_CONF_VLDT_INTEGER,
1039 .type = NXT_CONF_VLDT_INTEGER,
1042 .type = NXT_CONF_VLDT_INTEGER,
1045 .type = NXT_CONF_VLDT_INTEGER,
1055 .type = NXT_CONF_VLDT_OBJECT,
1063 .type = NXT_CONF_VLDT_ARRAY,
1068 .type = NXT_CONF_VLDT_ARRAY,
1077 .type = NXT_CONF_VLDT_STRING,
1080 .type = NXT_CONF_VLDT_OBJECT,
1089 .type = NXT_CONF_VLDT_BOOLEAN,
1102 .type = NXT_CONF_VLDT_BOOLEAN,
1109 .type = NXT_CONF_VLDT_BOOLEAN,
1116 .type = NXT_CONF_VLDT_BOOLEAN,
1123 .type = NXT_CONF_VLDT_BOOLEAN,
1130 .type = NXT_CONF_VLDT_BOOLEAN,
1137 .type = NXT_CONF_VLDT_BOOLEAN,
1150 .type = NXT_CONF_VLDT_BOOLEAN,
1153 .type = NXT_CONF_VLDT_BOOLEAN,
1156 .type = NXT_CONF_VLDT_BOOLEAN,
1170 .type = NXT_CONF_VLDT_INTEGER,
1173 .type = NXT_CONF_VLDT_INTEGER,
1176 .type = NXT_CONF_VLDT_INTEGER,
1188 .type = NXT_CONF_VLDT_OBJECT,
1200 .type = NXT_CONF_VLDT_NUMBER,
1229 nxt_conf_value_t *value, nxt_conf_vldt_type_t type) in nxt_conf_vldt_type() argument
1249 if ((1 << value_type) & type) { in nxt_conf_vldt_type()
1255 n = nxt_popcount(type); in nxt_conf_vldt_type()
1264 t = __builtin_ffs(type) - 1; in nxt_conf_vldt_type()
1284 type = type & ~(1 << t); in nxt_conf_vldt_type()
1356 nxt_str_t *type; member
1403 ctx->type = nxt_mp_get(ctx->pool, sizeof(nxt_str_t)); in nxt_conf_vldt_mtypes_type()
1404 if (nxt_slow_path(ctx->type == NULL)) { in nxt_conf_vldt_mtypes_type()
1408 *ctx->type = *name; in nxt_conf_vldt_mtypes_type()
1432 "contain only strings.", ctx->type); in nxt_conf_vldt_mtypes_extension()
1439 "the \"%V\" MIME type.", ctx->type); in nxt_conf_vldt_mtypes_extension()
1448 &exten, dup_type, ctx->type); in nxt_conf_vldt_mtypes_extension()
1452 ctx->type); in nxt_conf_vldt_mtypes_extension()
2375 nxt_str_t type; in nxt_conf_vldt_app() local
2414 nxt_conf_get_string(type_value, &type); in nxt_conf_vldt_app()
2418 lang = nxt_app_lang_module(thread->runtime, &type); in nxt_conf_vldt_app()
2423 &type); in nxt_conf_vldt_app()
2426 return types[lang->type].validator(vldt, value, types[lang->type].members); in nxt_conf_vldt_app()
2508 ret = nxt_conf_vldt_type(vldt, &name, member, vals->type); in nxt_conf_vldt_object()