Searched refs:out_len (Results 1 - 13 of 13) sorted by path

/system/core/include/cutils/
H A Djstring.h36 extern char16_t * strdup8to16 (const char* s, size_t *out_len);
38 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
40 size_t *out_len);
/system/core/libcutils/include/cutils/
H A Djstring.h36 extern char16_t * strdup8to16 (const char* s, size_t *out_len);
38 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
40 size_t *out_len);
/system/core/libcutils/include_vndk/cutils/
H A Djstring.h36 extern char16_t * strdup8to16 (const char* s, size_t *out_len);
38 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
40 size_t *out_len);
/system/core/libcutils/
H A Dstrdup8to16.c39 * out_len is an out parameter (which may not be null) containing the
43 extern char16_t * strdup8to16 (const char* s, size_t *out_len) argument
59 return strcpy8to16 (ret, s, out_len);
147 * out_len is an out parameter (which may not be null) containing the
152 size_t *out_len)
174 *out_len = dest - utf16Str;
181 * out_len is an out parameter (which may not be null) containing the
186 int length, size_t *out_len)
211 *out_len = dest - utf16Str;
151 strcpy8to16(char16_t *utf16Str, const char*utf8Str, size_t *out_len) argument
185 strcpylen8to16(char16_t *utf16Str, const char*utf8Str, int length, size_t *out_len) argument
/system/keymaster/
H A Dkeymaster1_engine.cpp285 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, argument
304 *out_len = std::min(output.data_length, max_out);
305 memcpy(out, output.data, *out_len);
310 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, argument
329 *out_len = std::min(output.data_length, max_out);
330 memcpy(out, output.data, *out_len);
H A Dkeymaster1_engine.h103 static int rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out,
105 static int rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out,
/system/libufdt/include/
H A Dlibufdt.h73 * Also writes the length of such data to *out_len if out_len is not NULL.
78 char *ufdt_node_get_fdt_prop_data(const struct ufdt_node *node, int *out_len);
93 int *out_len);
95 const char *name, int *out_len);
/system/libufdt/
H A Dufdt_node.c115 char *ufdt_node_get_fdt_prop_data(const struct ufdt_node *node, int *out_len) { argument
120 if (out_len != NULL) {
121 *out_len = fdt32_to_cpu(prop->len);
128 int *out_len) {
130 ufdt_node_get_property_by_name_len(node, name, len), out_len);
134 const char *name, int *out_len) {
136 out_len);
126 ufdt_node_get_fdt_prop_data_by_name_len(const struct ufdt_node *node, const char *name, int len, int *out_len) argument
133 ufdt_node_get_fdt_prop_data_by_name(const struct ufdt_node *node, const char *name, int *out_len) argument
/system/netd/server/
H A DNetdNativeService.cpp244 size_t out_len; local
245 if (EVP_DecodedLength(&out_len, input.size()) != 1) {
249 // out_len is now an upper bound on the output length.
250 std::vector<uint8_t> decoded(out_len);
251 if (EVP_DecodeBase64(decoded.data(), &out_len, decoded.size(),
254 decoded.resize(out_len);
/system/netd/tests/
H A Dbinder_test.cpp631 size_t out_len; local
632 EXPECT_EQ(1, EVP_EncodedLength(&out_len, input.size()));
633 // out_len includes the trailing NULL.
634 uint8_t output_bytes[out_len];
635 EXPECT_EQ(out_len - 1, EVP_EncodeBlock(output_bytes, input.data(), input.size()));
H A Dnetd_test.cpp693 size_t out_len; local
694 EXPECT_EQ(1, EVP_EncodedLength(&out_len, input.size()));
695 // out_len includes the trailing NULL.
696 uint8_t output_bytes[out_len];
697 EXPECT_EQ(out_len - 1, EVP_EncodeBlock(output_bytes, input.data(), input.size()));
/system/nfc/src/nfc/ndef/
H A Dndef_utils.c1449 uint32_t out_len, max_out_len; local
1465 NDEF_MsgInit(p_dest, max_out_len, &out_len);
1479 status = NDEF_MsgAppendPayload(p_dest, max_out_len, &out_len,
1483 p_prev_rec = p_dest + out_len;
1485 status = NDEF_MsgAddRec(p_dest, max_out_len, &out_len, tnf, p_type,
1492 *p_out_len = out_len;
/system/security/keystore/
H A Dblob.cpp77 int out_len; local
79 EVP_EncryptUpdate(ctx.get(), out_pos, &out_len, in, len);
80 out_pos += out_len;
81 EVP_EncryptFinal_ex(ctx.get(), out_pos, &out_len);
82 out_pos += out_len;
111 int out_len; local
113 EVP_DecryptUpdate(ctx.get(), out_pos, &out_len, in, len);
114 out_pos += out_len;
115 if (!EVP_DecryptFinal_ex(ctx.get(), out_pos, &out_len)) {
119 out_pos += out_len;
[all...]

Completed in 258 milliseconds