/external/adhd/cras/src/tests/ |
D | fmt_conv_unittest.cc | 61 unsigned int out_frames = 2; in TEST() local 87 out_frames = cras_fmt_conv_convert_frames( in TEST() 88 c, (uint8_t*)in_buf, (uint8_t*)out_buf, &in_frames, out_frames); in TEST() 89 EXPECT_EQ(2, out_frames); in TEST() 93 out_frames = 2; in TEST() 94 out_frames = cras_fmt_conv_convert_frames( in TEST() 95 c, (uint8_t*)in_buf, (uint8_t*)out_buf, &in_frames, out_frames); in TEST() 96 EXPECT_EQ(1, out_frames); in TEST() 123 size_t out_frames; in TEST() local 140 out_frames = cras_fmt_conv_out_frames_to_in(c, buf_size); in TEST() [all …]
|
D | dev_stream_unittest.cc | 69 size_t out_frames; member 282 EXPECT_EQ(kBufferFrames / 4, conv_frames_call.out_frames); in TEST_F() 317 EXPECT_EQ(kBufferFrames * 2, conv_frames_call.out_frames); in TEST_F() 1215 unsigned int out_frames) { in cras_fmt_conv_convert_frames() argument 1222 conv_frames_call.out_frames = out_frames; in cras_fmt_conv_convert_frames() 1223 if (ret > out_frames) { in cras_fmt_conv_convert_frames() 1224 ret = out_frames; in cras_fmt_conv_convert_frames() 1282 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument 1283 return cras_frames_at_rate(out_fmt.frame_rate, out_frames, in_fmt.frame_rate); in cras_fmt_conv_out_frames_to_in()
|
D | audio_thread_unittest_obsolete.cc | 2182 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument 2183 return out_frames; in cras_fmt_conv_out_frames_to_in()
|
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.c | 635 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument 638 return out_frames; in cras_fmt_conv_out_frames_to_in() 640 out_frames = linear_resampler_out_frames_to_in(conv->resampler, in cras_fmt_conv_out_frames_to_in() 641 out_frames); in cras_fmt_conv_out_frames_to_in() 642 out_frames = cras_frames_at_rate(conv->out_fmt.frame_rate, out_frames, in cras_fmt_conv_out_frames_to_in() 645 out_frames = linear_resampler_out_frames_to_in(conv->resampler, in cras_fmt_conv_out_frames_to_in() 646 out_frames); in cras_fmt_conv_out_frames_to_in() 647 return out_frames; in cras_fmt_conv_out_frames_to_in() 658 unsigned int *in_frames, size_t out_frames) in cras_fmt_conv_convert_frames() argument 679 fr_in = MIN(*in_frames, out_frames); in cras_fmt_conv_convert_frames() [all …]
|
D | linear_resampler.c | 93 float out_frames; in linear_resampler_in_frames_to_out() local 97 out_frames = lr->f * (lr->src_offset + frames - 1); in linear_resampler_in_frames_to_out() 98 if (out_frames > lr->dst_offset) in linear_resampler_in_frames_to_out() 99 return 1 + (unsigned int)(out_frames - lr->dst_offset); in linear_resampler_in_frames_to_out()
|
D | cras_fmt_conv.h | 62 size_t out_frames); 79 unsigned int *in_frames, size_t out_frames);
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/proto/ |
D | handshaker.proto | 122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 123 // that the peer's out_frames are split into multiple HandshakReq messages. 139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq 195 // empty if no out_frames have to be sent to the peer or if in_bytes in the 199 bytes out_frames = 1; field 206 // This is set iff the handshake was successful. out_frames may still be set
|
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/ |
D | handshaker.proto | 122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 123 // that the peer's out_frames are split into multiple HandshakReq messages. 139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq 195 // empty if no out_frames have to be sent to the peer or if in_bytes in the 199 bytes out_frames = 1; field 206 // This is set iff the handshake was successful. out_frames may still be set
|
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/ |
D | handshaker.proto | 122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 123 // that the peer's out_frames are split into multiple HandshakReq messages. 139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq 195 // empty if no out_frames have to be sent to the peer or if in_bytes in the 199 bytes out_frames = 1; field 206 // This is set iff the handshake was successful. out_frames may still be set
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/ |
D | handshaker.proto | 122 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 123 // that the peer's out_frames are split into multiple HandshakReq messages. 139 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 140 // that the peer's out_frames are split into multiple NextHandshakerMessageReq 195 // empty if no out_frames have to be sent to the peer or if in_bytes in the 199 bytes out_frames = 1; field 206 // This is set iff the handshake was successful. out_frames may still be set
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | alts_handshaker_service_api_test.cc | 27 const char out_frames[] = "HELLO WORLD!"; in main() local 115 GPR_ASSERT(grpc_gcp_handshaker_resp_set_out_frames(resp, out_frames, in main() 116 strlen(out_frames))); in main()
|
D | alts_handshaker_service_api_test_lib.cc | 227 const char* out_frames, in grpc_gcp_handshaker_resp_set_out_frames() argument 229 if (resp == nullptr || out_frames == nullptr) { in grpc_gcp_handshaker_resp_set_out_frames() 235 grpc_slice* slice = create_slice(out_frames, size); in grpc_gcp_handshaker_resp_set_out_frames() 236 resp->out_frames.arg = slice; in grpc_gcp_handshaker_resp_set_out_frames() 237 resp->out_frames.funcs.encode = encode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_set_out_frames() 623 result &= slice_equals(static_cast<grpc_slice*>(l_resp->out_frames.arg), in grpc_gcp_handshaker_resp_equals() 624 static_cast<grpc_slice*>(r_resp->out_frames.arg)); in grpc_gcp_handshaker_resp_equals()
|
D | alts_handshaker_service_api_test_lib.h | 96 const char* out_frames,
|
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/gcp/ |
D | handshaker.proto | 135 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 136 // that the peer's out_frames are split into multiple HandshakReq messages. 155 // Bytes in out_frames returned from the peer's HandshakerResp. It is possible 156 // that the peer's out_frames are split into multiple NextHandshakerMessageReq 214 // empty if no out_frames have to be sent to the peer or if in_bytes in the 218 bytes out_frames = 1; field 225 // This is set iff the handshake was successful. out_frames may still be set
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
D | handshaker.pb.c | 90 …IELD( 1, BYTES , OPTIONAL, CALLBACK, FIRST, grpc_gcp_HandshakerResp, out_frames, out_frames, 0), 91 …( 2, UINT32 , OPTIONAL, STATIC , OTHER, grpc_gcp_HandshakerResp, bytes_consumed, out_frames, 0),
|
D | handshaker.pb.h | 94 pb_callback_t out_frames; member
|
D | alts_handshaker_service_api.cc | 468 destroy_slice(static_cast<grpc_slice*>(resp->out_frames.arg)); in grpc_gcp_handshaker_resp_destroy() 504 resp->out_frames.funcs.decode = decode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_decode()
|
D | alts_tsi_handshaker.cc | 446 grpc_slice* slice = static_cast<grpc_slice*>(resp->out_frames.arg); in alts_tsi_handshaker_handle_response()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/ |
D | alts_handshaker_client.cc | 251 upb_strview out_frames = grpc_gcp_HandshakerResp_out_frames(resp); in alts_handshaker_client_handle_response() local 254 if (out_frames.size > 0) { in alts_handshaker_client_handle_response() 255 bytes_to_send_size = out_frames.size; in alts_handshaker_client_handle_response() 261 memcpy(client->buffer, out_frames.data, bytes_to_send_size); in alts_handshaker_client_handle_response()
|