/external/opencv3/3rdparty/libwebp/utils/ |
H A D | utils.c | 26 const uint64_t total_size = nmemb * size; local 29 if (total_size != (size_t)total_size) return 0;
|
/external/tpm2/ |
H A D | Marshal_PCR_Allocate.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMI_YES_NO_Marshal(&source->allocationSuccess, buffer, size); 28 total_size += UINT32_Marshal(&source->maxPCR, buffer, size); 29 total_size += UINT32_Marshal(&source->sizeNeeded, buffer, size); 30 total_size += UINT32_Marshal(&source->sizeAvailable, buffer, size); 31 // Compute actual parameter_size. Don't add result to total_size. 33 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 37 return total_size;
|
H A D | Marshal_CreatePrimary.c | 14 UINT16 total_size = 0; local 20 total_size += TPM_HANDLE_Marshal(&source->objectHandle, buffer, size); 25 // Don't add to total_size, but increment *buffer and decrement *size. 29 total_size += TPM2B_PUBLIC_Marshal(&source->outPublic, buffer, size); 30 total_size += 32 total_size += TPM2B_DIGEST_Marshal(&source->creationHash, buffer, size); 33 total_size += TPMT_TK_CREATION_Marshal(&source->creationTicket, buffer, size); 34 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size); 35 // Compute actual parameter_size. Don't add result to total_size. 37 parameter_size = total_size [all...] |
H A D | Marshal_GetTestResult.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_MAX_BUFFER_Marshal(&source->outData, buffer, size); 28 total_size += TPM_RC_Marshal(&source->testResult, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_PCR_Read.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += UINT32_Marshal(&source->pcrUpdateCounter, buffer, size); 28 total_size += 30 total_size += TPML_DIGEST_Marshal(&source->pcrValues, buffer, size); 31 // Compute actual parameter_size. Don't add result to total_size. 33 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 37 return total_size;
|
H A D | Marshal_ReadPublic.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_PUBLIC_Marshal(&source->outPublic, buffer, size); 28 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size); 29 total_size += TPM2B_NAME_Marshal(&source->qualifiedName, buffer, size); 30 // Compute actual parameter_size. Don't add result to total_size. 32 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 36 return total_size;
|
H A D | Marshal_Create.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_PRIVATE_Marshal(&source->outPrivate, buffer, size); 28 total_size += TPM2B_PUBLIC_Marshal(&source->outPublic, buffer, size); 29 total_size += 31 total_size += TPM2B_DIGEST_Marshal(&source->creationHash, buffer, size); 32 total_size += TPMT_TK_CREATION_Marshal(&source->creationTicket, buffer, size); 33 // Compute actual parameter_size. Don't add result to total_size. 35 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 39 return total_size; [all...] |
H A D | Marshal_ReadClock.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMS_TIME_INFO_Marshal(&source->currentTime, buffer, size); 28 // Compute actual parameter_size. Don't add result to total_size. 30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 34 return total_size;
|
H A D | Marshal_Commit.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ECC_POINT_Marshal(&source->K, buffer, size); 28 total_size += TPM2B_ECC_POINT_Marshal(&source->L, buffer, size); 29 total_size += TPM2B_ECC_POINT_Marshal(&source->E, buffer, size); 30 total_size += UINT16_Marshal(&source->counter, buffer, size); 31 // Compute actual parameter_size. Don't add result to total_size. 33 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 37 return total_size;
|
H A D | Marshal_Certify.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ATTEST_Marshal(&source->certifyInfo, buffer, size); 28 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_ECDH_KeyGen.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ECC_POINT_Marshal(&source->zPoint, buffer, size); 28 total_size += TPM2B_ECC_POINT_Marshal(&source->pubPoint, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_EC_Ephemeral.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ECC_POINT_Marshal(&source->Q, buffer, size); 28 total_size += UINT16_Marshal(&source->counter, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_FieldUpgradeData.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMT_HA_Marshal(&source->nextDigest, buffer, size); 28 total_size += TPMT_HA_Marshal(&source->firstDigest, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_GetCapability.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPMI_YES_NO_Marshal(&source->moreData, buffer, size); 28 total_size += 30 // Compute actual parameter_size. Don't add result to total_size. 32 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 36 return total_size;
|
H A D | Marshal_GetCommandAuditDigest.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ATTEST_Marshal(&source->auditInfo, buffer, size); 28 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_GetSessionAuditDigest.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ATTEST_Marshal(&source->auditInfo, buffer, size); 28 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_GetTime.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_ATTEST_Marshal(&source->timeInfo, buffer, size); 28 total_size += TPMT_SIGNATURE_Marshal(&source->signature, buffer, size); 29 // Compute actual parameter_size. Don't add result to total_size. 31 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 35 return total_size;
|
H A D | Marshal_Load.c | 14 UINT16 total_size = 0; local 20 total_size += TPM_HANDLE_Marshal(&source->objectHandle, buffer, size); 25 // Don't add to total_size, but increment *buffer and decrement *size. 29 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size); 30 // Compute actual parameter_size. Don't add result to total_size. 32 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 36 return total_size;
|
H A D | Marshal_LoadExternal.c | 14 UINT16 total_size = 0; local 20 total_size += TPM_HANDLE_Marshal(&source->objectHandle, buffer, size); 25 // Don't add to total_size, but increment *buffer and decrement *size. 29 total_size += TPM2B_NAME_Marshal(&source->name, buffer, size); 30 // Compute actual parameter_size. Don't add result to total_size. 32 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 36 return total_size;
|
/external/curl/tests/unit/ |
H A D | unit1308.c | 47 size_t total_size = 0; variable 70 rc = curl_formget(post, &total_size, print_httppost_callback); 74 fail_unless(total_size == 486, "curl_formget got wrong size back"); 89 rc = curl_formget(post, &total_size, print_httppost_callback); 91 fail_unless(total_size == 847, "curl_formget got wrong size back");
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
H A D | dxbc_assemble.cpp | 37 size_t total_size = sizeof(dxbc_container_header) + data_size; local 38 dxbc_container_header* header = (dxbc_container_header*)malloc(total_size); 45 header->total_size = bswap_le32(total_size); 58 return std::make_pair((void*)header, total_size);
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
H A D | progress_callback.py | 38 def __init__(self, total_size, callback_func, 45 total_size: Total bytes to process. If this is None, size is not known 57 self._total_size = total_size 70 # TODO: We check if >= total_size and truncate because JSON uploads count 143 total_size): 150 total_size: Total size of the ongoing operation. 156 total_size = self._override_total_size 158 if total_size: 159 total_size_string = '/%s' % MakeHumanReadable(total_size) 169 if total_size an [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
H A D | transfer_test.py | 35 total_size = 100 38 six.StringIO(), chunksize=chunksize, total_size=total_size) 48 total_size = 100 50 six.StringIO(), chunksize=10, total_size=total_size) 53 total_size - 1, 71 total_size = 100 73 total_size=total_size) [all...] |
/external/vboot_reference/host/lib21/ |
H A D | host_keyblock.c | 52 kb.sig_offset = kb.key_offset + key->c.total_size; 53 kb.c.total_size = kb.sig_offset + sig_size; 56 buf = calloc(1, kb.c.total_size); 65 memcpy(buf + kb.key_offset, key, key->c.total_size);
|
/external/vboot_reference/firmware/lib21/ |
H A D | misc.c | 49 buf = vb2_workbuf_alloc(wb, c.total_size); 54 rv = vb2ex_read_resource(ctx, index, offset, buf, c.total_size); 56 vb2_workbuf_free(wb, c.total_size); 106 rv = vb2_verify_keyblock(kb, kb->c.total_size, &root_key, &wb); 113 sd->vblock_preamble_offset = kb->c.total_size; 139 memmove(key_data, packed_key, packed_key->c.total_size); 144 sd->workbuf_data_key_size = packed_key->c.total_size; 187 rv = vb2_verify_fw_preamble(pre, pre->c.total_size, &data_key, &wb); 194 memmove(key_data, pre, pre->c.total_size); 232 sd->workbuf_preamble_size = pre->c.total_size; [all...] |