Lines Matching refs:dst

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);
969 nxt_conf_copy_value(nxt_mp_t *mp, nxt_conf_op_t *op, nxt_conf_value_t *dst, in nxt_conf_copy_value() argument
983 dst->u.string.start = nxt_mp_nget(mp, src->u.string.length); in nxt_conf_copy_value()
984 if (nxt_slow_path(dst->u.string.start == NULL)) { in nxt_conf_copy_value()
988 nxt_memcpy(dst->u.string.start, src->u.string.start, 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()
1012 nxt_conf_copy_array(nxt_mp_t *mp, nxt_conf_op_t *op, nxt_conf_value_t *dst, in nxt_conf_copy_array() argument
1034 dst->u.array = nxt_mp_get(mp, size); in nxt_conf_copy_array()
1035 if (nxt_slow_path(dst->u.array == NULL)) { in nxt_conf_copy_array()
1039 dst->u.array->count = count; in nxt_conf_copy_array()
1058 rc = nxt_conf_copy_value(mp, pass_op, &dst->u.array->elements[d], in nxt_conf_copy_array()
1082 dst->u.array->elements[d] = *value; in nxt_conf_copy_array()
1089 dst->u.array->elements[d] = *value; in nxt_conf_copy_array()
1105 dst->type = src->type; in nxt_conf_copy_array()
1112 nxt_conf_copy_object(nxt_mp_t *mp, nxt_conf_op_t *op, nxt_conf_value_t *dst, in nxt_conf_copy_object() argument
1136 dst->u.object = nxt_mp_get(mp, size); in nxt_conf_copy_object()
1137 if (nxt_slow_path(dst->u.object == NULL)) { in nxt_conf_copy_object()
1141 dst->u.object->count = count; in nxt_conf_copy_object()
1161 &dst->u.object->members[d].name, in nxt_conf_copy_object()
1169 &dst->u.object->members[d].value, in nxt_conf_copy_object()
1196 &dst->u.object->members[d].name, in nxt_conf_copy_object()
1203 dst->u.object->members[d].value = member->value; in nxt_conf_copy_object()
1210 &dst->u.object->members[d].name, in nxt_conf_copy_object()
1219 dst->u.object->members[d].value = *value; 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
2575 *dst++ = '\\'; in nxt_conf_json_escape()
2578 *dst++ = ch; in nxt_conf_json_escape()
2581 *dst++ = '\\'; in nxt_conf_json_escape()
2585 *dst++ = 'n'; in nxt_conf_json_escape()
2589 *dst++ = 'r'; in nxt_conf_json_escape()
2593 *dst++ = 't'; in nxt_conf_json_escape()
2597 *dst++ = 'b'; in nxt_conf_json_escape()
2601 *dst++ = 'f'; in nxt_conf_json_escape()
2605 *dst++ = 'u'; *dst++ = '0'; *dst++ = '0'; in nxt_conf_json_escape()
2606 *dst++ = '0' + (ch >> 4); in nxt_conf_json_escape()
2610 *dst++ = (ch < 10) ? ('0' + ch) : ('A' + ch - 10); in nxt_conf_json_escape()
2617 return dst; in nxt_conf_json_escape()