/external/adhd/cras/src/tests/ |
D | fmt_conv_unittest.cc | 60 unsigned int out_frames = 2; in TEST() local 86 out_frames = cras_fmt_conv_convert_frames( in TEST() 87 c, (uint8_t*)in_buf, (uint8_t*)out_buf, &in_frames, out_frames); in TEST() 88 EXPECT_EQ(2, out_frames); in TEST() 92 out_frames = 2; in TEST() 93 out_frames = cras_fmt_conv_convert_frames( in TEST() 94 c, (uint8_t*)in_buf, (uint8_t*)out_buf, &in_frames, out_frames); in TEST() 95 EXPECT_EQ(1, out_frames); in TEST() 122 size_t out_frames; in TEST() local 139 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() 1192 unsigned int out_frames) { in cras_fmt_conv_convert_frames() argument 1199 conv_frames_call.out_frames = out_frames; in cras_fmt_conv_convert_frames() 1200 if (ret > out_frames) { in cras_fmt_conv_convert_frames() 1201 ret = out_frames; in cras_fmt_conv_convert_frames() 1259 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument 1260 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 | 526 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument 529 return out_frames; in cras_fmt_conv_out_frames_to_in() 531 out_frames = linear_resampler_out_frames_to_in(conv->resampler, in cras_fmt_conv_out_frames_to_in() 532 out_frames); in cras_fmt_conv_out_frames_to_in() 533 out_frames = cras_frames_at_rate(conv->out_fmt.frame_rate, out_frames, in cras_fmt_conv_out_frames_to_in() 536 out_frames = linear_resampler_out_frames_to_in(conv->resampler, in cras_fmt_conv_out_frames_to_in() 537 out_frames); in cras_fmt_conv_out_frames_to_in() 538 return out_frames; in cras_fmt_conv_out_frames_to_in() 549 unsigned int *in_frames, size_t out_frames) in cras_fmt_conv_convert_frames() argument 570 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/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/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/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/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/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()
|