/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | transport_security_grpc.cc | 69 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size) { in tsi_zero_copy_grpc_protector_max_frame_size() argument 70 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in tsi_zero_copy_grpc_protector_max_frame_size() 71 if (self->vtable->max_frame_size == nullptr) return TSI_UNIMPLEMENTED; in tsi_zero_copy_grpc_protector_max_frame_size() 72 return self->vtable->max_frame_size(self, max_frame_size); in tsi_zero_copy_grpc_protector_max_frame_size()
|
D | transport_security_grpc.h | 61 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size); 72 tsi_result (*max_frame_size)(tsi_zero_copy_grpc_protector* self, member 73 size_t* max_frame_size);
|
D | fake_transport_security.cc | 75 size_t max_frame_size; member 81 size_t max_frame_size; member 291 store32_little_endian(static_cast<uint32_t>(impl->max_frame_size), in fake_protector_protect() 419 GPR_MIN(impl->max_frame_size, in fake_zero_copy_grpc_protector_protect() 478 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size) { in fake_zero_copy_grpc_protector_max_frame_size() argument 479 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in fake_zero_copy_grpc_protector_max_frame_size() 482 *max_frame_size = impl->max_frame_size; in fake_zero_copy_grpc_protector_max_frame_size() 781 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_frame_protector() 795 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_zero_copy_grpc_protector()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/ |
D | alts_tsi_handshaker.cc | 69 size_t max_frame_size; member 83 size_t max_frame_size; member 171 size_t max_frame_size = kTsiAltsMinFrameSize; in handshaker_result_create_zero_copy_grpc_protector() local 172 if (result->max_frame_size) { in handshaker_result_create_zero_copy_grpc_protector() 173 size_t peer_max_frame_size = result->max_frame_size; in handshaker_result_create_zero_copy_grpc_protector() 174 max_frame_size = std::min<size_t>(peer_max_frame_size, in handshaker_result_create_zero_copy_grpc_protector() 178 max_frame_size = std::max<size_t>(max_frame_size, kTsiAltsMinFrameSize); in handshaker_result_create_zero_copy_grpc_protector() 180 max_output_protected_frame_size = &max_frame_size; in handshaker_result_create_zero_copy_grpc_protector() 317 sresult->max_frame_size = grpc_gcp_HandshakerResult_max_frame_size(hresult); in alts_tsi_handshaker_result_create() 429 handshaker->max_frame_size); in alts_tsi_handshaker_continue_handshaker_next() [all …]
|
D | alts_handshaker_client.cc | 108 size_t max_frame_size; member 516 start_client, static_cast<uint32_t>(client->max_frame_size)); in get_serialized_start_client() 572 start_server, static_cast<uint32_t>(client->max_frame_size)); in get_serialized_start_server() 689 bool is_client, size_t max_frame_size) { in alts_grpc_handshaker_client_create() argument 711 client->max_frame_size = max_frame_size; in alts_grpc_handshaker_client_create()
|
/external/pigweed/pw_hdlc/public/pw_hdlc/ |
D | encoded_size.h | 83 constexpr size_t MaxSafePayloadSize(size_t max_frame_size) { in MaxSafePayloadSize() argument 87 return max_frame_size < kMaxConstantOverhead in MaxSafePayloadSize() 89 : (max_frame_size - kMaxConstantOverhead) / 2; in MaxSafePayloadSize()
|
D | decoder.h | 94 size_t max_frame_size) { in RequiredBufferSizeForFrameSize() argument 97 return max_frame_size < Frame::kMinContentSizeBytes in RequiredBufferSizeForFrameSize() 99 : max_frame_size - 2; in RequiredBufferSizeForFrameSize()
|
/external/webrtc/modules/audio_processing/ |
D | audio_processing_impl_locking_unittest.cc | 88 explicit AudioFrameData(int max_frame_size) { in AudioFrameData() 90 input_framechannels.resize(2 * max_frame_size); in AudioFrameData() 93 input_frame[1] = &input_framechannels[max_frame_size]; in AudioFrameData() 95 output_frame_channels.resize(2 * max_frame_size); in AudioFrameData() 98 output_frame[1] = &output_frame_channels[max_frame_size]; in AudioFrameData() 100 frame.resize(2 * max_frame_size); in AudioFrameData() 305 CaptureProcessor(int max_frame_size, 349 RenderProcessor(int max_frame_size, 557 CaptureProcessor::CaptureProcessor(int max_frame_size, in CaptureProcessor() argument 570 frame_data_(max_frame_size) {} in CaptureProcessor() [all …]
|
D | audio_processing_performance_unittest.cc | 56 explicit AudioFrameData(size_t max_frame_size) { in AudioFrameData() 58 input_framechannels.resize(2 * max_frame_size); in AudioFrameData() 61 input_frame[1] = &input_framechannels[max_frame_size]; in AudioFrameData() 63 output_frame_channels.resize(2 * max_frame_size); in AudioFrameData() 66 output_frame[1] = &output_frame_channels[max_frame_size]; in AudioFrameData()
|
/external/python/bumble/bumble/ |
D | rfcomm.py | 236 max_frame_size, argument 244 self.max_frame_size = max_frame_size 255 max_frame_size=data[4] | data[5] << 8, 267 self.max_frame_size & 0xFF, 268 (self.max_frame_size >> 8) & 0xFF, 350 def __init__(self, multiplexer, dlci, max_frame_size, initial_tx_credits): argument 367 max_frame_size, self.multiplexer.l2cap_channel.mtu - max_overhead 497 max_frame_size=RFCOMM_DEFAULT_PREFERRED_MTU, 715 dlc = DLC(self, pn.dlci, pn.max_frame_size, pn.window_size) 733 dlc = DLC(self, pn.dlci, pn.max_frame_size, pn.window_size) [all …]
|
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/ |
D | test_utils.h | 108 size_t NumFrames(size_t max_frame_size) const override { in NumFrames() argument 110 return (encoded_entries_.size() + max_frame_size - 1) / max_frame_size; in NumFrames()
|
D | nghttp2_adapter.cc | 28 size_t NumFrames(size_t max_frame_size) const override { in NumFrames() 29 return source_->NumFrames(max_frame_size); in NumFrames() 129 size_t max_frame_size, in SubmitMetadata() argument 132 const size_t num_frames = wrapped_source->NumFrames(max_frame_size); in SubmitMetadata()
|
D | data_source.h | 44 virtual size_t NumFrames(size_t max_frame_size) const = 0;
|
/external/webrtc/test/ |
D | configurable_frame_size_encoder.cc | 28 size_t max_frame_size) in ConfigurableFrameSizeEncoder() argument 30 current_frame_size_(max_frame_size), in ConfigurableFrameSizeEncoder()
|
D | configurable_frame_size_encoder.h | 33 explicit ConfigurableFrameSizeEncoder(size_t max_frame_size);
|
/external/pigweed/pw_hdlc/ |
D | encoded_size_test.cc | 265 const size_t max_frame_size = in TEST() local 268 Decoder decoder(ByteSpan(buffer).first(max_frame_size)); in TEST() 298 const size_t max_frame_size = in TEST() local 301 Decoder decoder(ByteSpan(buffer).first(max_frame_size - 1)); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 237 tsi_zero_copy_grpc_protector* self, size_t* max_frame_size) { in alts_zero_copy_grpc_protector_max_frame_size() argument 238 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_max_frame_size() 241 *max_frame_size = protector->max_protected_frame_size; in alts_zero_copy_grpc_protector_max_frame_size()
|
/external/webrtc/video/ |
D | frame_encode_metadata_writer_unittest.cc | 33 const size_t& max_frame_size, in FrameSize() argument 36 return min_frame_size + (s + 1) * i % (max_frame_size - min_frame_size); in FrameSize() 71 const size_t max_frame_size, in GetTimingFrames() argument 105 image.SetEncodedData(EncodedImageBuffer::Create(max_frame_size)); in GetTimingFrames() 106 image.set_size(FrameSize(min_frame_size, max_frame_size, si, i)); in GetTimingFrames()
|
/external/grpc-grpc/src/core/tsi/ |
D | fake_transport_security.cc | 77 size_t max_frame_size; member 84 size_t max_frame_size; member 295 store32_little_endian(static_cast<uint32_t>(impl->max_frame_size), in fake_protector_protect() 423 GPR_MIN(impl->max_frame_size, in fake_zero_copy_grpc_protector_protect() 768 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_frame_protector() 782 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_zero_copy_grpc_protector()
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | invoke_large_request.cc | 92 int max_frame_size, int lookahead_bytes) { in test_invoke_large_request() argument 96 max_frame_size, lookahead_bytes); in test_invoke_large_request() 101 args[0].value.integer = max_frame_size; in test_invoke_large_request()
|
/external/libopus/src/ |
D | opus_demo.c | 250 int max_frame_size = 48000*2; in main() local 586 in = (short*)malloc(max_frame_size*channels*sizeof(short)); in main() 587 out = (short*)malloc(max_frame_size*channels*sizeof(short)); in main() 589 fbytes = (unsigned char*)malloc(max_frame_size*channels*sizeof(short)); in main() 769 output_samples = max_frame_size; in main() 779 output_samples = max_frame_size; in main()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 278 size_t max_frame_size; member 313 GPR_DEBUG_ASSERT(frame_size <= st->max_frame_size); in current_frame_size() 359 if (GPR_LIKELY(current_frame_size(st) + need_bytes <= st->max_frame_size)) { in ensure_space() 370 remaining = st->max_frame_size - current_frame_size(st); in add_header_data() 854 st.max_frame_size = options->max_frame_size; in grpc_chttp2_encode_header()
|
D | hpack_encoder.h | 97 size_t max_frame_size; member
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 79 size_t max_frame_size; member 127 st->max_frame_size) { in ensure_space() 153 remaining = st->max_frame_size + st->output_length_at_start_of_frame - in add_header_data() 679 st.max_frame_size = options->max_frame_size; in grpc_chttp2_encode_header()
|
D | hpack_encoder.h | 85 size_t max_frame_size; member
|