Searched refs:data_used (Results 1 – 10 of 10) sorted by relevance
/external/boringssl/src/crypto/base64/ |
D | base64.c | 138 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/ |
D | base64.h | 63 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);
|
D | base64.cc | 193 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/ |
D | vboot_common.c | 503 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()
|
D | vboot_common_init.c | 40 header->data_used = sizeof(VbSharedDataHeader); in VbSharedDataInit()
|
D | vboot_kernel.c | 539 params->shared_data_size = shared->data_used; in LoadKernel()
|
/external/boringssl/src/include/openssl/ |
D | base64.h | 173 unsigned data_used; member
|
/external/boringssl/src/decrepit/bio/ |
D | base64_bio.c | 457 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/ |
D | vboot_struct.h | 469 uint64_t data_used; member
|
/external/vboot_reference/tests/ |
D | vboot_common_tests.c | 219 TEST_EQ(d->data_used, d->struct_size, "VbSharedDataInit data_used"); in VbSharedDataTest()
|