Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/core/
DappSec.c90 uint16_t chunkSize; member
101 if (state->haveSig && state->chunkSize > state->signedBytesIn) in limitChunkSize()
102 state->chunkSize = state->signedBytesIn; in limitChunkSize()
103 if (state->haveEncr && state->chunkSize > state->encryptedBytesIn) in limitChunkSize()
104 state->chunkSize = state->signedBytesIn; in limitChunkSize()
109 const static uint16_t chunkSize[STATE_MAX] = { in appSecSetCurState() local
127 state->chunkSize, chunkSize[curState], in appSecSetCurState()
131 state->chunkSize = chunkSize[curState]; in appSecSetCurState()
458 if (state->haveBytes < state->chunkSize) in appSecRxData()
467 if (needBytes > state->chunkSize) { in appSecRxData()
[all …]
/device/generic/goldfish/audio/
Ddevice_port_sink.cpp324 size_t chunkSize = in write() local
326 chunkSize = reader(mWriteBuffer, chunkSize); in write()
327 if (chunkSize > 0) { in write()
328 mReceivedFrames += chunkSize / mFrameSize; in write()
329 bytesToWrite -= chunkSize; in write()
/device/google/cuttlefish/guest/hals/identity/common/
DIdentityCredential.cpp833 size_t chunkSize = content.value().size(); in retrieveEntryValue() local
835 if (chunkSize > entryRemainingBytes_) { in retrieveEntryValue()
836 LOG(ERROR) << "Retrieved chunk of size " << chunkSize in retrieveEntryValue()
844 entryRemainingBytes_ -= chunkSize; in retrieveEntryValue()
846 if (chunkSize != IdentityCredentialStore::kGcmChunkSize) { in retrieveEntryValue()
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp550 uint32_t chunkSize = mLen - mPos; in handleTransfer() local
552 if (chunkSize > NANOHUB_UPLOAD_CHUNK_SZ_MAX) { in handleTransfer()
553 chunkSize = NANOHUB_UPLOAD_CHUNK_SZ_MAX; in handleTransfer()
558 buf.writeRaw(&mData[mPos], chunkSize); in handleTransfer()
559 mNextPos = mPos + chunkSize; in handleTransfer()