Searched refs:encoded_length (Results 1 – 9 of 9) sorted by relevance
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | transport_security_common_api_test.cc | 65 size_t encoded_length = in test_success() local 67 uint8_t* encoded_bytes = static_cast<uint8_t*>(gpr_malloc(encoded_length)); in test_success() 69 &version, encoded_bytes, encoded_length)); in test_success() 74 GPR_ASSERT(encoded_length == GRPC_SLICE_LENGTH(encoded_slice)); in test_success() 76 encoded_length) == 0); in test_success() 98 size_t encoded_length = in test_failure() local 100 uint8_t* encoded_bytes = static_cast<uint8_t*>(gpr_malloc(encoded_length)); in test_failure() 102 nullptr, encoded_bytes, encoded_length)); in test_failure() 104 &version, nullptr, encoded_length)); in test_failure()
|
D | alts_handshaker_service_api_test_lib.cc | 292 size_t encoded_length = size_stream.bytes_written; in grpc_gcp_handshaker_resp_encode() local 293 *slice = grpc_slice_malloc(encoded_length); in grpc_gcp_handshaker_resp_encode() 295 pb_ostream_from_buffer(GRPC_SLICE_START_PTR(*slice), encoded_length); in grpc_gcp_handshaker_resp_encode()
|
/external/grpc-grpc/test/core/slice/ |
D | percent_encoding_test.cc | 38 size_t encoded_length, const uint8_t* dict) { in test_vector() argument 41 gpr_dump(encoded, encoded_length, GPR_DUMP_HEX | GPR_DUMP_ASCII); in test_vector() 48 grpc_slice_from_copied_buffer(encoded, encoded_length); in test_vector() 82 size_t encoded_length, in test_nonconformant_vector() argument 90 gpr_dump(encoded, encoded_length, GPR_DUMP_HEX | GPR_DUMP_ASCII); in test_nonconformant_vector() 99 grpc_slice_from_copied_buffer(encoded, encoded_length); in test_nonconformant_vector()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | media_optimization.cc | 338 size_t encoded_length = encoded_image._length; in UpdateWithEncodedData() local 348 encoded_frame_samples_.back().size_bytes += encoded_length; in UpdateWithEncodedData() 352 EncodedFrameSample(encoded_length, timestamp, now_ms)); in UpdateWithEncodedData() 356 if (encoded_length > 0) { in UpdateWithEncodedData() 359 frame_dropper_->Fill(encoded_length, delta_frame); in UpdateWithEncodedData() 360 if (max_payload_size_ > 0 && encoded_length > 0) { in UpdateWithEncodedData() 362 encoded_length / static_cast<float>(max_payload_size_); in UpdateWithEncodedData() 373 qm_resolution_->UpdateEncodedSize(encoded_length); in UpdateWithEncodedData() 376 if (!delta_frame && encoded_length > 0) { in UpdateWithEncodedData() 377 loss_prot_logic_->UpdateKeyFrameSize(static_cast<float>(encoded_length)); in UpdateWithEncodedData()
|
/external/ImageMagick/Magick++/lib/ |
D | Blob.cpp | 81 encoded_length; in base64() local 89 encoded_length=0; in base64() 91 &encoded_length); in base64() 95 result=std::string(encoded,encoded_length); in base64()
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | transport_security_common_api.cc | 100 size_t encoded_length = in grpc_gcp_rpc_protocol_versions_encode() local 102 if (encoded_length == 0) return false; in grpc_gcp_rpc_protocol_versions_encode() 103 *slice = grpc_slice_malloc(encoded_length); in grpc_gcp_rpc_protocol_versions_encode() 105 versions, GRPC_SLICE_START_PTR(*slice), encoded_length); in grpc_gcp_rpc_protocol_versions_encode()
|
D | alts_handshaker_service_api.cc | 448 size_t encoded_length = size_stream.bytes_written; in grpc_gcp_handshaker_req_encode() local 449 *slice = grpc_slice_malloc(encoded_length); in grpc_gcp_handshaker_req_encode() 451 pb_ostream_from_buffer(GRPC_SLICE_START_PTR(*slice), encoded_length); in grpc_gcp_handshaker_req_encode()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 136 size_t encoded_length; in grpc_grpclb_request_encode() local 142 encoded_length = sizestream.bytes_written; in grpc_grpclb_request_encode() 144 slice = GRPC_SLICE_MALLOC(encoded_length); in grpc_grpclb_request_encode() 146 pb_ostream_from_buffer(GRPC_SLICE_START_PTR(slice), encoded_length); in grpc_grpclb_request_encode()
|
/external/ImageMagick/MagickWand/ |
D | drawing-wand.c | 1024 encoded_length; in DrawComposite() local 1049 encoded_length=0; in DrawComposite() 1050 base64=Base64Encode(blob,blob_length,&encoded_length); in DrawComposite() 1068 for (i=(ssize_t) encoded_length; i > 0; i-=76) in DrawComposite()
|