Home
last modified time | relevance | path

Searched refs:ov_copy (Results 1 – 2 of 2) sorted by relevance

/third_party/nghttp2/lib/
Dnghttp2_submit.c594 nghttp2_origin_entry *ov_copy; in nghttp2_submit_origin() local
616 ov_copy = in nghttp2_submit_origin()
618 if (ov_copy == NULL) { in nghttp2_submit_origin()
622 p = (uint8_t *)ov_copy + nov * sizeof(nghttp2_origin_entry); in nghttp2_submit_origin()
625 ov_copy[i].origin = p; in nghttp2_submit_origin()
626 ov_copy[i].origin_len = ov[i].origin_len; in nghttp2_submit_origin()
631 assert((size_t)(p - (uint8_t *)ov_copy) == in nghttp2_submit_origin()
634 ov_copy = NULL; in nghttp2_submit_origin()
652 nghttp2_frame_origin_init(&frame->ext, ov_copy, nov); in nghttp2_submit_origin()
665 free(ov_copy); in nghttp2_submit_origin()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_submit.c594 nghttp2_origin_entry *ov_copy; in nghttp2_submit_origin() local
616 ov_copy = in nghttp2_submit_origin()
618 if (ov_copy == NULL) { in nghttp2_submit_origin()
622 p = (uint8_t *)ov_copy + nov * sizeof(nghttp2_origin_entry); in nghttp2_submit_origin()
625 ov_copy[i].origin = p; in nghttp2_submit_origin()
626 ov_copy[i].origin_len = ov[i].origin_len; in nghttp2_submit_origin()
631 assert((size_t)(p - (uint8_t *)ov_copy) == in nghttp2_submit_origin()
634 ov_copy = NULL; in nghttp2_submit_origin()
652 nghttp2_frame_origin_init(&frame->ext, ov_copy, nov); in nghttp2_submit_origin()
665 free(ov_copy); in nghttp2_submit_origin()