Home
last modified time | relevance | path

Searched refs:out_msg (Results 1 – 16 of 16) sorted by relevance

/external/adhd/cras/src/tests/
Dplayback_rclient_unittest.cc103 struct cras_client_stream_connected out_msg; in TEST_F() local
120 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
121 EXPECT_EQ(sizeof(out_msg), rc); in TEST_F()
122 EXPECT_EQ(stream_id, out_msg.stream_id); in TEST_F()
126 struct cras_client_stream_connected out_msg; in TEST_F() local
149 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
150 EXPECT_EQ(sizeof(out_msg), rc); in TEST_F()
151 EXPECT_EQ(-EINVAL, out_msg.err); in TEST_F()
152 EXPECT_EQ(stream_id, out_msg.stream_id); in TEST_F()
157 struct cras_client_stream_connected out_msg; in TEST_F() local
[all …]
Dcapture_rclient_unittest.cc101 struct cras_client_stream_connected out_msg; in TEST_F() local
118 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
119 EXPECT_EQ(sizeof(out_msg), rc); in TEST_F()
120 EXPECT_EQ(stream_id, out_msg.stream_id); in TEST_F()
124 struct cras_client_stream_connected out_msg; in TEST_F() local
147 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
148 EXPECT_EQ(sizeof(out_msg), rc); in TEST_F()
149 EXPECT_EQ(-EINVAL, out_msg.err); in TEST_F()
150 EXPECT_EQ(stream_id, out_msg.stream_id); in TEST_F()
155 struct cras_client_stream_connected out_msg; in TEST_F() local
[all …]
Dcontrol_rclient_unittest.cc189 struct cras_client_stream_connected out_msg; in TEST_F() local
200 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
201 EXPECT_EQ(sizeof(out_msg), rc); in TEST_F()
202 EXPECT_EQ(stream_id_, out_msg.stream_id); in TEST_F()
203 EXPECT_NE(0, out_msg.err); in TEST_F()
210 struct cras_client_stream_connected out_msg; in TEST_F() local
217 rc = read(pipe_fds_[0], &out_msg, sizeof(out_msg)); in TEST_F()
218 EXPECT_EQ(sizeof(out_msg), rc); in TEST_F()
219 EXPECT_EQ(stream_id_, out_msg.stream_id); in TEST_F()
220 EXPECT_NE(0, out_msg.err); in TEST_F()
[all …]
/external/webrtc/p2p/base/
Dport_unittest.cc2084 std::unique_ptr<IceMessage> in_msg, out_msg; in TEST_F() local
2095 EXPECT_TRUE(port->GetStunMessage(buf->Data(), buf->Length(), addr, &out_msg, in TEST_F()
2097 EXPECT_TRUE(out_msg.get() != NULL); in TEST_F()
2107 EXPECT_TRUE(port->GetStunMessage(buf->Data(), buf->Length(), addr, &out_msg, in TEST_F()
2109 EXPECT_TRUE(out_msg.get() != NULL); in TEST_F()
2119 EXPECT_TRUE(port->GetStunMessage(buf->Data(), buf->Length(), addr, &out_msg, in TEST_F()
2121 EXPECT_TRUE(out_msg.get() != NULL); in TEST_F()
2123 ASSERT_TRUE(out_msg->GetErrorCode() != NULL); in TEST_F()
2124 EXPECT_EQ(STUN_ERROR_SERVER_ERROR, out_msg->GetErrorCode()->code()); in TEST_F()
2126 out_msg->GetErrorCode()->reason()); in TEST_F()
[all …]
Dport.cc431 std::unique_ptr<IceMessage>* out_msg, in GetStunMessage() argument
436 RTC_DCHECK(out_msg != NULL); in GetStunMessage()
588 *out_msg = std::move(stun_msg); in GetStunMessage()
Dport.h410 std::unique_ptr<IceMessage>* out_msg,
/external/boringssl/src/ssl/
Dd1_both.cc520 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in dtls1_finish_message() argument
521 if (!CBBFinishArray(cbb, out_msg) || in dtls1_finish_message()
522 out_msg->size() < DTLS1_HM_HEADER_LENGTH) { in dtls1_finish_message()
529 OPENSSL_memcpy(out_msg->data() + 1, in dtls1_finish_message()
530 out_msg->data() + DTLS1_HM_HEADER_LENGTH - 3, 3); in dtls1_finish_message()
Ds3_both.cc184 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in tls_finish_message() argument
185 return CBBFinishArray(cbb, out_msg); in tls_finish_message()
Dinternal.h2175 bool (*finish_message)(SSL *ssl, CBB *cbb, bssl::Array<uint8_t> *out_msg);
2921 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg);
2927 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg);
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dd1_both.cc520 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in dtls1_finish_message() argument
521 if (!CBBFinishArray(cbb, out_msg) || in dtls1_finish_message()
522 out_msg->size() < DTLS1_HM_HEADER_LENGTH) { in dtls1_finish_message()
529 OPENSSL_memcpy(out_msg->data() + 1, in dtls1_finish_message()
530 out_msg->data() + DTLS1_HM_HEADER_LENGTH - 3, 3); in dtls1_finish_message()
Ds3_both.cc184 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in tls_finish_message() argument
185 return CBBFinishArray(cbb, out_msg); in tls_finish_message()
Dinternal.h2132 bool (*finish_message)(SSL *ssl, CBB *cbb, bssl::Array<uint8_t> *out_msg);
2867 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg);
2873 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg);
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c460 int RSA_add_pkcs1_prefix(uint8_t **out_msg, size_t *out_msg_len, in RSA_add_pkcs1_prefix() argument
472 *out_msg = (uint8_t*) msg; in RSA_add_pkcs1_prefix()
509 *out_msg = signed_msg; in RSA_add_pkcs1_prefix()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c460 int RSA_add_pkcs1_prefix(uint8_t **out_msg, size_t *out_msg_len, in RSA_add_pkcs1_prefix() argument
472 *out_msg = (uint8_t*) msg; in RSA_add_pkcs1_prefix()
509 *out_msg = signed_msg; in RSA_add_pkcs1_prefix()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Drsa.h486 OPENSSL_EXPORT int RSA_add_pkcs1_prefix(uint8_t **out_msg, size_t *out_msg_len,
/external/boringssl/src/include/openssl/
Drsa.h486 OPENSSL_EXPORT int RSA_add_pkcs1_prefix(uint8_t **out_msg, size_t *out_msg_len,