Home
last modified time | relevance | path

Searched refs:out_size (Results 1 – 15 of 15) sorted by relevance

/system/core/adb/pairing_auth/tests/
Dpairing_auth_test.cpp159 size_t out_size; in TEST_F() local
163 &out_size)); in TEST_F()
164 ASSERT_GT(out_size, 0); in TEST_F()
165 client_msg.resize(out_size); in TEST_F()
171 server_msg.data(), &out_size)); in TEST_F()
177 &out_size)); in TEST_F()
178 ASSERT_GT(out_size, 0); in TEST_F()
179 server_msg.resize(out_size); in TEST_F()
185 client_msg.data(), &out_size)); in TEST_F()
209 size_t out_size; in TEST_F() local
[all …]
Daes_128_gcm_test.cpp53 size_t out_size = sizeof(out_buf); in TEST() local
55 auto decrypted_size = bob.Decrypt(encrypted, *encrypted_size, out_buf, out_size); in TEST()
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp50 uint32_t* out_size) { in trusty_keymaster_call() argument
73 size_t out_max_size = *out_size; in trusty_keymaster_call()
74 *out_size = 0; in trusty_keymaster_call()
79 iov[1] = {.iov_base = out + *out_size, in trusty_keymaster_call()
81 out_max_size - *out_size)}; in trusty_keymaster_call()
98 *out_size += ((size_t)rc - sizeof(struct keymaster_message)); in trusty_keymaster_call()
/system/bt/stack/a2dp/
Da2dp_sbc_decoder.cc80 uint32_t out_size = out_avail; in a2dp_sbc_decoder_decode_packet() local
83 &oi_size, out_ptr, &out_size); in a2dp_sbc_decoder_decode_packet()
88 out_avail -= out_size; in a2dp_sbc_decoder_decode_packet()
89 out_ptr += out_size / sizeof(*out_ptr); in a2dp_sbc_decoder_decode_packet()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper_ipc.c46 uint32_t *out_size) { in trusty_gatekeeper_call() argument
66 rc = read(handle_, out, *out_size); in trusty_gatekeeper_call()
85 *out_size = ((size_t) rc) - sizeof(struct gatekeeper_message); in trusty_gatekeeper_call()
Dtrusty_gatekeeper_ipc.h21 uint32_t *out_size);
/system/core/adb/pairing_auth/
Dpairing_auth.cpp170 auto out_size = cipher_->Encrypt(data.data(), data.size(), encrypted.data(), encrypted.size()); in Encrypt() local
171 if (!out_size.has_value() || *out_size == 0) { in Encrypt()
175 encrypted.resize(*out_size); in Encrypt()
187 auto out_size = cipher_->Decrypt(data.data(), data.size(), decrypted.data(), decrypted_size); in Decrypt() local
188 if (!out_size.has_value() || *out_size == 0) { in Decrypt()
192 decrypted.resize(*out_size); in Decrypt()
/system/extras/boot_control_copy/
Dbootinfo.cpp48 int boot_info_open_partition(const char *name, uint64_t *out_size, int flags) in boot_info_open_partition() argument
97 if (fd != -1 && out_size != NULL) { in boot_info_open_partition()
98 if (ioctl(fd, BLKGETSIZE64, out_size) != 0) { in boot_info_open_partition()
Dbootinfo.h59 int boot_info_open_partition(const char *name, uint64_t *out_size, int flags);
/system/core/trusty/storage/proxy/
Dipc.c96 int ipc_respond(struct storage_msg *msg, void *out, size_t out_size) in ipc_respond() argument
99 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {out, out_size}}; in ipc_respond()
Dipc.h24 int ipc_respond(struct storage_msg *msg, void *out, size_t out_size);
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp69 uint32_t in_size, void* out_buf, uint32_t* out_size) { in fake_call() argument
76 *out_size = rsp.SerializedSize(); in fake_call()
78 rsp.Serialize(out, out + *out_size); in fake_call()
83 uint32_t* out_size) { in trusty_keymaster_call() argument
87 out_buf, out_size); in trusty_keymaster_call()
90 out_buf, out_size); in trusty_keymaster_call()
93 out_buf, out_size); in trusty_keymaster_call()
96 out_buf, out_size); in trusty_keymaster_call()
99 out_buf, out_size); in trusty_keymaster_call()
102 out_buf, out_size); in trusty_keymaster_call()
/system/core/trusty/keymaster/include/trusty_keymaster/ipc/
Dtrusty_keymaster_ipc.h31 uint32_t* out_size);
/system/update_engine/payload_consumer/
Dxz_extent_writer.cc86 request.out_size = output_buffer.size(); in Write()
/system/vold/
DKeymaster.cpp263 uint32_t* out_size) { in write_string_to_buf() argument
264 if (!buffer || !out_size) { in write_string_to_buf()
268 *out_size = towrite.size(); in write_string_to_buf()