HomeSort by relevance Sort by last modified time
    Searched refs:total_size (Results 26 - 50 of 478) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
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/tpm2/
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;
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;
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;
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;
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;
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;
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;
Marshal_MakeCredential.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_ID_OBJECT_Marshal(&source->credentialBlob, buffer, size);
28 total_size += TPM2B_ENCRYPTED_SECRET_Marshal(&source->secret, 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_NV_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_NV_PUBLIC_Marshal(&source->nvPublic, buffer, size);
28 total_size += TPM2B_NAME_Marshal(&source->nvName, 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_SequenceComplete.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DIGEST_Marshal(&source->result, buffer, size);
28 total_size += TPMT_TK_HASHCHECK_Marshal(&source->validation, 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_Duplicate.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DATA_Marshal(&source->encryptionKeyOut, buffer, size);
28 total_size += TPM2B_PRIVATE_Marshal(&source->duplicate, buffer, size);
29 total_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_ActivateCredential.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPM2B_DIGEST_Marshal(&source->certInfo, 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_ContextLoad.c 14 UINT16 total_size = 0; local
20 total_size += TPMI_DH_CONTEXT_Marshal(&source->loadedHandle, buffer, size);
25 // Don't add to total_size, but increment *buffer and decrement *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_ContextSave.c 14 UINT16 total_size = 0; local
23 // Don't add to total_size, but increment *buffer and decrement *size.
27 total_size += TPMS_CONTEXT_Marshal(&source->context, 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;
  /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);
host_fw_preamble.c 49 hash_next += hash_list[i]->c.total_size;
56 fp.c.total_size = fp.sig_offset + sig_size;
59 buf = calloc(fp.c.total_size, 1);
70 hash_list[i]->c.total_size);
71 hash_next += hash_list[i]->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...]
  /external/tensorflow/tensorflow/core/kernels/
split_v_op_test.cc 58 std::initializer_list<int64> total_size) {
60 TensorShape in_shape(total_size);
75 #define BM_SPLITV_1D(num_split, total_size) \
76 static void BM_SplitV_1d_##num_split##_##total_size(int iters) { \
78 testing::ItemsProcessed(static_cast<int64>(iters) * total_size); \
80 strings::Printf("1-D %d chunks totaling %d", num_split, total_size); \
84 GenerateRandomIntsWithSum(total_size, num_split), \
85 {total_size}); \
89 BENCHMARK(BM_SplitV_1d_##num_split##_##total_size);
  /device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/aarch64/
platform_common.c 36 unsigned long total_size, \
43 total_size, \

Completed in 609 milliseconds

12 3 4 5 6 7 8 91011>>