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);
956 nxt_conf_value_t *src) in nxt_conf_copy_value() argument
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()
969 dst->u.string.start = nxt_mp_nget(mp, src->u.string.length); in nxt_conf_copy_value()
974 nxt_memcpy(dst->u.string.start, src->u.string.start, in nxt_conf_copy_value()
975 src->u.string.length); in nxt_conf_copy_value()
977 dst->u.string.length = src->u.string.length; in nxt_conf_copy_value()
982 return nxt_conf_copy_array(mp, op, dst, src); in nxt_conf_copy_value()
985 return nxt_conf_copy_object(mp, op, dst, src); in nxt_conf_copy_value()
988 dst->u = src->u; in nxt_conf_copy_value()
991 dst->type = src->type; in nxt_conf_copy_value()
999 nxt_conf_value_t *src) in nxt_conf_copy_array() argument
1007 count = src->u.array->count; in nxt_conf_copy_array()
1040 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1045 &src->u.array->elements[s]); in nxt_conf_copy_array()
1091 dst->type = src->type; in nxt_conf_copy_array()
1099 nxt_conf_value_t *src) in nxt_conf_copy_object() argument
1108 count = src->u.object->count; in nxt_conf_copy_object()
1142 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
1148 &src->u.object->members[s].name); in nxt_conf_copy_object()
1156 &src->u.object->members[s].value); in nxt_conf_copy_object()
1197 &src->u.object->members[s].name); in nxt_conf_copy_object()
1221 dst->type = src->type; in nxt_conf_copy_object()
2551 nxt_conf_json_escape(u_char *dst, u_char *src, size_t size) in nxt_conf_json_escape() argument
2556 ch = *src++; in nxt_conf_json_escape()