Home
last modified time | relevance | path

Searched refs:buf_length (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc97 GLint buf_length = 0; in CreateProgram() local
98 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &buf_length); in CreateProgram()
99 if (buf_length) { in CreateProgram()
100 char *buf = reinterpret_cast<char *>(malloc(buf_length)); in CreateProgram()
102 glGetProgramInfoLog(program, buf_length, nullptr, buf); in CreateProgram()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dtransport_security_common_api.cc79 size_t buf_length; in grpc_gcp_rpc_protocol_versions_encode() local
81 grpc_gcp_RpcProtocolVersions_serialize(versions, arena, &buf_length); in grpc_gcp_rpc_protocol_versions_encode()
85 *slice = grpc_slice_from_copied_buffer(buf, buf_length); in grpc_gcp_rpc_protocol_versions_encode()
Dalts_handshaker_client.cc470 size_t buf_length; in get_serialized_handshaker_req() local
471 char* buf = grpc_gcp_HandshakerReq_serialize(req, arena, &buf_length); in get_serialized_handshaker_req()
475 grpc_slice slice = grpc_slice_from_copied_buffer(buf, buf_length); in get_serialized_handshaker_req()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc46 size_t buf_length; in grpc_grpclb_request_encode() local
48 grpc_lb_v1_LoadBalanceRequest_serialize(request, arena, &buf_length); in grpc_grpclb_request_encode()
49 return grpc_slice_from_copied_buffer(buf, buf_length); in grpc_grpclb_request_encode()
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp887 gsize buf_length = 0; in gst_openh264enc_handle_frame() local
1022 buf_length += frame_info.sLayerInfo[i].pNalLengthInByte[j]; in gst_openh264enc_handle_frame()
1027 gst_video_encoder_allocate_output_buffer (encoder, buf_length); in gst_openh264enc_handle_frame()
1030 buf_length = 0; in gst_openh264enc_handle_frame()
1036 gst_buffer_fill (frame->output_buffer, buf_length, frame_info.sLayerInfo[i].pBsBuf, layer_size); in gst_openh264enc_handle_frame()
1037 buf_length += layer_size; in gst_openh264enc_handle_frame()
/third_party/grpc/src/core/ext/filters/client_channel/health/
Dhealth_check_client.cc191 size_t buf_length; in EncodeRequest() local
193 request_struct, arena.ptr(), &buf_length); in EncodeRequest()
194 grpc_slice request_slice = GRPC_SLICE_MALLOC(buf_length); in EncodeRequest()
195 memcpy(GRPC_SLICE_START_PTR(request_slice), buf, buf_length); in EncodeRequest()
/third_party/grpc/src/cpp/server/health/
Ddefault_health_check_service.cc250 size_t buf_length; in EncodeResponse() local
252 response_struct, arena.ptr(), &buf_length); in EncodeResponse()
256 grpc_slice response_slice = grpc_slice_from_copied_buffer(buf, buf_length); in EncodeResponse()
/third_party/lwip/src/apps/mdns/
Dmdns.c969 u32_t ttl, const u8_t *buf, size_t buf_length, struct mdns_domain *answer_domain) in mdns_add_answer() argument
990 answer_len += (u16_t)buf_length; in mdns_add_answer()
1018 res = pbuf_take_at(reply->pbuf, buf, (u16_t)buf_length, reply->write_offset); in mdns_add_answer()
1022 reply->write_offset += (u16_t)buf_length; in mdns_add_answer()
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc79 static size_t alter_random_byte(uint8_t* buf, size_t buf_length) { in alter_random_byte() argument
82 gsec_test_bias_random_uint32(static_cast<uint32_t>(buf_length)); in alter_random_byte()