/external/adhd/cras/src/tests/ |
D | fmt_conv_unittest.cc | 54 unsigned int out_frames = 2; in TEST() local 78 out_frames = cras_fmt_conv_convert_frames(c, (uint8_t *)in_buf, in TEST() 81 out_frames); in TEST() 82 EXPECT_EQ(2, out_frames); in TEST() 86 out_frames = 2; in TEST() 87 out_frames = cras_fmt_conv_convert_frames(c, (uint8_t *)in_buf, in TEST() 90 out_frames); in TEST() 91 EXPECT_EQ(1, out_frames); in TEST() 118 size_t out_frames; in TEST() local 135 out_frames = cras_fmt_conv_out_frames_to_in(c, buf_size); in TEST() [all …]
|
D | dev_stream_unittest.cc | 67 size_t out_frames; member 260 EXPECT_EQ(kBufferFrames / 4, conv_frames_call.out_frames); in TEST_F() 297 EXPECT_EQ(kBufferFrames * 2, conv_frames_call.out_frames); in TEST_F() 1176 unsigned int out_frames) { in cras_fmt_conv_convert_frames() argument 1185 conv_frames_call.out_frames = out_frames; in cras_fmt_conv_convert_frames() 1186 if (ret > out_frames) { in cras_fmt_conv_convert_frames() 1187 ret = out_frames; in cras_fmt_conv_convert_frames() 1248 size_t out_frames) { in cras_fmt_conv_out_frames_to_in() argument 1250 out_frames, in cras_fmt_conv_out_frames_to_in()
|
D | audio_thread_unittest_obsolete.cc | 2224 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument 2226 return out_frames; in cras_fmt_conv_out_frames_to_in()
|
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.c | 777 size_t out_frames) in cras_fmt_conv_out_frames_to_in() argument 780 return out_frames; in cras_fmt_conv_out_frames_to_in() 782 out_frames = linear_resampler_out_frames_to_in( in cras_fmt_conv_out_frames_to_in() 784 out_frames); in cras_fmt_conv_out_frames_to_in() 785 out_frames = cras_frames_at_rate(conv->out_fmt.frame_rate, in cras_fmt_conv_out_frames_to_in() 786 out_frames, in cras_fmt_conv_out_frames_to_in() 789 out_frames = linear_resampler_out_frames_to_in( in cras_fmt_conv_out_frames_to_in() 791 out_frames); in cras_fmt_conv_out_frames_to_in() 792 return out_frames; in cras_fmt_conv_out_frames_to_in() 806 size_t out_frames) in cras_fmt_conv_convert_frames() argument [all …]
|
D | linear_resampler.c | 94 float out_frames; in linear_resampler_in_frames_to_out() local 98 out_frames = lr->f * (lr->src_offset + frames - 1); in linear_resampler_in_frames_to_out() 99 if (out_frames > lr->dst_offset) in linear_resampler_in_frames_to_out() 100 return 1 + (unsigned int)(out_frames - lr->dst_offset); in linear_resampler_in_frames_to_out()
|
D | cras_fmt_conv.h | 64 size_t out_frames); 84 size_t out_frames);
|
/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-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/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()
|