Searched refs:dsize (Results 1 – 3 of 3) sorted by relevance
/system/tpm/trunks/ftdi/ |
D | support.c | 97 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, in build_block_buffer() local 128 dsize = size - k; in build_block_buffer() 129 if (dsize > xfer_size) { in build_block_buffer() 130 dsize = xfer_size; in build_block_buffer() 134 rsize = dsize - 1; in build_block_buffer() 160 memcpy(buf + i, data + k, dsize); in build_block_buffer() 163 i += dsize; in build_block_buffer() 165 k += dsize; in build_block_buffer()
|
/system/core/fastboot/ |
D | protocol.cpp | 99 uint32_t dsize = strtol(status + 4, 0, 16); in check_response() local 100 if (dsize > size) { in check_response() 101 g_error = android::base::StringPrintf("data size too large (%d)", dsize); in check_response() 105 return dsize; in check_response()
|
/system/vold/ |
D | cryptfs.cpp | 2490 unsigned int dsize; in persist_get_max_entries() local 2500 dsize = crypt_ftr.persist_data_size; in persist_get_max_entries() 2502 dsize = CRYPT_PERSIST_DATA_SIZE; in persist_get_max_entries() 2505 if (dsize > sizeof(struct crypt_persist_data)) { in persist_get_max_entries() 2506 return (dsize - sizeof(struct crypt_persist_data)) / sizeof(struct crypt_persist_entry); in persist_get_max_entries()
|