Home
last modified time | relevance | path

Searched refs:data_used (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/crypto/base64/
Dbase64.c138 assert(ctx->data_used < sizeof(ctx->data)); in EVP_EncodeUpdate()
140 if (sizeof(ctx->data) - ctx->data_used > in_len) { in EVP_EncodeUpdate()
141 OPENSSL_memcpy(&ctx->data[ctx->data_used], in, in_len); in EVP_EncodeUpdate()
142 ctx->data_used += (unsigned)in_len; in EVP_EncodeUpdate()
146 if (ctx->data_used != 0) { in EVP_EncodeUpdate()
147 const size_t todo = sizeof(ctx->data) - ctx->data_used; in EVP_EncodeUpdate()
148 OPENSSL_memcpy(&ctx->data[ctx->data_used], in, todo); in EVP_EncodeUpdate()
153 ctx->data_used = 0; in EVP_EncodeUpdate()
183 ctx->data_used = (unsigned)in_len; in EVP_EncodeUpdate()
194 if (ctx->data_used == 0) { in EVP_EncodeFinal()
[all …]
/external/webrtc/webrtc/base/
Dbase64.h63 std::string* result, size_t* data_used);
65 std::vector<char>* result, size_t* data_used);
79 std::string* result, size_t* data_used) in Decode() argument
81 return DecodeFromArray(data.data(), data.size(), flags, result, data_used); in Decode()
84 std::vector<char>* result, size_t* data_used) in Decode() argument
86 return DecodeFromArray(data.data(), data.size(), flags, result, data_used); in Decode()
99 size_t* data_used);
Dbase64.cc193 std::string* result, size_t* data_used) { in DecodeFromArray() argument
195 data, len, flags, result, data_used); in DecodeFromArray()
199 vector<char>* result, size_t* data_used) { in DecodeFromArray() argument
201 data_used); in DecodeFromArray()
207 size_t* data_used) in DecodeFromArrayTemplate() argument
254 if (data_used) { in DecodeFromArrayTemplate()
255 *data_used = dpos; in DecodeFromArrayTemplate()
/external/vboot_reference/firmware/lib/
Dvboot_common.c503 uint64_t offs = header->data_used; in VbSharedDataReserve()
507 if (!header || size > header->data_size - header->data_used) { in VbSharedDataReserve()
511 header->data_used += size; in VbSharedDataReserve()
Dvboot_common_init.c40 header->data_used = sizeof(VbSharedDataHeader); in VbSharedDataInit()
Dvboot_kernel.c539 params->shared_data_size = shared->data_used; in LoadKernel()
/external/boringssl/src/include/openssl/
Dbase64.h173 unsigned data_used; member
/external/boringssl/src/decrepit/bio/
Dbase64_bio.c457 if ((ret == 0) && (ctx->encode != B64_NONE) && (ctx->base64.data_used != 0)) { in b64_ctrl()
489 } else if (ctx->encode != B64_NONE && ctx->base64.data_used != 0) { in b64_ctrl()
/external/vboot_reference/firmware/include/
Dvboot_struct.h469 uint64_t data_used; member
/external/vboot_reference/tests/
Dvboot_common_tests.c219 TEST_EQ(d->data_used, d->struct_size, "VbSharedDataInit data_used"); in VbSharedDataTest()