Lines Matching refs:src

126     nxt_conf_value_t *dst, nxt_conf_value_t *src);
128 nxt_conf_value_t *dst, nxt_conf_value_t *src);
130 nxt_conf_value_t *dst, nxt_conf_value_t *src);
144 static u_char *nxt_conf_json_escape(u_char *dst, u_char *src, size_t size);
970 nxt_conf_value_t *src) in nxt_conf_copy_value() argument
973 && src->type != NXT_CONF_VALUE_ARRAY in nxt_conf_copy_value()
974 && src->type != NXT_CONF_VALUE_OBJECT) in nxt_conf_copy_value()
979 switch (src->type) { in nxt_conf_copy_value()
983 dst->u.string.start = nxt_mp_nget(mp, src->u.string.length); in nxt_conf_copy_value()
988 nxt_memcpy(dst->u.string.start, src->u.string.start, in nxt_conf_copy_value()
989 src->u.string.length); in nxt_conf_copy_value()
991 dst->u.string.length = src->u.string.length; in nxt_conf_copy_value()
996 return nxt_conf_copy_array(mp, op, dst, src); in nxt_conf_copy_value()
999 return nxt_conf_copy_object(mp, op, dst, src); in nxt_conf_copy_value()
1002 dst->u = src->u; in nxt_conf_copy_value()
1005 dst->type = src->type; in nxt_conf_copy_value()
1013 nxt_conf_value_t *src) in nxt_conf_copy_array() argument
1021 count = src->u.array->count; in nxt_conf_copy_array()
1054 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1059 &src->u.array->elements[s]); in nxt_conf_copy_array()
1105 dst->type = src->type; in nxt_conf_copy_array()
1113 nxt_conf_value_t *src) in nxt_conf_copy_object() argument
1122 count = src->u.object->count; in nxt_conf_copy_object()
1156 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
1162 &src->u.object->members[s].name); in nxt_conf_copy_object()
1170 &src->u.object->members[s].value); in nxt_conf_copy_object()
1211 &src->u.object->members[s].name); in nxt_conf_copy_object()
1235 dst->type = src->type; in nxt_conf_copy_object()
2565 nxt_conf_json_escape(u_char *dst, u_char *src, size_t size) in nxt_conf_json_escape() argument
2570 ch = *src++; in nxt_conf_json_escape()