Lines Matching refs:src

127     nxt_conf_value_t *dst, nxt_conf_value_t *src);
129 nxt_conf_value_t *dst, nxt_conf_value_t *src);
131 nxt_conf_value_t *dst, nxt_conf_value_t *src);
145 static u_char *nxt_conf_json_escape(u_char *dst, u_char *src, size_t size);
981 nxt_conf_value_t *src) in nxt_conf_copy_value() argument
984 && src->type != NXT_CONF_VALUE_ARRAY in nxt_conf_copy_value()
985 && src->type != NXT_CONF_VALUE_OBJECT) in nxt_conf_copy_value()
990 switch (src->type) { in nxt_conf_copy_value()
994 dst->u.string.start = nxt_mp_nget(mp, src->u.string.length); in nxt_conf_copy_value()
999 nxt_memcpy(dst->u.string.start, src->u.string.start, in nxt_conf_copy_value()
1000 src->u.string.length); in nxt_conf_copy_value()
1002 dst->u.string.length = src->u.string.length; in nxt_conf_copy_value()
1007 return nxt_conf_copy_array(mp, op, dst, src); in nxt_conf_copy_value()
1010 return nxt_conf_copy_object(mp, op, dst, src); in nxt_conf_copy_value()
1013 dst->u = src->u; in nxt_conf_copy_value()
1016 dst->type = src->type; in nxt_conf_copy_value()
1024 nxt_conf_value_t *src) in nxt_conf_copy_array() argument
1032 count = src->u.array->count; in nxt_conf_copy_array()
1065 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1070 &src->u.array->elements[s]); in nxt_conf_copy_array()
1116 dst->type = src->type; in nxt_conf_copy_array()
1124 nxt_conf_value_t *src) in nxt_conf_copy_object() argument
1133 count = src->u.object->count; in nxt_conf_copy_object()
1167 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
1173 &src->u.object->members[s].name); in nxt_conf_copy_object()
1181 &src->u.object->members[s].value); in nxt_conf_copy_object()
1222 &src->u.object->members[s].name); in nxt_conf_copy_object()
1246 dst->type = src->type; in nxt_conf_copy_object()
2576 nxt_conf_json_escape(u_char *dst, u_char *src, size_t size) in nxt_conf_json_escape() argument
2581 ch = *src++; in nxt_conf_json_escape()