Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp342 size_t totalSize = 0; in decrypt() local
344 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
345 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
352 getDecryptMemory(totalSize * factor, kSegmentIndex); in decrypt()
355 .bufferId = kSegmentIndex, .offset = 0, .size = totalSize}; in decrypt()
360 .offset = totalSize, in decrypt()
361 .size = totalSize}, in decrypt()
374 if (bytesWritten != totalSize) { in decrypt()
381 vector<uint8_t> reference(totalSize); in decrypt()
386 memcpy(&reference[0], base, totalSize); in decrypt()
[all …]
/hardware/qcom/gps/msm8996/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/gps/msm8998/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/gps/msm8909w_3100/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/qcom/gps/msm8909/utils/
DLocHeap.cpp199 int totalSize = mSize; in checkNodes() local
206 totalSize -= mLeft->mSize; in checkNodes()
215 totalSize -= mRight->mSize; in checkNodes()
219 return totalSize == 1; in checkNodes()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp992 size_t totalSize = 0; in decrypt() local
994 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
995 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
1001 getDecryptMemory(totalSize * 2, kSegmentIndex); in decrypt()
1004 .bufferId = kSegmentIndex, .offset = 0, .size = totalSize}; in decrypt()
1009 .offset = totalSize, in decrypt()
1010 .size = totalSize}, in decrypt()
1024 if (bytesWritten != totalSize) { in decrypt()
1031 vector<uint8_t> reference(totalSize); in decrypt()
1036 memcpy(&reference[0], base, totalSize); in decrypt()
[all …]
Ddrm_hal_vendor_test.cpp1323 size_t totalSize = 0; in decrypt() local
1325 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
1326 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
1332 getDecryptMemory(totalSize * 2, kSegmentIndex); in decrypt()
1335 .bufferId = kSegmentIndex, .offset = 0, .size = totalSize}; in decrypt()
1340 .offset = totalSize, in decrypt()
1341 .size = totalSize}, in decrypt()
1354 if (bytesWritten != totalSize) { in decrypt()
1361 vector<uint8_t> reference(totalSize); in decrypt()
1366 memcpy(&reference[0], base, totalSize); in decrypt()
[all …]
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp1542 size_t totalSize = get_camera_metadata_size(md); in sShouldShrink() local
1543 if (totalSize >= compactSize + METADATA_SHRINK_ABS_THRESHOLD && in sShouldShrink()
1544 totalSize >= compactSize * METADATA_SHRINK_REL_THRESHOLD) { in sShouldShrink()
1545 ALOGV("Camera metadata should be shrunk from %zu to %zu", totalSize, compactSize); in sShouldShrink()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp7324 ssize_t totalSize = (mSize * mCount + 4095) & (~4095); in __allocate() local
7328 if (mUaddr || !totalSize) { in __allocate()
7332 totalSize, in __allocate()
7336 DEBUG_PRINT_ERROR("Failed to alloc extradata memory: %zd", totalSize); in __allocate()
7340 mUaddr = (char *)mmap(NULL, totalSize, in __allocate()
7511 ssize_t totalSize = (mCount * mSize + 4095) & (~4095); in __free() local
7513 munmap((void *)mUaddr, totalSize); in __free()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c512 size_t totalSize = 0; in mm_jpeg_session_config_main_buffer_offset() local
527 totalSize = p_src_buf->buf_size; in mm_jpeg_session_config_main_buffer_offset()
541 totalSize, in mm_jpeg_session_config_main_buffer_offset()