Searched refs:chunkSize (Results 1 – 4 of 4) sorted by relevance
90 uint16_t chunkSize; member101 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() local127 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 …]
324 size_t chunkSize = in write() local326 chunkSize = reader(mWriteBuffer, chunkSize); in write()327 if (chunkSize > 0) { in write()328 mReceivedFrames += chunkSize / mFrameSize; in write()329 bytesToWrite -= chunkSize; in write()
833 size_t chunkSize = content.value().size(); in retrieveEntryValue() local835 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()
550 uint32_t chunkSize = mLen - mPos; in handleTransfer() local552 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()