/external/compiler-rt/lib/asan/ |
asan_memory_profile.cc | 28 uptr total_size; member in struct:__asan::AllocationSite 41 allocations_[i].total_size += size; 52 return a.total_size > b.total_size; 60 Printf("%zd byte(s) (%zd%%) in %zd allocation(s)\n", a.total_size, 61 a.total_size * 100 / total_allocated_, a.count); 63 total_shown += a.total_size;
|
/external/tpm2/ |
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;
|
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 - num_response_handles * sizeof(TPM_HANDLE) [all...] |
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;
|
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;
|
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;
|
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...] |
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;
|
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;
|
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;
|
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;
|
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;
|
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;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
3-1.c | 41 long total_size; local 59 total_size = 2 * page_size; 79 data = malloc(total_size); 81 memset(data, 'a', total_size); 82 if (write(fd, data, total_size) != total_size) { 87 memset(data, 'b', total_size); 88 if (write(fd2, data, total_size) != total_size) {
|
10-1.c | 40 long total_size; local 46 total_size = 1024; 47 size = total_size; 57 if (ftruncate(fd, total_size) == -1) {
|
9-1.c | 39 long total_size; local 47 total_size = page_size; 48 size = total_size; 59 if (ftruncate(fd, total_size) == -1) {
|
/external/curl/tests/unit/ |
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/linux-kselftest/tools/testing/selftests/zram/ |
zram01.sh | 62 local total_size=0 65 total_size=$(($total_size + $s)) 68 echo "zram used ${used_mem}M, zram disk sizes ${total_size}M" 70 local v=$((100 * $total_size / $used_mem))
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
zram01.sh | 69 local total_size=0 72 total_size=$(($total_size + $s)) 75 tst_resm TINFO "zram used ${used_mem}M, zram disk sizes ${total_size}M" 77 local v=$((100 * $total_size / $used_mem))
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fsync/ |
4-1.c | 34 int total_size = 1024; local 47 data = malloc(total_size); 48 memset(data, 'a', total_size); 49 if (write(fd, data, total_size) != total_size) {
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
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/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorIO.h | 23 const Index total_size = internal::array_prod(tensor.dimensions()); local 24 if (total_size > 0) { 27 Map<const Array<Scalar, Dynamic, Dynamic, layout> > matrix(const_cast<Scalar*>(tensor.data()), first_dim, total_size/first_dim); 40 const Index total_size = internal::array_prod(tensor.dimensions()); local 41 if (total_size > 0) { 42 Map<const Array<Scalar, Dynamic, 1> > array(const_cast<Scalar*>(tensor.data()), total_size); local
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
4-1.c | 44 int total_size = 1024; local 48 size_t size = total_size; 66 data = malloc(total_size); 67 memset(data, 'a', total_size); 68 if (write(fd, data, total_size) != total_size) {
|
/external/vboot_reference/host/lib21/ |
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/ |
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...] |