Home
last modified time | relevance | path

Searched refs:iv_copy (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/tests/
Dfailmalloc_test.c450 nghttp2_settings_entry iv[2], *iv_copy; in run_nghttp2_frame_pack_settings() local
464 iv_copy = nghttp2_frame_iv_copy(iv, 2, nghttp2_mem_fm()); in run_nghttp2_frame_pack_settings()
466 if (iv_copy == NULL) { in run_nghttp2_frame_pack_settings()
470 nghttp2_frame_settings_init(&frame.settings, NGHTTP2_FLAG_NONE, iv_copy, 2); in run_nghttp2_frame_pack_settings()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_frame.c883 nghttp2_settings_entry *iv_copy; in nghttp2_frame_iv_copy() local
890 iv_copy = nghttp2_mem_malloc(mem, len); in nghttp2_frame_iv_copy()
892 if (iv_copy == NULL) { in nghttp2_frame_iv_copy()
896 memcpy(iv_copy, iv, len); in nghttp2_frame_iv_copy()
898 return iv_copy; in nghttp2_frame_iv_copy()
Dnghttp2_session.c7015 nghttp2_settings_entry *iv_copy; in nghttp2_session_add_settings() local
7043 iv_copy = nghttp2_frame_iv_copy(iv, niv, mem); in nghttp2_session_add_settings()
7044 if (iv_copy == NULL) { in nghttp2_session_add_settings()
7049 iv_copy = NULL; in nghttp2_session_add_settings()
7056 nghttp2_mem_free(mem, iv_copy); in nghttp2_session_add_settings()
7066 nghttp2_frame_settings_init(&frame->settings, flags, iv_copy, niv); in nghttp2_session_add_settings()
/third_party/nghttp2/lib/
Dnghttp2_frame.c883 nghttp2_settings_entry *iv_copy; in nghttp2_frame_iv_copy() local
890 iv_copy = nghttp2_mem_malloc(mem, len); in nghttp2_frame_iv_copy()
892 if (iv_copy == NULL) { in nghttp2_frame_iv_copy()
896 memcpy(iv_copy, iv, len); in nghttp2_frame_iv_copy()
898 return iv_copy; in nghttp2_frame_iv_copy()
Dnghttp2_session.c7015 nghttp2_settings_entry *iv_copy; in nghttp2_session_add_settings() local
7043 iv_copy = nghttp2_frame_iv_copy(iv, niv, mem); in nghttp2_session_add_settings()
7044 if (iv_copy == NULL) { in nghttp2_session_add_settings()
7049 iv_copy = NULL; in nghttp2_session_add_settings()
7056 nghttp2_mem_free(mem, iv_copy); in nghttp2_session_add_settings()
7066 nghttp2_frame_settings_init(&frame->settings, flags, iv_copy, niv); in nghttp2_session_add_settings()