Lines Matching refs:type

65     uint8_t                   type;  /* 3 bits. */  member
166 if (value->type == NXT_CONF_VALUE_SHORT_STRING) { in nxt_conf_get_string()
181 value->type = NXT_CONF_VALUE_STRING; in nxt_conf_set_string()
186 value->type = NXT_CONF_VALUE_SHORT_STRING; in nxt_conf_set_string()
201 value->type = NXT_CONF_VALUE_STRING; in nxt_conf_set_string_dup()
212 value->type = NXT_CONF_VALUE_SHORT_STRING; in nxt_conf_set_string_dup()
261 value->type = NXT_CONF_VALUE_OBJECT; in nxt_conf_create_object()
326 member->value.type = NXT_CONF_VALUE_INTEGER; in nxt_conf_set_member_integer()
340 member->value.type = NXT_CONF_VALUE_NULL; in nxt_conf_set_member_null()
362 value->type = NXT_CONF_VALUE_ARRAY; in nxt_conf_create_array()
398 return (value->type == NXT_CONF_VALUE_ARRAY) ? value->u.array->count : 1; in nxt_conf_array_elements_count_or_1()
405 switch (value->type) { in nxt_conf_type()
462 switch (value->type) { in nxt_conf_get_path()
536 if (value->type != NXT_CONF_VALUE_OBJECT) { in nxt_conf_get_object_member()
588 if (v == NULL || v->type == NXT_CONF_VALUE_NULL) { in nxt_conf_map_object()
594 switch (map[i].type) { in nxt_conf_map_object()
598 if (v->type == NXT_CONF_VALUE_BOOLEAN) { in nxt_conf_map_object()
611 if (v->type != NXT_CONF_VALUE_INTEGER) { in nxt_conf_map_object()
617 switch (map[i].type) { in nxt_conf_map_object()
651 if (v->type == NXT_CONF_VALUE_NUMBER) { in nxt_conf_map_object()
661 if (v->type != NXT_CONF_VALUE_SHORT_STRING in nxt_conf_map_object()
662 && v->type != NXT_CONF_VALUE_STRING) in nxt_conf_map_object()
669 switch (map[i].type) { in nxt_conf_map_object()
721 if (value->type != NXT_CONF_VALUE_OBJECT) { in nxt_conf_next_object_member()
746 if (value->type != NXT_CONF_VALUE_ARRAY) { in nxt_conf_get_array_element()
765 if (value->type != NXT_CONF_VALUE_ARRAY) { in nxt_conf_get_array_element_or_itself()
785 if (value->type != NXT_CONF_VALUE_ARRAY) { in nxt_conf_array_qsort()
826 switch (root->type) { in nxt_conf_op_compile()
876 if (node->type != NXT_CONF_VALUE_ARRAY) { in nxt_conf_op_compile()
905 if (root->type == NXT_CONF_VALUE_ARRAY) { in nxt_conf_op_compile()
959 && src->type != NXT_CONF_VALUE_ARRAY in nxt_conf_copy_value()
960 && src->type != NXT_CONF_VALUE_OBJECT) in nxt_conf_copy_value()
965 switch (src->type) { in nxt_conf_copy_value()
991 dst->type = src->type; in nxt_conf_copy_value()
1091 dst->type = src->type; in nxt_conf_copy_array()
1221 dst->type = src->type; in nxt_conf_copy_object()
1381 value->type = NXT_CONF_VALUE_BOOLEAN; in nxt_conf_json_parse_value()
1393 value->type = NXT_CONF_VALUE_BOOLEAN; in nxt_conf_json_parse_value()
1404 value->type = NXT_CONF_VALUE_NULL; in nxt_conf_json_parse_value()
1621 value->type = NXT_CONF_VALUE_OBJECT; in nxt_conf_json_parse_object()
1783 value->type = NXT_CONF_VALUE_ARRAY; in nxt_conf_json_parse_array()
1939 value->type = NXT_CONF_VALUE_STRING; in nxt_conf_json_parse_string()
1951 value->type = NXT_CONF_VALUE_SHORT_STRING; in nxt_conf_json_parse_string()
2189 value->type = (num == trunc(num)) ? NXT_CONF_VALUE_INTEGER in nxt_conf_json_parse_number()
2212 switch (value->type) { in nxt_conf_json_length()
2245 switch (value->type) { in nxt_conf_json_print()