Home
last modified time | relevance | path

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

/external/aws-crt-java/src/native/
Dhttp2_stream_manager.c270 struct http_stream_binding *stream_binding; member
287 struct http_stream_binding *stream_binding, in s_new_sm_acquire_stream_callback_data() argument
296 callback_data->stream_binding = stream_binding; in s_new_sm_acquire_stream_callback_data()
315 aws_http_stream_binding_release(env, callback_data->stream_binding); in s_on_stream_acquired()
318 aws_http_stream_binding_acquire(callback_data->stream_binding); in s_on_stream_acquired()
320 callback_data->stream_binding->native_stream = stream; in s_on_stream_acquired()
322 … aws_java_http_stream_from_native_new(env, callback_data->stream_binding, AWS_HTTP_VERSION_2); in s_on_stream_acquired()
331 aws_http_stream_binding_release(env, callback_data->stream_binding); in s_on_stream_acquired()
333 … callback_data->stream_binding->java_http_stream_base = (*env)->NewGlobalRef(env, j_http_stream); in s_on_stream_acquired()
338 callback_data->stream_binding->java_http_stream_base); in s_on_stream_acquired()
[all …]
Dhttp_request_response.c414 …struct http_stream_binding *stream_binding = aws_http_stream_binding_new(env, jni_http_response_ca… in s_make_request_general() local
415 if (!stream_binding) { in s_make_request_general()
420 stream_binding->native_request = in s_make_request_general()
422 if (stream_binding->native_request == NULL) { in s_make_request_general()
429 .request = stream_binding->native_request, in s_make_request_general()
437 .user_data = stream_binding, in s_make_request_general()
440 stream_binding->native_stream = aws_http_connection_make_request(native_conn, &request_options); in s_make_request_general()
441 if (stream_binding->native_stream == NULL) { in s_make_request_general()
448 aws_http_stream_binding_acquire(stream_binding); in s_make_request_general()
450 jobject jHttpStreamBase = aws_java_http_stream_from_native_new(env, stream_binding, version); in s_make_request_general()
[all …]